X86-64: Prepare memset-vec-unaligned-erms.S
[glibc.git] / ChangeLog
blobc801aff3f393c36936ba3dea3733982df7906baa
1 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6         Disabled fro now.
7         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12         * benchtests/Makefile (string-benchset): Add memcpy-large,
13         memmove-large and memset-large.
14         * benchtests/bench-memcpy-large.c: New file.
15         * benchtests/bench-memmove-large.c: Likewise.
16         * benchtests/bench-memmove-large.c: Likewise.
17         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22         32-bit displacement to avoid long nop between instructions.
24 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
26         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
27         a comment on VMOVU and VMOVA.
29 2016-04-04  Florian Weimer  <fweimer@redhat.com>
31         [BZ #19633]
32         Use specified locale for number formatting in strfmon_l.
33         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
34         (__nl_lookup_word): New inline functions.
35         * include/printf.h (__print_fp_l): Declare.
36         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
37         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
38         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
39         (___printf_fp): New function.
40         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
41         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
42         * stdlib/tst-strfmon_l.c (do_test): New test.
43         * stdlib/Makefile (tests): Add kt.
44         (LOCALES): Build additional locales.
45         (tst-strfmon_l.out): Require locales.
47 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
49         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
50         if not in libc.
51         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
52         Likewise.
53         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
54         Likewise.
55         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
56         Likewise.
58 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
60         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
61         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
62         with unaligned_erms.
63         (__memmove_erms): Skip if source == destination.
64         (__memmove_unaligned_erms): Don't check source == destination
65         first.
67 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
69         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
70         bit_arch_Fast_Copy_Backward for Intel Core proessors.
72 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
74         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
75         * string/strspn.c (strspn): Likewise.
77 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
79         * benchtests/bench-memset.c (do_test): Support 64-byte
80         alignment.
81         (test_main): Test 64-byte alignment.
83 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
85         * benchtests/bench-memmove.c (test_main): Test 64-byte
86         alignment.
88 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
90         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
92 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
94         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
95         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
96         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
98         * string/strpbrk.c (strpbrk): Rewrite function.
99         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
100         (__strpbrk_c2): Likewise.
101         (__strpbrk_c3): Likewise.
102         * string/string-inlines.c
103         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
104         Likewise.
105         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
106         Likewise.
108         * string/strspn.c (strcspn): Rewrite function.
109         * string/bits/string2.h (strspn): Use __builtin_strcspn.
110         (__strspn_c1): Remove inline function.
111         (__strspn_c2): Likewise.
112         (__strspn_c3): Likewise.
113         * string/string-inlines.c
114         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
115         compatibility symbol.
116         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
117         Likewise.
118         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
119         Likewise.
120         * string/string-inlines.c: Include generic version.
122 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
123             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
125         * string/Version (libc): Add GLIBC_2.24.
126         * string/strcspn.c (strcspn): Rewrite function.
127         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
128         (__strcspn_c1): Remove inline function.
129         (__strcspn_c2): Likewise.
130         (__strcspn_c3): Likewise.
131         * string/string-inline.c
132         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
133         compatibility symbol.
134         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
135         Likewise.
136         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
137         Likewise.
138         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
140 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
142         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
143         Use ahi instead of aghi to adjust stack pointer.
145 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
147         [BZ #19853]
148         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
149         TEST to take significant digits as second parameter.
150         [TEST]: Redefine in terms of TEST_N taking 30
151         significant digits.
152         (do_test): Add test case to demonstrate precision
153         failure in the ldbl-128ibm printf.
154         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
155         (__mpn_extract_long_double): Carry 7 extra intermediate
156         bits of precision to aide computing difference when
157         signs differ.
159 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
161         [BZ #19881]
162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
163         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
164         memset-avx512-unaligned-erms.
165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
166         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
167         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
168         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
169         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
170         __memset_sse2_unaligned_erms, __memset_erms,
171         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
172         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
173         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
174         file.
175         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
176         Likewise.
177         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
178         Likewise.
179         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
180         Likewise.
182 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
184         [BZ #19776]
185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
186         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
187         memmove-avx512-unaligned-erms.
188         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
189         (__libc_ifunc_impl_list): Test
190         __memmove_chk_avx512_unaligned_2,
191         __memmove_chk_avx512_unaligned_erms,
192         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
193         __memmove_chk_sse2_unaligned_2,
194         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
195         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
196         __memmove_avx512_unaligned_erms, __memmove_erms,
197         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
198         __memcpy_chk_avx512_unaligned_2,
199         __memcpy_chk_avx512_unaligned_erms,
200         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
201         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
202         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
203         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
204         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
205         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
206         __mempcpy_chk_avx512_unaligned_erms,
207         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
208         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
209         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
210         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
211         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
212         __mempcpy_erms.
213         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
214         file.
215         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
216         Likwise.
217         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
218         Likwise.
219         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
220         Likwise.
222 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
224         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
225         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
226         (La_s390_64_regs): Likewise.
227         (La_s390_32_retval): Append vector register lrv_v24.
228         (La_s390_64_retval): Likeweise.
229         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
230         Handle extended structs La_s390_32_regs and La_s390_32_retval.
231         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
232         Handle extended structs La_s390_64_regs and La_s390_64_retval.
234 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
236         [BZ #19916]
237         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
238         to create a non-vector/vector version for _dl_runtime_resolve and
239         _dl_runtime_profile. Move implementation to ...
240         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
241         (_dl_runtime_resolve) Save and restore fpr/vrs.
242         (_dl_runtime_profile) Save and restore vrs and fix some issues
243         if _dl_call_pltexit is called.
244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
245         Choose the correct resolver function if running on a machine with vx.
246         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
247         to create a non-vector/vector version for _dl_runtime_resolve and
248         _dl_runtime_profile. Move implementation to ...
249         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
250         (_dl_runtime_resolve) Save and restore fpr/vrs.
251         (_dl_runtime_profile) Save and restore vrs and fix some issues
252         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
253         Choose the correct resolver function if running on a machine with vx.
255 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
257         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
259 2016-03-31  Florian Weimer  <fweimer@redhat.com>
261         [BZ #19509]
262         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
263         skip_map != NULL.
264         * elf/tst-dlsym-error.c: New file.
265         * elf/Makefile (tests): Add tst-dlsym-error.
266         (tst-dlsym-error): Link against libdl.
268 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
271         (__ASSUME_FUTIMESAT): Remove macro.
272         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
274 2016-03-29  Florian Weimer  <fweimer@redhat.com>
276         [BZ #19879]
277         CVE-2016-3075
278         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
279         copy name.
281 2016-03-29  Florian Weimer  <fweimer@redhat.com>
283         [BZ #19837]
284         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
285         error if parse_line fails.
287 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
289         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
290         (index_cpu_ERMS): Likewise.
291         (reg_ERMS): Likewise.
293 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
295         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
296         PER_LINUX_FDPIC): Add.
298 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
301         memcpy-avx512-no-vzeroupper.
302         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
303         to ...
304         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
305         (MEMCPY): Don't define.
306         (MEMCPY_CHK): Likewise.
307         (MEMPCPY): Likewise.
308         (MEMPCPY_CHK): Likewise.
309         (MEMPCPY_CHK): Renamed to ...
310         (__mempcpy_chk_avx512_no_vzeroupper): This.
311         (MEMPCPY_CHK): Renamed to ...
312         (__mempcpy_chk_avx512_no_vzeroupper): This.
313         (MEMCPY_CHK): Renamed to ...
314         (__memmove_chk_avx512_no_vzeroupper): This.
315         (MEMCPY): Renamed to ...
316         (__memmove_avx512_no_vzeroupper): This.
317         (__memcpy_avx512_no_vzeroupper): New alias.
318         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
320 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
322         [BZ #18858]
323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
324         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
325         and mempcpy-avx512-no-vzeroupper.
326         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
327         New.
328         (MEMPCPY): Likewise.
329         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
330         (MEMPCPY_CHK): New.
331         (MEMPCPY): Likewise.
332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
333         (MEMPCPY): Likewise.
334         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
335         (MEMPCPY): Likewise.
336         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
337         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
338         Likewise.
339         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
340         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
342 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
343              Amit Pawar  <Amit.Pawar@amd.com>
345         [BZ #19583]
346         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
347         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
348         processors.  Set Fast_Copy_Backward for AMD Excavator
349         processors.
350         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
351         New.
352         (index_arch_Fast_Unaligned_Copy): Likewise.
353         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
354         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
356 2016-03-25  Florian Weimer  <fweimer@redhat.com>
358         [BZ #19791]
359         * resolv/res_send.c (close_and_return_error): New function.
360         (send_dg): Initialize *resplen2 after reopen failure.  Call
361         close_and_return_error for error returns.  On error paths without
362         __res_iclose, initialze *resplen2 explicitly.  Update comment for
363         successful return.
365 2016-03-25  Florian Weimer  <fweimer@redhat.com>
367         [BZ# 19860]
368         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
369         zero if the compiler does not provide the AVX512F bit.
371 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
373         [BZ #19848]
374         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
375         from 8 to 4.
376         (__ieee754_powl): Compare integer exponent against 4 not 8.
377         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
378         from 8 to 4.
379         (__ieee754_powl): Compare integer exponent against 4 not 8.
380         * math/auto-libm-test-in: Add more tests of pow.
381         * math/auto-libm-test-out: Regenerated.
382         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
385 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
387         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
388         Make code unconditional.
389         [!__NR_utimensat]: Remove conditional code.
390         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
391         Make code unconditional.
392         [!__NR_utimensat]: Remove conditional code.
393         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
394         Make code unconditional.
395         [!__NR_utimensat]: Remove conditional code.
397 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
399         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
400         Make code unconditional.
402 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
404         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
405         call-clobbered %eax on retry path.
406         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
408 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
410         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
411         Don't set %rcx twice before "rep movsb".
413 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
415         [BZ #19583]
416         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
417         inline.  Check family before setting family, model and
418         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
419         bits here.
420         (init_cpu_features): Replace HAS_CPU_FEATURE and
421         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
422         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
423         for Intel processors with usable AVX2.  Call get_common_indeces
424         for other processors with family == NULL.
425         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
426         (CPU_FEATURES_ARCH_P): Likewise.
427         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
428         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
430 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
432         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
433         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
434         $(shared-thread-library) instead of hardcoding the path to libpthread.
436 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
438         * sysdeps/unix/sysv/linux/kernel-features.h
439         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
440         * sysdeps/unix/sysv/linux/getdents.c
441         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
442         [!have_no_getdents64_defined]: Likewise.
443         (__GETDENTS): Remove __have_no_getdents64 conditional.
445 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
448         Remove macro.
449         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
450         <kernel-features.h>.
451         (signalfd) [__NR_signalfd4]: Make code unconditional.
452         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
454 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
456         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
457         style.
459 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
461         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
462         (__pthread_enable_asynccancel): Use JUMPTARGET to call
463         __pthread_unwind.
464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
465         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
467         (__condvar_cleanup1): Likewise.
469 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
471         [BZ #19822]
472         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
473         move it to the final $@ location.
475 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
477         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
478         access where posix_spawn success and pid argument is null.
479         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
480         success case.
482 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
484         * sysdeps/mach/hurd/i386/c++-types.data: New file.
486         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
488         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
489         and __fcntl.
490         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
491         __fcntl only.
492         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
493         adding attribute_hidden to __open and __fcntl.
495         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
496         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
497         depend on libc-modules.h,
498         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
500 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
503         Remove macro.
504         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
505         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
506         entry.
508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
509         Remove macro.
510         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
511         include <kernel-features.h>.
512         [!__ASSUME_FALLOCATE]: Remove conditional code.
513         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
515 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
518         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
520         (_ZGVdN4v_cos_avx2): Likewise.
521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
522         (_ZGVdN4v_cos): Likewise.
523         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
524         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
526         (_ZGVdN4v_exp_avx2): Likewise.
527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
528         (_ZGVdN4v_exp): Likewise.
529         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
530         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
531         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
532         (_ZGVdN4v_log_avx2): Likewise.
533         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
534         (_ZGVdN4v_log): Likewise.
535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
536         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
537         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
538         (_ZGVdN4vv_pow_avx2): Likewise.
539         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
540         (_ZGVdN4vv_pow): Likewise.
541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
542         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
544         (_ZGVdN4v_sin_avx2): Likewise.
545         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
546         (_ZGVdN4v_sin): Likewise.
547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
548         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
549         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
550         (_ZGVdN4vvv_sincos_avx2): Likewise.
551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
552         (_ZGVdN4vvv_sincos): Likewise.
553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
554         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
555         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
556         (_ZGVbN4v_cosf_sse4): Likewise.
557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
558         (_ZGVdN8v_cosf_avx2): Likewise.
559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
560         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
562         (_ZGVbN4v_expf_sse4): Likewise.
563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
564         (_ZGVdN8v_expf_avx2): Likewise.
565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
566         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
568         (_ZGVbN4v_logf_sse4): Likewise.
569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
570         (_ZGVdN8v_logf_avx2): Likewise.
571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
572         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
574         (_ZGVbN4vv_powf_sse4): Likewise.
575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
576         (_ZGVdN8vv_powf_avx2): Likewise.
577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
578         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
579         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
580         (_ZGVbN4vvv_sincosf_sse4): Likewise.
581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
582         (_ZGVdN8vvv_sincosf_avx2): Likewise.
583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
584         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
586         (_ZGVbN4v_sinf_sse4): Likewise.
587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
588         (_ZGVdN8v_sinf_avx2): Likewise.
589         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
590         Use JUMPTARGET to call callee.
591         (WRAPPER_IMPL_SSE2_ff): Likewise.
592         (WRAPPER_IMPL_SSE2_fFF): Likewise.
593         (WRAPPER_IMPL_AVX): Likewise.
594         (WRAPPER_IMPL_AVX_ff): Likewise.
595         (WRAPPER_IMPL_AVX_fFF): Likewise.
596         (WRAPPER_IMPL_AVX512): Likewise.
597         (WRAPPER_IMPL_AVX512_ff): Likewise.
598         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
599         Likewise.
600         (WRAPPER_IMPL_SSE2_ff): Likewise.
601         (WRAPPER_IMPL_SSE2_fFF): Likewise.
602         (WRAPPER_IMPL_AVX): Likewise.
603         (WRAPPER_IMPL_AVX_ff): Likewise.
604         (WRAPPER_IMPL_AVX_fFF): Likewise.
605         (WRAPPER_IMPL_AVX512): Likewise.
606         (WRAPPER_IMPL_AVX512_ff): Likewise.
607         (WRAPPER_IMPL_AVX512_fFF): Likewise.
609 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
611         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
612         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
613         qualifier.
614         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
615         internal_function qualifiers.
617 2016-03-15  Carlos O'Donell <carlos@redhat.com>
619         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
620         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
621         * math/atest-exp.c (exp_mpn): Mark chk unused.
622         * math/atest-exp2.c (exp_mpn): Likwise.
623         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
624         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
626 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
629         Remove macro.
630         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
631         <kernel-features.h>.
632         [__NR_ppoll]: Make code unconditional.
633         [!__ASSUME_PPOLL]: Remove conditional code.
635         * sysdeps/unix/sysv/linux/kernel-features.h
636         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
637         (__ASSUME_ACCEPT4): Likewise.
638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
639         Define.
640         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
641         Likewise.
642         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
643         Likewise.
644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
645         Likewise.
646         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
647         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
648         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
649         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
650         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
654         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
656         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
657         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
658         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
660         * sysdeps/unix/sysv/linux/i386/kernel-features.h
661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
662         Likewise.
663         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
664         Likewise.
665         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
666         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
667         0x040300].
668         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
669         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
671         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
672         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
673         0x030300].
674         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
675         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
676         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
677         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
678         0x040300].
679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
682         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
683         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
684         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
685         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
686         0x030300].
687         * sysdeps/unix/sysv/linux/mips/kernel-features.h
688         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
691         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
692         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
695         * sysdeps/unix/sysv/linux/s390/kernel-features.h
696         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
697         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
698         0x040300].
699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
700         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
701         * sysdeps/unix/sysv/linux/sh/kernel-features.h
702         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
705         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
706         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
709         * sysdeps/unix/sysv/linux/tile/kernel-features.h
710         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
711         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
713         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
714         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
716         Likewise.
717         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
718         Likewise.
720 2016-03-15  Andreas Schwab  <schwab@suse.de>
722         [BZ #19257]
723         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
724         statp->_u._ext.nscount as loop count.
726 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
728         * math/test-signgam-finite-c99.c: Also #undef
729         __LIBC_INTERNAL_MATH_INLINES.
730         * math/test-signgam-main.c: Likewise.
732 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
734         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
735         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
736         (MADV_FREE): Likewise.
737         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
738         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
739         EPOLLEXCLUSIVE.
741 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
743         * timezone/README: Remove mention of checktab.awk. Mention wiki
744         SharedSourceFiles.
746 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
748         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
749         WUNTRACED.
751 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
753         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
754         order to match the type of p when calling atomic_exchange_acq().
756 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
758         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
759         cfi_offset calls.
760         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
761         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
762         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
763         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
764         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
766 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
768         * timezone/checktab.awk: Removed.
770 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
772         * manual/math.texi (Errors in Math Functions): Document relaxed
773         accuracy goals for IBM long double.
774         * math/libm-test.inc (test_exceptions): Always allow spurious
775         "underflow" and "inexact" exceptions for IBM long double.
777 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
779         [BZ #19762]
780         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
781         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
782         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
783         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
784         (bit_arch_*): This for feature array.
785         (bit_*): Renamed to ...
786         (bit_cpu_*): This for cpu array.
787         (index_*): Renamed to ...
788         (index_arch_*): This for feature array.
789         (index_*): Renamed to ...
790         (index_cpu_*): This for cpu array.
791         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
792         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
793         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
794         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
795         bit_##name with index_cpu_##name and bit_cpu_##name.
796         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
797         bit_##name with index_arch_##name and bit_arch_##name.
799 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
801         [BZ #19792]
802         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
803         Terminate FDE before return label.
805 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #19790]
808         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
809         (rintl): Define as macro.
810         [USE_AS_NEARBYINTL] (__rintl): Likewise.
811         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
812         of fesetround.  Ensure results are evaluated before end of scope.
813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
814         USE_AS_NEARBYINTL and include s_rintl.c.
815         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
816         Disable exception traps in new environment.
817         (libc_feholdsetround_ppc_ctx): Likewise.
819 2016-03-08  Roland McGrath  <roland@hack.frob.com>
821         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
822         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
823         (tst_audit10_aux) [__AVX512F__]: ... here.
825 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
827         * include/sys/auxv.h: New file.
829 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
831         [BZ #19759]
832         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
834 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
836         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
837         operand modifier.
838         (feclearexcept): Likewise.
840 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
842         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
843         to reflect the entire 32-bit HWCAP.
844         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
845         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
847 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
849         [BZ #19783]
850         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
851         $(test-via-rtld-prefix).
852         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
854 2016-03-08  Florian Weimer  <fweimer@redhat.com>
856         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
857         union wait.  Report any non-zero exit status as error.
859 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
861         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
862         configured with --enable-hardcoded-path-in-tests.
864 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
866         [BZ #19677]
867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
868         (__ieee754_remainderl): Put zero low parts in canonical form.
869         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
870         file.  Based on
871         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
872         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
873         with wrapper round test-fmodrem-ldbl-128ibm.c.
874         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
875         file.
876         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
877         Likewise.
878         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
879         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
881 2016-03-07  Florian Weimer  <fweimer@redhat.com>
883         [BZ #19610]
884         * elf/ldconfig.c (opt_link): Update comment.
885         (options): Update help string for option -X.
886         (search_dir): Unlink stale symbolic link only if updating symbolic
887         links.
888         * elf/tst-ldconfig-X.sh: New file.
889         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
890         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
892 2016-03-07  Andreas Schwab  <schwab@suse.de>
894         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
895         needed arguments.
897 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
899         [BZ #15333]
900         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
901         to lstat64.
903 2016-03-07  Florian Weimer  <fweimer@redhat.com>
905         * libio/filedoalloc.c (isatty): Remove.
906         (local_isatty): Add comment.  Call __isatty directly.
907         (_IO_file_doallocate): Update comment.  Assume _LIBC.
908         * libio/wfiledoalloc.c (isatty): Remove.
909         (_IO_wfile_doallocate): Update comment.
911 2016-03-07  Florian Weimer  <fweimer@redhat.com>
913         [BZ #19269]
914         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
915         tst-audit4-aux.o.
916         (tst-audit10): Depend on tst-audit10-aux.o.
917         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
918         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
919         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
920         instead of inline AVX code.
921         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
922         instead of inline AVX512 code.
923         * sysdeps/x86_64/tst-audit4-aux.c: New file
924         * sysdeps/x86_64/tst-audit10-aux.c: New file
926         [BZ #19648]
927         * test-skeleton.c (main): Do not set RLIMIT_DATA.
929 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
931         [BZ #14750]
932         [BZ #10354]
933         [BZ #18433]
934         * include/sched.h (__clone): Add hidden prototype.
935         (__clone2): Likewise.
936         * include/unistd.h (__dup): Likewise.
937         * posix/Makefile (tests): Add tst-spawn2.
938         * posix/tst-spawn2.c: New file.
939         * sysdeps/posix/dup.c (__dup): Add hidden definition.
940         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
941         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
942         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
943         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
944         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
945         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
946         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
947         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
948         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
949         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
951         Likewise.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
953         Likewise.
954         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
956         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
959         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
960         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
961         * sysdeps/unix/sysv/linux/nptl-signals.h
962         (____nptl_is_internal_signal): New function.
963         * sysdeps/unix/sysv/linux/spawni.c: New file.
965         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
966         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
967         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
968         * posix/tst-execvp2.c (do_test): Likewise.
969         * posix/tst-execvp3.c (do_test): Likewise.
970         * posix/tst-execvp4.c (do_test): Likewise.
971         * posix/tst-execvpe1.c: New file.
972         * posix/tst-execvpe2.c: Likewise.
973         * posix/tst-execvpe3.c: Likewise.
974         * posix/tst-execvpe4.c: Likewise.
975         * posix/tst-execvpe5.c: Likewise.
976         * posix/tst-execvpe6.c: Likewise.
978         [BZ #19534]
979         * posix/execl.c (execl): Remove dynamic memory allocation.
980         * posix/execle.c (execle): Likewise.
981         * posix/execlp.c (execlp): Likewise.
983 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
985         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
986         Replace .text with .text.avx512.
987         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
988         Likewise.
990 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
992         * sysdeps/generic/libnsl.abilist: New file.
993         * sysdeps/generic/libutil.abilist: New file.
995 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
997         [BZ #19762]
998         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
999         HAS_ARCH_FEATURE with Fast_Rep_String.
1000         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1001         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1002         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1003         Likewise.
1004         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1005         Likewise.
1006         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1008         Likewise.
1009         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1010         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1011         Likewise.
1013 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1015         [BZ #19745]
1016         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1017         with *%rax in call.
1019 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1021         [BZ #19745]
1022         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1023         with *__libc_start_main@GOTPCREL(%rip) in call.
1025 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1027         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1028         inside conditional for nonempty $(CXX).
1030         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1031         nonempty.
1033         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1034         to test for empty $(CXX) rather than $(CXX) of "no".
1036 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1038         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1040 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1041             H.J. Lu  <hongjiu.lu@intel.com>
1043         [BZ #18880]
1044         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1045         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1046         enable __memcpy_ssse3_back.
1048 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1050         [BZ #19758]
1051         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1052         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1054 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1056         [BZ #19490]
1057         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1058         (__fentry__): Likewise.
1060 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1062         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1063         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1065 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1067         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1068         __mcount_internal directly.
1069         (C_LABEL(__fentry__)): Likewise.
1070         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1071         directly.
1073 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1075         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1076         (__start_context): Call __setcontext directly.
1078 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1081         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1082         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1083         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1084         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1085         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1086         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1087         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1088         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1089         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1090         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1091         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1093         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1094         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1095         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1096         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1098         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1099         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1100         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1102         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1103         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1104         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1105         Remove conditional code.
1106         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1107         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1108         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1109         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1110         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1111         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1112         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1113         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1114         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1115         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1116         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1117         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1119 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1121         * NEWS (2.23): Fix typo in bug 19048 text.
1123 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1125         [BZ #14259]
1126         * Makeconfig: Rename msgcatdir to localedir.
1127         Rename inst_msgcatdir to inst_localedir.
1128         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1129         * config.make.in: Add localedir.
1130         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1131         (ldd-rewrite): Likewise.
1132         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1133         (install-others): Use inst_localedir.
1134         (CPPFLAGS): Use localedir.
1135         * locale/Makefile (locale-CPPFLAGS): Likewise.
1136         * po/Makefile (mo-installed): Use inst_localedir.
1138         [BZ #19575]
1139         * localedata/charmaps/GB18030: Update comments regarding PAU to
1140         non-PUA mappings.
1142 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1144         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1145         test for header.
1146         * sysdeps/unix/sysv/linux/configure: Regenerated.
1147         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1148         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1149         Remove conditional code.
1150         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1152         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1153         Define to 3.2.0.
1154         (arch_minimum_kernel): Likewise.
1155         * sysdeps/unix/sysv/linux/configure: Regenerated.
1156         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1157         Define to 2.6.32.
1158         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1159         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1160         (arch_minimum_kernel): Define to 2.6.32.
1161         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1162         * README: Document Linux 3.2 requirement.
1163         * manual/install.texi (Linux): Document Linux 3.2 headers
1164         requirement.
1165         * INSTALL: Regenerated.
1167 2016-02-24  Andreas Schwab  <schwab@suse.de>
1169         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1170         if !NO_LONG_DOUBLE.
1172 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1174         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1175         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1177 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1179         [BZ #19512]
1180         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1182 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1184         * posix/tst-dir.c: Include libc-internal.h.
1186 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1188         [BZ #19056]
1189         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1190         * manual/filesys.texi (Reading/Closing Directory): Mention
1191         deprecaion.
1192         * posix/tst-dir.c (main): Disable deprecation warning in test.
1194 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1196         [BZ #19679]
1197         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1198         Renamed to ...
1199         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1200         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1201         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1202         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1203         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1204         * sysdeps/x86_64/dl-trampoline.h
1205         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1206         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1208 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1210         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1212 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1214         * elf/elf.h (R_386_GOT32X): New.
1215         (R_386_NUM): Update.
1216         (R_X86_64_GOTPCRELX: New.
1217         (R_X86_64_REX_GOTPCRELX): New.
1218         (R_X86_64_NUM): Update.
1220 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1222         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1224 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1226         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1227         assign attr->stackaddr to it, and adjust it down when
1228         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1229         [_STACK_GROWS_UP]: Delete assert.
1230         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1231         Implement stack grows up logic.
1232         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1233         stack grows up logic.
1235 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1237         * NEWS: Update with 2.24 template.
1239 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1241         [BZ #19678]
1242         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1243         Ensure +0.0 is returned when taking the next value below the least
1244         positive value.
1246 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1248         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1249         available.  Do not define NO_THREADS.
1250         * malloc/malloc.c: Do not check NO_THREADS.
1251         * malloc/arena.c: Likewise.
1253 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1255         * malloc/malloc.c (__libc_mallinfo): Update comment.
1256         (struct malloc_par): Remove max_total_mem member, it was always 0.
1257         (int_mallinfo): Store 0 into usmblks (no functional change).
1258         * malloc/hooks.c (struct malloc_state): Document that
1259         max_total_mem is always 0.
1260         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1261         always 0.
1262         * manual/memory.texi (Statistics of Malloc): Likewise.
1264 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1266         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1267         * malloc/arena.c (arena_max): Remove.
1268         (heap_trim, _int_new_arena): Do not update arena_max.
1270 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1272         * resolv/res_init.c (res_ninit): Update comment.
1274 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1276         [BZ #19505]
1277         * posix/spawn_int.h: Add headers and include guard.
1278         (__spawn_valid_fd): New function.
1279         * posix/spawn_faction_addopen.c
1280         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1281         * posix/spawn_faction_addclose.c
1282         (posix_spawn_file_actions_addclose): Likewise.
1283         * posix/spawn_faction_adddup2.c
1284         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1285         second file descriptor.
1286         * posix/spawn_valid_fd.c: New file.
1287         * posix/tst-posix_spawn-fd.c: New file.
1288         * posix/Makefile (routines): Add spawn_valid_fd.
1289         (tests): Add tst-posix_spawn-fd.
1291 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1293         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1294         (do_test): Limit the number of arenas, so that we can use fewer
1295         outer threads.  Limit timeout to 3 seconds, in preparation for a
1296         larger TIMEOUT value.
1298 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1300         [BZ #19674]
1301         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1302         sign in overflowing and underflowing results when overflow or
1303         underflow is detected early.  Include sign in result before rather
1304         than after scaling.
1306         [BZ #19603]
1307         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1308         (__ieee754_remainderl): Adjust sign of integer version of low part
1309         when taking absolute value of high part.
1310         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1311         * math/libm-test.inc (remainder_test_data): Add another test.
1312         (remquo_test_data): Likewise.
1314 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1316         [BZ #19602]
1317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1318         equal high parts and both low parts zero specially.
1319         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1320         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1321         Add test-fmodl-ldbl-128ibm.
1323         [BZ #19595]
1324         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1325         common logic for all cases of shifting subnormal results.  Do not
1326         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1327         exponent to ldbl_insert_mantissa in subnormal case.
1329         [BZ #19594]
1330         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1331         on high and low parts then adjust result and use
1332         ldbl_canonicalize_int if needed.
1334         [BZ #19593]
1335         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1336         on high part and __floor or __ceil on low part then use
1337         ldbl_canonicalize_int if needed.
1339         [BZ #19592]
1340         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1341         high and low parts then use ldbl_canonicalize_int if needed.
1343         [BZ #17899]
1344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1345         New function.
1346         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1347         on high and low parts then use ldbl_canonicalize_int if needed.
1349 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1351         * configure: Regenerated.
1353         * po/libc.pot: Regenerated.
1355         * po/be.po: Updated translation.
1356         * po/bg.po: Likewise.
1357         * po/ca.po: Likewise.
1358         * po/cs.po: Likewise.
1359         * po/da.po: Likewise.
1360         * po/el.po: Likewise.
1361         * po/eo.po: Likewise.
1362         * po/es.po: Likewise.
1363         * po/fi.po: Likewise.
1364         * po/fr.po: Likewise.
1365         * po/gl.po: Likewise.
1366         * po/hr.po: Likewise.
1367         * po/hu.po: Likewise.
1368         * po/ia.po: Likewise.
1369         * po/id.po: Likewise.
1370         * po/it.po: Likewise.
1371         * po/ja.po: Likewise.
1372         * po/lt.po: Likewise.
1373         * po/nb.po: Likewise.
1374         * po/nl.po: Likewise.
1375         * po/pt_BR.po: Likewise.
1376         * po/rw.po: Likewise.
1377         * po/sk.po: Likewise.
1378         * po/sl.po: Likewise.
1379         * po/sv.po: Likewise.
1380         * po/tr.po: Likewise.
1381         * po/zh_CN.po: Likewise.
1382         * po/zh_TW.po: Likewise.
1384         * version.h (RELEAES): Set to "development".
1385         (VERSION): Set to 2.23.90.
1387         * version.h (RELEASE): Set to "stable".
1388         (VERSION): Set to 2.23.
1389         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1391         * NEWS: Updated fixed bugs.
1393 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1394             Wilco Dijkstra  <wdijkstr@arm.com>
1396         [BZ #19462]
1397         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1398         (_STRING_INLINE_unaligned): This.
1399         * include/string.h: Include <string_private.h>.
1400         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1401         _STRING_INLINE_unaligned.
1402         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1403         (_STRING_INLINE_unaligned): New.
1404         * sysdeps/aarch64/string_private.h: New file.
1405         * sysdeps/generic/string_private.h: Likewise.
1406         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1407         * sysdeps/s390/string_private.h: Likewise.
1408         * sysdeps/x86/string_private.h: Likewise.
1409         * sysdeps/m68k/m680x0/m68020/bits/string.h
1410         (_STRING_ARCH_unaligned): Renamed to ...
1411         (_STRING_INLINE_unaligned): This.
1412         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1413         to ...
1414         (_STRING_INLINE_unaligned): This.
1415         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1416         to ...
1417         (_STRING_INLINE_unaligned): This.
1418         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1419         to ...
1420         (_STRING_INLINE_unaligned): This.
1422 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1423             H.J. Lu  <hongjiu.lu@intel.com>
1425         [BZ #19590]
1426         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1427         relocation.
1429 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1431         [BZ #18665]
1432         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1433         *herrno_p.
1434         (gaih_getanswer): Document functional behviour. Return tryagain
1435         if any result is tryagain.
1436         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1437         when freed.
1438         * resolv/res_send.c: Add copyright text.
1439         (__libc_res_nsend): Document that MAXPACKET is expected.
1440         (send_vc): Document. Remove buffer reuse.
1441         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1442         size of the buffer. Add Dprint for truncated UDP buffer.
1444 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1446         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1447         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1448         * INSTALL: Regenerate.
1450 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1451             Jonathan Wakely  <jwakely@redhat.com>
1452             Carlos O'Donell  <carlos@redhat.com>
1454         [BZ 19439]
1455         * math/Makefile (tests): Add test-math-isinff.
1456         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1457         * math/bits/mathcalls.h [__USE_MISC]: Use
1458         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1459         functions not in C++11 and which don't conflict e.g. isinff,
1460         isinfl etc.
1461         * math/test-math-isinff.cc: New file.
1463 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1465         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1467 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1469         [BZ #19529]
1470         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1472 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1474         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1476 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1478         [BZ #19550]
1479         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1480         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1481         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1482         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1483         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1484         New syscall entry.
1485         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1486         New syscall entry.
1487         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1488         syscall entry.
1490 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1492         [BZ #18240]
1493         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1494         unsigned int wraparound.
1496 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1498         [BZ #18240]
1499         * misc/bug18240.c: New test.
1500         * misc/Makefile (tests): Add it.
1502 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1503             Joseph Myers  <joseph@codesourcery.com>
1505         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1506         load in branch delay slot when less than a word of input left.
1508 2016-01-27  Andreas Schwab  <schwab@suse.de>
1510         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1511         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1512         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1513         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1515 2016-01-26  David S. Miller  <davem@davemloft.net>
1517         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1519 2016-01-25  David S. Miller  <davem@davemloft.net>
1521         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1522         __sqrtl_finite.
1523         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1524         instead using versioned_symbol.
1525         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1526         of entries.
1528         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1529         __sqrtl_finite to GLIBC_2.23
1531 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1533         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1535 2016-01-25  Andreas Schwab  <schwab@suse.de>
1537         [BZ #17514]
1538         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1539         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1540         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1541         * nptl/tst-mutex-errorcheck.c: New file.
1543 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1545         [BZ #18560]
1546         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1547         (IPCOP_semop): Likewise.
1548         (IPCOP_semget): Likewise.
1549         (IPCOP_semctl): Likewise.
1550         (IPCOP_msgsnd): Likewise.
1551         (IPCOP_msgrcv): Likewise.
1552         (IPCOP_msgget): Likewise.
1553         (IPCOP_msgctl): Likewise.
1554         (IPCOP_shmat): Likewise.
1555         (IPCOP_shmdt): Likewise.
1556         (IPCOP_shmget): Likewise.
1557         (IPCOP_shmctl): Likewise.
1559 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1561         * string/tst-endian.c: Include <libc-internal.h>.
1562         (do_test): Ignore tautological-compare warnings around
1563         "htobeXX (beXXtoh (i)) != i" and
1564         "htoleXX (leXXtoh (i)) != i" if-statements.
1566 2016-01-24  David S. Miller  <davem@davemloft.net>
1568         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1569         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1570         alias.
1571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1572         __sqrtl_finite.
1574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1576 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1578         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1579         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1580         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1582 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1584         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1585         (thread_func): Use new function to simplify barrier check.
1586         (do_test): Use new function to simplify checking barrier exit
1587         code, and actually join the child thread.
1589 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1591         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1592         semicolon.
1593         (__libc_tend): Likewise.
1594         (__libc_tabort): Likewise.
1596 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1598         * sysdeps/nios2/libm-test-ulps: Update.
1599         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1600         (__gtsf2): Likewise.
1601         (__unorddf2): Likewise.
1602         (__unordsf2): Likewise.
1603         (__ledf2): Likewise.
1605 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1607         * nis/nis_table.c (__follow_path): Disable diagnostic for
1608         uninitialized variable that is a false positive for gcc 4.7.
1609         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1611 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1613         * sysdeps/nacl/lowlevellock-futex.h
1614         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1615         Always evaluate PRIVATE argument.
1617 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1619         [BZ #19490]
1620         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1621         (pthread_cond_broadcast): Use ENTRY/END
1622         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1623         (pthread_cond_signal): Likewise.
1624         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1625         Likewise.
1626         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1627         Likewise.
1628         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1629         Likewise.
1631 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1633         * sysdeps/ieee754/dbl-64/s_finite.c
1634         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1635         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1636         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1638         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1641         (__gtsf2): Add as optional for libc.so.
1642         (__unordsf2): Likewise.
1643         (__signbit): Remove for libc.so.
1644         (__signbitl): Likewise.
1646 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1648         * iconvdata/bug-iconv11.c (test_ibm93x):
1649         Use %zu printf format specifier for size_t argument.
1651 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1653         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1654         already-recorded ulps.
1655         * sysdeps/arm/libm-test-ulps: Regenerated.
1656         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1657         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1658         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1660 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1661             Paul Pluzhnikov  <ppluzhnikov@google.com>
1663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1664         assembler not supporting AVX-512.
1666 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1668         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1670 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1672         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1673         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1675         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1677         * sysdeps/arm/libm-test-ulps: Regenerated.
1679 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1681         [BZ #19451]
1682         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1684 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1686         [BZ #19486]
1687         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1688         * sysdeps/generic/fix-fp-int-convert-overflow.h
1689         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1690         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1691         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1692         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1693         Likewise.
1694         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1695         Avoid conversions to long int where inexact exceptions
1696         could be raised.
1697         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1698         Likewise.
1699         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1700         Avoid conversions to long long int where inexact exceptions
1701         could be raised.
1702         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1703         Likewise.
1705 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1707         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1708         * configure: Regenerated.
1710 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1714 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1716         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1717         outside of comment.
1719 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1721         * nptl/tst-barrier1.c: Add description on first line.
1722         * nptl/tst-barrier2.c: Likewise.
1723         * nptl/tst-barrier3.c: Likewise.
1724         * nptl/tst-barrier4.c: Likewise.
1725         * nptl/tst-barrier5.c: Likewise.
1727 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1729         [BZ #18868]
1730         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1732 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1736         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1737         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1738         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1739         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1742         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1743         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1744         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1746 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1748         [BZ #13065]
1749         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1750         new implementation.
1751         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1752         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1753         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1754         (BARRIER_IN_THRESHOLD): New macro.
1755         * nptl/pthread_barrierattr_setpshared.c
1756         (pthread_barrierattr_setpshared): Clean up.
1757         * nptl/tst-barrier4.c: Correct comment.
1758         * nptl/tst-barrier5.c: New file.
1759         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1760         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1761         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1762         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1763         * nptl/lowlevelbarrier.sym: Remove.
1764         * nptl/DESIGN-barrier.txt: Remove.
1765         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1766         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1767         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1768         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1769         error.
1770         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1771         implementation.
1773 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1775         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1776         (do_child): Mask SIGRTMIN while thr is running.
1778 2016-01-15  Martin Sebor  <msebor@redhat.com>
1780         [BZ #19432]
1781         * iconvdata/Makefile: Add bug-iconv11.
1782         * iconvdata/bug-iconv11.c: New test.
1783         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1784         * iconvdata/ibm933.c: Same.
1785         * iconvdata/ibm935.c: Same.
1786         * iconvdata/ibm937.c: Same.
1787         * iconvdata/ibm939.c: Same.
1789 2016-01-15  Martin Sebor  <msebor@redhat.com>
1791         [BZ #19443]
1792         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1793         [DEBUG] (_ufc_set_bits): Declare used.
1794         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1795         [DEBUG] (print_all): Declare used.
1796         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1797         operands of the ternary ?: expression to target type.
1798         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1799         calling the undeclared abort.
1800         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1802 2016-01-15  Martin Sebor  <msebor@redhat.com>
1804         [BZ #18755]
1805         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1806         warnings.
1807         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1808         (__gai_create_helper_thread): Same.
1809         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1810         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1811         to suppress -Wmaybe-uninitialized warnings.
1813 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1815         [BZ #19465]
1816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1817         inside if.
1818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1819         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1820         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1822 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1824         [BZ #19466]
1825         * time/tst-mktime2.c (time_t_max): Removed.
1826         (time_t_min): Likewise.
1827         (TYPE_SIGNED): New.
1828         (TYPE_MINIMUM): Likewise.
1829         (TYPE_MAXIMUM): Likewise.
1830         (TIME_T_MIN): Likewise.
1831         (TIME_T_MAX): Likewise.
1832         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1833         and TIME_T_MIN.
1834         (do_test): Likewise.
1836 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1838         [BZ #19467]
1839         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1840         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1842 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1844         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1846 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1848         * benchtests/Makefile (PYTHON): Define.
1849         (bench-func): Use $(PYTHON) to run python scripts.
1850         ($(objpfx)bench-%.c): Likewise.
1852 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1854         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1855         leading slash when `file_name' is "/".
1857 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1859         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1860         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1863         Likewise.
1864         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1865         Likewise.
1866         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1867         enum constant and macro.
1868         (PTRACE_SETSIGMASK): Likewise.
1869         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1870         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1871         (PTRACE_GETSIGMASK): Likewise.
1872         (PTRACE_SETSIGMASK): Likewise.
1873         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1874         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1875         Likewise.
1876         (PTRACE_SETSIGMASK): Likewise.
1877         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1879         (PTRACE_GETSIGMASK): Likewise.
1880         (PTRACE_SETSIGMASK): Likewise.
1881         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1882         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1883         Likewise.
1884         (PTRACE_SETSIGMASK): Likewise.
1885         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1886         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1887         Likewise.
1888         (PTRACE_SETSIGMASK): Likewise.
1889         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1890         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1891         Likewise.
1892         (PTRACE_SETSIGMASK): Likewise.
1893         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1895 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1896             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1898         [BZ #19439]
1899         * math/bits/mathcalls.h
1900         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1901         prototype.
1902         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1904 2016-01-11  Andreas Schwab  <schwab@suse.de>
1906         [BZ #19253]
1907         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1908         cache when TZDEFRULES was used.
1909         * time/tst-tzname.c: New file.
1910         * time/Makefile (test): Add tst-tzname.
1911         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1912         * timezone/Makefile (test-zones): Add $(posixrules-file).
1913         ($(testdata)/$(posixrules-file)): New rule.
1915 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1917         Fix doc quoting problems with Texinfo 5
1918         Without this change, in the info file output, Texinfo 5 quotes code
1919         in text with undirected single quotes 'like this' and generates
1920         code examples that with many PDF readers cannot be cut out of PDFs
1921         and pasted into code.
1922         * manual/libc.texinfo: Configure the libc manual like the GNU
1923         Emacs manual, by using @documentencoding and setting
1924         txicodequoteundirected and txicodequotebacktick.  This way,
1925         Texinfo 5 quotes code in text with directed single quotes ‘like
1926         this’ and produces examples that can be cut out of PDFs.  This
1927         change causes Texinfo 5 to generate info files that contain UTF-8
1928         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1929         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1931 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1933         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1934         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1935         barriers to their respective compiler built-ins.
1936         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1937         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1938         * sysdeps/powerpc/sysdep.h: Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1940         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1941         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1943 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1945         * scripts/config.guess: Revert previous shebang change.
1946         * scripts/config.sub: Likewise.
1947         * scripts/mkinstalldirs: Likewise.
1949 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1951         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1952         PPC_FEATURE2_HAS_IEEE128.
1953         * sysdeps/powerpc/dl-procinfo.c:
1954         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1956 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1958         [BZ #19415]
1959         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1960         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1961         (_dl_lookup_address): Rewrite using function resolver trampoline.
1962         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1963         two bits in address.
1965 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1967         * longlong.h: Change !__SHMEDIA__ to
1968         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1969         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1971 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1972             Joseph Myers  <joseph@codesourcery.com>
1973             Mark Shinwell  <shinwell@codesourcery.com>
1974             Andrew Stubbs  <ams@codesourcery.com>
1975             Rich Felker <dalias@libc.org>
1977         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1979 2016-01-07  Richard Henderson  <rth@redhat.com>
1981         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1983 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1985         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1986         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1987         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1988         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1989         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1991 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1992             Joseph Myers  <joseph@codesourcery.com>
1994         * timezone/private.h: Update from tzcode 2015g.
1995         * timezone/tzfile.h: Likewise.
1996         * timezone/tzselect.ksh: Likewise.
1997         * timezone/zdump.c: Likewise.
1998         * timezone/zic.c: Likewise.
1999         * timezone/ialloc.c: Remove file.
2000         * timezone/scheck.c: Likewise.
2001         * timezone/Makefile (extra-objs): Remove variable.
2002         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2003         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2004         -Wno-maybe-uninitialized.
2005         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2006         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2007         (CFLAGS-ialloc.c): Remove variable.
2008         (CFLAGS-scheck.c): Likewise.
2009         * timezone/README: Update list of files from tzcode.
2011 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2013         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2014         instead of __fxprintf when _LIBC is undefined.
2016 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2018         * catgets/test-gencat.sh: Remove space after shebang.
2019         * conform/GlibcConform.pm: Likewise.
2020         * conform/check-header-lists.sh: Likewise.
2021         * conform/conformtest.pl: Likewise.
2022         * conform/linknamespace.pl: Likewise.
2023         * conform/list-header-symbols.pl: Likewise.
2024         * debug/catchsegv.sh: Likewise.
2025         * elf/genrtldtbl.awk: Likewise.
2026         * elf/tst-pathopt.sh: Likewise.
2027         * elf/tst-rtld-load-self.sh: Likewise.
2028         * grp/tst_fgetgrent.sh: Likewise.
2029         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2030         * iconvdata/gen-8bit-gap.sh: Likewise.
2031         * iconvdata/gen-8bit.sh: Likewise.
2032         * iconvdata/run-iconv-test.sh: Likewise.
2033         * intl/tst-gettext.sh: Likewise.
2034         * intl/tst-gettext2.sh: Likewise.
2035         * intl/tst-gettext4.sh: Likewise.
2036         * intl/tst-gettext6.sh: Likewise.
2037         * intl/tst-translit.sh: Likewise.
2038         * io/ftwtest-sh: Likewise.
2039         * libio/test-freopen.sh: Likewise.
2040         * locale/gen-translit.pl: Likewise.
2041         * malloc/tst-mtrace.sh: Likewise.
2042         * manual/check-safety.sh: Likewise.
2043         * manual/libc-texinfo.sh: Likewise.
2044         * manual/tsort.awk: Likewise.
2045         * manual/xtract-typefun.awk: Likewise.
2046         * nptl/tst-cancel-wrappers.sh: Likewise.
2047         * nptl/tst-tls6.sh: Likewise.
2048         * posix/globtest.sh: Likewise.
2049         * posix/tst-getconf.sh: Likewise.
2050         * posix/wordexp-tst.sh: Likewise.
2051         * scripts/check-c++-types.sh: Likewise.
2052         * scripts/check-local-headers.sh: Likewise.
2053         * scripts/config.guess: Likewise.
2054         * scripts/config.sub: Likewise.
2055         * scripts/cpp: Likewise.
2056         * scripts/cross-test-ssh.sh: Likewise.
2057         * scripts/documented.sh: Likewise.
2058         * scripts/evaluate-test.sh: Likewise.
2059         * scripts/gen-libc-abis: Likewise.
2060         * scripts/gen-sorted.awk: Likewise.
2061         * scripts/list-fixed-bugs.py: Likewise.
2062         * scripts/merge-test-results.sh: Likewise.
2063         * scripts/mkinstalldirs: Likewise.
2064         * scripts/rellns-sh: Likewise.
2065         * scripts/test-installation.pl: Likewise.
2066         * scripts/update-copyrights: Likewise.
2067         * stdio-common/tst-printf.sh: Likewise.
2068         * stdio-common/tst-unbputc.sh: Likewise.
2069         * stdlib/tst-fmtmsg.sh: Likewise.
2070         * stdlib/tst-setcontext3.sh: Likewise.
2071         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2072         * sysdeps/unix/make-syscalls.sh: Likewise.
2074 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2076         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2077         asm stw with atomic_exchange_rel.  Add explanatory comment.
2078         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2079         Likewise.
2081 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2083         [BZ #19122]
2084         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2085         * sysdeps/generic/dl-unistd.h: New file.
2086         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2088 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2090          [BZ #19122]
2091          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2092          * sysdeps/generic/dl-mman.h: New file.
2093          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2095 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2097         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2098         trailing whitespace removed.
2099         * scripts/config.guess: Update to version 2016-01-01.
2100         * scripts/config.sub: Update to version 2016-01-01.
2101         * scripts/move-if-change: Update from gnulib.
2103 2016-01-04  Anton Blanchard  <anton@samba.org>
2105         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2106         for array indices.
2107         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2109 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2111         * NEWS: Update copyright dates.
2112         * catgets/gencat.c (print_version): Likewise.
2113         * csu/version.c (banner): Likewise.
2114         * debug/catchsegv.sh: Likewise.
2115         * debug/pcprofiledump.c (print_version): Likewise.
2116         * debug/xtrace.sh (do_version): Likewise.
2117         * elf/ldconfig.c (print_version): Likewise.
2118         * elf/ldd.bash.in: Likewise.
2119         * elf/pldd.c (print_version): Likewise.
2120         * elf/sotruss.sh: Likewise.
2121         * elf/sprof.c (print_version): Likewise.
2122         * iconv/iconv_prog.c (print_version): Likewise.
2123         * iconv/iconvconfig.c (print_version): Likewise.
2124         * locale/programs/locale.c (print_version): Likewise.
2125         * locale/programs/localedef.c (print_version): Likewise.
2126         * login/programs/pt_chown.c (print_version): Likewise.
2127         * malloc/memusage.sh (do_version): Likewise.
2128         * malloc/memusagestat.c (print_version): Likewise.
2129         * malloc/mtrace.pl: Likewise.
2130         * manual/libc.texinfo: Likewise.
2131         * nptl/version.c (banner): Likewise.
2132         * nscd/nscd.c (print_version): Likewise.
2133         * nss/getent.c (print_version): Likewise.
2134         * nss/makedb.c (print_version): Likewise.
2135         * posix/getconf.c (main): Likewise.
2136         * scripts/test-installation.pl: Likewise.
2137         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2139         * All files with FSF copyright notices: Update copyright dates
2140         using scripts/update-copyrights.
2141         * intl/plural.c: Regenerated.
2142         * locale/programs/charmap-kw.h: Likewise.
2143         * locale/programs/locfile-kw.h: Likewise.
2145 2016-01-02  Helge Deller  <deller@gmx.de>
2147         [BZ #19285]
2148         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2149         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2150         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2151         (MADV_xxK_PAGES): Remove.
2153 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2155         [BZ #15421]
2156         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2157         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2158         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2159         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2161 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2163         [BZ #19408]
2164         * sysdeps/unix/sysv/linux/personality.c: New file.
2165         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2166         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2168         (sysdep_routines): Add personality.
2169         (tests): Add tst-personality.
2170         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2171         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2172         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2173         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2174         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2175         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2176         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2177         Likewise.
2178         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2179         Likewise.
2180         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2184         Likewise.
2186 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2188         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2189         (PATH_ARM_SYSTYPE): Remove.
2190         (PATH_CPUINFO): Likewise.
2191         (IO_BASE_FOOTBRIDGE): Likewise.
2192         (IO_SHIFT_FOOTBRIDGE): Likewise.
2193         (struct platform): Likewise.
2194         (init_iosys): Remove compatibility code for 2.4 kernels.
2195         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2197 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2199         * malloc/tst-malloc-thread-fail.c: New file.
2200         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2201         (tst-malloc-thread-fail): Link against libpthread.
2203 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2205         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2206         (get_parser): New function.
2207         (main): New function.
2209 2015-12-29  Rob Wu  <rob@robwu.nl>
2211         [BZ #19369]
2212         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2214 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2216         [BZ #19270]
2217         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2219 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2221         [BZ #15421]
2222         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2224 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2226         [BZ #13690]
2227         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2228         after releasing it.
2229         (__lll_robust_unlock): Likewise.
2230         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2231         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2232         (lll_robust_unlock): Likewise.
2233         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2234         Prevent warnings in callers.
2236 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2238         * malloc/arena.c (list_lock): Update comment.
2240 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2242         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2243         __parse_hwcap_and_convert_at_platform to libc.a.
2245 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2247         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2248         platform and feature support for POWER9.
2249         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2250         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2251         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2252         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2253         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2254         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2255         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2256         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2258 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2260         Harmonize generic stdio-lock support with nptl
2262         This fixes build when _IO_funlockfile is a macro, fixes build where
2263         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2264         stack unwind.
2266         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2267         _IO_release_lock ): Use cleanup attribute on new
2268         _IO_acquire_lock_file variable instead of assuming that
2269         _IO_release_lock will be called.
2270         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2271         _IO_acquire_lock_needs_exceptions_enabled.
2272         (_IO_acquire_lock_clear_flags2): New macro.
2274 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2276         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2278 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2280         [BZ #19182]
2281         * malloc/arena.c (list_lock): Document lock ordering requirements.
2282         (free_list_lock): New lock.
2283         (ptmalloc_lock_all): Comment on free_list_lock.
2284         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2285         (detach_arena): Update comment.  free_list_lock is now needed.
2286         (_int_new_arena): Use free_list_lock around detach_arena call.
2287         Acquire arena lock after list_lock.  Add comment, including FIXME
2288         about incorrect synchronization.
2289         (get_free_list): Switch to free_list_lock.
2290         (reused_arena): Acquire free_list_lock around detach_arena call
2291         and attached threads counter update.  Add two FIXMEs about
2292         incorrect synchronization.
2293         (arena_thread_freeres): Switch to free_list_lock.
2294         * malloc/malloc.c (struct malloc_state): Update comments to
2295         mention free_list_lock.
2297 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2299         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2300         Remove functions.
2301         (sloww, sloww1): Accept argument to offset quadrant.
2302         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2303         quadrant.
2304         (__sin, __cos): Consolidate common code into new functions.
2305         (reduce_sincos_1, do_sincos_1): New functions.
2306         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2309         code to new functions.
2310         (reduce_sincos_2, do_sincos_2): New functions.
2311         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2314         common code for sincos.
2315         (__cos) [!IN_SINCOS]: Likewise.
2316         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2317         New function.
2318         (__sincos): Use it.
2320 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2322         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2323         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2324         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2326 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2328         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2331         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2332         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2333         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2334         index_Prefer_No_VZEROUPPER): New feature.
2335         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2336         Prefer_No_VZEROUPPER for Knights Landing.
2338 015-12-18  Torvald Riegel  <triegel@redhat.com>
2340         * math/atest-exp2.c (mp_exp_m1): Remove.
2342 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2344         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2345         syscalls.
2346         (__SYSCALL0): New macro.
2347         (__SYSCALL1): Likewise.
2348         (__SYSCALL2): Likewise.
2349         (__SYSCALL3): Likewise.
2350         (__SYSCALL4): Likewise.
2351         (__SYSCALL5): Likewise.
2352         (__SYSCALL6): Likewise.
2353         (__SYSCALL_CONCAT_X): Likewise.
2354         (__SYSCALL_CONCAT): Likewise.
2355         (__SYSCALL_DIST): Likewise.
2356         (__SYSCALL_CALL): Likewise.
2358 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2360         [BZ #19363]
2361         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2363 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2365         [BZ #19375]
2366         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2367         negative subnormals.
2369 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2372         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2373         (INTERNAL_SYSCALL_NCS): Use it.
2374         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2376 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2378         [BZ #19243]
2379         * malloc/arena.c (get_free_list): Remove assert and adjust
2380         reference count handling.  Add comment about reused_arena
2381         interaction.
2382         (reused_arena): Add comments abount get_free_list interaction.
2383         * malloc/tst-malloc-thread-exit.c: New file.
2384         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2385         (tst-malloc-thread-exit): Link against libpthread.
2387 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2389         [BZ #19367]
2390         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2391         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2392         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2393         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2394         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2396 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2398         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2399         Silvermont optimizations for Knights Landing.
2401 2015-12-15  Andreas Schwab  <schwab@suse.de>
2403         [BZ #17197]
2404         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2405         immediately after emitting SI.
2406         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2407         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2408         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2409         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2410         * iconvdata/bug-iconv10.c: New file.
2411         * iconvdata/Makefile (tests): Add bug-iconv10.
2412         ($(objpfx)bug-iconv10.out): New rule.
2414 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2416         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2417         aliasing violation.
2419 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2421         [BZ #18472]
2422         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2423         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2424         conditionals for them.
2425         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2426         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2428         sys/kdaemon.h.
2429         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2430         compat-only syscall, obsoleted in glibc 2.23.
2431         (create_module): Likewise.
2432         (get_kernel_syms): Likewise.
2433         (query_module): Likewise.
2434         (uselib): Likewise.
2435         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2437 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2439         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2440         <linux/version.h>.
2441         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2442         conditional code.
2443         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2444         and ioshift_name initialization.
2446 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2449         Fix indentation.
2451 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2453         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2455 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2457         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2459 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2460             Jakub Wilk  <jwilk@debian.org>
2462         [BZ #19347]
2463         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2464         to change the group of the device to the tty group.
2466 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2468         Split large string section; add truncation advice
2469         * manual/examples/strncat.c: Remove.
2470         This example was misleading, as the code would have undefined
2471         behavior if "hello" was longer than SIZE.  Anyway, the manual
2472         shouldn't encourage strncpy+strncat for this sort of thing.
2473         * manual/string.texi (Copying Strings and Arrays): Split into
2474         three sections Copying Strings and Arrays, Concatenating Strings,
2475         and Truncating Strings, as this section was way too long.  All
2476         cross-referenced changed.  Add advice about string-truncation
2477         functions.  Remove misleading strncat example.
2479 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2481         * manual/nss.texi (NSS Modules Interface): Document
2482         NSS_STATUS_NOTFOUND and SUCCESS.
2484 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2486         [BZ 18568]
2487         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2488         201505L, for Unicode 8.
2490 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2492         * locale/C-translit.h: Regenerate.
2494 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2496         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2497         and U+0153.
2499 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2501         [BZ #19351]
2502         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2503         expanding log(1+z), compare z rather than its square with epsilon
2504         to determine when to avoid evaluating the expansion.
2506         [BZ #19350]
2507         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2508         Increase overflow threshold.
2510         [BZ #19349]
2511         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2512         when small.
2514         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2516         New macro.
2517         [__LINUX_KERNEL_VERSION >= 0x040300]
2518         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2520         Likewise.
2521         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2522         Likewise.
2523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2524         Likewise.
2525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2526         Likewise.
2527         [__LINUX_KERNEL_VERSION >= 0x040300]
2528         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2529         [__LINUX_KERNEL_VERSION >= 0x040300]
2530         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2531         [__LINUX_KERNEL_VERSION >= 0x040300]
2532         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2533         [__LINUX_KERNEL_VERSION >= 0x040300]
2534         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2535         [__LINUX_KERNEL_VERSION >= 0x040300]
2536         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2538         Likewise.
2539         [__LINUX_KERNEL_VERSION >= 0x040300]
2540         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2542         Likewise.
2543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2544         Likewise.
2545         [__LINUX_KERNEL_VERSION >= 0x040300]
2546         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2548         Likewise.
2549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2550         Likewise.
2551         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2553         Likewise.
2554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2555         Likewise.
2556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2557         Likewise.
2558         [__LINUX_KERNEL_VERSION >= 0x040300]
2559         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2561         Likewise.
2562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2563         Likewise.
2564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2565         Likewise.
2566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2567         Likewise.
2568         [__LINUX_KERNEL_VERSION >= 0x040300]
2569         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2570         [__LINUX_KERNEL_VERSION >= 0x040300]
2571         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2572         [__LINUX_KERNEL_VERSION >= 0x040300]
2573         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2574         [__LINUX_KERNEL_VERSION >= 0x040300]
2575         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2576         [__LINUX_KERNEL_VERSION >= 0x040300]
2577         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2579         Likewise.
2580         [__LINUX_KERNEL_VERSION >= 0x040300]
2581         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2583         Likewise.
2584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2585         Likewise.
2586         [__LINUX_KERNEL_VERSION >= 0x040300]
2587         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2589         Likewise.
2590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2593         (__ASSUME_SOCKET_SYSCALL): Likewise.
2594         (__ASSUME_BIND_SYSCALL): Likewise.
2595         (__ASSUME_CONNECT_SYSCALL): Likewise.
2596         (__ASSUME_LISTEN_SYSCALL): Likewise.
2597         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2598         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2599         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2600         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2601         (__ASSUME_SEND_SYSCALL): Likewise.
2602         (__ASSUME_SENDTO_SYSCALL): Likewise.
2603         (__ASSUME_RECV_SYSCALL): Likewise.
2604         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2605         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2606         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2607         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2608         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2609         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2610         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2612         Likewise.
2613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2614         Likewise.
2615         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2616         Likewise.
2617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2618         Likewise.
2619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2620         Likewise.
2621         [__LINUX_KERNEL_VERSION >= 0x020625]
2622         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2623         [__LINUX_KERNEL_VERSION >= 0x020625]
2624         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2625         [__LINUX_KERNEL_VERSION >= 0x020625]
2626         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2627         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2628         Likewise.
2629         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2630         Likewise.
2631         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2632         Likewise.
2633         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2634         Likewise.
2635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2636         Likewise.
2637         [__LINUX_KERNEL_VERSION >= 0x020625]
2638         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2639         [__LINUX_KERNEL_VERSION >= 0x020625]
2640         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2641         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2642         Likewise.
2643         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2644         Likewise.
2646 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2648         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2649         record the current if the current ABI and CPU support the FP64
2650         extension.
2651         (has-modd-spreg): Define to record the current if the current ABI and
2652         CPU support 32-bit floating point values in odd FPU registers.
2653         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2654         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2655         $(has-modd-spreg) equals yes.
2656         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2657         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2658         $(has-modd-spreg) equal yes.
2660 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2662         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2663         basename.
2665 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2667         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2668         (bench-string): ... here.
2669         (bench): Add bench-string.
2670         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2671         to *-benchset to reflect what they are.
2672         (benchset): Adjust.
2674         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2675         cos-inputs.
2677 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2679         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2680         __attribute__ ((__simd__)) for vector math function declarations.
2682 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2684         Fix typo in strncat, wcsncat manual entries
2685         * manual/string.texi (Copying and Concatenation): Fix typos in
2686         sample implementations of strncat and wcsncat, by having them use
2687         the old value of the destination length, not the new one.
2689 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2691         [BZ #16961]
2692         [BZ #16962]
2693         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2694         string on the stack for strtod.
2695         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2696         a string on the stack for strtof.
2697         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2698         constructing a string on the stack for strtold.
2699         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2700         __strtold_nan to GLIBC_PRIVATE.
2701         * math/test-nan-overflow.c: New file.
2702         * math/test-nan-payload.c: Likewise.
2703         * math/Makefile (tests): Add test-nan-overflow and
2704         test-nan-payload.
2706 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2708         Consistency about byte vs character in string.texi
2709         * manual/string.texi (String and Array Utilities):
2710         Distinguish more carefully among bytes, multibyte characters,
2711         and wide characters.  Use "byte" when talking about C 'char',
2712         to distinguish it more clearly from multibyte characters.
2713         Say "wide character" or "multibyte character" instead of
2714         "character", when a wide or multibyte character is intended.
2715         Similarly for "multibyte string" versus "string".
2716         Define these terms more carefully.
2718 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2720         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2721         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2722         Likewise.
2723         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2724         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2725         * sysdeps/sh/math_private.h: New file.
2726         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2727         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2728         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2729         long double function name.
2730         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2731         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2732         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2736         Remove __finitel, __isinfl, and __isnanl.
2737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2738         Likewise.
2739         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2741         Remove __finitel.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2746 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2748         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2749         installed libmvec_nonshared.a.
2751 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2753         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2754         (sysdep_routines): Likewise.
2755         (sysdep-rtld-routines): Likewise.
2756         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2757         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2758         * sysdeps/powerpc/Versions: Added new
2759         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2760         * sysdeps/powerpc/hwcapinfo.c: New file.
2761         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2762         and parse hwcap, hwcap2 and platform number information.
2763         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2764         to store HWCAP+HWCAP2 and platform number.
2765         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2766         for HWCAP+HWCAP2 and platform number in the TCB.
2767         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2768         the HWCAP, HWCAP2 and platform number in the TCB.
2769         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2770         (TLS_INIT_TP): Included calls to add the hwcap and
2771         at_platform values in the TCB in TP initialization.
2772         (TLS_DEFINE_INIT_TP): Likewise.
2773         (THREAD_GET_HWCAP): New macro.
2774         (THREAD_SET_HWCAP): Likewise.
2775         (THREAD_GET_AT_PLATFORM): Likewise.
2776         (THREAD_SET_AT_PLATFORM): Likewise.
2777         * sysdeps/powerpc/powerpc32/dl-machine.h:
2778         (dl_platform_init): New function that calls
2779         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2780         powerpc32.
2781         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2782         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2783         this functionality, static linking case.
2784         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2785         linking case.
2786         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2787         __parse_hwcap_and_convert_at_platform for the static linking case.
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2789         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2790         ABI list for GLIBC 2.23.
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2792         Likewise.
2793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2794         Likewise.
2796 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2798         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2799         * configure: Regenerate.
2800         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2801         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2803 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2805         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2806         * iconvdata/ibm933.c: Likewise.
2807         * iconvdata/ibm935.c: Likewise.
2808         * iconvdata/ibm937.c: Likewise.
2809         * iconvdata/ibm939.c: Likewise.
2811 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2813         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2814         pthread_join.
2815         * nptl/tst-cancel21.c (tf): Likewise.
2817 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2819         [BZ #19313]
2820         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2821         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2822         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2823         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2824         Likewise.
2825         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2826         Likewise.
2827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2828         Likewise.
2829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2830         Likewise.
2831         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2832         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2833         unsigned long int with __CPU_MASK_TYPE.
2835 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2837         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2839 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2842         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2843         t512.x.
2844         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2846 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2848         [BZ #19214]
2849         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2850         argument to return extended model.  Update family and model
2851         with extended family and model when family == 0x0f.
2852         (init_cpu_features): Updated.
2854 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2856         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2857         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2859         * sysdeps/mach/hurd/mmap64.c: New file.
2861 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2863         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2864         rights for its main user thread in NEWTASK.
2866 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2868         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2869         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2871 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2873         [BZ #14259]
2874         * Makeconfig: Rename localedir to complocaledir.
2875         Rename inst_localedir to inst_complocaledir.
2876         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2877         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2878         * configure.ac: Use libc_cv_complocaledir.
2879         * configure: Regenerate.
2880         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2881         -DCOMPLOCALEDIR.
2882         * locale/findlocale.c: Use COMPLOCALEDIR.
2883         * locale/loadarchive.c: Likewise.
2884         * locale/programs/locale.c: Likewise.
2885         * locale/programs/localedef.c: Likewise.
2886         * locale/programs/locarchive.c: Likewise.
2887         * localedata/Makefile: Use inst_complocaledir.
2888         * sysdeps/gnu/configure: Regenerate.
2889         * sysdeps/hppa/configure: Regenerate.
2890         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2891         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2893         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2894         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2895         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2896         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2898 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2900         [BZ #19058]
2901         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2902         AS_NEEDED.
2903         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2904         workaround.
2905         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2906         libmvec-static-only-routines): Added new file.
2907         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2909 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2911         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2912         of interrupted RPC instead of restoring it.
2914         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2915         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2916         libc_hidden_def.
2917         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2918         into initialized data instead of common. Define rtld_hidden_data_def.
2919         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2920         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2921         libc_hidden_def.
2922         (if_freenameindex): Add libc_hidden_weak.
2923         (if_nameindex): Add libc_hidden_weak.
2924         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2925         __open64.
2926         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2927         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2928         * sysdeps/mach/nanosleep.c: Include <time.h>
2929         (__nanosleep): Rename to __libc_nanosleep.
2930         (__nanosleep): Add weak_alias.
2931         (nanosleep): Update alias.
2933 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2935         * stdlib/strtod_nan.c: New file.
2936         * stdlib/strtod_nan_double.h: Likewise.
2937         * stdlib/strtod_nan_float.h: Likewise.
2938         * stdlib/strtod_nan_main.c: Likewise.
2939         * stdlib/strtod_nan_narrow.h: Likewise.
2940         * stdlib/strtod_nan_wide.h: Likewise.
2941         * stdlib/strtof_nan.c: Likewise.
2942         * stdlib/strtold_nan.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2945         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2946         * wcsmbs/wcstod_nan.c: Likewise.
2947         * wcsmbs/wcstof_nan.c: Likewise.
2948         * wcsmbs/wcstold_nan.c: Likewise.
2949         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2950         strtold_nan.
2951         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2952         wcstof_nan.
2953         * include/stdlib.h (__strtof_nan): Declare and use
2954         libc_hidden_proto.
2955         (__strtod_nan): Likewise.
2956         (__strtold_nan): Likewise.
2957         (__wcstof_nan): Likewise.
2958         (__wcstod_nan): Likewise.
2959         (__wcstold_nan): Likewise.
2960         * include/wchar.h (____wcstoull_l_internal): Declare.
2961         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2962         (____strtoull_l_internal): Remove declaration.
2963         (STRTOF_NAN): Define macro.
2964         (SET_MANTISSA): Remove macro.
2965         (STRTOULL): Likewise.
2966         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2967         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2968         (STRTOF_NAN): Define macro.
2969         (SET_MANTISSA): Remove macro.
2970         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2971         (SET_MANTISSA): Remove macro.
2972         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2973         macro.
2974         (SET_MANTISSA): Remove macro.
2975         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2976         macro.
2977         (SET_MANTISSA): Remove macro.
2978         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2979         (SET_MANTISSA): Remove macro.
2980         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2981         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2982         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2984         [BZ #19266]
2985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2986         upper case and lower case letters inside NAN(), not using TOLOWER.
2987         * stdlib/tst-strtod-nan-locale-main.c: New file.
2988         * stdlib/tst-strtod-nan-locale.c: Likewise.
2989         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2990         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2991         Depend on $(gen-locales).
2992         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2993         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2994         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2995         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2996         Depend on $(gen-locales).
2997         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2999 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3001         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3003         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3005         __finitel, __isinfl, and __isnanl.
3006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3007         Likewise.
3008         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3010         __finitel.
3011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3012         Likewise.
3013         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3015 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3017         * malloc/memusage.c (me): Remove redundant getenv call.
3019 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3021         [BZ #19143]
3022         [BZ #19164]
3023         * nptl/check-cpuset.h: Remove.
3024         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3025         Remove CPU set size check.
3026         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3027         Likewise.
3028         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3029         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3030         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3031         (__pthread_setaffinity_new): Remove CPU set size check.
3032         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3033         (__kernel_cpumask_size): Remove.
3034         (__sched_setaffinity_new): Remove CPU set size check.
3035         * manual/threads.texi (Default Thread Attributes): Remove stale
3036         reference to check_cpuset_attr, determine_cpumask_size in comment.
3037         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3038         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3039         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3040         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3041         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3042         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3043         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3044         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3045         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3046         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3047         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3048         skeleton test file.
3049         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3050         tst-affinity-pid.
3052 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3054         * scripts/update-abilist.sh: New file.
3055         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3056         * Makerules (update-all-abi-%, update-all-abi)
3057         (subdir_update-all-abi): New targets.
3058         * elf/Makefile (update-all-abi): New target.
3060 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3062         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3063         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3064         (__libc_lock_define_initialized): Use it.
3065         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3066         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3067         * malloc/malloc.c (main_arena): Likewise.
3068         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3069         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3071 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3073         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3074         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3075         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3076         (PTRACE_O_MASK): Update value.
3077         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3078         New value in enum __ptrace_setoptions.
3079         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3080         (PTRACE_O_MASK): Update value.
3081         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3082         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3083         (PTRACE_O_MASK): Update value.
3084         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3085         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3086         (PTRACE_O_MASK): Update value.
3087         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3088         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3089         (PTRACE_O_MASK): Update value.
3090         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3091         New value in enum __ptrace_setoptions.
3092         (PTRACE_O_MASK): Update value.
3093         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3094         New value in enum __ptrace_setoptions.
3095         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3096         (PTRACE_O_MASK): Update value.
3098         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3099         New macro.
3100         (PACKET_AUXDATA): Likewise.
3101         (PACKET_ORIGDEV): Likewise.
3102         (PACKET_VERSION): Likewise.
3103         (PACKET_HDRLEN): Likewise.
3104         (PACKET_RESERVE): Likewise.
3105         (PACKET_TX_RING): Likewise.
3106         (PACKET_LOSS): Likewise.
3107         (PACKET_VNET_HDR): Likewise.
3108         (PACKET_TX_TIMESTAMP): Likewise.
3109         (PACKET_TIMESTAMP): Likewise.
3110         (PACKET_FANOUT): Likewise.
3111         (PACKET_TX_HAS_OFF): Likewise.
3112         (PACKET_QDISC_BYPASS): Likewise.
3113         (PACKET_ROLLOVER_STATS): Likewise.
3114         (PACKET_FANOUT_DATA): Likewise.
3115         (PACKET_MR_UNICAST): Likewise.
3117         [BZ #19242]
3118         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3119         (TOUPPER): Likewise.
3120         * stdlib/tst-strtol-locale-main.c: New file.
3121         * stdlib/tst-strtol-locale.c: Likewise.
3122         * stdlib/Makefile (tests): Add tst-strtol-locale.
3123         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3124         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3125         Depend on $(gen-locales).
3126         * wcsmbs/tst-wcstol-locale.c: New file.
3127         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3128         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3129         tr_TR.ISO-8859-9.
3130         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3131         Depend on $(gen-locales).
3133 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3135         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3136         __glibc_likely instead of __builtin_expect.  After falling back to
3137         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3138         system interface to register the code pages as occupied.
3140 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3142         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3143         [!ARM_MATH_PRIVATE_H].
3144         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3145         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3146         [!HPPA_MATH_PRIVATE_H].
3147         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3148         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3149         to [!I386_MATH_PRIVATE_H].
3150         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3151         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3152         Change guard to [!M68K_MATH_PRIVATE_H].
3153         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3154         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3155         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3156         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3157         macro.
3158         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3159         [!MIPS_MATH_PRIVATE_H].
3160         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3161         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3162         [!NIO2_MATH_PRIVATE_H].
3163         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3164         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3165         [!TILE_MATH_PRIVATE_H].
3166         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3168         [BZ #15421]
3169         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3170         initialize with 0 and define as weak alias of __signgam.
3171         * include/math.h [!_ISOMAC] (__signgam): Declare.
3172         * math/Makefile (libm-calls): Add w_lgamma_compat.
3173         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3174         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3175         test-signgam-ullong-init.
3176         (tests-static): Add test-signgam-uchar-static,
3177         test-signgam-uchar-init-static, test-signgam-uint-static,
3178         test-signgam-uint-init-static, test-signgam-ullong-static and
3179         test-signgam-ullong-init-static.
3180         (CFLAGS-test-signgam-uchar.c): New variable.
3181         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3182         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3183         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3184         (CFLAGS-test-signgam-uint.c): Likewise.
3185         (CFLAGS-test-signgam-uint-init.c): Likewise.
3186         (CFLAGS-test-signgam-uint-static.c): Likewise.
3187         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3188         (CFLAGS-test-signgam-ullong.c): Likewise.
3189         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3190         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3191         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3192         * math/Versions (libm): Add GLIBC_2.23.
3193         * math/lgamma-compat.h: New file.
3194         * math/test-signgam-main.c: Likewise.
3195         * math/test-signgam-uchar-init-static.c: Likewise.
3196         * math/test-signgam-uchar-init.c: Likewise.
3197         * math/test-signgam-uchar-static.c: Likewise.
3198         * math/test-signgam-uchar.c: Likewise.
3199         * math/test-signgam-uint-init-static.c: Likewise.
3200         * math/test-signgam-uint-init.c: Likewise.
3201         * math/test-signgam-uint-static.c: Likewise.
3202         * math/test-signgam-uint.c: Likewise.
3203         * math/test-signgam-ullong-init-static.c: Likewise.
3204         * math/test-signgam-ullong-init.c: Likewise.
3205         * math/test-signgam-ullong-static.c: Likewise.
3206         * math/test-signgam-ullong.c: Likewise.
3207         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3208         wrapper of w_lgamma_main.c.
3209         * math/w_lgamma_compat.c: New file.
3210         * math/w_lgamma_compatf.c: Likewise.
3211         * math/w_lgamma_compatl.c: Likewise.
3212         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3213         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3214         defining compatibility symbols.
3215         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3216         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3217         wrapper of w_lgammaf_main.c.
3218         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3219         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3220         defining compatibility symbols.
3221         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3222         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3223         wrapper of w_lgammal_main.c.
3224         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3225         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3226         defining compatibility symbols.
3227         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3228         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3229         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3230         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3231         <lgamma-compat.h>.
3232         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3233         (__ieee754_gamma): Define as alias.
3234         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3235         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3236         <lgamma-compat.h>.
3237         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3238         (__ieee754_gammaf): Define as alias.
3239         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3240         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3241         <lgamma-compat.h>.
3242         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3243         (__ieee754_gammal): Define as alias.
3244         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3245         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3246         <math/w_lgamma_compat.c>.
3247         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3248         Define as alias of __lgamma_compat and use in defining lgammal.
3249         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3250         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3251         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3252         (USE_AS_COMPAT): New macro.
3253         (LGAMMA_OLD_VER): Undefine and redefine.
3254         (lgammal): Do not define here.
3255         (gammal): Only define here if [GAMMA_ALIAS].
3256         * conform/linknamespace.pl (@whitelist): Remove signgam.
3257         * sysdeps/nacl/libm.abilist: Update.
3258         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3262         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3263         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3264         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3268         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3269         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3271         Likewise.
3272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3273         Likewise.
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3277         Likewise.
3278         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3282         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3284         Likewise.
3285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3286         Likewise.
3287         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3291 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3293         [BZ #16364]
3294         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3295         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3297 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3299         * sysdeps/s390/fpu/bits/mathinline.h:
3300         Use __asm__ [__volatile__] instead of asm [volatile].
3301         * sysdeps/s390/abort-instr.h: Likewise.
3302         * sysdeps/s390/atomic-machine.h: Likewise.
3303         * sysdeps/s390/bits/string.h: Likewise.
3304         * sysdeps/s390/dl-tls.h: Likewise.
3305         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3306         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3307         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3308         * sysdeps/s390/fpu/fesetround.c: Likewise.
3309         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3310         * sysdeps/s390/fpu/s_fma.c: Likewise.
3311         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3312         * sysdeps/s390/memusage.h: Likewise.
3313         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3314         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3315         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3316         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3317         * sysdeps/s390/nptl/tls.h: Likewise.
3318         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3319         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3320         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3321         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3322         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3323         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3324         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3325         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3326         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3327         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3328         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3329         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3330         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3331         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3332         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3333         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3334         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3335         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3336         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3338         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3340         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3342 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3343             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3345         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3346         Add lwarx hint, and use macro for acquire instruction.
3347         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3348         Likewise.
3349         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3350         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3351         update to use new atomic macros.
3353 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3355         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3356         (__lll_trylock_elision): Fix setting of adapt_count.
3357         * sysdeps/unix/sysv/linux/powerpc/htm.h
3358         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3359         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3360         (_ABORT_SYSCALL): Renumber, and clarify definition.
3361         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3363 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3365         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3366         after system headers to prevent MIN/MAX redefinition.  Define
3367         HAVE_ALLOCA to preserve builtin alloca usage.
3369 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3372         static and don't set or restore rounding.
3373         (__cos)[IN_SINCOS]: Likewise.
3374         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3375         (__sincos): Set and restore rounding mode.  Remove check for infinite
3376         or NaN input.
3378         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3380         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3381         as used.
3383 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3385         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3387 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3389         * config.make.in (have-glob-dat-reloc): New.
3390         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3391         target supports GLOB_DAT relocaton. AC_SUBST.
3392         * configure: Regenerated.
3393         * elf/Makefile (tests): Add tst-prelink.
3394         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3395         (tst-prelink-ENV): New.
3396         ($(objpfx)tst-prelink-conflict.out): Likewise.
3397         ($(objpfx)tst-prelink-cmp.out): Likewise.
3398         * sysdeps/x86/tst-prelink.c: Moved to ...
3399         * elf/tst-prelink.c: Here.
3400         * sysdeps/x86/tst-prelink.exp: Moved to ...
3401         * elf/tst-prelink.exp: Here.
3402         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3403         (tst-prelink-ENV): Removed.
3404         ($(objpfx)tst-prelink-conflict.out): Likewise.
3405         ($(objpfx)tst-prelink-cmp.out): Likewise.
3406         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3408 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3410         [BZ #14551]
3411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3412         (__mpn_construct_long_double): If high part overflows to infinity,
3413         set errno and recompute overflowed result of the correct sign.
3414         * sysdeps/ieee754/ldbl-128ibm/Makefile
3415         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3416         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3417         $(libm).
3418         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3420 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3422         [BZ #15479]
3423         [BZ #19238]
3424         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3425         floating-point state after first operation on input.  Restore full
3426         state rather than just rounding mode.
3427         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3428         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3429         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3431         [BZ #19235]
3432         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3433         add 0.5 to integer arguments.
3434         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3435         Likewise.
3436         (.LC2): New object.
3438 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3440         * scripts/pylintrc (reports): Set to no.
3442 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3444         * elf/dl-load.c (open_verify): Take new argument FD.
3445         Skip __open call if passed FD is not -1.
3446         (_dl_map_object, open_path): Update callers.
3447         * elf/dl-sysdep-open.h: New file.
3448         * elf/dl-load.c: Include it.
3449         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3450         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3451         * sysdeps/nacl/dl-sysdep-open.h: New file.
3452         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3453         from libc to rtld.
3455 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3457         [BZ #19228]
3458         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3459         and restore full floating-point state.
3460         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3461         Likewise.
3462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3463         Likewise.
3464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3465         Likewise.
3466         * math/test-nearbyint-except-2.c: New file.
3467         * math/Makefile (tests): Add test-nearbyint-except-2.
3469 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3471         [BZ #19178]
3472         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3473         (tst-prelink-ENV): New.
3474         ($(objpfx)tst-prelink-conflict.out): Likewise.
3475         ($(objpfx)tst-prelink-cmp.out): Likewise.
3476         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3477         * sysdeps/x86/tst-prelink.c: New file.
3478         * sysdeps/x86/tst-prelink.exp: Likewise.
3480 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3482         * math/auto-libm-test-in: Add another test of pow.
3483         * math/auto-libm-test-out: Regenerated.
3484         * math/libm-test.inc (pow_test_data): Add another test.
3486 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3488         [BZ #19219]
3489         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3490         weak_alias to nearbyintl.
3492 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3494         * sysdeps/aarch64/bits/string.h: New file.
3495         (_STRING_ARCH_unaligned): Define.
3497 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3499         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3500         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3501         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3502         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3505 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3507         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3508         for original name of the DSO.  Add it to the name list of the DSO
3509         if it is actually given.
3510         (_dl_map_object): Keep track of whether an audit module rewrote
3511         the file name.  If yes, pass the original name to
3512         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3513         debugging is enabled, log the change of the file name.
3514         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3515         _dl_map_object_from_fd.
3516         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3517         * elf/tst-audit11.c: New file
3518         * elf/tst-auditmod11.c: New file.
3519         * elf/tst-audit11mod1.c: New file.
3520         * elf/tst-audit11mod2.c: New file.
3521         * elf/tst-audit11mod2.map: New file.
3522         * elf/tst-audit12.c: New file
3523         * elf/tst-auditmod12.c: New file.
3524         * elf/tst-audit12mod1.c: New file.
3525         * elf/tst-audit12mod2.c: New file.
3526         * elf/tst-audit12mod2.map: New file.
3527         * elf/tst-audit12mod3.c: New file.
3529 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3531         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3532         Don't create weak aliases,
3533         because versioned symbols are created later.
3534         * sysdeps/s390/s390-32/setjmp.S
3535         (setjmp, _setjmp): Remove weak and rename to an unique name
3536         in SHARED case due to existing versioned symbols.
3537         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3538         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3539         (getcontext): Create weak alias only in non SHARED case.
3540         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3542 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3544         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3545         (__ASSUME_*_SYSCALL) Define new macros.
3546         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3547         Remove socketcall syscalls.
3548         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3549         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3550         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3551         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3552         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3553         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3555 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3557         [BZ #12926]
3558         Terminate process on invalid netlink response.
3559         * sysdeps/unix/sysv/linux/netlinkaccess.h
3560         (__netlink_assert_response): Declare.
3561         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3562         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3563         (sysdep_routines): Add netlink_assert_response.
3564         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3565         __netlink_assert_response.
3566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3567         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3568         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3569         __netlink_assert_response.
3571 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3573         [BZ #19178]
3574         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3575         (RTYPE_CLASS_PLT): Likewise.
3576         (RTYPE_CLASS_COPY): Likewise.
3577         (RTYPE_CLASS_TLS): Likewise.
3578         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3579         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3580         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3581         DL_DEBUG_PRELINK.
3583 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3585         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3586         calls with argument -0.5.
3587         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3589         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3590         (libc_cv_z_nodlopen): Likewise.
3591         (libc_cv_z_initfirst): Likewise.
3592         * configure: Regenerated.
3594 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3596         Simplify abilist format to be line-based.
3597         * scripts/abilist.awk: Collect descriptors in the descs variable.
3598         (emit): Write descs variable and sort it
3599         externally, with sort.
3600         * sysdeps/**/*.abilist: Convert to new format.
3602 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3604         [BZ #11460]
3605         * io/Makefile (routines): Add fts64.
3606         (tests): Add tst-fts and tst-fts-lfs.
3607         (CFLAGS-fts64.c): New.
3608         * io/Versions (GLIBC_2.23): New.
3609         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3610         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3611         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3612         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3613         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3614         (FTSENT64): Likewise.
3615         (fts64_children): Likewise.
3616         (fts64_close): Likewise.
3617         (fts64_open): Likewise.
3618         (fts64_read): Likewise.
3619         (fts64_set): Likewise.
3620         * io/fts64.c: New file.
3621         * io/tst-fts.c: New test.
3622         * io/tst-fts-lfs.c: Likewise.
3623         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3624         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3625         fts64_set.
3626         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3627         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3628         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3629         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3630         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3631         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3633         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3634         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3635         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3636         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3637         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3638         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3640         Likewise.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3642         Likewise.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3645         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3646         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3647         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3648         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3649         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3652         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3653         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3654         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3655         * sysdeps/wordsize-64/fts.c: New file.
3656         * sysdeps/wordsize-64/fts64.c: Likewise.
3657         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3658         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3659         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3660         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3662 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3664         * math/libm-test.inc (NON_FINITE): New macro.
3665         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3666         * math/gen-libm-test.pl (show_exceptions): Add argument
3667         $non_finite.
3668         (parse_args): Update call to show_exceptions.
3669         * math/test-math-finite.h: New file.
3670         * math/test-math-no-finite.h: Likewise.
3671         * math/test-double-finite.c: Likewise.
3672         * math/test-float-finite.c: Likewise.
3673         * math/test-ldouble-finite.c: Likewise.
3674         * math/test-double.c: Include "test-math-no-finite.h".
3675         * math/test-float.c: Include "test-math-no-finite.h".
3676         * math/test-ldouble.c: Include "test-math-no-finite.h".
3677         * math/test-math-inline.h (TEST_FINITE): New macro.
3678         * math/test-math-vector.h (TEST_FINITE): Likewise.
3679         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3680         (libm-tests): Add test-float-finite and test-double-finite.
3681         ($(objpfx)test-float-finite.o): New dependency on
3682         $(objpfx)libm-test.stmp.
3683         ($(objpfx)test-double-finite.o): Likewise.
3684         ($(objpfx)test-ldouble-finite.o): Likewise.
3685         (libm-test-no-inline-cflags): New variable.
3686         (libm-test-finite-cflags): Likewise.
3687         (CFLAGS-test-float-finite.c): Likewise.
3688         (CFLAGS-test-double-finite.c): Likewise.
3689         (CFLAGS-test-ldouble-finite.c): Likewise.
3690         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3691         (CFLAGS-test-double.c): Likewise.
3692         (CFLAGS-test-ldouble.c): Likewise.
3694 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3696         * io/fcntl.c (__fcntl): Add ... to prototype.
3697         * misc/ioctl.c (__ioctl): Likewise.
3698         * misc/syscall.c (syscall): Likewise.
3700 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3702         * scripts/list-fixed-bugs.py: New file.
3704         [BZ #19213]
3705         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3706         returned for argument 1.
3707         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3708         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3709         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3710         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3711         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3712         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3714         [BZ #19211]
3715         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3716         __USE_XOPEN], not if [!__USE_ISOC99].
3717         (lgammaf): Likewise.
3718         (lgammal): Likewise.
3719         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3720         (gammaf): Likewise.
3721         (gammal): Likewise.
3722         * math/test-signgam-finite-c11.c: New file.
3723         * math/test-signgam-finite-c99.c: Likewise.
3724         * math/test-signgam-finite.c: Likewise.
3725         * math/Makefile (tests): Add test-signgam-finite,
3726         test-signgam-finite-c99 and test-signgam-finite-c11.
3727         (CFLAGS-test-signgam-finite.c): New variable.
3728         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3729         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3731         [BZ #19212]
3732         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3733         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3734         500].
3735         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3736         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3737         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3738         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3739         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3740         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3741         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3742         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3743         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3744         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3746         [BZ #19209]
3747         * math/bits/math-finite.h (ldexp): Remove declaration.
3748         (ldexpf): Likewise.
3749         (ldexpl): Likewise.
3751         [BZ #19205]
3752         * math/bits/math-finite.h (acosf): Condition declaration on
3753         [__USE_ISOC99].
3754         (acosl): Likewise.
3755         (acoshf): Likewise.
3756         (acoshl): Likewise.
3757         (asinf): Likewise.
3758         (asinl): Likewise.
3759         (atan2f): Likewise.
3760         (atan2l): Likewise.
3761         (atanhf): Likewise.
3762         (atanhl): Likewise.
3763         (coshf): Likewise.
3764         (coshl): Likewise.
3765         (expf): Likewise.
3766         (expl): Likewise.
3767         (fmodf): Likewise.
3768         (fmodl): Likewise.
3769         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3770         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3771         (j0l): Likewise.
3772         (y0f): Likewise.
3773         (y0l): Likewise.
3774         (j1f): Likewise.
3775         (j1l): Likewise.
3776         (y1f): Likewise.
3777         (y1l): Likewise.
3778         (jnf): Likewise.
3779         (jnl): Likewise.
3780         (ynf): Likewise.
3781         (ynl): Likewise.
3782         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3783         (lgammal_r): Likewise.
3784         (__lgamma_r_finite): New declaration.
3785         (__lgammaf_r_finite): Likewise.
3786         (__lgammal_r_finite): Likewise.
3787         (lgamma): Use __lgamma_r_finite.
3788         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3789         __lgammaf_r_finite.
3790         (lgammal): Condition definition on [__USE_ISOC99].  Use
3791         __lgammal_r_finite.
3792         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3793         __lgamma_r_finite.
3794         (gammaf): Condition definition on [__USE_ISOC99].  Use
3795         __lgammaf_r_finite.
3796         (gammal): Condition definition on [__USE_ISOC99].  Use
3797         __lgammal_r_finite.
3798         (logf): Condition declaration on [__USE_ISOC99].
3799         (logl): Likewise.
3800         (log10f): Likewise.
3801         (log10l): Likewise.
3802         (ldexpf): Likewise.
3803         (ldexpl): Likewise.
3804         (powf): Likewise.
3805         (powl): Likewise.
3806         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3807         __USE_ISOC99].
3808         (remainderf): Condition declaration on [__USE_ISOC99].
3809         (remainderl): Likewise.
3810         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3811         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3812         (scalbl): Likewise.
3813         (sinhf): Condition declaration on [__USE_ISOC99].
3814         (sinhl): Likewise.
3815         (sqrtf): Likewise.
3816         (sqrtl): Likewise.
3818 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3820         * sysdeps/arm/atomic-machine.h
3821         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3822         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3823         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3824         Remove conditional code.
3825         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3826         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3827         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3828         Change conditional to [__ASSEMBLER__].
3829         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3830         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3831         [!__ASSEMBLER__].
3832         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3833         code.
3834         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3835         conditional macro definitions.
3836         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3837         (__arch_compare_and_exchange_val_16_acq): Likewise.
3838         (__arch_compare_and_exchange_val_32_acq): Likewise.
3839         (atomic_exchange_and_add): Likewise.
3840         (atomic_add): Likewise.
3841         (atomic_add_negative): Likewise.
3842         (atomic_add_zero): Likewise.
3843         (atomic_bit_set): Likewise.
3844         (atomic_bit_test_set): Likewise.
3845         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3846         code unconditional.
3847         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3849         * math/test-math-errno.h: New file.
3850         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3851         empty.
3852         (TEST_ERRNO): New macro.
3853         (TEST_EXCEPTIONS): Likewise.
3854         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3855         (TEST_EXCEPTIONS): Likewise.
3856         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3857         * math/test-double.c: Include "test-math-errno.h".
3858         * math/test-float.c: Likewise.
3859         * math/test-ldouble.c: Likewise.
3860         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3861         code unconditional.
3862         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3863         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3864         unconditional.
3865         (test_errno): Only run code if TEST_ERRNO.
3866         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3868 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3870         * nptl/tst-once5.cc: Remove attribution.
3872 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3874         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3875         sqrt, tan, tanh, y0, y1 and yn.
3876         * math/auto-libm-test-out: Regenerated.
3877         * math/libm-test.inc (scalb_test_data): Add more tests.
3878         (scalbn_test_data): Likewise.
3879         (scalbln_test_data): Likewise.
3880         (signbit_test_data): Likewise.
3881         (sin_test_data): Likewise.
3882         (sincos_test_data): Likewise.
3883         (sinh_test_data): Likewise.
3884         (sqrt_test_data): Likewise.
3885         (tan_test_data): Likewise.
3886         (tanh_test_data): Likewise.
3887         (tgamma_test_data): Likewise.
3888         (y0_test_data): Likewise.
3889         (y1_test_data): Likewise.
3890         (yn_test_data): Likewise.
3891         (significand_test_data): Likewise.
3892         * sysdeps/i386/fpu/libm-test-ulps: Update.
3894 2015-11-03  David Kastrup  <dak@gnu.org>
3896         [BZ #18604]
3897         * assert/assert.h (assert): Don't macro-expand failed assertion
3898         expression in error message.
3899         * malloc/malloc.c (assert): Likewise.
3901 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3903         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3904         test.
3905         * configure: Regenerated.
3907 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3909         * math/libm-test.inc (modf_test_data): Add more tests.
3910         (nearbyint_test_data): Likewise.
3911         (nextafter_test_data): Likewise.
3912         (nexttoward_test_data): Likewise.
3913         (pow_test_data): Likewise.
3914         (remainder_test_data): Likewise.
3915         (remquo_test_data): Likewise.
3916         (rint_test_data): Likewise.
3918         [BZ #19201]
3919         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3920         Check for zero remainder in case of large exponents and ensure
3921         correct sign of result in that case.
3922         * math/libm-test.inc (remainder_test_data): Add more tests.
3924         [BZ #6799]
3925         * math/s_nextafter.c: Include <errno.h>.
3926         (__nextafter): Set errno on overflow and underflow.
3927         * math/s_nexttowardf.c: Include <errno.h>.
3928         (__nexttowardf): Set errno on overflow and underflow.
3929         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3930         (__nextafterl): Set errno on overflow and underflow.
3931         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3932         (__nexttoward): Set errno on overflow and underflow.
3933         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3934         (__nexttowardf): Set errno on overflow and underflow.
3935         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3936         (__nextafterf): Set errno on overflow and underflow.
3937         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3938         (__nextafterl): Set errno on overflow and underflow.
3939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3940         (__nexttoward): Set errno on overflow and underflow.
3941         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3942         (__nexttowardf): Set errno on overflow and underflow.
3943         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3944         (__nextafterl): Set errno on overflow and underflow.
3945         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3946         (__nexttoward): Set errno on overflow and underflow.
3947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3948         (__nexttowardf): Set errno on overflow and underflow.
3949         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3950         (__nexttoward): Set errno on overflow and underflow.
3951         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3952         (__nexttowardf): Set errno on overflow and underflow.
3953         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3954         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3955         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3956         (__nextafterl): Set errno on overflow and underflow.
3957         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3958         setting to be missing on overflow.  Add more tests.
3959         (nexttoward_test_data): Likewise.
3961         * configure.ac (libc_cv_initfini_array): Remove configure test.
3962         * configure: Regenerated.
3964 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3966         [BZ #19189]
3967         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3968         non-finite argument handle arguments with negative sign.
3970         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3971         result from infinite argument.
3972         (j1_test_data): Likewise.
3973         (jn_test_data): Likewise.
3974         (y0_test_data): Likewise.
3975         (y1_test_data): Likewise.
3976         (yn_test_data): Likewise.
3978         [BZ #16171]
3979         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3980         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3981         * math/w_remainderf.c (dremf): Define as weak alias of
3982         __remainderf.
3983         * math/w_remainderl.c (dreml): Define as weak alias of
3984         __remainderl.
3985         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3986         __remainder.
3987         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3988         __remainderf.
3989         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3990         __remainderl.
3991         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3992         weak alias of remainderl.
3993         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3994         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3995         alias of __remainder.
3996         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3997         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3998         strong alias of __remainderl.
3999         (dreml): Use long_double_symbol.
4000         * math/Makefile (libm-calls): Remove w_drem.
4001         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4002         (CFLAGS-nldbl-drem.c): Remove variable.
4003         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4004         * math/w_drem.c: Remove file.
4005         * math/w_dremf.c: Likewise.
4006         * math/w_dreml.c: Likewise.
4007         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4008         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4009         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4011         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4012         * sysdeps/i386/configure: Regenerated.
4013         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4014         * sysdeps/x86_64/configure: Regenerated.
4016         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4017         test.
4018         (libc_cv_visibility_attribute): Likewise.
4019         (libc_cv_protected_data): Test unconditionally.
4020         (libc_cv_broken_visibility_attribute): Remove configure test.
4021         (libc_cv_have_sdata_section): Test unconditionally.
4022         * configure: Regenerated.
4024         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4025         * include/scratch_buffer.h: Include <stddef.h> instead of
4026         <libc-internal.h>.
4027         (struct scratch_buffer): Use max_align_t instead of
4028         libc_max_align_t.
4030 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4032         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4033         instead of extend_alloca.  Change control flow to avoid a goto.
4034         Remove assert which is trivially always true.
4036 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #16068]
4039         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4040         (FE_ALL_EXCEPT_X86): New macro.
4041         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4042         FE_ALL_EXCEPT.  Ensure precision control is included in
4043         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4044         handle "denormal operand exception" and clear FZ and DAZ bits.
4045         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4046         (FE_ALL_EXCEPT_X86): New macro.
4047         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4048         FE_ALL_EXCEPT.  Ensure precision control is included in
4049         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4050         handle "denormal operand exception" and clear FZ and DAZ bits.
4051         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4052         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4053         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4054         test-fenv-x87 and test-fenv-sse-2.
4055         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4057         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4058         * math/test-double.h (BUILD_COMPLEX): New macro.
4059         * math/test-float.h (BUILD_COMPLEX): Likewise.
4060         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4062         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4063         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4064         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4066         instead of DBL_DENORM_MIN in comment.
4067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4068         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4070         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4071         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4072         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4074 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4076         [BZ# 19048]
4077         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4078         attached_threads member.
4079         (main_arena): Initialize attached_threads.
4080         * malloc/arena.c (list_lock): Update comment.
4081         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4082         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4083         (deattach_arena): New function.
4084         (_int_new_arena): Initialize arena reference count and deattach
4085         replaced arena.
4086         (get_free_list, reused_arena): Update reference count and deattach
4087         replaced arena.
4088         (arena_thread_freeres): Update arena reference count and only put
4089         unreferenced arenas on the free list.
4091 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4093         [BZ #19181]
4094         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4095         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4096         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4097         * math/test-fenv-clear-main.c: New file.
4098         * math/test-fenv-clear.c: Likewise.
4099         * math/Makefile (tests): Add test-fenv-clear.
4100         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4101         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4102         test-fenv-clear-sse.
4103         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4105         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4106         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4107         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4109 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4111         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4112         static libc.
4114 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4116         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4117         test.
4118         * sysdeps/i386/configure: Regenerated.
4119         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4120         test.
4121         * sysdeps/x86_64/configure: Regenerated.
4122         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4124         memset-avx2 unconditionally instead of conditionally on
4125         [$(config-cflags-avx2) = yes].
4126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4127         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4128         unconditional.
4129         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4130         * sysdeps/x86_64/multiarch/memset_chk.S
4131         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4132         to [IS_IN (libc) && SHARED].
4134 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4136         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4137         configure test.
4138         * sysdeps/arm/configure: Regenerated.
4139         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4140         Define variable if not already defined.
4142         [BZ #17404]
4143         * sysdeps/mips/atomic-machine.h
4144         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4145         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4146         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4148         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4149         unconditional.
4150         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4151         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4152         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4153         unconditional.
4154         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4155         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4156         unconditional.
4157         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4158         * stdlib/setenv.c
4159         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4160         code unconditional.
4161         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4162         Remove conditional code.
4163         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4164         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4165         unconditional.
4166         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4167         code.
4168         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4169         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4170         unconditional.
4171         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4172         code.
4173         * sysdeps/ieee754/ldbl-128/k_tanl.c
4174         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4175         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4176         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4177         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4178         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4179         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4180         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4181         unconditional.
4182         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4183         code.
4184         * sysdeps/ieee754/ldbl-96/k_tanl.c
4185         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4186         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4188         * nptl/tst-initializers1-c11.c: New file.
4189         * nptl/tst-initializers1-gnu11.c: Likewise.
4190         * nptl/Makefile (tests): Add these new tests.
4191         (CFLAGS-tst-initializers1-c11.c): New variable.
4192         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4194         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4195         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4196         instead of -std=gnu99.
4197         * configure.ac (systemtap): Test with -std=gnu11 instead of
4198         -std=gnu99.
4199         * configure: Regenerated.
4200         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4201         in compilation command in comment.
4203         * sysdeps/nptl/configure.ac: Remove file.
4204         * sysdeps/nptl/configure: Remove generated file.
4205         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4206         * configure: Regenerated.
4207         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4208         * config.make.in (have-forced-unwind): Remove variable.
4209         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4210         unconditional.
4211         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4212         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4213         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4214         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4215         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4216         unconditional.
4218 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4220         [BZ #19174]
4221         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4222         .skip_lock_out_of_tbegin_retries.
4223         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4224         (__lll_lock_elision): Likewise, and respect a value of
4225         try_tbegin <= 0.
4227 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4229         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4230         statement.
4232 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4234         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4235         variable.
4236         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4237         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4239         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4240         of -std=c1x -D_ISOC11_SOURCE.
4242         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4243         * configure: Regenerated.
4244         * manual/install.texi (Tools for Compilation): Document
4245         requirement for GCC 4.7 or later.
4246         * INSTALL: Regenerated.
4248 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4250         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4251         on CNT to a conditional jump to 'puntdata'.
4253 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4255         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4256         (libc_cv_gcc_tls_model_attr): Likewise.
4257         * configure: Regenerated.
4259         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4260         * configure: Regenerated.
4261         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4263 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4265         * configure.ac (old_glibc_headers): Remove configure test.
4266         * configure: Regenerated.
4267         * config.make.in (old-glibc-headers): Remove variable.
4268         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4269         (install): Remove dependency on remove-old-headers.
4270         (headers2_0): Remove variable.
4271         (remove-old-headers): Remove rule.
4273         * configure.ac (libc_cv_dot_text): Remove configure test.
4274         (libc_cv_asm_set_directive): Use .text instead of
4275         ${libc_cv_dot_text} in configure test.
4276         * configure: Regenerated.
4278 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4280         [BZ #19168]
4281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4283 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4285         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4286         not support static linking.
4287         * configure: Regenerate.
4289 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4291         * math/libm-test.inc (check_float_internal): Do not special-case
4292         errors up to 0.5 ulp.
4294         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4295         log2.
4296         * math/auto-libm-test-out: Regenerated.
4297         * math/libm-test.inc (MAX_EXP): New macro.
4298         (ilogb_test_data): Add more tests.
4299         (isfinite_test_data): Likewise.
4300         (isgreater_test_data): Likewise.
4301         (isgreaterequal_test_data): Likewise.
4302         (isinf_test_data): Likewise.
4303         (isless_test_data): Likewise.
4304         (islessequal_test_data): Likewise.
4305         (islessgreater_test_data): Likewise.
4306         (isnan_test_data): Likewise.
4307         (isnormal_test_data): Likewise.
4308         (issignaling_test_data): Likewise.
4309         (isunordered_test_data): Likewise.
4310         (j0_test_data): Likewise.
4311         (j1_test_data): Likewise.
4312         (jn_test_data): Likewise.
4313         (lgamma_test_data): Likewise.
4314         (log_test_data): Likewise.
4315         (log10_test_data): Likewise.
4316         (log1p_test_data): Likewise.
4317         (log2_test_data): Likewise.
4318         (logb_test_data): Likewise.
4319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4321         [BZ #18611]
4322         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4323         avoid excess range and precision on underflow.
4324         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4325         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4326         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4328         underflow.
4329         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4331         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4333         * math/auto-libm-test-in: Do not allow missing errno setting for
4334         tests of j1 and jn.
4335         * math/auto-libm-test-out: Regenerated.
4337 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4339         [BZ #15491]
4340         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4341         floating-point environment instead of clearing all exceptions.
4342         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4343         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4344         merging in "invalid" exceptions from frndint.
4345         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4346         * math/test-nearbyint-except.c: New file.
4347         * math/Makefile (tests): Add test-nearbyint-except.
4349 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4351         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4353         * sysdeps/tile/libm-test-ulps: Regenerated.
4355 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4358         (__NR_sync_file_range2): Assume it is always defined.
4359         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4360         (__NR_sync_file_range): Assume it is always defined.
4362 2015-10-22  Andreas Schwab  <schwab@suse.de>
4364         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4365         INTERNAL_SYSCALL_ERRNO.
4366         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4367         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4368         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4369         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4370         Likewise.
4371         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4373 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4375         * io/tst-fcntl.c (fd): New static variable.
4376         (do_prepare): Open temporary file here....
4377         (do_test): ...not here.
4379         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4381 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4383         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4384         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4385         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4386         Moved before "#ifdef __ASSEMBLER__".
4388 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4390         [BZ #19156]
4391         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4392         arguments very close to 0.
4394 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4396         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4397         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4399 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4401         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4402         New.  Defined for GCC 5 and above when not compiling for
4403         profiling.
4404         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4406         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4407         Renamed to ...
4408         (CFLAGS-epoll_pwait.o): This.
4409         (CFLAGS-mmap.c): Renamed to ...
4410         (CFLAGS-mmap.o): This.
4411         (CFLAGS-mmap64.c): Renamed to ...
4412         (CFLAGS-mmap64.o): This.
4413         (CFLAGS-epoll_pwait.os): New.
4414         (CFLAGS-mmap.os): Likewise.
4415         (CFLAGS-mmap64.os): Likewise.
4416         (CFLAGS-semtimedop.os): Likewise.
4417         (CFLAGS-semtimedop.c): Renamed to ...
4418         (CFLAGS-semtimedop.o): This.
4420 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4422         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4423         warning message.
4425 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4427         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4428         * Makefile ($(objpfx)c++-types-check.out): Filter out
4429         $(+gccwarn-c) instead of -Wstrict-prototypes.
4431         * io/fts.c (fts_open): Convert to prototype-style function
4432         definition.
4433         * malloc/mcheck.c (mcheck): Likewise.
4434         (mcheck_pedantic): Likewise.
4435         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4436         internal_function.
4437         (re_search_internal): Likewise.
4438         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4439         prototype-style function definition.
4440         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4441         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4442         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4443         (xdr_utmpptr): Likewise.
4444         (xdr_utmparr): Likewise.
4445         (xdr_utmpidle): Likewise.
4446         (xdr_utmpidleptr): Likewise.
4447         (xdr_utmpidlearr): Likewise.
4449         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4450         log, log10 and log2.
4451         * math/auto-libm-test-out: Regenerated.
4452         * math/libm-test.inc (fmod_test_data): Add more tests.
4453         (fpclassify_test_data): Likewise.
4454         (frexp_test_data): Likewise.
4455         (hypot_test_data): Likewise.
4456         (ilogb_test_data): Likewise.
4458 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4460         * debug/fortify_fail.c (__fortify_fail): Convert to
4461         prototype-style function definition.  Use internal_function.
4462         * libio/genops.c (save_for_backup): Convert to prototype-style
4463         function definition.
4464         * libio/wgenops.c (save_for_wbackup): Likewise.
4465         * login/grantpt.c (grantpt): Likewise.
4466         * login/ptsname.c (ptsname): Likewise.
4467         (__ptsname_r): Likewise.
4468         * login/unlockpt.c (unlockpt): Likewise.
4469         * mach/msgserver.c (__mach_msg_server): Likewise.
4470         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4471         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4472         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4473         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4474         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4475         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4476         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4477         Likewise.
4478         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4479         internal_function.
4480         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4481         prototype-style function definition.
4482         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4483         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4484         (__pthread_create_2_0): Likewise.
4485         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4486         * nptl/register-atfork.c (__register_atfork): Likewise.
4487         * posix/glob.c (glob): Likewise.
4488         * posix/regcomp.c (re_comp): Likewise.
4489         * posix/regexec.c (re_exec): Likewise.
4490         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4491         [!__STDC__]: Remove conditional code.
4492         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4493         [!__STDC__]: Remove conditional code.
4494         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4495         [!__STDC__]: Remove conditional code.
4496         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4497         [!__STDC__]: Remove conditional code.
4498         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4499         [!__STDC__]: Remove conditional code.
4500         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4501         [!__STDC__]: Remove conditional code.
4502         * stdlib/mul.c [__STDC__]: Make code unconditional.
4503         [!__STDC__]: Remove conditional code.
4504         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4505         [!__STDC__]: Remove conditional code.
4506         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4507         [!__STDC__]: Remove conditional code.
4508         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4509         function definition.
4510         (STRTOF): Likewise.
4511         * stdlib/strtod_l.c (__STRTOF): Likewise.
4512         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4513         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4514         (__strtol_l): Likewise.
4515         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4516         [!__STDC__]: Remove conditional code.
4517         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4518         definition.
4519         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4520         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4521         type.
4522         (__strcasecmp): Convert to prototype-style function definition.
4523         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4524         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4525         type.
4526         (__strncasecmp): Convert to prototype-style function definition.
4527         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4528         * sunrpc/xdr.c (xdr_union): Likewise.
4529         * sunrpc/xdr_array.c (xdr_array): Likewise.
4530         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4531         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4532         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4533         Likewise.
4534         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4535         Likewise.
4536         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4537         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4538         Likewise.
4539         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4540         (LOCALE_PARAM_PROTO): Likewise.
4541         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4542         argument type.
4543         (ut_argument_spec): Remove macro.
4544         (ut_argument_spec_iso): Rename to ut_argument_spec.
4545         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4546         prototype-style function definition.
4547         (memcpy_uppcase): Likewise.
4548         (__strftime_internal): Likewise.
4549         (my_strftime): Likewise.
4550         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4551         (LOCALE_PARAM_DECL): Likewise.
4552         [_LIBC] (LOCALE_PARAM): Include argument type.
4553         (__strptime_internal): Convert to prototype-style function
4554         definition.
4555         (strptime): Likewise.
4556         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4557         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4558         type.
4559         (__wcscasecmp): Convert to prototype-style function definition.
4560         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4561         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4562         type.
4563         (__wcsncasecmp): Convert to prototype-style function definition.
4565         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4566         function definition.
4567         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4568         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4569         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4570         * elf/dl-minimal.c (_itoa): Likewise.
4571         * hurd/hurdmalloc.c (malloc): Likewise.
4572         (free): Likewise.
4573         (realloc): Likewise.
4574         * inet/inet6_option.c (inet6_option_space): Likewise.
4575         (inet6_option_init): Likewise.
4576         (inet6_option_append): Likewise.
4577         (inet6_option_alloc): Likewise.
4578         (inet6_option_next): Likewise.
4579         (inet6_option_find): Likewise.
4580         * io/ftw.c (FTW_NAME): Likewise.
4581         (NFTW_NAME): Likewise.
4582         (NFTW_NEW_NAME): Likewise.
4583         (NFTW_OLD_NAME): Likewise.
4584         * libio/iofwide.c (_IO_fwide): Likewise.
4585         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4586         (_IO_str_init_static): Likewise.
4587         (_IO_str_init_readonly): Likewise.
4588         (_IO_str_overflow): Likewise.
4589         (_IO_str_underflow): Likewise.
4590         (_IO_str_count): Likewise.
4591         (_IO_str_seekoff): Likewise.
4592         (_IO_str_pbackfail): Likewise.
4593         (_IO_str_finish): Likewise.
4594         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4595         (_IO_wstr_overflow): Likewise.
4596         (_IO_wstr_underflow): Likewise.
4597         (_IO_wstr_count): Likewise.
4598         (_IO_wstr_seekoff): Likewise.
4599         (_IO_wstr_pbackfail): Likewise.
4600         (_IO_wstr_finish): Likewise.
4601         * locale/programs/localedef.c (normalize_codeset): Likewise.
4602         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4603         (add_locales_to_archive): Likewise.
4604         (delete_locales_from_archive): Likewise.
4605         * malloc/malloc.c (__libc_mallinfo): Likewise.
4606         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4607         * misc/tsearch.c (__tfind): Likewise.
4608         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4609         * nptl/pthread_attr_getdetachstate.c
4610         (__pthread_attr_getdetachstate): Likewise.
4611         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4612         Likewise.
4613         * nptl/pthread_attr_getinheritsched.c
4614         (__pthread_attr_getinheritsched): Likewise.
4615         * nptl/pthread_attr_getschedparam.c
4616         (__pthread_attr_getschedparam): Likewise.
4617         * nptl/pthread_attr_getschedpolicy.c
4618         (__pthread_attr_getschedpolicy): Likewise.
4619         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4620         Likewise.
4621         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4622         Likewise.
4623         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4624         Likewise.
4625         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4626         Likewise.
4627         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4628         (__pthread_attr_init_2_0): Likewise.
4629         * nptl/pthread_attr_setdetachstate.c
4630         (__pthread_attr_setdetachstate): Likewise.
4631         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4632         Likewise.
4633         * nptl/pthread_attr_setinheritsched.c
4634         (__pthread_attr_setinheritsched): Likewise.
4635         * nptl/pthread_attr_setschedparam.c
4636         (__pthread_attr_setschedparam): Likewise.
4637         * nptl/pthread_attr_setschedpolicy.c
4638         (__pthread_attr_setschedpolicy): Likewise.
4639         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4640         Likewise.
4641         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4642         Likewise.
4643         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4644         Likewise.
4645         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4646         Likewise.
4647         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4648         Likewise.
4649         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4650         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4651         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4652         use internal_function.
4653         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4654         prototype-style function definition.
4655         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4656         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4657         internal_function.
4658         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4659         Convert to prototype-style function definition.
4660         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4661         Likewise.
4662         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4663         Likewise.
4664         (__pthread_mutex_unlock): Likewise.
4665         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4666         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4667         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4668         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4669         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4670         * nss/makedb.c (process_input): Likewise.
4671         * posix/fnmatch.c (__strchrnul): Likewise.
4672         (__wcschrnul): Likewise.
4673         (fnmatch): Likewise.
4674         * posix/fnmatch_loop.c (FCT): Likewise.
4675         * posix/glob.c (globfree): Likewise.
4676         (__glob_pattern_type): Likewise.
4677         (__glob_pattern_p): Likewise.
4678         * posix/regcomp.c (re_compile_pattern): Likewise.
4679         (re_set_syntax): Likewise.
4680         (re_compile_fastmap): Likewise.
4681         (regcomp): Likewise.
4682         (regerror): Likewise.
4683         (regfree): Likewise.
4684         * posix/regexec.c (regexec): Likewise.
4685         (re_match): Likewise.
4686         (re_search): Likewise.
4687         (re_match_2): Likewise.
4688         (re_search_2): Likewise.
4689         (re_search_stub): Likewise.  Use internal_function
4690         (re_copy_regs): Likewise.
4691         (re_set_registers): Convert to prototype-style function
4692         definition.
4693         (prune_impossible_nodes): Likewise.  Use internal_function.
4694         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4695         prototype-style function definition.
4696         (inet_net_pton_ipv4): Likewise.
4697         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4698         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4699         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4700         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4701         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4702         Make variadic.
4703         * time/strptime_l.c (localtime_r): Convert to prototype-style
4704         function definition.
4705         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4706         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4707         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4708         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4710         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4711         definition.
4712         (_ufc_doit_r): Likewise.
4713         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4714         (_ufc_output_conversion_r): Likewise.
4715         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4716         * inet/rcmd.c (rcmd_af): Likewise.
4717         (rcmd): Likewise.
4718         (ruserok_af): Likewise.
4719         (ruserok): Likewise.
4720         (ruserok2_sa): Likewise.
4721         (ruserok_sa): Likewise.
4722         (iruserok_af): Likewise.
4723         (iruserok): Likewise.
4724         (__ivaliduser): Likewise.
4725         (__validuser2_sa): Likewise.
4726         * inet/rexec.c (rexec_af): Likewise.
4727         (rexec): Likewise.
4728         * inet/ruserpass.c (ruserpass): Likewise.
4729         * locale/programs/xmalloc.c (xcalloc): Likewise.
4730         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4731         * math/w_drem.c (__drem): Likewise.
4732         * math/w_dremf.c (__dremf): Likewise.
4733         * math/w_dreml.c (__dreml): Likewise.
4734         * misc/daemon.c (daemon): Likewise.
4735         * resolv/res_debug.c (p_fqnname): Likewise.
4736         * stdlib/div.c (div): Likewise.
4737         * string/memcmp.c (memcmp_bytes): Likewise.
4738         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4739         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4741         * crypt/cert.c (main): Convert to prototype-style function
4742         definition.
4743         * io/pipe.c (__pipe): Likewise.
4744         * io/pipe2.c (__pipe2): Likewise.
4745         * misc/futimesat.c (futimesat): Likewise.
4746         * misc/utimes.c (__utimes): Likewise.
4747         * posix/execve.c (__execve): Likewise.
4748         * posix/execvp.c (execvp): Likewise.
4749         * posix/execvpe.c (__execvpe): Likewise.
4750         * posix/fexecve.c (fexecve): Likewise.
4751         * socket/socketpair.c (socketpair): Likewise.
4752         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4753         * stdlib/erand48.c (erand48): Likewise.
4754         * stdlib/erand48_r.c (__erand48_r): Likewise.
4755         * stdlib/jrand48.c (jrand48): Likewise.
4756         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4757         * stdlib/lcong48.c (lcong48): Likewise.
4758         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4759         * stdlib/nrand48.c (nrand48): Likewise.
4760         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4761         * stdlib/seed48.c (seed48): Likewise.
4762         * stdlib/seed48_r.c (__seed48_r): Likewise.
4763         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4764         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4765         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4767 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4769         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4770         * configure: Regenerated.
4771         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4772         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4773         unconditional.
4774         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4775         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4776         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4777         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4778         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4779         unconditional.
4780         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4782         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4783         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4785         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4786         function definition.
4787         * crypt/crypt_util.c (__encrypt_r): Likewise.
4788         * libio/genops.c (_IO_no_init): Likewise.
4789         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4790         (_IO_old_fopencookie): Likewise.
4791         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4792         * libio/iogetline.c (_IO_getline): Likewise.
4793         (_IO_getline_info): Likewise.
4794         * libio/iogetwline.c (_IO_getwline): Likewise.
4795         (_IO_getwline_info): Likewise.
4796         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4797         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4798         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4799         (find_entry): Likewise.
4800         (iterate_table): Likewise.
4801         (lookup): Likewise.
4802         * login/forkpty.c (forkpty): Likewise.
4803         * misc/hsearch_r.c (__hsearch_r): Likewise.
4804         * misc/select.c (__select): Likewise.
4805         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4806         Likewise.
4807         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4808         Likewise.
4809         * nptl/old_pthread_cond_timedwait.c
4810         (__pthread_cond_timedwait_2_0): Likewise.
4811         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4812         * nptl/pthread_barrierattr_getpshared.c
4813         (pthread_barrierattr_getpshared): Likewise.
4814         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4815         Likewise.
4816         * nptl/pthread_mutex_setprioceiling.c
4817         (pthread_mutex_setprioceiling): Likewise.
4818         * nptl/pthread_mutexattr_getprioceiling.c
4819         (pthread_mutexattr_getprioceiling): Likewise.
4820         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4821         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4822         Likewise.
4823         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4824         Likewise.
4825         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4826         Likewise.
4827         * socket/recvfrom.c (__recvfrom): Likewise.
4828         * socket/sendto.c (__sendto): Likewise.
4829         * socket/setsockopt.c (__setsockopt): Likewise.
4830         * stdio-common/_itoa.c (_itoa): Likewise.
4831         * stdio-common/_itowa.c (_itowa): Likewise.
4832         * stdio-common/reg-printf.c (__register_printf_specifier):
4833         Likewise.
4834         (__register_printf_function): Likewise.
4835         * stdio-common/tempname.c (__path_search): Likewise.
4836         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4837         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4838         * stdlib/random_r.c (__initstate_r): Likewise.
4839         * stdlib/setenv.c (__add_to_environ): Likewise.
4840         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4841         * streams/getpmsg.c (getpmsg): Likewise.
4842         * streams/putmsg.c (putmsg): Likewise.
4843         * streams/putpmsg.c (putpmsg): Likewise.
4844         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4845         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4846         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4847         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4848         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4849         * sunrpc/svc_udp.c (cache_get): Likewise.
4850         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4851         * sysdeps/mach/hurd/getcwd.c
4852         (__canonicalize_directory_name_internal): Likewise.
4853         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4854         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4855         * sysdeps/mach/hurd/select.c (__select): Likewise.
4856         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4857         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4858         * sysdeps/sparc/nptl/pthread_barrier_init.c
4859         (__pthread_barrier_init): Likewise.
4860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4861         (__pthread_cond_timedwait): Likewise.
4862         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4863         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4864         Likewise.
4865         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4866         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4867         Likewise.
4868         * sysvipc/semtimedop.c (semtimedop): Likewise.
4869         * time/setitimer.c (__setitimer): Likewise.
4870         * time/strftime_l.c (emacs_strftime): Likewise.
4872 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4874         * config.make.in (have-ssp): Delete.
4875         (stack-protector): New variable.
4876         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4877         cache test for -fstack-protector-strong.  Export stack_protector to
4878         the best ssp flag.
4879         * configure: Regenerated.
4880         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4881         * nscd/Makefile (CFLAGS-nscd): Likewise.
4882         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4884 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4886         [BZ #19122]
4887         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4888         attribute_hidden.
4890 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4892         [BZ #18743]
4893         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4894         code to...
4895         (ELIDE_LOCK): ...here.
4896         (__get_new_count): New function with part of the code from
4897         __elide_lock that updates the value of adapt_count after a
4898         transaction abort.
4899         (__elided_trylock): Moved this code to...
4900         (ELIDE_TRYLOCK): ...here.
4902 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4904         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4905         * configure: Regenerate.
4906         * INSTALL: Regenerate.
4907         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4908         and tweak grammar.
4910 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4912         * login/programs/pt_chown.c: Include signal.h
4913         (main): Clear any signal mask from the parent process.
4915 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4917         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4918         * configure: Regenerated.
4919         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4920         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4921         $(gnu89-inline-CFLAGS).
4923         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4924         test.
4925         (libc_cv_asm_weakext_directive): Likewise.
4926         * configure: Regenerated.
4927         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4928         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4929         * include/libc-symbols.h
4930         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4931         #error.
4932         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4933         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4935         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4936         prototype-style function definition.
4937         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4938         * sysdeps/i386/ffs.c (__ffs): Likewise.
4939         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4940         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4941         Likewise.
4942         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4943         Likewise.
4944         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4945         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4946         Likewise.
4947         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4948         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4949         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4950         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4951         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4952         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4953         * sysdeps/mach/hurd/access.c (__access): Likewise.
4954         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4955         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4956         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4957         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4958         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4959         (cthread_getspecific): Likewise.
4960         (cthread_setspecific): Likewise.
4961         (__libc_getspecific): Likewise.
4962         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4963         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4964         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4965         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4966         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4967         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4968         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4969         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4970         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4971         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4972         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4973         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4974         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4975         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4976         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4977         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4978         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4979         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4980         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4981         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4982         * sysdeps/mach/hurd/link.c (__link): Likewise.
4983         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4984         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4985         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4986         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4987         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4988         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4989         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4990         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4991         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4992         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4993         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4994         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4995         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4996         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4997         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4998         * sysdeps/mach/hurd/send.c (__send): Likewise.
4999         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5000         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5001         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5002         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5003         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5004         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5005         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5006         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5007         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5008         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5009         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5010         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5011         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5012         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5013         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5014         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5015         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5016         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5017         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5018         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5019         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5020         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5021         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5022         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5023         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5024         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5025         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5026         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5027         * sysdeps/posix/alarm.c (alarm): Likewise.
5028         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5029         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5030         * sysdeps/posix/dup.c (__dup): Likewise.
5031         * sysdeps/posix/dup2.c (__dup2): Likewise.
5032         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5033         (main): Likewise.
5034         * sysdeps/posix/flock.c (__flock): Likewise.
5035         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5036         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5037         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5038         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5039         * sysdeps/posix/isatty.c (__isatty): Likewise.
5040         * sysdeps/posix/killpg.c (killpg): Likewise.
5041         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5042         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5043         * sysdeps/posix/raise.c (raise): Likewise.
5044         * sysdeps/posix/remove.c (remove): Likewise.
5045         * sysdeps/posix/rename.c (rename): Likewise.
5046         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5047         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5048         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5049         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5050         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5051         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5052         * sysdeps/posix/sigset.c (sigset): Likewise.
5053         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5054         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5055         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5056         * sysdeps/posix/time.c (time): Likewise.
5057         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5058         (ttyname): Likewise.
5059         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5060         * sysdeps/posix/utime.c (utime): Likewise.
5061         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5062         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5063         Likewise.
5064         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5065         (pthread_spin_trylock): Likewise.
5066         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5067         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5068         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5069         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5070         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5071         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5072         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5073         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5074         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5075         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5076         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5077         * sysdeps/s390/ffs.c (__ffs): Likewise.
5078         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5079         Likewise.
5080         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5081         Likewise.
5082         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5083         Likewise.
5084         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5085         (pthread_barrier_destroy): Likewise.
5086         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5087         (__pthread_barrier_wait): Likewise.
5088         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5089         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5090         (__pthread_barrier_wait): Likewise.
5091         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5092         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5093         (memcmp_not_common_alignment): Likewise.
5094         (MEMCMP): Likewise.
5095         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5096         (_wordcopy_fwd_dest_aligned): Likewise.
5097         (_wordcopy_bwd_aligned): Likewise.
5098         (_wordcopy_bwd_dest_aligned): Likewise.
5099         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5100         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5101         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5102         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5103         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5104         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5105         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5106         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5107         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5108         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5109         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5110         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5111         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5112         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5113         * sysdeps/unix/stime.c (stime): Likewise.
5114         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5115         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5116         Likewise.  Use internal_function.
5117         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5118         Convert to prototype-style function definition.
5119         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5120         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5122         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5123         Likewise.  Use internal_function.
5124         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5125         prototype-style function definition
5126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5127         Likewise.
5128         (__getlogin_r): Likewise.
5129         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5131         (__pthread_cond_broadcast): Likewise.
5132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5133         (__pthread_cond_destroy): Likewise.
5134         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5135         (__pthread_cond_init): Likewise.
5136         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5137         (__pthread_cond_signal): Likewise.
5138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5139         (__pthread_cond_wait): Likewise.
5140         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5141         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5142         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5143         Likewise.
5144         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5145         Likewise.
5146         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5147         Likewise.
5148         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5152         (__ftruncate64): Likewise.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5154         (truncate64): Likewise.
5155         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5156         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5157         (pthread_getcpuclockid): Likewise.
5158         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5159         Likewise.
5160         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5161         Likewise.
5162         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5163         Likewise.
5164         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5165         Likewise.
5166         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5167         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5168         (__libc_sigaction): Likewise.
5169         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5170         Likewise.
5171         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5172         (__sigprocmask): Likewise.
5173         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5174         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5175         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5176         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5177         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5178         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5179         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5180         Likewise.
5181         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5182         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5183         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5184         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5185         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5186         Likewise.
5187         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5188         (__sigprocmask): Likewise.
5189         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5190         (cfgetispeed): Likewise.
5191         (cfsetospeed): Likewise.
5192         (cfsetispeed): Likewise.
5193         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5194         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5195         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5196         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5197         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5198         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5199         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5200         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5201         Likewise.
5202         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5203         Likewise.
5204         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5205         Likewise.
5206         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5207         Likewise.
5208         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5210 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5212         sunrpc: Rewrite with explicit TLS access using __thread.
5213         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5214         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5215         directly.
5216         (__rpc_thread_variables): Access thread_rpc_vars directly.
5217         Eliminate redundant assignment of the tvp variable.
5219 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5221         malloc: Rewrite with explicit TLS access using __thread.
5222         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5223         (tsd_setspecific, tsd_getspecific): Remove.
5224         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5225         (tsd_setspecific, tsd_getspecific): Likewise.
5226         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5227         (tsd_setspecific, tsd_getspecific): Likewise.
5228         * malloc/arena.c (thread_arena): New TLS variable.
5229         (arena_key): Remove variable.
5230         (arena_get): Use thread_arena.
5231         (arena_lookup): Remove macro.
5232         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5233         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5234         (_int_new_arena, get_free_list, reused_arena)
5235         (arena_thread_freeres): Use thread_arena.
5236         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5237         tsd_getspecific, tsd_setspecific from safety annotations.
5238         (Allocating Cleared Space): Remove arena_lookup from safety
5239         annotations.
5241 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5243         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5244         struct scratch_buffer instead of extend_alloca.
5246 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5248         * sysdeps/unix/sysv/linux/kernel-features.h
5249         (__ASSUME_SOCK_CLOEXEC): Remove.
5250         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5251         (__have_paccept): Remove unused macro.
5252         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5253         * misc/syslog.c (openlog_internal): Remove fallback code for
5254         !__ASSUME_SOCK_CLOEXEC.
5255         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5256         missing SOCK_CLOEXEC.
5257         * nscd/connections.c (have_sock_cloexec): Remove definition.
5258         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5259         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5260         !__ASSUME_SOCK_CLOEXEC.
5261         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5262         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5263         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5264         definition.
5265         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5266         code for !__ASSUME_SOCK_CLOEXEC.
5268 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5270         [BZ #18982]
5271         * manual/stdio.texi (Variable Arguments Output): Add portability
5272         note, explaining that vfprintf clobbers the va_list pointer.
5274 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5276         * math/libm-test.inc (fabs_test_data): Add more tests.
5277         (fdim_test_data): Likewise.
5278         (fma_test_data): Likewise.
5279         (fmax_test_data): Likewise.
5280         (fmin_test_data): Likewise.
5281         (fmod_test_data): Likewise.
5283 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5285         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5286         data.
5288 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5290         * math/libm-test.inc (ceil_test_data): Add more tests and more
5291         expectations for "inexact".
5292         (floor_test_data): Add more tests.
5293         (round_test_data): Likewise.
5294         (trunc_test_data): Likewise.
5296         * crypt/cert.c (good_bye): Convert to prototype-style function
5297         definition.
5298         (get8): Likewise.
5299         (put8): Likewise.
5300         * crypt/crypt-entry.c (crypt): Likewise.
5301         (__fcrypt): Likewise.
5302         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5303         (_ufc_set_bits): Likewise.
5304         (_ufc_clearmem): Likewise.
5305         (__init_des_r): Likewise.
5306         (shuffle_sb): Likewise.
5307         (shuffle_sb): Likewise.
5308         (_ufc_setup_salt_r): Likewise.
5309         (_ufc_mk_keytab_r): Likewise.
5310         (_ufc_dofinalperm_r): Likewise.
5311         (encrypt): Likewise.
5312         (__setkey_r): Likewise.
5313         (setkey): Likewise.
5314         * crypt/md5.c (md5_init_ctx): Likewise.
5315         (md5_read_ctx): Likewise.
5316         (md5_finish_ctx): Likewise.
5317         (md5_stream): Likewise.
5318         (md5_buffer): Likewise.
5319         (md5_process_bytes): Likewise.
5320         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5321         (__sha256_finish_ctx): Likewise.
5322         (__sha256_process_bytes): Likewise.
5323         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5324         (__sha512_finish_ctx): Likewise.
5325         (__sha512_process_bytes): Likewise.
5326         * ctype/isctype.c (__isctype): Likewise.
5327         * debug/backtrace.c (__backtrace): Likewise.
5328         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5329         * debug/fgets_chk.c (__fgets_chk): Likewise.
5330         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5331         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5332         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5333         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5334         * debug/memset_chk.c (__memset_chk): Likewise.
5335         * debug/strcat_chk.c (__strcat_chk): Likewise.
5336         * debug/strncat_chk.c (__strncat_chk): Likewise.
5337         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5338         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5339         * dirent/dirfd.c (dirfd): Likewise.
5340         * dirent/getdents.c (__getdirentries): Likewise.
5341         * dirent/getdents64.c (getdirentries64): Likewise.
5342         * dirent/rewinddir.c (__rewinddir): Likewise.
5343         * dirent/seekdir.c (seekdir): Likewise.
5344         * dirent/telldir.c (telldir): Likewise.
5345         * elf/sln.c (makesymlinks): Likewise.
5346         (makesymlink): Likewise.
5347         * gmon/gmon.c (__moncontrol): Likewise.
5348         (__monstartup): Likewise.
5349         (write_hist): Likewise.
5350         (write_call_graph): Likewise.
5351         (write_bb_counts): Likewise.
5352         * grp/setgroups.c (setgroups): Likewise.
5353         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5354         * inet/inet_net.c (inet_network): Likewise.
5355         * inet/inet_netof.c (inet_netof): Likewise.
5356         * inet/rcmd.c (rresvport_af): Likewise.
5357         (rresvport): Likewise.
5358         * io/access.c (__access): Likewise.
5359         * io/chdir.c (__chdir): Likewise.
5360         * io/chmod.c (__chmod): Likewise.
5361         * io/chown.c (__chown): Likewise.
5362         * io/close.c (__close): Likewise.
5363         * io/creat.c (creat): Likewise.
5364         * io/creat64.c (creat64): Likewise.
5365         * io/dup.c (__dup): Likewise.
5366         * io/dup2.c (__dup2): Likewise.
5367         * io/dup3.c (__dup3): Likewise.
5368         * io/euidaccess.c (__euidaccess): Likewise.
5369         * io/faccessat.c (faccessat): Likewise.
5370         * io/fchmod.c (__fchmod): Likewise.
5371         * io/fchmodat.c (fchmodat): Likewise.
5372         * io/fchown.c (__fchown): Likewise.
5373         * io/fchownat.c (fchownat): Likewise.
5374         * io/fcntl.c (__fcntl): Likewise.
5375         * io/flock.c (__flock): Likewise.
5376         * io/fts.c (fts_load): Likewise.
5377         (fts_close): Likewise.
5378         (fts_read): Likewise.
5379         (fts_set): Likewise.
5380         (fts_children): Likewise.
5381         (fts_build): Likewise.
5382         (fts_stat): Likewise.
5383         (fts_sort): Likewise.
5384         (fts_alloc): Likewise.
5385         (fts_lfree): Likewise.
5386         (fts_palloc): Likewise.
5387         (fts_padjust): Likewise.
5388         (fts_maxarglen): Likewise.
5389         (fts_safe_changedir): Likewise.
5390         * io/getwd.c (getwd): Likewise.
5391         * io/isatty.c (__isatty): Likewise.
5392         * io/lchown.c (__lchown): Likewise.
5393         * io/link.c (__link): Likewise.
5394         * io/linkat.c (linkat): Likewise.
5395         * io/lseek.c (__libc_lseek): Likewise.
5396         * io/mkdir.c (__mkdir): Likewise.
5397         * io/mkdirat.c (mkdirat): Likewise.
5398         * io/mkfifo.c (mkfifo): Likewise.
5399         * io/mkfifoat.c (mkfifoat): Likewise.
5400         * io/open.c (__libc_open): Likewise.
5401         * io/open64.c (__libc_open64): Likewise.
5402         * io/readlink.c (__readlink): Likewise.
5403         * io/readlinkat.c (readlinkat): Likewise.
5404         * io/rmdir.c (__rmdir): Likewise.
5405         * io/symlink.c (__symlink): Likewise.
5406         * io/symlinkat.c (symlinkat): Likewise.
5407         * io/ttyname.c (ttyname): Likewise.
5408         * io/ttyname_r.c (__ttyname_r): Likewise.
5409         * io/umask.c (__umask): Likewise.
5410         * io/unlink.c (__unlink): Likewise.
5411         * io/unlinkat.c (unlinkat): Likewise.
5412         * io/utime.c (utime): Likewise.
5413         * libio/clearerr.c (clearerr): Likewise.
5414         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5415         * libio/feof.c (_IO_feof): Likewise.
5416         * libio/feof_u.c (feof_unlocked): Likewise.
5417         * libio/ferror.c (_IO_ferror): Likewise.
5418         * libio/ferror_u.c (ferror_unlocked): Likewise.
5419         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5420         * libio/fileno.c (__fileno): Likewise.
5421         * libio/fputc.c (fputc): Likewise.
5422         * libio/fputc_u.c (fputc_unlocked): Likewise.
5423         * libio/fputwc.c (fputwc): Likewise.
5424         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5425         * libio/freopen.c (freopen): Likewise.
5426         * libio/freopen64.c (freopen64): Likewise.
5427         * libio/fseek.c (fseek): Likewise.
5428         * libio/fseeko.c (fseeko): Likewise.
5429         * libio/fseeko64.c (fseeko64): Likewise.
5430         * libio/ftello.c (__ftello): Likewise.
5431         * libio/ftello64.c (ftello64): Likewise.
5432         * libio/fwide.c (fwide): Likewise.
5433         * libio/genops.c (_IO_un_link): Likewise.
5434         (_IO_link_in): Likewise.
5435         (_IO_least_marker): Likewise.
5436         (_IO_switch_to_main_get_area): Likewise.
5437         (_IO_switch_to_backup_area): Likewise.
5438         (_IO_switch_to_get_mode): Likewise.
5439         (_IO_free_backup_area): Likewise.
5440         (_IO_switch_to_put_mode): Likewise.
5441         (__overflow): Likewise.
5442         (__underflow): Likewise.
5443         (__uflow): Likewise.
5444         (_IO_setb): Likewise.
5445         (_IO_doallocbuf): Likewise.
5446         (_IO_default_underflow): Likewise.
5447         (_IO_default_uflow): Likewise.
5448         (_IO_default_xsputn): Likewise.
5449         (_IO_sgetn): Likewise.
5450         (_IO_default_xsgetn): Likewise.
5451         (_IO_sync): Likewise.
5452         (_IO_default_setbuf): Likewise.
5453         (_IO_default_seekpos): Likewise.
5454         (_IO_default_doallocate): Likewise.
5455         (_IO_init): Likewise.
5456         (_IO_old_init): Likewise.
5457         (_IO_default_sync): Likewise.
5458         (_IO_default_finish): Likewise.
5459         (_IO_default_seekoff): Likewise.
5460         (_IO_sputbackc): Likewise.
5461         (_IO_sungetc): Likewise.
5462         (_IO_set_column): Likewise.
5463         (_IO_set_column): Likewise.
5464         (_IO_adjust_column): Likewise.
5465         (_IO_get_column): Likewise.
5466         (_IO_init_marker): Likewise.
5467         (_IO_remove_marker): Likewise.
5468         (_IO_marker_difference): Likewise.
5469         (_IO_marker_delta): Likewise.
5470         (_IO_seekmark): Likewise.
5471         (_IO_unsave_markers): Likewise.
5472         (_IO_nobackup_pbackfail): Likewise.
5473         (_IO_default_pbackfail): Likewise.
5474         (_IO_default_seek): Likewise.
5475         (_IO_default_stat): Likewise.
5476         (_IO_default_read): Likewise.
5477         (_IO_default_write): Likewise.
5478         (_IO_default_showmanyc): Likewise.
5479         (_IO_default_imbue): Likewise.
5480         (_IO_iter_next): Likewise.
5481         (_IO_iter_file): Likewise.
5482         * libio/getc.c (_IO_getc): Likewise.
5483         * libio/getwc.c (_IO_getwc): Likewise.
5484         * libio/iofclose.c (_IO_new_fclose): Likewise.
5485         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5486         * libio/iofflush.c (_IO_fflush): Likewise.
5487         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5488         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5489         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5490         * libio/iofgets.c (_IO_fgets): Likewise.
5491         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5492         * libio/iofgetws.c (fgetws): Likewise.
5493         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5494         * libio/iofopen64.c (_IO_fopen64): Likewise.
5495         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5496         (_IO_cookie_write): Likewise.
5497         (_IO_cookie_seek): Likewise.
5498         (_IO_cookie_close): Likewise.
5499         (_IO_cookie_seekoff): Likewise.
5500         (_IO_old_cookie_seek): Likewise.
5501         * libio/iofputs.c (_IO_fputs): Likewise.
5502         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5503         * libio/iofputws.c (fputws): Likewise.
5504         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5505         * libio/iofread.c (_IO_fread): Likewise.
5506         * libio/iofread_u.c (__fread_unlocked): Likewise.
5507         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5508         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5509         * libio/ioftell.c (_IO_ftell): Likewise.
5510         * libio/iofwrite.c (_IO_fwrite): Likewise.
5511         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5512         * libio/iogets.c (_IO_gets): Likewise.
5513         * libio/iopadn.c (_IO_padn): Likewise.
5514         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5515         (_IO_new_popen): Likewise.
5516         (_IO_new_proc_close): Likewise.
5517         * libio/ioputs.c (_IO_puts): Likewise.
5518         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5519         (_IO_seekoff): Likewise.
5520         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5521         (_IO_seekpos): Likewise.
5522         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5523         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5524         * libio/ioungetc.c (_IO_ungetc): Likewise.
5525         * libio/ioungetwc.c (ungetwc): Likewise.
5526         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5527         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5528         * libio/iowpadn.c (_IO_wpadn): Likewise.
5529         * libio/libc_fatal.c (__libc_fatal): Likewise.
5530         * libio/memstream.c (__open_memstream): Likewise.
5531         (_IO_mem_sync): Likewise.
5532         (_IO_mem_finish): Likewise.
5533         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5534         (_IO_old_file_close_it): Likewise.
5535         (_IO_old_file_finish): Likewise.
5536         (_IO_old_file_fopen): Likewise.
5537         (_IO_old_file_attach): Likewise.
5538         (_IO_old_file_setbuf): Likewise.
5539         (_IO_old_do_write): Likewise.
5540         (old_do_write): Likewise.
5541         (_IO_old_file_underflow): Likewise.
5542         (_IO_old_file_overflow): Likewise.
5543         (_IO_old_file_sync): Likewise.
5544         (_IO_old_file_seekoff): Likewise.
5545         (_IO_old_file_write): Likewise.
5546         (_IO_old_file_xsputn): Likewise.
5547         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5548         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5549         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5550         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5551         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5552         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5553         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5554         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5555         (_IO_old_popen): Likewise.
5556         (_IO_old_proc_close): Likewise.
5557         * libio/oldpclose.c (__old_pclose): Likewise.
5558         * libio/pclose.c (__new_pclose): Likewise.
5559         * libio/peekc.c (_IO_peekc_locked): Likewise.
5560         * libio/putc.c (_IO_putc): Likewise.
5561         * libio/putc_u.c (putc_unlocked): Likewise.
5562         * libio/putchar.c (putchar): Likewise.
5563         * libio/putchar_u.c (putchar_unlocked): Likewise.
5564         * libio/putwc.c (putwc): Likewise.
5565         * libio/putwc_u.c (putwc_unlocked): Likewise.
5566         * libio/putwchar.c (putwchar): Likewise.
5567         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5568         * libio/rewind.c (rewind): Likewise.
5569         * libio/setbuf.c (setbuf): Likewise.
5570         * libio/setlinebuf.c (setlinebuf): Likewise.
5571         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5572         * libio/vscanf.c (_IO_vscanf): Likewise.
5573         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5574         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5575         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5576         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5577         (_IO_switch_to_main_wget_area): Likewise.
5578         (_IO_switch_to_wbackup_area): Likewise.
5579         (_IO_wsetb): Likewise.
5580         (_IO_wdefault_pbackfail): Likewise.
5581         (_IO_wdefault_finish): Likewise.
5582         (_IO_wdefault_uflow): Likewise.
5583         (__woverflow): Likewise.
5584         (__wuflow): Likewise.
5585         (__wunderflow): Likewise.
5586         (_IO_wdefault_xsputn): Likewise.
5587         (_IO_wdefault_xsgetn): Likewise.
5588         (_IO_wdoallocbuf): Likewise.
5589         (_IO_wdefault_doallocate): Likewise.
5590         (_IO_switch_to_wget_mode): Likewise.
5591         (_IO_free_wbackup_area): Likewise.
5592         (_IO_switch_to_wput_mode): Likewise.
5593         (_IO_sputbackwc): Likewise.
5594         (_IO_sungetwc): Likewise.
5595         (_IO_adjust_wcolumn): Likewise.
5596         (_IO_init_wmarker): Likewise.
5597         (_IO_wmarker_delta): Likewise.
5598         (_IO_seekwmark): Likewise.
5599         (_IO_unsave_wmarkers): Likewise.
5600         * libio/wmemstream.c (open_wmemstream): Likewise.
5601         (_IO_wmem_sync): Likewise.
5602         (_IO_wmem_finish): Likewise.
5603         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5604         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5605         * locale/programs/simple-hash.c (init_hash): Likewise.
5606         (delete_hash): Likewise.
5607         (insert_entry): Likewise.
5608         (set_entry): Likewise.
5609         (next_prime): Likewise.
5610         (is_prime): Likewise.
5611         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5612         (xmalloc): Likewise.
5613         (xrealloc): Likewise.
5614         * locale/programs/xstrdup.c (xstrdup): Likewise.
5615         * localedata/collate-test.c (xstrcoll): Likewise.
5616         * localedata/xfrm-test.c (xstrcmp): Likewise.
5617         * login/getlogin_r.c (__getlogin_r): Likewise.
5618         * login/getpt.c (__posix_openpt): Likewise.
5619         * login/login_tty.c (login_tty): Likewise.
5620         * login/setlogin.c (setlogin): Likewise.
5621         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5622         (mach_msg_destroy_port): Likewise.
5623         (mach_msg_destroy_memory): Likewise.
5624         * malloc/mcheck.c (flood): Likewise.
5625         * misc/acct.c (acct): Likewise.
5626         * misc/brk.c (__brk): Likewise.
5627         * misc/chflags.c (chflags): Likewise.
5628         * misc/chroot.c (chroot): Likewise.
5629         * misc/fchflags.c (fchflags): Likewise.
5630         * misc/fstab.c (getfsspec): Likewise.
5631         (getfsfile): Likewise.
5632         * misc/fsync.c (fsync): Likewise.
5633         * misc/ftruncate.c (__ftruncate): Likewise.
5634         * misc/ftruncate64.c (__ftruncate64): Likewise.
5635         * misc/getdomain.c (getdomainname): Likewise.
5636         (getdomainname): Likewise.
5637         * misc/gethostname.c (__gethostname): Likewise.
5638         * misc/getpass.c (getpass): Likewise.
5639         * misc/getttyent.c (skip): Likewise.
5640         (value): Likewise.
5641         * misc/gtty.c (gtty): Likewise.
5642         * misc/hsearch.c (hsearch): Likewise.
5643         (hcreate): Likewise.
5644         * misc/hsearch_r.c (__hcreate_r): Likewise.
5645         (__hdestroy_r): Likewise.
5646         * misc/ioctl.c (__ioctl): Likewise.
5647         * misc/mkdtemp.c (mkdtemp): Likewise.
5648         * misc/mkostemp.c (mkostemp): Likewise.
5649         * misc/mkostemp64.c (mkostemp64): Likewise.
5650         * misc/mkostemps.c (mkostemps): Likewise.
5651         * misc/mkostemps64.c (mkostemps64): Likewise.
5652         * misc/mkstemp.c (mkstemp): Likewise.
5653         * misc/mkstemp64.c (mkstemp64): Likewise.
5654         * misc/mkstemps.c (mkstemps): Likewise.
5655         * misc/mkstemps64.c (mkstemps64): Likewise.
5656         * misc/mktemp.c (__mktemp): Likewise.
5657         * misc/preadv.c (preadv): Likewise.
5658         * misc/preadv64.c (preadv64): Likewise.
5659         * misc/pwritev.c (pwritev): Likewise.
5660         * misc/pwritev64.c (pwritev64): Likewise.
5661         * misc/readv.c (__readv): Likewise.
5662         * misc/revoke.c (revoke): Likewise.
5663         * misc/setdomain.c (setdomainname): Likewise.
5664         * misc/setegid.c (setegid): Likewise.
5665         * misc/seteuid.c (seteuid): Likewise.
5666         * misc/sethostid.c (sethostid): Likewise.
5667         * misc/sethostname.c (sethostname): Likewise.
5668         * misc/setregid.c (__setregid): Likewise.
5669         * misc/setreuid.c (__setreuid): Likewise.
5670         * misc/sstk.c (sstk): Likewise.
5671         * misc/stty.c (stty): Likewise.
5672         * misc/syscall.c (syscall): Likewise.
5673         * misc/syslog.c (setlogmask): Likewise.
5674         * misc/truncate.c (__truncate): Likewise.
5675         * misc/truncate64.c (truncate64): Likewise.
5676         * misc/ualarm.c (ualarm): Likewise.
5677         * misc/usleep.c (usleep): Likewise.
5678         * misc/ustat.c (ustat): Likewise.
5679         * misc/writev.c (__writev): Likewise.
5680         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5681         * nptl/old_pthread_cond_broadcast.c
5682         (__pthread_cond_broadcast_2_0): Likewise.
5683         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5684         Likewise.
5685         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5686         Likewise.
5687         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5688         Likewise.
5689         * nptl/pt-raise.c (raise): Likewise.
5690         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5691         Likewise.
5692         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5693         * nptl/pthread_barrierattr_destroy.c
5694         (pthread_barrierattr_destroy): Likewise.
5695         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5696         Likewise.
5697         * nptl/pthread_barrierattr_setpshared.c
5698         (pthread_barrierattr_setpshared): Likewise.
5699         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5700         Likewise.
5701         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5702         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5703         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5704         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5705         Likewise.
5706         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5707         Likewise.
5708         * nptl/pthread_condattr_getpshared.c
5709         (pthread_condattr_getpshared): Likewise.
5710         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5711         Likewise.
5712         * nptl/pthread_condattr_setpshared.c
5713         (pthread_condattr_setpshared): Likewise.
5714         * nptl/pthread_detach.c (pthread_detach): Likewise.
5715         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5716         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5717         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5718         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5719         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5720         Likewise.
5721         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5722         Likewise.
5723         * nptl/pthread_mutex_getprioceiling.c
5724         (pthread_mutex_getprioceiling): Likewise.
5725         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5726         Likewise.
5727         * nptl/pthread_mutexattr_getprotocol.c
5728         (pthread_mutexattr_getprotocol): Likewise.
5729         * nptl/pthread_mutexattr_getpshared.c
5730         (pthread_mutexattr_getpshared): Likewise.
5731         * nptl/pthread_mutexattr_getrobust.c
5732         (pthread_mutexattr_getrobust): Likewise.
5733         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5734         Likewise.
5735         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5736         Likewise.
5737         * nptl/pthread_mutexattr_setprioceiling.c
5738         (pthread_mutexattr_setprioceiling): Likewise.
5739         * nptl/pthread_mutexattr_setprotocol.c
5740         (pthread_mutexattr_setprotocol): Likewise.
5741         * nptl/pthread_mutexattr_setpshared.c
5742         (pthread_mutexattr_setpshared): Likewise.
5743         * nptl/pthread_mutexattr_setrobust.c
5744         (pthread_mutexattr_setrobust): Likewise.
5745         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5746         Likewise.
5747         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5748         Likewise.
5749         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5750         Likewise.
5751         * nptl/pthread_rwlockattr_getkind_np.c
5752         (pthread_rwlockattr_getkind_np): Likewise.
5753         * nptl/pthread_rwlockattr_getpshared.c
5754         (pthread_rwlockattr_getpshared): Likewise.
5755         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5756         Likewise.
5757         * nptl/pthread_rwlockattr_setkind_np.c
5758         (pthread_rwlockattr_setkind_np): Likewise.
5759         * nptl/pthread_rwlockattr_setpshared.c
5760         (pthread_rwlockattr_setpshared): Likewise.
5761         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5762         Likewise.
5763         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5764         Likewise.
5765         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5766         Likewise.
5767         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5768         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5769         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5770         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5771         * nptl/sem_close.c (sem_close): Likewise.
5772         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5773         * nptl/sem_init.c (__old_sem_init): Likewise.
5774         * nptl/sigaction.c (__sigaction): Likewise.
5775         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5776         * posix/_exit.c (_exit): Likewise.
5777         * posix/alarm.c (alarm): Likewise.
5778         * posix/confstr.c (confstr): Likewise.
5779         * posix/fpathconf.c (__fpathconf): Likewise.
5780         * posix/getgroups.c (__getgroups): Likewise.
5781         * posix/getpgid.c (__getpgid): Likewise.
5782         * posix/group_member.c (__group_member): Likewise.
5783         * posix/pathconf.c (__pathconf): Likewise.
5784         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5785         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5786         * posix/setgid.c (__setgid): Likewise.
5787         * posix/setpgid.c (__setpgid): Likewise.
5788         * posix/setuid.c (__setuid): Likewise.
5789         * posix/sleep.c (__sleep): Likewise.
5790         * posix/sysconf.c (__sysconf): Likewise.
5791         * posix/times.c (__times): Likewise.
5792         * posix/uname.c (__uname): Likewise.
5793         * posix/waitid.c (__waitid): Likewise.
5794         * pwd/getpw.c (__getpw): Likewise.
5795         * resolv/base64.c (b64_pton): Likewise.
5796         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5797         * resolv/gethnamaddr.c (Dprintf): Likewise.
5798         (gethostbyname): Likewise.
5799         (gethostbyname2): Likewise.
5800         (gethostbyaddr): Likewise.
5801         (_sethtent): Likewise.
5802         (_gethtbyname): Likewise.
5803         (_gethtbyname2): Likewise.
5804         (_gethtbyaddr): Likewise.
5805         (map_v4v6_address): Likewise.
5806         (map_v4v6_hostent): Likewise.
5807         (addrsort): Likewise.
5808         (ht_sethostent): Likewise.
5809         (ht_gethostbyname): Likewise.
5810         (ht_gethostbyaddr): Likewise.
5811         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5812         (inet_net_ntop_ipv4): Likewise.
5813         * resolv/inet_neta.c (inet_neta): Likewise.
5814         * resolv/inet_ntop.c (inet_ntop): Likewise.
5815         (inet_ntop4): Likewise.
5816         (inet_ntop6): Likewise.
5817         * resolv/inet_pton.c (__inet_pton): Likewise.
5818         (inet_pton4): Likewise.
5819         (inet_pton6): Likewise.
5820         * resolv/res_debug.c (loc_aton): Likewise.
5821         (loc_ntoa): Likewise.
5822         * resource/getpriority.c (__getpriority): Likewise.
5823         * resource/getrusage.c (__getrusage): Likewise.
5824         * resource/nice.c (nice): Likewise.
5825         * resource/setpriority.c (__setpriority): Likewise.
5826         * resource/setrlimit64.c (setrlimit64): Likewise.
5827         * resource/vlimit.c (vlimit): Likewise.
5828         * resource/vtimes.c (vtimes): Likewise.
5829         * rt/aio_error.c (aio_error): Likewise.
5830         * rt/aio_return.c (aio_return): Likewise.
5831         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5832         * signal/kill.c (__kill): Likewise.
5833         * signal/killpg.c (killpg): Likewise.
5834         * signal/raise.c (raise): Likewise.
5835         * signal/sigaction.c (__sigaction): Likewise.
5836         * signal/sigaddset.c (sigaddset): Likewise.
5837         * signal/sigaltstack.c (sigaltstack): Likewise.
5838         * signal/sigandset.c (sigandset): Likewise.
5839         * signal/sigblock.c (__sigblock): Likewise.
5840         * signal/sigdelset.c (sigdelset): Likewise.
5841         * signal/sigempty.c (sigemptyset): Likewise.
5842         * signal/sigfillset.c (sigfillset): Likewise.
5843         * signal/sighold.c (sighold): Likewise.
5844         * signal/sigignore.c (sigignore): Likewise.
5845         * signal/sigintr.c (siginterrupt): Likewise.
5846         * signal/sigisempty.c (sigisemptyset): Likewise.
5847         * signal/sigismem.c (sigismember): Likewise.
5848         * signal/signal.c (signal): Likewise.
5849         * signal/sigorset.c (sigorset): Likewise.
5850         * signal/sigpause.c (__sigpause): Likewise.
5851         * signal/sigpending.c (sigpending): Likewise.
5852         * signal/sigprocmask.c (__sigprocmask): Likewise.
5853         * signal/sigrelse.c (sigrelse): Likewise.
5854         * signal/sigreturn.c (__sigreturn): Likewise.
5855         * signal/sigset.c (sigset): Likewise.
5856         * signal/sigsetmask.c (__sigsetmask): Likewise.
5857         * signal/sigstack.c (sigstack): Likewise.
5858         * signal/sigsuspend.c (__sigsuspend): Likewise.
5859         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5860         * signal/sysv_signal.c (__sysv_signal): Likewise.
5861         * socket/accept.c (accept): Likewise.
5862         * socket/accept4.c (__libc_accept4): Likewise.
5863         * socket/bind.c (__bind): Likewise.
5864         * socket/connect.c (__connect): Likewise.
5865         * socket/getpeername.c (getpeername): Likewise.
5866         * socket/getsockname.c (__getsockname): Likewise.
5867         * socket/getsockopt.c (getsockopt): Likewise.
5868         * socket/listen.c (__listen): Likewise.
5869         * socket/recv.c (__recv): Likewise.
5870         * socket/recvmsg.c (__recvmsg): Likewise.
5871         * socket/send.c (__send): Likewise.
5872         * socket/sendmsg.c (__sendmsg): Likewise.
5873         * socket/shutdown.c (shutdown): Likewise.
5874         * socket/sockatmark.c (sockatmark): Likewise.
5875         * socket/socket.c (__socket): Likewise.
5876         * stdio-common/ctermid.c (ctermid): Likewise.
5877         * stdio-common/cuserid.c (cuserid): Likewise.
5878         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5879         * stdio-common/remove.c (remove): Likewise.
5880         * stdio-common/rename.c (rename): Likewise.
5881         * stdio-common/renameat.c (renameat): Likewise.
5882         * stdio-common/tempname.c (__gen_tempname): Likewise.
5883         * stdio-common/xbug.c (InitBuffer): Likewise.
5884         (AppendToBuffer): Likewise.
5885         (ReadFile): Likewise.
5886         * stdlib/a64l.c (a64l): Likewise.
5887         * stdlib/drand48_r.c (drand48_r): Likewise.
5888         * stdlib/getcontext.c (getcontext): Likewise.
5889         * stdlib/getenv.c (getenv): Likewise.
5890         * stdlib/l64a.c (l64a): Likewise.
5891         * stdlib/llabs.c (llabs): Likewise.
5892         * stdlib/lldiv.c (lldiv): Likewise.
5893         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5894         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5895         * stdlib/putenv.c (putenv): Likewise.
5896         * stdlib/random.c (__srandom): Likewise.
5897         (__initstate): Likewise.
5898         (__setstate): Likewise.
5899         * stdlib/random_r.c (__srandom_r): Likewise.
5900         (__setstate_r): Likewise.
5901         (__random_r): Likewise.
5902         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5903         * stdlib/setcontext.c (setcontext): Likewise.
5904         * stdlib/setenv.c (setenv): Likewise.
5905         (unsetenv): Likewise.
5906         * stdlib/srand48.c (srand48): Likewise.
5907         * stdlib/srand48_r.c (__srand48_r): Likewise.
5908         * stdlib/swapcontext.c (swapcontext): Likewise.
5909         * stdlib/system.c (__libc_system): Likewise.
5910         * stdlib/tst-strtod.c (expand): Likewise.
5911         * stdlib/tst-strtol.c (expand): Likewise.
5912         * stdlib/tst-strtoll.c (expand): Likewise.
5913         * streams/fattach.c (fattach): Likewise.
5914         * streams/fdetach.c (fdetach): Likewise.
5915         * streams/getmsg.c (getmsg): Likewise.
5916         * streams/isastream.c (isastream): Likewise.
5917         * string/ffs.c (__ffs): Likewise.
5918         * string/ffsll.c (ffsll): Likewise.
5919         * string/memcmp.c (memcmp_common_alignment): Likewise.
5920         (memcmp_not_common_alignment): Likewise.
5921         (MEMCMP): Likewise.
5922         * string/memcpy.c (memcpy): Likewise.
5923         * string/memmove.c (MEMMOVE): Likewise.
5924         * string/memset.c (memset): Likewise.
5925         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5926         * string/strchrnul.c (STRCHRNUL): Likewise.
5927         * string/strerror.c (strerror): Likewise.
5928         * string/strndup.c (__strndup): Likewise.
5929         * string/strverscmp.c (__strverscmp): Likewise.
5930         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5931         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5932         (clnttcp_freeres): Likewise.
5933         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5934         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5935         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5936         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5937         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5938         (xdr_callhdr): Likewise.
5939         * sunrpc/rpcinfo.c (udpping): Likewise.
5940         (tcpping): Likewise.
5941         (pstatus): Likewise.
5942         (pmapdump): Likewise.
5943         (brdcst): Likewise.
5944         (deletereg): Likewise.
5945         (getprognum): Likewise.
5946         (getvers): Likewise.
5947         (get_inet_address): Likewise.
5948         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5949         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5950         (svcudp_stat): Likewise.
5951         (svcudp_recv): Likewise.
5952         (svcudp_reply): Likewise.
5953         (svcudp_getargs): Likewise.
5954         (svcudp_freeargs): Likewise.
5955         (svcudp_destroy): Likewise.
5956         * sunrpc/xdr.c (xdr_bytes): Likewise.
5957         (xdr_netobj): Likewise.
5958         (xdr_string): Likewise.
5959         (xdr_wrapstring): Likewise.
5960         * sunrpc/xdr_float.c (xdr_float): Likewise.
5961         (xdr_double): Likewise.
5962         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5963         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5964         * sysvipc/ftok.c (ftok): Likewise.
5965         * sysvipc/msgctl.c (msgctl): Likewise.
5966         * sysvipc/msgget.c (msgget): Likewise.
5967         * sysvipc/msgrcv.c (msgrcv): Likewise.
5968         * sysvipc/msgsnd.c (msgsnd): Likewise.
5969         * sysvipc/semget.c (semget): Likewise.
5970         * sysvipc/semop.c (semop): Likewise.
5971         * sysvipc/shmat.c (shmat): Likewise.
5972         * sysvipc/shmctl.c (shmctl): Likewise.
5973         * sysvipc/shmdt.c (shmdt): Likewise.
5974         * sysvipc/shmget.c (shmget): Likewise.
5975         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5976         * termios/speed.c (cfgetospeed): Likewise.
5977         (cfgetispeed): Likewise.
5978         (cfsetospeed): Likewise.
5979         (cfsetispeed): Likewise.
5980         * termios/tcflow.c (tcflow): Likewise.
5981         * termios/tcflush.c (tcflush): Likewise.
5982         * termios/tcgetattr.c (__tcgetattr): Likewise.
5983         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5984         * termios/tcgetsid.c (tcgetsid): Likewise.
5985         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5986         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5987         * time/adjtime.c (__adjtime): Likewise.
5988         * time/dysize.c (dysize): Likewise.
5989         * time/ftime.c (ftime): Likewise.
5990         * time/getitimer.c (__getitimer): Likewise.
5991         * time/gettimeofday.c (__gettimeofday): Likewise.
5992         * time/gmtime.c (__gmtime_r): Likewise.
5993         (gmtime): Likewise.
5994         * time/localtime.c (__localtime_r): Likewise.
5995         (localtime): Likewise.
5996         * time/offtime.c (__offtime): Likewise.
5997         * time/settimeofday.c (__settimeofday): Likewise.
5998         * time/stime.c (stime): Likewise.
5999         * time/strftime_l.c (tm_diff): Likewise.
6000         (iso_week_days): Likewise.
6001         * time/strptime.c (strptime): Likewise.
6002         * time/time.c (time): Likewise.
6003         * time/timespec_get.c (timespec_get): Likewise.
6004         * time/tzset.c (tzset_internal): Likewise.
6005         (compute_change): Likewise.
6006         (__tz_compute): Likewise.
6007         * wcsmbs/btowc.c (__btowc): Likewise.
6008         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6009         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6010         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6011         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6012         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6013         * wcsmbs/wcscat.c (__wcscat): Likewise.
6014         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6015         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6016         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6017         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6018         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6019         * wcsmbs/wcslen.c (__wcslen): Likewise.
6020         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6021         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6022         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6023         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6024         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6025         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6026         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6027         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6028         * wcsmbs/wcstok.c (wcstok): Likewise.
6029         * wcsmbs/wctob.c (wctob): Likewise.
6030         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6031         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6032         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6033         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6034         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6035         * wcsmbs/wmemset.c (__wmemset): Likewise.
6036         * wctype/wcfuncs.c (__towlower): Likewise.
6037         (__towupper): Likewise.
6039         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6040         (lll_unlock_elision): Add adapt_count parameter.
6042 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6044         * sysdeps/nptl/configure.ac: Do not give errors based on the
6045         results of top-level configure tests.
6046         * sysdeps/nptl/configure: Regenerated.
6048         * configure.ac (libc_cv_Bgroup): Remove configure test.
6049         * configure: Regenerated.
6050         * config.make.in (have-Bgroup): Remove variable.
6052         * configure.ac (sizeof_long_double): Remove configure test.
6053         * configure: Regenerated.
6054         * config.make.in (sizeof-long-double): Remove variable.
6056         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6057         * configure: Regenerated.
6058         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6059         variable.
6060         (exceptions): Likewise.
6061         * sysdeps/arm/configure: Regenerated.
6062         * config.make.in (exceptions): Remove variable.
6063         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6064         $(exceptions).
6065         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6066         (CFLAGS-vdprintf_chk.c): Likewise.
6067         (CFLAGS-printf_chk.c): Likewise.
6068         (CFLAGS-fprintf_chk.c): Likewise.
6069         (CFLAGS-vprintf_chk.c): Likewise.
6070         (CFLAGS-vfprintf_chk.c): Likewise.
6071         (CFLAGS-gets_chk.c): Likewise.
6072         (CFLAGS-fgets_chk.c): Likewise.
6073         (CFLAGS-fgets_u_chk.c): Likewise.
6074         (CFLAGS-fread_chk.c): Likewise.
6075         (CFLAGS-fread_u_chk.c): Likewise.
6076         (CFLAGS-wprintf_chk.c): Likewise.
6077         (CFLAGS-fwprintf_chk.c): Likewise.
6078         (CFLAGS-vwprintf_chk.c): Likewise.
6079         (CFLAGS-vfwprintf_chk.c): Likewise.
6080         (CFLAGS-fgetws_chk.c): Likewise.
6081         (CFLAGS-fgetws_u_chk.c): Likewise.
6082         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6083         (CFLAGS-fputc.c): Likewise.
6084         (CFLAGS-fputwc.c): Likewise.
6085         (CFLAGS-freopen64.c): Likewise.
6086         (CFLAGS-freopen.c): Likewise.
6087         (CFLAGS-fseek.c): Likewise.
6088         (CFLAGS-fseeko64.c): Likewise.
6089         (CFLAGS-fseeko.c): Likewise.
6090         (CFLAGS-ftello64.c): Likewise.
6091         (CFLAGS-ftello.c): Likewise.
6092         (CFLAGS-fwide.c): Likewise.
6093         (CFLAGS-genops.c): Likewise.
6094         (CFLAGS-getc.c): Likewise.
6095         (CFLAGS-getchar.c): Likewise.
6096         (CFLAGS-getwc.c): Likewise.
6097         (CFLAGS-getwchar.c): Likewise.
6098         (CFLAGS-iofclose.c): Likewise.
6099         (CFLAGS-iofflush.c): Likewise.
6100         (CFLAGS-iofgetpos64.c): Likewise.
6101         (CFLAGS-iofgetpos.c): Likewise.
6102         (CFLAGS-iofgets.c): Likewise.
6103         (CFLAGS-iofgetws.c): Likewise.
6104         (CFLAGS-iofputs.c): Likewise.
6105         (CFLAGS-iofputws.c): Likewise.
6106         (CFLAGS-iofread.c): Likewise.
6107         (CFLAGS-iofsetpos64.c): Likewise.
6108         (CFLAGS-iofsetpos.c): Likewise.
6109         (CFLAGS-ioftell.c): Likewise.
6110         (CFLAGS-iofwrite.c): Likewise.
6111         (CFLAGS-iogetdelim.c): Likewise.
6112         (CFLAGS-iogetline.c): Likewise.
6113         (CFLAGS-iogets.c): Likewise.
6114         (CFLAGS-iogetwline.c): Likewise.
6115         (CFLAGS-ioputs.c): Likewise.
6116         (CFLAGS-ioseekoff.c): Likewise.
6117         (CFLAGS-ioseekpos.c): Likewise.
6118         (CFLAGS-iosetbuffer.c): Likewise.
6119         (CFLAGS-iosetvbuf.c): Likewise.
6120         (CFLAGS-ioungetc.c): Likewise.
6121         (CFLAGS-ioungetwc.c): Likewise.
6122         (CFLAGS-oldfileops.c): Likewise.
6123         (CFLAGS-oldiofclose.c): Likewise.
6124         (CFLAGS-oldiofgetpos64.c): Likewise.
6125         (CFLAGS-oldiofgetpos.c): Likewise.
6126         (CFLAGS-oldiofsetpos64.c): Likewise.
6127         (CFLAGS-oldiofsetpos.c): Likewise.
6128         (CFLAGS-peekc.c): Likewise.
6129         (CFLAGS-putc.c): Likewise.
6130         (CFLAGS-putchar.c): Likewise.
6131         (CFLAGS-putwc.c): Likewise.
6132         (CFLAGS-putwchar.c): Likewise.
6133         (CFLAGS-rewind.c): Likewise.
6134         (CFLAGS-wfileops.c): Likewise.
6135         (CFLAGS-wgenops.c): Likewise.
6136         (CFLAGS-oldiofopen.c): Likewise.
6137         (CFLAGS-iofopen.c): Likewise.
6138         (CFLAGS-iofopen64.c): Likewise.
6139         (CFLAGS-oldtmpfile.c): Likewise.
6140         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6141         (CFLAGS-fprintf.c): Likewise.
6142         (CFLAGS-printf.c): Likewise.
6143         (CFLAGS-vfwprintf.c): Likewise.
6144         (CFLAGS-vfscanf.c): Likewise.
6145         (CFLAGS-vfwscanf.c): Likewise.
6146         (CFLAGS-fscanf.c): Likewise.
6147         (CFLAGS-scanf.c): Likewise.
6148         (CFLAGS-isoc99_vfscanf.c): Likewise.
6149         (CFLAGS-isoc99_vscanf.c): Likewise.
6150         (CFLAGS-isoc99_fscanf.c): Likewise.
6151         (CFLAGS-isoc99_scanf.c): Likewise.
6152         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6153         (CFLAGS-isoc99_fwscanf.c): Likewise.
6154         (CFLAGS-isoc99_vwscanf.c): Likewise.
6155         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6157         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6158         after mkstemp64.
6159         * login/tst-utmp.c (do_prepare): Likewise.
6160         * rt/tst-aio.c (do_prepare): Likewise.
6161         * rt/tst-aio64.c (do_prepare): Likewise.
6163 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6165         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6166         (__lll_lock_elision): Remove adapt_count decrement...
6167         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6168         (__lll_trylock_elision): Likewise.
6169         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6170         (__lll_unlock_elision): ... to here. And utilize
6171         new adapt_count parameter.
6172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6173         (__lll_unlock_elision): Update to include adapt_count
6174         parameter.
6175         (lll_unlock_elision): Pass pointer to adapt_count
6176         variable.
6178 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6180         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6181         Add elision adapt_count parameter to list of arguments.
6182         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6183         (lll_unlock_elision): Update with new parameter list
6184         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6185         (lll_unlock_elision): Likewise.
6186         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6187         (lll_unlock_elision): Likewise.
6189 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6191         [BZ #19122]
6192         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6193         attribute_hidden.
6195         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6196         attribute_hidden.
6197         [IS_IN (rtld)] (__strdup): Likewise.
6198         [IS_IN (rtld)] (__strerror_r): Likewise.
6199         [IS_IN (rtld)] (__strsep_g): Likewise.
6200         [IS_IN (rtld)] (memchr): Likewise.
6201         [IS_IN (rtld)] (memcmp): Likewise.
6202         [IS_IN (rtld)] (memcpy): Likewise.
6203         [IS_IN (rtld)] (memmove): Likewise.
6204         [IS_IN (rtld)] (memset): Likewise.
6205         [IS_IN (rtld)] (rawmemchr): Likewise.
6206         [IS_IN (rtld)] (stpcpy): Likewise.
6207         [IS_IN (rtld)] (strchr): Likewise.
6208         [IS_IN (rtld)] (strcmp): Likewise.
6209         [IS_IN (rtld)] (strlen): Likewise.
6210         [IS_IN (rtld)] (strnlen): Likewise.
6211         [IS_IN (rtld)] (strsep): Likewise.
6213         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6214         attribute_hidden.
6215         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6217         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6218         attribute_hidden.
6219         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6221         * include/setjmp.h (__longjmp): Add attribute_hidden.
6222         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6224         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6225         Add attribute_hidden.
6227         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6228         [IS_IN (rtld)] (__open): Likewise.
6229         [IS_IN (rtld)] (__fcntl): Likewise.
6231         * include/dirent.h (__opendirat): Add attribute_hidden.
6232         (__getdents): Likewise.
6233         (__getdents64): Likewise.
6234         (__alloc_dir): Likewise.
6235         [IS_IN (rtld)] (__closedir): Likewise.
6236         [IS_IN (rtld)] (__fdopendir): Likewise.
6237         [IS_IN (rtld)] (__readdir): Likewise.
6238         [IS_IN (rtld)] (__readdir64): Likewise.
6239         [IS_IN (rtld)] (__rewinddir): Likewise.
6241         * include/dlfcn.h (_dl_catch_error): Moved to ...
6242         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6243         attribute_hidden.
6245         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6246         (_itoa_word): Likewise.
6248         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6249         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6250         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6251         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6252         (_dl_higher_prime_number): Likewise.
6253         (_dl_debug_printf_c): Likewise.
6254         (_dl_signal_cerror): Likewise.
6255         (_dl_receive_error): Likewise.
6256         (_dl_reloc_bad_type): Likewise.
6257         (_dl_resolve_conflicts): Likewise.
6258         (_dl_check_all_versions): Likewise.
6259         (_dl_check_map_versions): Likewise.
6260         (_dl_sort_fini): Likewise.
6261         (_dl_debug_initialize): Likewise.
6262         (_dl_init_paths): Likewise.
6263         (_dl_show_auxv): Likewise.
6264         (_dl_next_ld_env_entry): Likewise.
6265         (_dl_important_hwcaps): Likewise.
6266         (_dl_load_cache_lookup): Likewise.
6267         (_dl_update_slotinfo): Likewise.
6268         (_dl_show_scope): Likewise.
6270         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6271         attribute_hidden.
6272         (_wordcopy_fwd_dest_aligned): Likewise.
6273         (_wordcopy_bwd_aligned): Likewise.
6274         (_wordcopy_bwd_dest_aligned): Likewise.
6276         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6277         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6278         Likewise.
6279         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6280         Likewise.
6281         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6283 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6285         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6286         GCC 5 requirement.
6288 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6290         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6291         test.
6292         * sysdeps/i386/configure: Regenerated.
6293         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6294         code unconditional.
6296         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6297         test.
6298         (libc_cv_asm_popsection_directive): Likewise.
6299         * configure: Regenerated.
6300         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6301         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6302         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6303         (__make_section_unallocated): Make definition unconditional.
6304         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6305         Remove conditional definition.
6306         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6307         (__make_section_unallocated): Likewise.
6309         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6310         * configure: Regenerated.
6311         * config.make.in (static-libgcc): Remove variable.
6312         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6313         $(static-libgcc).
6314         (build-module-helper): Likewise.
6316         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6317         * configure: Regenerated.
6319 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6321         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6322         (struct char_buffer): New type.
6323         (char_buffer_start, char_buffer_size, char_buffer_error)
6324         (char_buffer_rewind, char_buffer_add): New functions.
6325         (ADDW): Remove macro, replaced by the char_buffer_add function.
6326         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6327         of extend_alloca.  Make control flow more explicit.
6329 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6331         [BZ #19137]
6332         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6333         Add -fomit-frame-pointer.
6334         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6336 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6338         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6339         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6340         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6341         only if !__GNUC_PREREQ (5,0).
6342         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6343         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6344         (INTERNAL_SYSCALL_NCS): Likewise.
6345         (LOADREGS_0): New macro for GCC 5.
6346         (ASMARGS_0): Likewise.
6347         (LOADREGS_1): Likewise.
6348         (ASMARGS_1): Likewise.
6349         (LOADREGS_2): Likewise.
6350         (ASMARGS_2): Likewise.
6351         (LOADREGS_3): Likewise.
6352         (ASMARGS_3): Likewise.
6353         (LOADREGS_4): Likewise.
6354         (ASMARGS_4): Likewise.
6355         (LOADREGS_5): Likewise.
6356         (ASMARGS_5): Likewise.
6357         (LOADREGS_6): Likewise.
6358         (ASMARGS_6): Likewise.
6360 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6362         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6363         -fomit-frame-pointer.
6364         (CFLAGS-mmap64.c): Likewise.
6365         (CFLAGS-semtimedop.c): Likewise.
6366         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6367         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6368         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6369         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6371 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6373         [BZ #18928]
6374         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6375         _dl_pointer_guard member.
6376         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6377         initializer.
6378         (security_init): Always set up pointer guard.
6379         (process_envvars): Do not process LD_POINTER_GUARD.
6381 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6383         [BZ #19134]
6384         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6385         (.LC2): Likewise.
6386         (.LC3): Likewise.
6387         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6389 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6391         [BZ #19129]
6392         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6393         r0 and r1.
6395 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6397         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6399 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6401         * include/stap-probe.h: Fix macro definition formatting.
6403 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6405         [BZ #19074]
6406         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6407         load and store num_ifs.
6409 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6411         [BZ #18822]
6412         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6413         (__sched_getaffinity_new): Add libc_hidden_proto and
6414         libc_hidden_def.
6416 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6418         [BZ #19007]
6419         * scripts/localplt.awk: Also allow GOT references.
6420         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6421         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6422         with "+ REL R_386_GLOB_DAT".
6423         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6424         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6426 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6428         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6429         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6430         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6431         Likewise.
6432         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6433         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6434         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6435         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6436         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6437         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6439         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6440         Likewise.
6441         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6443 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6445         [BZ #19125]
6446         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6447         <math_private.h> and <stdint.h>.
6448         (__llround): Avoid conversions to and from long long int, and
6449         subtractions, where those might raise spurious exceptions.
6450         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6451         <math_private.h> and <stdint.h>.
6452         (__llroundf): Avoid conversions to and from long long int, and
6453         subtractions, where those might raise spurious exceptions.
6455 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6457         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6458         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6459         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6460         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6462         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6463         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6464         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6465         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6466         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6467         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6469         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6470         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6471         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6472         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6473         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6474         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6475         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6476         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6477         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6478         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6479         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6480         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6481         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6482         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6483         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6484         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6485         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6486         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6487         (__xstat64_conv): Likewise.
6488         (__xstat32_conv): Likewise.
6490 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6492         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6493         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6494         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6495         <sysdeps/unix/sysv/linux/sysdep.h>.
6496         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6497         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6498         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6500         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6501         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6502         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6503         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6504         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6509         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6510         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6512         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6513         (sysdep-dl-routines): Add sysdep.
6514         [$(subdir) == nptl] (libpthread-routines): Likewise.
6515         [$(subdir) == rt] (librt-routines): Likewise.
6516         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6517         PIC when branching to SYSCALL_ERROR_LABEL.
6518         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6520         <sysdeps/unix/sysv/linux/sysdep.h>.
6521         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6522         (SYSCALL_ERROR_ERRNO): Removed.
6523         (SYSCALL_ERROR_HANDLER): Changed to empty.
6524         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6525         (__syscall_error): New prototype.
6526         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6527         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6529 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6531         [BZ #19124]
6532         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6533         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6534         _dl_runtime_resolve_avx.
6535         (_dl_runtime_profile_avx512): Make it a hidden alias of
6536         _dl_runtime_profile_avx.
6538 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6540         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6541         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6542         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6543         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6545         [BZ #16422]
6546         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6547         New configure test.
6548         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6549         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6550         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6551         <math_private.h> and <stdint.h>.
6552         (__llrint): Avoid conversions to long long int where those might
6553         raise spurious exceptions.
6554         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6555         <math_private.h> and <stdint.h>.
6556         (__llrintf): Avoid conversions to long long int where those might
6557         raise spurious exceptions.
6559 2015-10-12  Andreas Schwab  <schwab@suse.de>
6561         [BZ #18969]
6562         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6563         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6564         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6565         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6566         $(gen-locales).
6567         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6568         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6569         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6570         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6571         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6572         $(gen-locales).
6573         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6574         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6575         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6576         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6577         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6578         ($(objpfx)tst-ftell-active-handler.out)
6579         ($(objpfx)tst-ftell-append.out)
6580         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6581         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6582         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6583         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6584         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6585         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6586         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6587         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6588         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6589         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6590         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6591         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6592         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6593         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6594         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6595         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6596         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6597         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6598         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6599         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6600         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6601         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6602         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6603         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6604         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6605         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6606         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6607         $(gen-locales).
6608         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6609         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6610         $(gen-locales).
6611         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6612         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6613         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6614         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6615         $(gen-locales).
6616         * libio/tst_wprintf2.c (main): Use explicit locale.
6617         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6619 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6621         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6622         __msg_sig_post.
6623         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6625 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6627         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6628         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6630         * sysdeps/arm/libm-test-ulps: Regenerated.
6632         [BZ #15470]
6633         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6635         [BZ #16399]
6636         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6637         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6638         and <fix-fp-int-convert-overflow.h>.
6639         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6640         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6641         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6642         and <fix-fp-int-convert-overflow.h>.
6643         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6644         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6645         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6646         <fix-fp-int-convert-overflow.h>.
6647         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6648         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6649         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6650         <fix-fp-int-convert-overflow.h>.
6651         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6652         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6653         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6654         and <fix-fp-int-convert-overflow.h>.
6655         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6656         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6657         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6658         <limits.h> and <fix-fp-int-convert-overflow.h>.
6659         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6660         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6661         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6662         and <fix-fp-int-convert-overflow.h>.
6663         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6664         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6665         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6666         and <fix-fp-int-convert-overflow.h>.
6667         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6668         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6669         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6671 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6673         [BZ #18589]
6674         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6675         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6676         $(gen-locales).
6678 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6679             Phil Blundell <pb@pbcl.net>
6681         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6682         * nptl/tst-cancel26.c: New file.
6683         * nptl/tst-cancel27.c: Likewise.
6685 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6687         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6688         __ILP32__ isn't defined.
6689         (lrint): Likewise.
6690         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6691         (lrintf): Likewise.
6692         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6693         (lrintl): Likewise.
6694         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6695         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6696         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6698 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6700         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6701         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6704         file.
6705         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6706         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6708 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6710         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6711         configure test.
6712         * sysdeps/i386/configure: Regenerated.
6713         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6714         configure test.
6715         * sysdeps/x86_64/configure: Regenerated.
6716         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6717         Make code unconditional.
6719         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6720         test.
6721         * sysdeps/i386/configure: Regenerated.
6722         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6723         test.
6724         * sysdeps/x86_64/configure: Regenerated.
6725         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6726         Make code unconditional.
6727         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6728         Likewise.
6729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6730         Likewise.
6731         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6732         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6733         code unconditional.
6734         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6735         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6736         code unconditional.
6737         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6738         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6739         code unconditional.
6740         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6741         code unconditional.
6742         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6743         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6744         code unconditional.
6745         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6746         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6747         code unconditional.
6748         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6749         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6750         code unconditional.
6751         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6752         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6753         code unconditional.
6754         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6755         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6757         [BZ #19095]
6758         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6759         mantissa to long int before shifting left.
6761 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6763         [BZ #19094]
6764         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6765         <limits.h>.
6766         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6767         when result overflows but exception would not result from cast.
6768         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6769         <limits.h>.
6770         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6771         when result overflows but exception would not result from cast.
6772         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6773         <limits.h>.
6774         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6775         when result overflows but exception would not result from cast.
6776         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6777         <limits.h>.
6778         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6779         when result overflows but exception would not result from cast.
6780         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6781         <limits.h>.
6782         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6783         when result overflows but exception would not result from cast.
6784         * math/libm-test.inc (lrint_test_data): Add more tests.
6785         (llrint_test_data): Likewise.
6787 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6789         [BZ #18872]
6790         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6791         Move out from under [$(run-built-tests) = yes] conditional.
6792         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6793         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6795 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6797         [BZ #18589]
6798         * string/Makefile (tests): Add bug-strcoll2.
6799         (LOCALES): Add cs_CZ.UTF-8.
6800         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6802         [BZ #18589]
6803         * string/bug-strcoll2.c: New file.
6804         * locale/categories.def: Revert commit
6805         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6806         * locale/langinfo.h: Likewise.
6807         * locale/localeinfo.h: Likewise.
6808         * locale/C-collate.c: Likewise.
6809         * locale/programs/ld-collate.c (collate_output): Likewise.
6810         * string/strcoll_l.c (STRDIFF): Likewise.
6811         (STRCOLL): Likewise.
6812         * wcsmbs/wcscoll_l.c: Likewise.
6814 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6816         * math/libm-test.inc (lround_test_data): Do not expect the absence
6817         of "inexact" for some tests with non-integer arguments.
6818         (llround_test_data): Likewise.
6820         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6821         test.
6822         (libc_cv_cc_sse2avx): Likewise.
6823         * sysdeps/i386/configure: Regenerated.
6824         * sysdeps/i386/i686/multiarch/Makefile
6825         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6826         [$(subdir) = math].
6827         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6828         code unconditional.
6829         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6830         Likewise.
6831         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6832         Likewise.
6833         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6834         Likewise.
6835         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6836         test.
6837         (libc_cv_cc_sse2avx): Likewise.
6838         * sysdeps/x86_64/configure: Regenerated.
6839         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6840         unconditional.
6841         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6842         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6843         unconditional.
6844         (_dl_runtime_profile)
6845         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6846         conditional code.
6847         * sysdeps/x86_64/fpu/multiarch/Makefile
6848         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6849         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6850         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6851         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6852         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6853         * sysdeps/x86_64/fpu/multiarch/e_log.c
6854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6855         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6856         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6857         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6858         Likewise.
6859         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6860         Likewise.
6861         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6862         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6863         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6864         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6865         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6866         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6867         (HAVE_SSE2AVX_SUPPORT): Likewise.
6869 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6871         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6872         instead of #pragma optimize.
6874 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6876         [BZ #17195]
6877         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6878         as is similarly done in systrim and _int_free already.
6880 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6882         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6884 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6886         [BZ #19088]
6887         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6888         <limits.h>.
6889         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6890         overflows but exception would not result from cast.
6891         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6892         and <limits.h>.
6893         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6894         overflows but exception would not result from cast.
6895         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6896         <limits.h>.
6897         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6898         overflows but exception would not result from cast.
6899         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6900         <limits.h>.
6901         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6902         overflows but exception would not result from cast.
6903         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6904         <limits.h>.
6905         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6906         overflows but exception would not result from cast.
6907         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6908         <limits.h>.
6909         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6910         overflows but exception would not result from cast.
6911         * math/libm-test.inc (lround_test_data): Add more tests.
6912         (llround_test_data): Likewise.
6914 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6916         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6917         (CFLAGS-ialloc.c): Ditto.
6918         (CFLAGS-scheck.c): Ditto.
6920 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6922         [BZ #19086]
6923         * manual/filesys.texi (Storage Allocation): Fix argument order for
6924         posix_fallocate64.
6926 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6928         [BZ #19085]
6929         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6930         exponent below 48 inside case for non-overflowing exponent.
6931         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6933 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6935         * iconvdata/cp737.h (from_idx): Add const.
6936         * iconvdata/cp775.h (from_idx): Likewise.
6938 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6940         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6941         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6942         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6944         [BZ #19079]
6945         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6946         file, conditioned on [!_LP64].
6947         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6948         [!_LP64] (__lround): Do not define as function or alias.
6949         [!_LP64] (lround): Likewise.
6950         [!_LP64] (__lroundl): Likewise.
6951         [!_LP64] (lroundl): Likewise.
6952         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6953         macro.
6954         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6955         Likewise.
6957 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6959         * math/libm-test.inc (lrint_test_data): Add more tests.
6960         (llrint_test_data): Likewise.
6961         (lround_test_data): Likewise.
6962         (llround_test_data): Likewise.
6964         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6965         (llrint_test_data): Add tests used for lrint.
6967         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6968         test.
6969         * sysdeps/i386/configure: Regenerated.
6970         * sysdeps/i386/i686/multiarch/Makefile
6971         [$(config-cflags-sse4) = yes]: Make code unconditional.
6972         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6973         Likewise.
6974         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6975         Likewise.
6976         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6977         test.
6978         * sysdeps/x86_64/configure: Regenerated.
6979         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6980         Make code unconditional.
6981         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6982         Likewise.
6983         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6984         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6986         * scripts/rpm2dynsym.sh: Remove file.
6988 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6990         * configure.ac (libc_cv_cxx_thread_local): Define.
6991         * configure: Regenerate.
6992         * config.make.in (have-cxx-thread_local): Define.
6993         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6994         (LDLIBS-tst-thread_local1): Define.
6995         (tests): Add tst-thread_local1.
6996         [have-cxx-thread_local != yes] (tests-unsupported): Add
6997         tst-thread_local1.
6998         * nptl/tst-thread_local1.cc: New file.
7000 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7002         [BZ #19078]
7003         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7004         (u_thres): Likewise.
7005         (__expl): Determine whether to call __kernel_standard_l based on
7006         value of result, not argument.
7008         * math/libm-test.inc (scalb_test_data): Add more expectations for
7009         the "inexact" exception.
7011         [BZ #19077]
7012         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7013         0.0L for argument 1.0L.
7015         [BZ #19076]
7016         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7017         constant 0.0L when computing infinite result.
7019 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7021         [BZ #10432]
7022         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7023         malloc_usable_size.
7025 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7027         [BZ #19018]
7028         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7029         Mangle function pointer before storing it.
7030         (__call_tls_dtors): Demangle function pointer before calling it.
7032 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7034         [BZ #19012]
7035         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7036         Clean up on failure.
7038 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7040         [BZ #19071]
7041         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7042         long int variable to store possibly incremented high part of
7043         mantissa.
7044         * math/libm-test.inc (lround_test_data): Add tests used for
7045         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7046         for tests requiring 64-bit long.  Do not condition tests on
7047         [TEST_FLOAT] unnecessarily.
7048         (llround_test_data): Add tests used for lround.  Add another
7049         expectation for the "inexact" exception.  Do not condition tests
7050         on [TEST_FLOAT] unnecessarily.
7052         [BZ #887]
7053         [BZ #19049]
7054         [BZ #19050]
7055         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7056         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7057         <fix-int-fp-convert-zero.h>.
7058         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7059         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7060         <fix-int-fp-convert-zero.h>.
7061         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7062         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7063         <fix-int-fp-convert-zero.h>.
7064         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7065         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7066         <fix-int-fp-convert-zero.h>.
7067         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7068         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7069         <fix-int-fp-convert-zero.h>.
7070         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7071         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7072         <fix-int-fp-convert-zero.h>.
7073         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7074         * sysdeps/ieee754/flt-32/s_erff.c: Include
7075         <fix-int-fp-convert-zero.h>.
7076         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7077         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7078         <fix-int-fp-convert-zero.h>.
7079         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7081         <fix-int-fp-convert-zero.h>.
7082         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7084         <fix-int-fp-convert-zero.h>.
7085         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7086         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7087         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7088         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7089         file.
7090         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7092 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7096 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7098         [BZ #19059]
7099         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7100         overflowing computation.
7101         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7102         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7104         Likewise.
7105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7106         Likewise.
7107         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7108         Likewise.
7109         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7110         Likewise.
7111         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7112         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7113         Likewise.
7114         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7115         Likewise.
7116         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7118         * nss/rewrite_field.c (__nss_rewrite_field): Use
7119         internal_function.
7120         * nss/valid_field.c (__nss_valid_field): Likewise.
7121         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7123 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7125         [BZ #18724]
7126         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7127         (__nss_invalid_field_characters, __nss_valid_field)
7128         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7129         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7130         tst-field.c: New file.
7131         * nss/Makefile (routines): Add valid_field, rewrite_field.
7132         (tests-static): Define unconditionally.
7133         (tests): Include tests-static.
7134         [build-static-nss] (tests-static): Use append.
7135         [build-static-nss] (tests): Remove modification.
7136         * nss/getent.c (print_group): Call putgrent.  Report error.
7137         (print_gshadow): Call putsgent.  Report error.
7138         (print_passwd): Call putpwent.  Report error.
7139         (print_shadow): Call putspent.  Report error.
7140         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7141         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7142         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7143         name, password, directory, shell fields for valid syntax.  Rewrite
7144         GECOS field to match syntax.
7145         * pwd/Makefile (tests): Add tst-putpwent.
7146         * pwd/tst-putpwent.c: New file.
7147         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7148         Check grName, grpasswd, gr_mem fields for valid syntax.
7149         Change loop variable i to size_t.
7150         * grp/Makefile (tests): Add tst-putgrent.
7151         * grp/tst-putgrent.c: New file.
7152         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7153         valid syntax.
7154         * shadow/Makefile (tests): Add tst-putspent.
7155         * shadow/tst-putspent.c: New file.
7156         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7157         sg_mem fields for valid syntax.
7158         * gshadow/Makefile (tests): Add tst-putsgent.
7159         * gshadow/tst-putsgent.c: New file.
7161 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7163         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7164         assembly instructions.
7166 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7168         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7169         prefix from operands.
7171 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #16347]
7174         [BZ #19046]
7175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7176         <libc-internal.h>.
7177         (MAXLGM): Do not use diagnostic control macros.
7178         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7179         threshold for ldbl-128ibm.
7180         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7181         instead of multiplying by log then subtracting.
7182         * math/auto-libm-test-in: Add more tests of lgamma.
7183         * math/auto-libm-test-out: Regenerated.
7185         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7186         (TYPE_HEX_DIG): Likewise.
7187         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7188         precisions when printing floating-point numbers.
7189         (check_float_internal): Likewise.
7191 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7193         [BZ #16620]
7194         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7195         of log (10) rounded downward to 48 bits.
7196         (log10_low): Use corresponding low part of log (10).
7198         [BZ #19032]
7199         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7200         compute result as (x - x) / (x - x) not as 0 / 0.
7201         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7202         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7204         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7205         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7206         and expm1.
7207         * math/auto-libm-test-out: Regenerated.
7208         * math/libm-test.inc (acos_test_data): Add more tests.
7209         (asin_test_data): Likewise.
7210         (asinh_test_data): Likewise.
7211         (atan_test_data): Likewise.
7212         (atanh_test_data): Likewise.
7213         (atan2_test_data): Likewise.
7214         (cbrt_test_data): Likewise.
7215         (ceil_test_data): Likewise.
7216         (copysign_test_data): Likewise.
7217         (cos_test_data): Likewise.
7218         (cosh_test_data): Likewise.
7219         (erf_test_data): Likewise.
7220         (erfc_test_data): Likewise.
7221         (exp_test_data): Likewise.
7222         (exp10_test_data): Likewise.
7223         (exp2_test_data): Likewise.
7224         (expm1_test_data): Likewise.
7225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7227 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7229         [BZ #19006]
7230         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7231         to ...
7232         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7233         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7234         to ...
7235         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7236         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7237         to ...
7238         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7239         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7240         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7241         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7242         to ...
7243         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7244         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7245         Moved to ...
7246         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7248         Moved to ...
7249         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7250         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7251         to ...
7252         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7253         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7254         Moved to ...
7255         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7256         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7257         to ...
7258         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7259         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7260         Removed.
7261         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7262         Likewise.
7263         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7264         Likewise.
7265         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7266         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7267         Likewise.
7268         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7269         Likewise.
7270         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7271         Likewise.
7272         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7273         Likewise.
7274         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7277         Likewise.
7278         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7279         Likewise.
7280         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7281         Likewise.
7282         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7283         Likewise.
7284         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7285         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7290         Likewise.
7291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7292         Likewise.
7293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7294         Likewise.
7295         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7296         Replace ../i486/pthread_cond_timedwait.S with
7297         ../pthread_cond_timedwait.S.
7299 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7301         * math/libm-test.inc (acos_test_data): Refine expectations for
7302         errno and "inexact" exceptions.
7303         (acosh_test_data): Likewise.
7304         (asin_test_data): Likewise.
7305         (asinh_test_data): Likewise.
7306         (atan_test_data): Likewise.
7307         (atanh_test_data): Likewise.
7308         (atan2_test_data): Likewise.
7309         (cbrt_test_data): Likewise.
7310         (ceil_test_data): Likewise.
7311         (copysign_test_data): Likewise.
7312         (cosh_test_data): Likewise.
7313         (erf_test_data): Likewise.
7314         (erfc_test_data): Likewise.
7315         (exp_test_data): Likewise.
7316         (exp10_test_data): Likewise.
7317         (exp2_test_data): Likewise.
7318         (expm1_test_data): Likewise.
7319         (fabs_test_data): Likewise.
7320         (floor_test_data): Likewise.
7321         (fma_test_data): Likewise.
7322         (fmax_test_data): Likewise.
7323         (fmin_test_data): Likewise.
7324         (fmod_test_data): Likewise.
7325         (fpclassify_test_data): Likewise.
7326         (frexp_test_data): Likewise.
7327         (hypot_test_data): Likewise.
7328         (ilogb_test_data): Likewise.
7329         (isgreater_test_data): Likewise.
7330         (isgreaterequal_test_data): Likewise.
7331         (isinf_test_data): Likewise.
7332         (isless_test_data): Likewise.
7333         (islessequal_test_data): Likewise.
7334         (islessgreater_test_data): Likewise.
7335         (isnan_test_data): Likewise.
7336         (isnormal_test_data): Likewise.
7337         (issignaling_test_data): Likewise.
7338         (isunordered_test_data): Likewise.
7339         (j0_test_data): Likewise.
7340         (j1_test_data): Likewise.
7341         (jn_test_data): Likewise.
7342         (lgamma_test_data): Likewise.
7343         (lrint_test_data): Likewise.
7344         (llrint_test_data): Likewise.
7345         (log_test_data): Likewise.
7346         (log10_test_data): Likewise.
7347         (log1p_test_data): Likewise.
7348         (log2_test_data): Likewise.
7349         (logb_test_data): Likewise.
7350         (lround_test_data): Likewise.
7351         (llround_test_data): Likewise.
7352         (modf_test_data): Likewise.
7353         (nearbyint_test_data): Likewise.
7354         (nextafter_test_data): Likewise.
7355         (nexttoward_test_data): Likewise.
7356         (pow_test_data): Likewise.
7357         (remainder_test_data): Likewise.
7358         (remquo_test_data): Likewise.
7359         (rint_test_data): Likewise.
7360         (round_test_data): Likewise.
7361         (signbit_test_data): Likewise.
7362         (sinh_test_data): Likewise.
7363         (sqrt_test_data): Likewise.
7364         (tanh_test_data): Likewise.
7365         (tgamma_test_data): Likewise.
7366         (trunc_test_data): Likewise.
7367         (y0_test_data): Likewise.
7368         (y1_test_data): Likewise.
7369         (yn_test_data): Likewise.
7370         (significand_test_data): Likewise.
7372 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7374         * manual/filesys.texi (Storage Allocation): Document that
7375         posix_fallocate emulation fails when fd is open with O_WRONLY.
7377 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7379         [BZ #19016]
7380         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7381         allow more cases with X^2 + Y^2 >= 0.5.
7382         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7383         normal element in sum instead of special-casing based on values of
7384         arguments.
7385         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7386         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7387         -1 as normal element in sum instead of special-casing based on
7388         values of arguments.
7389         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7390         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7391         (__x2y2m1): Update comment.
7392         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7393         as normal element in sum instead of special-casing based on values
7394         of arguments.
7395         * math/s_clog.c (__clog): Handle more cases using log1p without
7396         hypot.
7397         * math/s_clog10.c (__clog10): Likewise.
7398         * math/s_clog10f.c (__clog10f): Likewise.
7399         * math/s_clog10l.c (__clog10l): Likewise.
7400         * math/s_clogf.c (__clogf): Likewise.
7401         * math/s_clogl.c (__clogl): Likewise.
7402         * math/auto-libm-test-in: Add more tests of clog and clog10.
7403         * math/auto-libm-test-out: Regenerated.
7404         * sysdeps/i386/fpu/libm-test-ulps: Update.
7405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407 2015-09-28  Martin Sebor  <msebor@redhat.com>
7409         [BZ #18969]
7410         * string/Makefile (LOCALES): Define.
7411         (gen-locales.mk): Include.
7412         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7413         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7414         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7415         on setlocale failure.
7417 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7419         [BZ #18985]
7420         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7421         (__strftime_internal): Likewise.
7422         * time/tst-strftime.c (do_bz18985): New test.
7423         (do_test): Call it.
7425 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7427         [BZ #18956]
7428         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7429         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7430         extracting high part.
7431         * math/auto-libm-test-in: Add another test of pow.
7432         * math/auto-libm-test-out: Regenerated.
7433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7435 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7437         [BZ #18825]
7438         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7439         New macro.
7440         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7441         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7442         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7443         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7444         DBL_NARROW_EVAL, reloading the PIC register as needed.
7445         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7446         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7447         FLT_NARROW_EVAL.  Use separate return path for case when first
7448         argument is NaN.
7449         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7450         DEFINE_LDBL_MIN.
7451         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7452         PIC register.
7453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7454         math_check_force_underflow_nonneg.
7455         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7456         underflow for subnormal result.
7457         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7458         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7459         math_check_force_underflow_nonneg.
7460         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7461         math_check_force_underflow.
7462         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7463         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7464         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7465         DEFINE_LDBL_MIN.
7466         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7467         * math/auto-libm-test-in: Add more tests of pow.
7468         * math/auto-libm-test-out: Regenerated.
7470 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7472         * nss/bug17079.c (init_test_items): Add diagnostic for
7473         inconsistent entries.
7474         (test_buffer_size): Skip inconsistent entries.
7476 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #13304]
7479         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7480         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7481         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7483         [BZ #13304]
7484         * sysdeps/microblaze/s_fma.c: New file.
7485         * sysdeps/microblaze/s_fmaf.c: Likewise.
7486         * sysdeps/microblaze/sfp-machine.h: Likewise.
7488 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7490         [BZ #17250]
7491         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7492         member.
7494 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7496         [BZ #18803]
7497         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7498         (MO): New macro.
7499         (__ieee754_hypot) [PIC]: Load PIC register.
7500         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7501         DBL_NARROW_EVAL.
7502         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7503         math_check_force_underflow_nonneg in case where result might be
7504         tiny.
7505         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7506         Likewise.
7507         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7508         Likewise.
7509         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7510         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7511         * math/auto-libm-test-in: Add more tests of hypot.
7512         * math/auto-libm-test-out: Regenerated.
7514 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7516         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7518 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7520         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7521         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7522         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7523         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7524         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7525         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7526         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7528         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7529         LOAD_PIC_REG.
7531         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7532         (FLT_CHECK_FORCE_UFLOW): Likewise.
7533         (DBL_CHECK_FORCE_UFLOW): Likewise.
7534         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7535         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7536         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7537         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7538         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7539         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7540         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7541         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7542         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7543         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7544         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7545         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7546         (flt_min): Replace with use of DEFINE_FLT_MIN.
7547         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7548         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7549         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7550         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7551         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7552         (flt_min): Replace with use of DEFINE_FLT_MIN.
7553         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7554         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7555         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7556         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7557         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7558         (flt_min): Replace with use of DEFINE_FLT_MIN.
7559         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7560         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7561         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7562         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7563         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7564         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7565         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7566         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7567         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7568         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7569         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7570         (flt_min): Replace with use of DEFINE_FLT_MIN.
7571         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7572         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7573         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7574         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7575         main computation.
7576         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7577         (flt_min): Replace with use of DEFINE_FLT_MIN.
7578         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7579         main computation.
7580         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7581         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7582         (MO): New macro.
7583         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7584         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7585         (flt_min): Replace with use of DEFINE_FLT_MIN.
7586         (MO): New macro.
7587         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7588         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7589         (__log1pl): Use MO.
7591         [BZ #19003]
7592         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7593         $(config-cflags-nofma).
7595 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7597         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7599 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7601         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7602         (TWO127): Likewise.
7604         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7605         (min_of_type): Likewise.
7606         (math_check_force_underflow): Likewise.
7607         (math_check_force_underflow_nonneg): Likewise.
7608         (math_check_force_underflow_complex): Likewise.
7609         * math/e_exp2l.c (__ieee754_exp2l): Use
7610         math_check_force_underflow_nonneg.
7611         * math/k_casinh.c (__kernel_casinh): Likewise.
7612         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7613         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7614         * math/s_catan.c (__catan): Use
7615         math_check_force_underflow_complex.
7616         * math/s_catanf.c (__catanf): Likewise.
7617         * math/s_catanh.c (__catanh): Likewise.
7618         * math/s_catanhf.c (__catanhf): Likewise.
7619         * math/s_catanhl.c (__catanhl): Likewise.
7620         * math/s_catanl.c (__catanl): Likewise.
7621         * math/s_ccosh.c (__ccosh): Likewise.
7622         * math/s_ccoshf.c (__ccoshf): Likewise.
7623         * math/s_ccoshl.c (__ccoshl): Likewise.
7624         * math/s_cexp.c (__cexp): Likewise.
7625         * math/s_cexpf.c (__cexpf): Likewise.
7626         * math/s_cexpl.c (__cexpl): Likewise.
7627         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7628         * math/s_clog10.c (__clog10): Likewise.
7629         * math/s_clog10f.c (__clog10f): Likewise.
7630         * math/s_clog10l.c (__clog10l): Likewise.
7631         * math/s_clogf.c (__clogf): Likewise.
7632         * math/s_clogl.c (__clogl): Likewise.
7633         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7634         * math/s_csinf.c (__csinf): Likewise.
7635         * math/s_csinh.c (__csinh): Likewise.
7636         * math/s_csinhf.c (__csinhf): Likewise.
7637         * math/s_csinhl.c (__csinhl): Likewise.
7638         * math/s_csinl.c (__csinl): Likewise.
7639         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7640         * math/s_csqrtf.c (__csqrtf): Likewise.
7641         * math/s_csqrtl.c (__csqrtl): Likewise.
7642         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7643         * math/s_ctanf.c (__ctanf): Likewise.
7644         * math/s_ctanh.c (__ctanh): Likewise.
7645         * math/s_ctanhf.c (__ctanhf): Likewise.
7646         * math/s_ctanhl.c (__ctanhl): Likewise.
7647         * math/s_ctanl.c (__ctanl): Likewise.
7648         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7649         instead of volatile.
7650         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7651         math_check_force_underflow.
7652         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7653         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7654         volatile when forcing underflow.
7655         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7656         math_check_force_underflow_nonneg.
7657         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7658         Likewise.
7659         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7660         math_check_force_underflow.
7661         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7662         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7663         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7664         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7665         math_check_force_underflow_nonneg.
7666         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7667         math_check_force_underflow.
7668         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7670         instead of volatile.
7671         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7672         math_check_force_underflow.
7673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7675         math_check_force_underflow_nonneg.
7676         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7677         math_check_force_underflow.
7678         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7679         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7680         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7681         math_check_force_underflow_nonneg.
7682         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7683         Likewise.
7684         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7685         math_check_force_underflow.
7686         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7687         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7688         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7689         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7690         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7691         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7692         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7693         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7694         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7695         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7696         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7697         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7698         Likewise.
7699         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7700         math_check_force_underflow_nonneg.
7701         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7702         Likewise.
7703         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7704         math_check_force_underflow.
7705         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7706         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7707         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7708         Likewise.
7709         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7710         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7711         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7712         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7713         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7714         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7716         instead of volatile.
7717         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7718         math_check_force_underflow.
7719         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7721         math_check_force_underflow.
7722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7723         Likewise.
7724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7725         Use math_check_force_underflow_nonneg.
7726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7727         math_check_force_underflow.
7728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7729         Likewise.
7730         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7731         Likewise.
7732         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7733         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7734         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7735         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7738         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7739         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7741         math_check_force_underflow_nonneg.
7742         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7743         math_check_force_underflow.
7744         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7745         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7746         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7747         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7748         math_check_force_underflow_nonneg.
7749         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7750         math_check_force_underflow.
7751         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7752         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7753         instead of volatile.
7754         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7755         math_check_force_underflow.
7757         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7758         * stdlib/strtod_l.c: Include <math_private.h>.
7759         (overflow_value): Use math_narrow_eval.
7760         (underflow_value): Likewise.
7761         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7762         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7763         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7764         (__ieee754_gamma_r): Likewise.
7765         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7766         Likewise.
7767         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7768         Likewise.
7769         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7770         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7771         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7772         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7773         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7774         (__ieee754_gammaf_r): Likewise.
7775         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7776         Likewise.
7777         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7778         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7779         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7780         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7781         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7782         volatile.
7783         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7785         math_narrow_eval.
7786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7787         Likewise.
7788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7789         Likewise.
7790         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7791         Likewise.
7792         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7793         volatile.
7794         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7795         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7796         math_narrow_eval.
7797         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7798         Likewise.
7799         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7800         Likewise.
7802 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7804         * nptl/Versions: Remove ignored symbols.
7806 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7808         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7809         * nss/Makefile (tests): Update.
7811 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7813         * nss/bug18287.c: New file.
7814         * nss/Makefile (tests): Add bug18287.
7816 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7818         * mach/Versions (__mach_host_self_): Add symbol.
7820 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7822         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7823         vm_page_size.
7825 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7827         Really fix sysdeps/i386/fpu/s_scalbn.S build
7829         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7830         (libc: GLIBC_2_22): Remove unused version set.
7832 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7834         * config.make.in (enable-timezone-tools): New variable.
7835         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7836         (enable_timezone_tools): Export to generated files.
7837         * configure: Regenerate.
7838         * INSTALL: Regenerate.
7839         * manual/install.texi (--disable-timezone-tools): Document new flag.
7840         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7841         ifeq ($(enable-timezone-tools),yes) check.
7843 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7845         * timezone/Makefile: Revert previous change.
7847         [BZ #18980]
7848         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7849         (DEFINE_DBL_MIN): Likewise.
7850         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7851         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7852         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7853         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7854         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7855         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7856         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7857         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7858         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7859         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7860         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7861         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7862         (flt_min): Replace with use of DEFINE_FLT_MIN.
7863         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7864         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7865         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7866         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7867         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7868         (flt_min): Replace with use of DEFINE_FLT_MIN.
7869         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7870         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7871         (flt_min): Replace with use of DEFINE_FLT_MIN.
7872         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7873         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7874         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7875         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7876         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7877         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7878         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7879         (__ieee754_pow): Use DBL_NARROW_EVAL.
7880         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7881         (__ieee754_powf): Use FLT_NARROW_EVAL.
7882         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7883         (__ieee754_expf_sse2): Convert double-precision result to single
7884         precision.
7885         * sysdeps/i386/fpu/libm-test-ulps: Update.
7887 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7889         * timezone/Makefile: Ignore unused variable errors due to private.h
7890         (time_t_min) and (time_t_max).
7891         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7892         Likewise.
7894 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7896         [BZ #18981]
7897         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7898         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7899         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7900         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7901         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7902         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7903         (__scalbn): Use DBL_NARROW_EVAL.
7904         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7905         (__scalbnf): Use FLT_NARROW_EVAL.
7907 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7909         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7910         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7911         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7912         * stdio-common/printf_fp.c (___printf_fp):
7913         Use signbit to get the sign. Use isinf macro to allow inlining.
7914         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7915         * stdio-common/printf_size.c (__printf_size): Likewise.
7917 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7919         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7921 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7923         [BZ #18980]
7924         * sysdeps/generic/math_private.h: Include <float.h>.
7925         (math_narrow_eval): New macro.
7926         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7927         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7928         math_narrow_eval on overflowing return value.
7929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7930         Likewise.
7931         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7932         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7933         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7934         Likewise.
7935         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7937 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7939         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7940         * math/Makefile: Remove isinf_ns.c.
7941         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7942         * math/multc3.c (__multc3): Likewise.
7943         * math/s_casin.c (__casin): Likewise.
7944         * math/s_casinf.c (__casinf): Likewise.
7945         * math/s_casinl.c (__casinl): Likewise.
7946         * math/s_cproj.c (__cproj): Likewise.
7947         * math/s_cprojf.c (__cprojf): Likewise.
7948         * math/s_cprojl.c (__cprofl): Likewise.
7949         * math/s_ctan.c (__ctan): Likewise.
7950         * math/s_ctanf.c (__ctanf): Likewise.
7951         * math/s_ctanh.c (__ctanh): Likewise.
7952         * math/s_ctanhf.c (__ctanhf): Likewise.
7953         * math/s_ctanhl.c (__ctanhl): Likewise.
7954         * math/s_ctanl.c (__ctanl): Likewise.
7955         * math/w_fmod.c (__fmod): Likewise.
7956         * math/w_fmodf.c (__fmodf): Likewise.
7957         * math/w_fmodl.c (_fmodl): Likewise.
7958         * math/w_remainder.c (__remainder): Likewise.
7959         * math/w_remainderf.c (__remainderf): Likewise.
7960         * math/w_remainderl.c (__remainderl): Likewise.
7961         * math/w_scalb.c (__scalb): Likewise.
7962         * math/w_scalbf.c (__scalbf): Likewise.
7963         * math/w_scalbl.c (__scalbl): Likewise.
7964         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7965         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7966         with isinf.
7967         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7968         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7969         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7970         __isinf_nsf with isinf.
7971         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7972         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7973         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7974         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7975         with isinf.
7976         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7977         __isinf_nsl with isinf.
7978         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7979         with isinf.
7980         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7981         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7982         __isinf_nsl with isinf.
7983         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7984         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7985         with isinf.
7987 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7989         * resolv/base64.c (rcsid): Remove unused static.
7990         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7991         static.  (tqpi1): Likewise.
7992         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7993         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7994         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7995         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7997         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7999         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8000         Likewise.
8002 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8004         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8005         <nptl/pthreadP.h>.
8006         (_longjmp_unwind): Use __libc_ptf_call.
8007         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8009 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8011         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8012         * sysdeps/arm/__longjmp.S: Likewise.
8014 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8016         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8017         Use __builtin_signbit.
8018         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8019         Use __builtin_signbitf.
8020         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8021         Use __builtin_signbitl.
8022         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8023         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8025 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8027         [BZ #15367]
8028         [BZ #17441]
8030         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8031         * math/math.h (fpclassify): Use __builtin_fpclassify when
8032         available.  (signbit): Use __builtin_signbit(f/l).
8033         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8034         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8035         (isinf): Use __builtin_isinf_sign.
8037 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8039         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8040         * benchtests/bench-math-inlines.c: New benchmark.
8041         * benchtests/bench-util.h: New file.
8042         * benchtests/bench-util.c: New file.
8043         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8045 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8047         * elf/tst-dlmopen1.c: Define TEST_SO.
8048         (do_test): Use TEST_SO.
8050         * elf/dl-load.c: Include libc-internal.h.
8051         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8053 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8055         [BZ #17887]
8056         * time/strptime_l.c (__strptime_internal): Make %z accept
8057         [+-]HH:MM time zones.
8059 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8061         [BZ #17886]
8062         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8063         valid time zone.
8065 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8067         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8068         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8069         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8070         (__ASSUME_FDATASYNC): Delete.
8072 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8074         * conform/linknamespace.pl: Require weak undefined symbols to be
8075         in the standard namespace.
8076         (%strong_syms): Rename to %seen_syms.
8077         (%strong_seen): Rename to %seen_where.
8079 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8081         [BZ #18970]
8082         * misc/error.c (error): Replace pthread_setcancelstate with
8083         __pthread_setcancelstate.
8084         (error_at_line): Likewise.
8085         * posix/wordexp.c (parse_comm): Likewise.
8086         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8087         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8088         (__pthread_setcancelstate): This.
8089         (pthread_setcancelstate): Add an alias.
8090         * nptl/nptl-init.c (pthread_functions): Replace
8091         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8092         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8093         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8094         hidden_proto.
8095         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8096         it with hidden_def.
8097         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8098         (pthread_setcancelstate): Renamed to ...
8099         (__pthread_setcancelstate): This.
8100         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8101         __libc_ptf_call with __pthread_setcancelstate.
8103 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8104             Andreas Schwab  <schwab@suse.de>
8106         [BZ #17118]
8107         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8108         result when imaginary part of argument is infinite using sine and
8109         cosine.
8110         * math/s_ctanf.c (__ctanf): Likewise.
8111         * math/s_ctanl.c (__ctanl): Likewise.
8112         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8113         of result when real part of argument is infinite using sine and
8114         cosine.
8115         * math/s_ctanhf.c (__ctanhf): Likewise.
8116         * math/s_ctanhl.c (__ctanhl): Likewise.
8117         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8118         (ctanh_test_data): Add more tests of ctanh.
8120 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #15384]
8123         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8124         bit-mask as in subtraction.
8125         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8126         Likewise.
8127         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8128         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8129         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8131         [BZ #18951]
8132         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8133         underflow exception for small results.
8134         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8135         Likewise.
8136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8137         Likewise.
8138         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8139         Likewise.
8140         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8141         Likewise.
8142         * math/auto-libm-test-in: Add more tests of tgamma.
8143         * math/auto-libm-test-out: Regenerated.
8145 2015-09-17  Andreas Schwab  <schwab@suse.de>
8147         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8149 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #18977]
8152         * math/bits/mathcalls.h
8153         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8154         not declare.
8155         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8156         Likewise.
8157         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8158         Likewise.
8159         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8160         Likewise.
8161         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8162         Likewise.
8163         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8164         Likewise.
8165         * conform/data/math.h-data
8166         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8167         function.
8168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8169         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8170         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8171         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8172         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8173         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8174         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8175         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8176         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8177         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8178         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8180         [BZ #6803]
8181         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8182         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8183         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8184         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8185         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8186         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8187         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8188         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8189         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8190         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8191         Likewise.
8192         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8193         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8194         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8196         long_double_symbol calls.
8197         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8198         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8199         strong alias of __ldexpl.
8200         (scalbnl): Define using long_double_symbol.
8201         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8202         Remove alias.
8203         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8204         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8205         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8206         (scalbln_test_data): Add more errno expectations.
8208 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8210         Cache the host port like we cache the task port.  This way we do not
8211         need to call the kernel just to get the port.  Furthermore, we no
8212         longer increase the reference count on every invocation of
8213         `mach_host_self'.
8215         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8216         Protect declarations against the macro expansion.
8217         * mach/mach_init.c (__mach_host_self_): New variable.
8218         (mach_init): Initialize `__mach_host_self_'.
8219         * mach/mach_init.h (__mach_host_self_): New declaration.
8220         (__mach_host_self, mach_host_self): New macros.
8221         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8222         Release reference.
8224 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #4404]
8227         * po/de.po: Update from Translation Project.
8229         [BZ #16415]
8230         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8231         (__expm1l): Remove code to handle positive infinity and overflow.
8232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8233         variable.
8234         (__expm1l): Remove code to handle positive infinity and overflow.
8236 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8237             Paul Pluzhnikov  <ppluzhnikov@google.com>
8239         [BZ #18872]
8240         * stdio-common/Makefile (tst-printf-bz18872): New test.
8241         (tst-printf-bz18872-mem.out): Likewise.
8242         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8243         * stdio-common/vfprintf.c: Fix memory leaks.
8245 2015-09-16  Andreas Schwab  <schwab@suse.de>
8247         [BZ #17244]
8248         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8249         Remove extra va_start/va_end calls.
8251         [BZ #17243]
8252         * posix/execl.c (execl): Add missing va_end.
8253         * posix/execle.c (execle): Likewise.
8254         * posix/execlp.c (execlp): Likewise.
8256 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8258         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8259         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8261 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8263         [BZ #18967]
8264         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8265         undefine around includes of <bits/mathcalls.h>.
8266         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8267         not declare function.
8268         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8269         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8270         (scalb): Likewise.
8271         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8272         not define macro.
8273         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8274         variable.
8275         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8276         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8277         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8279         [BZ #18857]
8280         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8281         return non-finite argument without doing ordered comparisons on
8282         it.
8284         [BZ #16296]
8285         * math/fenv.h (fegetround): Use __attribute_pure__.
8286         * include/fenv.h (__fegetround): Likewise.
8288         [BZ #18595]
8289         * math/s_ctan.c (__ctan): Force underflow exception for results
8290         whose real or imaginary part has small absolute value.
8291         * math/s_ctanf.c (__ctanf): Likewise.
8292         * math/s_ctanh.c (__ctanh): Likewise.
8293         * math/s_ctanhf.c (__ctanhf): Likewise.
8294         * math/s_ctanhl.c (__ctanhl): Likewise.
8295         * math/s_ctanl.c (__ctanl): Likewise.
8296         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8297         and ctanh.  Add more tests of ctan and ctanh.
8299         [BZ #15918]
8300         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8301         handling of cases where one argument is an infinity.
8303         [BZ #18875]
8304         [BZ #18966]
8305         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8306         (MO): New macro.
8307         (__ieee754_exp10): For small results, force underflow exception
8308         and remove excess range and precision from return value.
8309         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8310         (MO): New macro.
8311         (__ieee754_exp10f): For small results, force underflow exception
8312         and remove excess range and precision from return value.
8313         * math/auto-libm-test-in: Add more tests of exp10.
8314         * math/auto-libm-test-out: Regenerated.
8316 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8318         [BZ #18875]
8319         [BZ #18961]
8320         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8321         (MO): New macro.
8322         (__ieee754_exp): For small results, force underflow exception and
8323         remove excess range and precision from return value.
8324         (__exp_finite): Likewise.
8325         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8326         (MO): New macro.
8327         (__ieee754_expf): For small results, force underflow exception and
8328         remove excess range and precision from return value.
8329         (__expf_finite): Likewise.
8330         * math/auto-libm-test-in: Add more tests of exp.
8331         * math/auto-libm-test-out: Regenerated.
8333         [BZ #16521]
8334         [BZ #18875]
8335         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8336         small results.
8337         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8338         (MO): New macro.
8339         (__ieee754_exp2): For small results, force underflow exception and
8340         remove excess range and precision from return value.
8341         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8342         (MO): New macro.
8343         (__ieee754_exp2f): For small results, force underflow exception
8344         and remove excess range and precision from return value.
8345         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8346         (MO): New macro.
8347         (__ieee754_exp2l): Force underflow exception for small results.
8348         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8349         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8350         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8351         (MO): New macro.
8352         (__ieee754_exp2l): Force underflow exception for small results.
8353         * math/auto-libm-test-in: Add more tests or exp2.
8354         * math/auto-libm-test-out: Regenerated.
8356 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8358         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8360         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8361         /dev/null.
8363 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8365         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8366         io fs process)): Drop spurious backslash.
8368 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8370         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8371         Use sysinfo system call instead of parsing /proc/meminfo.
8372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8373         Likewise.
8375 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8377         [BZ #16985]
8378         * programs/localedef.c (main): Display argv[remaining] when
8379         output_path is NULL.
8381 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8383         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8384         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8385         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8386         tanh.
8387         * math/auto-libm-test-out: Regenerated.
8388         * sysdeps/i386/fpu/libm-test-ulps: Update.
8389         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8390         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8393 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8395         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8396         Use 'override' keyword to freeze the value here, preventing
8397         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8399 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8401         [BZ #14912]
8402         * sysdeps/aarch64/bits/atomic.h: Move to ...
8403         * sysdeps/aarch64/atomic-machine.h: ...here.
8404         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8405         _AARCH64_ATOMIC_MACHINE_H.
8406         * sysdeps/alpha/bits/atomic.h: Move to ...
8407         * sysdeps/alpha/atomic-machine.h: ...here.
8408         * sysdeps/arm/bits/atomic.h: Move to ...
8409         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8410         * bits/atomic.h: Move to ...
8411         * sysdeps/generic/atomic-machine.h: ...here.
8412         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8413         * sysdeps/i386/bits/atomic.h: Move to ...
8414         * sysdeps/i386/atomic-machine.h: ...here.
8415         * sysdeps/ia64/bits/atomic.h: Move to ...
8416         * sysdeps/ia64/atomic-machine.h: ...here.
8417         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8418         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8419         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8420         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8421         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8422         * sysdeps/microblaze/bits/atomic.h: Move to ...
8423         * sysdeps/microblaze/atomic-machine.h: ...here.
8424         * sysdeps/mips/bits/atomic.h: Move to ...
8425         * sysdeps/mips/atomic-machine.h: ...here.
8426         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8427         * sysdeps/powerpc/bits/atomic.h: Move to ...
8428         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8429         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8430         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8431         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8432         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8433         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8434         <atomic-machine.h> instead of <bits/atomic.h>.
8435         * sysdeps/s390/bits/atomic.h: Move to ...
8436         * sysdeps/s390/atomic-machine.h: ...here.
8437         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8438         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8439         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8440         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8441         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8442         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8443         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8444         * sysdeps/tile/bits/atomic.h: Move to ...
8445         * sysdeps/tile/atomic-machine.h: ...here.
8446         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8447         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8448         <sysdeps/tile/atomic-machine.h> instead of
8449         <sysdeps/tile/bits/atomic.h>.
8450         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8451         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8452         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8453         <sysdeps/tile/atomic-machine.h> instead of
8454         <sysdeps/tile/bits/atomic.h>.
8455         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8456         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8457         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8458         <sysdeps/arm/atomic-machine.h> instead of
8459         <sysdeps/arm/bits/atomic.h>.
8460         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8461         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8462         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8463         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8464         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8465         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8466         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8467         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8468         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8469         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8470         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8471         * sysdeps/x86_64/bits/atomic.h: Move to ...
8472         * sysdeps/x86_64/atomic-machine.h: ...here.
8473         * include/atomic.h: Include <atomic-machine.h> instead of
8474         <bits/atomic.h>.
8476         * sysdeps/mips/mips32/libm-test-ulps: Update.
8477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8479         [BZ #18952]
8480         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8481         not convert non-integer negative arguments to int to determine the
8482         value of signgam.
8483         * math/auto-libm-test-in: Add more tests of lgamma.
8484         * math/auto-libm-test-out: Regenerated.
8486         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8487         cosh, csqrt, erfc, expm1 and lgamma.
8488         * math/auto-libm-test-out: Regenerated.
8489         * sysdeps/i386/fpu/libm-test-ulps: Update.
8490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8492 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8494         [BZ #2542]
8495         [BZ #2543]
8496         [BZ #2558]
8497         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8498         __lgamma_neg for arguments from -28.0 to -2.0.
8499         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8500         __lgamma_negf for arguments from -15.0 to -2.0.
8501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8502         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8503         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8504         Call __lgamma_negl for arguments from -33.0 to -2.0.
8505         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8506         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8507         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8508         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8512         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8514         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8515         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8516         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8517         (__lgamma_neg): Likewise.
8518         (__lgamma_negl): Likewise.
8519         (__lgamma_product): Likewise.
8520         (__lgamma_productl): Likewise.
8521         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8522         * math/auto-libm-test-in: Add more tests of lgamma.
8523         * math/auto-libm-test-out: Regenerated.
8524         * sysdeps/i386/fpu/libm-test-ulps: Update.
8525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8527 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8529         [BZ #18675]
8530         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8532 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8534         [BZ #14912]
8535         * bits/libc-lock.h: Move to ...
8536         * sysdeps/generic/libc-lock.h: ...here.
8537         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8538         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8539         * sysdeps/mach/hurd/libc-lock.h: ...here.
8540         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8541         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8542         * sysdeps/mach/bits/libc-lock.h: Move to ...
8543         * sysdeps/mach/libc-lock.h: ...here.
8544         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8545         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8546         * sysdeps/nptl/libc-lock.h: ...here.
8547         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8548         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8549         * sysdeps/nptl/libc-lockP.h: ...here.
8550         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8551         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8552         <bits/libc-lock.h>.
8553         * dirent/scandir-tail.c: Likewise.
8554         * dlfcn/dlerror.c: Likewise.
8555         * elf/dl-close.c: Likewise.
8556         * elf/dl-iteratephdr.c: Likewise.
8557         * elf/dl-lookup.c: Likewise.
8558         * elf/dl-open.c: Likewise.
8559         * elf/dl-support.c: Likewise.
8560         * elf/dl-writev.h: Likewise.
8561         * elf/rtld.c: Likewise.
8562         * grp/fgetgrent.c: Likewise.
8563         * gshadow/fgetsgent.c: Likewise.
8564         * gshadow/sgetsgent.c: Likewise.
8565         * iconv/gconv_conf.c: Likewise.
8566         * iconv/gconv_db.c: Likewise.
8567         * iconv/gconv_dl.c: Likewise.
8568         * iconv/gconv_int.h: Likewise.
8569         * iconv/gconv_trans.c: Likewise.
8570         * include/link.h: Likewise.
8571         * inet/getnameinfo.c: Likewise.
8572         * inet/getnetgrent.c: Likewise.
8573         * inet/getnetgrent_r.c: Likewise.
8574         * intl/bindtextdom.c: Likewise.
8575         * intl/dcigettext.c: Likewise.
8576         * intl/finddomain.c: Likewise.
8577         * intl/gettextP.h: Likewise.
8578         * intl/loadmsgcat.c: Likewise.
8579         * intl/localealias.c: Likewise.
8580         * intl/textdomain.c: Likewise.
8581         * libidn/idn-stub.c: Likewise.
8582         * libio/libioP.h: Likewise.
8583         * locale/duplocale.c: Likewise.
8584         * locale/freelocale.c: Likewise.
8585         * locale/newlocale.c: Likewise.
8586         * locale/setlocale.c: Likewise.
8587         * login/getutent_r.c: Likewise.
8588         * login/getutid_r.c: Likewise.
8589         * login/getutline_r.c: Likewise.
8590         * login/utmp-private.h: Likewise.
8591         * login/utmpname.c: Likewise.
8592         * malloc/mtrace.c: Likewise.
8593         * misc/efgcvt.c: Likewise.
8594         * misc/error.c: Likewise.
8595         * misc/fstab.c: Likewise.
8596         * misc/getpass.c: Likewise.
8597         * misc/mntent.c: Likewise.
8598         * misc/syslog.c: Likewise.
8599         * nis/nis_call.c: Likewise.
8600         * nis/nis_callback.c: Likewise.
8601         * nis/nss-default.c: Likewise.
8602         * nis/nss_compat/compat-grp.c: Likewise.
8603         * nis/nss_compat/compat-initgroups.c: Likewise.
8604         * nis/nss_compat/compat-pwd.c: Likewise.
8605         * nis/nss_compat/compat-spwd.c: Likewise.
8606         * nis/nss_nis/nis-alias.c: Likewise.
8607         * nis/nss_nis/nis-ethers.c: Likewise.
8608         * nis/nss_nis/nis-grp.c: Likewise.
8609         * nis/nss_nis/nis-hosts.c: Likewise.
8610         * nis/nss_nis/nis-network.c: Likewise.
8611         * nis/nss_nis/nis-proto.c: Likewise.
8612         * nis/nss_nis/nis-pwd.c: Likewise.
8613         * nis/nss_nis/nis-rpc.c: Likewise.
8614         * nis/nss_nis/nis-service.c: Likewise.
8615         * nis/nss_nis/nis-spwd.c: Likewise.
8616         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8617         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8618         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8619         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8620         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8621         * nis/nss_nisplus/nisplus-network.c: Likewise.
8622         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8623         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8624         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8625         * nis/nss_nisplus/nisplus-service.c: Likewise.
8626         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8627         * nis/ypclnt.c: Likewise.
8628         * nptl/libc_pthread_init.c: Likewise.
8629         * nss/getXXbyYY.c: Likewise.
8630         * nss/getXXent.c: Likewise.
8631         * nss/getXXent_r.c: Likewise.
8632         * nss/nss_db/db-XXX.c: Likewise.
8633         * nss/nss_db/db-netgrp.c: Likewise.
8634         * nss/nss_db/nss_db.h: Likewise.
8635         * nss/nss_files/files-XXX.c: Likewise.
8636         * nss/nss_files/files-alias.c: Likewise.
8637         * nss/nsswitch.c: Likewise.
8638         * posix/regex_internal.h: Likewise.
8639         * posix/wordexp.c: Likewise.
8640         * pwd/fgetpwent.c: Likewise.
8641         * resolv/res_hconf.c: Likewise.
8642         * resolv/res_libc.c: Likewise.
8643         * shadow/fgetspent.c: Likewise.
8644         * shadow/lckpwdf.c: Likewise.
8645         * shadow/sgetspent.c: Likewise.
8646         * socket/opensock.c: Likewise.
8647         * stdio-common/reg-modifier.c: Likewise.
8648         * stdio-common/reg-printf.c: Likewise.
8649         * stdio-common/reg-type.c: Likewise.
8650         * stdio-common/vfprintf.c: Likewise.
8651         * stdio-common/vfscanf.c: Likewise.
8652         * stdlib/abort.c: Likewise.
8653         * stdlib/cxa_atexit.c: Likewise.
8654         * stdlib/fmtmsg.c: Likewise.
8655         * stdlib/random.c: Likewise.
8656         * stdlib/setenv.c: Likewise.
8657         * string/strsignal.c: Likewise.
8658         * sunrpc/auth_none.c: Likewise.
8659         * sunrpc/bindrsvprt.c: Likewise.
8660         * sunrpc/create_xid.c: Likewise.
8661         * sunrpc/key_call.c: Likewise.
8662         * sunrpc/rpc_thread.c: Likewise.
8663         * sysdeps/arm/backtrace.c: Likewise.
8664         * sysdeps/generic/ldsodefs.h: Likewise.
8665         * sysdeps/generic/stdio-lock.h: Likewise.
8666         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8667         * sysdeps/i386/backtrace.c: Likewise.
8668         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8669         * sysdeps/m68k/backtrace.c: Likewise.
8670         * sysdeps/mach/hurd/cthreads.c: Likewise.
8671         * sysdeps/mach/hurd/dirstream.h: Likewise.
8672         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8673         * sysdeps/nptl/malloc-machine.h: Likewise.
8674         * sysdeps/nptl/stdio-lock.h: Likewise.
8675         * sysdeps/posix/dirstream.h: Likewise.
8676         * sysdeps/posix/getaddrinfo.c: Likewise.
8677         * sysdeps/posix/system.c: Likewise.
8678         * sysdeps/pthread/aio_suspend.c: Likewise.
8679         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8680         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8681         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8682         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8683         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8684         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8685         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8686         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8687         * sysdeps/unix/sysv/linux/system.c: Likewise.
8688         * sysdeps/x86_64/backtrace.c: Likewise.
8689         * time/alt_digit.c: Likewise.
8690         * time/era.c: Likewise.
8691         * time/tzset.c: Likewise.
8692         * wcsmbs/wcsmbsload.c: Likewise.
8693         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8694         instead of <bits/libc-lock.h> in comment.
8696 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8698         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8699         Only use .set mips2 if the current ISA is below mips2.
8700         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8701         Likewise.
8702         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8703         mips32r2 if the current ISA is below mips32r2.
8704         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8705         (TLS_IE): Updated to use the TLD_RDHWR macro.
8706         (TLS_LE): Likewise.
8707         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8708         __ASSEMBLER__ condition.
8710 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8712         Fix parallel build of before-compile targets.
8714         * sysdeps/mach/Makefile ($(patsubst
8715         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8716         mach-before-compile target.
8717         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8718         io fs process)): Move rule to dedicated hurd-before-compile target.
8720 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8722         Fix rules generating headers in hurd/ and mach/ when initial make call
8723         has subdir= explicitly set.
8725         * sysdeps/mach/Makefile ($(patsubst
8726         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8727         calling $(MAKE).
8728         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8729         io fs process)): Force subdir to hurd when calling $(MAKE).
8730         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8731         subdir to mach when calling $(MAKE).
8733 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8735         Check sysheaders when looking for Mach and Hurd headers
8737         * sysdeps/mach/configure.ac: Add sysheaders check.
8738         * sysdeps/mach/configure: Regenerate.
8739         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8740         * sysdeps/mach/hurd/configure: Regenerate.
8742 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8744         [BZ #18921]
8745         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8746         Fix inverted sense of test of 'o_directory_works' value.
8747         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8748         Bernhard Voelker <mail@bernhard-voelker.de>.
8750 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8752         [BZ #14912]
8753         * bits/linkmap.h: Move to ...
8754         * sysdeps/generic/linkmap.h: ...here.
8755         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8756         * sysdeps/aarch64/linkmap.h: ...here.
8757         * sysdeps/arm/bits/linkmap.h: Move to ...
8758         * sysdeps/arm/linkmap.h: ...here.
8759         * sysdeps/hppa/bits/linkmap.h: Move to ...
8760         * sysdeps/hppa/linkmap.h: ...here.
8761         * sysdeps/ia64/bits/linkmap.h: Move to ...
8762         * sysdeps/ia64/linkmap.h: ...here.
8763         * sysdeps/mips/bits/linkmap.h: Move to ...
8764         * sysdeps/mips/linkmap.h: ...here.
8765         * sysdeps/s390/bits/linkmap.h: Move to ...
8766         * sysdeps/s390/linkmap.h: ...here.
8767         * sysdeps/sh/bits/linkmap.h: Move to ...
8768         * sysdeps/sh/linkmap.h: ...here.
8769         * sysdeps/x86/bits/linkmap.h: Move to ...
8770         * sysdeps/x86/linkmap.h: ...here.
8771         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8773 2015-09-04  Andreas Schwab  <schwab@suse.de>
8775         [BZ #18635]
8776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8777         (__makecontext): Terminate FDE before return label.
8778         (__novec_makecontext): Likewise.
8780 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8782         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8783         first member of struct sv in syscall macro.
8785 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8787         [BZ #14912]
8788         * bits/stdio-lock.h: Move to ...
8789         * sysdeps/generic/stdio-lock.h: ...here.
8790         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8791         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8792         * sysdeps/nptl/stdio-lock.h: ...here.
8793         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8794         * include/libio.h: Include <stdio-lock.h> instead of
8795         <bits/stdio-lock.h>.
8796         * sysdeps/nptl/fork.c: Likewise.
8797         * sysdeps/pthread/flockfile.c: Likewise.
8798         * sysdeps/pthread/ftrylockfile.c: Likewise.
8799         * sysdeps/pthread/funlockfile.c: Likewise.
8801         [BZ #14912]
8802         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8803         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8804         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8805         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8806         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8807         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8808         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8810 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8812         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8813         (test-xfail-tst-protected1b): New variable.
8815 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8817         [BZ #14912]
8818         * bits/libc-tsd.h: Move to ...
8819         * sysdeps/generic/libc-tsd.h: ...here.
8820         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8821         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8822         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8823         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8824         * include/ctype.h: Include <libc-tsd.h> instead of
8825         <bits/libc-tsd.h>.
8826         * include/rpc/rpc.h: Likewise.
8827         * locale/localeinfo.h: Likewise.
8828         * sunrpc/rpc_thread.c: Likewise.
8829         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8830         * sysdeps/nptl/malloc-machine.h: Likewise.
8832         * Makefile (headers): Remove bits/libc-lock.h.
8833         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8835         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8836         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8837         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8838         <bits/stdio-lock.h>.
8839         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8840         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8842 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8844         [BZ #18757]
8845         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8846         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8847         BZ #18757.
8849 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8851         * malloc/mtrace.pl: Filter out NULL entries.
8853 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8855         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8856         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8857         macro.
8859         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8860         (TCP_CC_INFO): Likewise.
8861         (TCP_SAVE_SYN): Likewise.
8862         (TCP_SAVED_SYN): Likewise.
8864 2015-08-31  Brett Neumeier <brett@neumeier.us>
8866         [BZ #18870]
8867         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8869 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8871         [BZ #18873]
8872         Fix broken overflow check in posix_fallocate
8873         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8874         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8875         Fix parenthesization typo.
8877 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8879         [BZ #18887]
8880         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8881         tst-mntent-blank-passno.
8882         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8883         * misc/tst-mntent-blank-corrupt.c: New test.
8884         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8885         * misc/tst-mntent.c (do_test): ... here.
8887 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8889         [BZ #4404]
8890         * po/de.po: Fix SIGALRM typo.
8892 2015-08-28  James Perkins  <james@loowit.net>
8894         * time/tst-strptime2.c (tests): Replace short list of test
8895         strings for strptime %z specifier with code which exhaustively
8896         tests every combination of sign and 0 to 5 digits. Tests for
8897         rejection of invalid strings.
8899 2015-08-28  James Perkins  <james@loowit.net>
8901         [BZ #16141]
8902         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8903         calculation, removing incorrect decimal time rounding, so that
8904         all minute values result in a valid seconds value.
8905         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8906         offset range limits to UTC-99:59 through UTC+99:59 to parse
8907         current and historical use cases.
8908         * time/tst-strptime2.c (tests): Modify and add tests for the
8909         strptime %z input field descriptor, specifically conversion of
8910         minutes to seconds and validating an offset range of -9959 to
8911         +9959.
8913 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8914             Dmitry V. Levin  <ldv@altlinux.org>
8916         [BZ #18877]
8917         * posix/Makefile (tests): Add tst-mmap-offset.
8918         * posix/tst-mmap.c: New file.
8919         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8920         offset calculation for negative values.
8922 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8924         * sysdeps/i386/init-arch.h: New file.
8925         * sysdeps/i386/i586/init-arch.h: Likewise.
8926         * sysdeps/i386/i686/init-arch.h: Likewise.
8927         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8928         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8929         * sysdeps/x86/cpu-features.h (bit_I586): New.
8930         (bit_I686): Likewise.
8931         (bit_CX8): Likewise.
8932         (bit_CMOV): Likewise.
8933         (index_CX8): Likewise.
8934         (index_CMOV): Likewise.
8935         (index_I586): Likewise.
8936         (index_I686): Likewise.
8937         (reg_CX8): Likewise.
8938         (reg_CMOV): Likewise.
8939         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8940         available at compile-time.
8941         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8942         available at compile-time.
8943         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8944         (USE_I686): Likewise.
8946 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8948         * sysdeps/i386/bcopy.S: New file.
8949         * sysdeps/i386/bzero.S: Likewise.
8950         * sysdeps/i386/memcpy.S: Likewise.
8951         * sysdeps/i386/memmove.S: Likewise.
8952         * sysdeps/i386/mempcpy.S: Likewise.
8953         * sysdeps/i386/memset.S: Likewise.
8954         * sysdeps/i386/bzero.c: Removed.
8955         * sysdeps/i386/memset.c: Likewise.
8956         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8957         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8958         * sysdeps/i386/i586/memset_chk.S: Likewise.
8959         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8960         * sysdeps/i386/memcpy_chk.S: Here.
8961         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8962         * sysdeps/i386/memmove_chk.S: Here.
8963         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8964         * sysdeps/i386/mempcpy_chk.S: Likewise.
8965         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8966         * sysdeps/i386/memset_chk.S: Likewise.
8968 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8970         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8971         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8972         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8973         * soft-fp/fmadf4.c: Ditto.
8974         * soft-fp/fmatf4.c: Ditto.
8976 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8978         * sysdeps/i386/i586/Implies: Removed.
8979         * sysdeps/i386/i686/Implies: Likewise.
8981 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/i386/i486/strlen.S: Moved to ...
8984         * sysdeps/i386/strlen.S: Here.
8986 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8988         * sysdeps/i386/i486/strcat.S: Moved to ...
8989         * sysdeps/i386/strcat.S: Here.
8991 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8993         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8994         * sysdeps/i386/pthread_spin_trylock.S: Here.
8995         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8996         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9000         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9001         * sysdeps/i386/string-inlines.c: Here.
9003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9005         * sysdeps/i386/i486/htonl.S: Moved ...
9006         * sysdeps/i386/htonl.S: here.
9008 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9010         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9011         * sysdeps/i386/bits/atomic.h: Here.
9013 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9015         * sysdeps/i386/i486/Versions: Removed.
9017 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9019         [BZ #2898]
9020         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9021         Based on patch by Aurelien Jarno.
9023 2015-08-26  Stan Shebs  <stanshebs@google.com>
9025         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9026         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9028 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9030         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9031         * sysdeps/powerpc/dl-procinfo.c:
9032         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9033         feature so it shows when LD_SHOW_AUXV=1.
9035 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9037         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9038         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9039         definition.  ISA 2.07B no longer requires full sync.
9041 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9043         [BZ #18863]
9044         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9045         (si_call_addr): Define.
9046         (si_syscall): Define.
9047         (si_arch): Define.
9049 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9051         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9052         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9053         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9054         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9055         (__memset_zero_constant_len_parameter): New.
9056         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9057         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9058         (__memset_zero_constant_len_parameter): Don't define if
9059         __memset_chk or USE_AS_BZERO are defined.
9061         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9062         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9063         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9065         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9066         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9067         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9068         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9069         comments.
9070         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9071         -mno-mmx for $(all-rtld-routines).
9072         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9073         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9074         i386.
9076 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9078         * sysdeps/generic/unwind.h
9079         (_Unwind_Word): Use __mode__(__unwind_word__)
9080         instead of __mode__(__word__).
9081         (_Unwind_Sword): Likewise.
9083         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9084         (MAX_NEEDED_INPUT): New define.
9085         (MAX_NEEDED_OUTPUT): New define.
9087         * NEWS: New item for IBM z13 string optimizations.
9089         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9090         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9091         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9092         * sysdeps/s390/multiarch/Makefile
9093         (sysdep_routines): Add memrchr functions.
9094         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9095         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9097         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9098         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9099         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9100         * sysdeps/s390/multiarch/Makefile
9101         (sysdep_routines): Add wmemcmp functions.
9102         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9103         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9104         * benchtests/bench-wmemcmp.c: New File.
9105         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9107         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9108         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9109         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9110         * sysdeps/s390/multiarch/Makefile
9111         (sysdep_routines): Add wmemset functions.
9112         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9113         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9114         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9115         * string/test-memset.c: Add wmemset support.
9116         * wcsmbs/test-wmemset.c: New File.
9117         * wcsmbs/Makefile (strop-tests): Add wmemset.
9118         * benchtests/bench-memset.c: Add wmemset support.
9119         * benchtests/bench-wmemset.c: New File.
9120         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9122         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9123         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9124         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9125         * sysdeps/s390/multiarch/Makefile
9126         (sysdep_routines): Add memccpy functions.
9127         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9128         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9129         * string/memccpy.c: Use MEMCCPY if defined.
9131         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9132         * sysdeps/s390/multiarch/memchr.c: Likewise.
9133         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9134         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9135         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9136         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9137         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9138         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9139         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9140         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9142         and rawmemchr functions.
9143         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9144         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9145         and wmemchr.
9146         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9147         * string/test-memchr.c: Add wmemchr support.
9148         * wcsmbs/test-wmemchr.c: New File.
9149         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9150         * benchtests/bench-memchr.c: Add wmemchr support.
9151         * benchtests/bench-wmemchr.c: New File.
9152         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9154         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9155         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9156         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9157         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9158         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9159         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9161         wcscspn functions.
9162         * sysdeps/s390/multiarch/ifunc-impl-list.c
9163         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9164         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9165         * string/test-strcspn.c: Add wcscspn support.
9166         * wcsmbs/test-wcscspn.c: New File.
9167         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9168         * benchtests/bench-strcspn.c: Add wcscspn support.
9169         * benchtests/bench-wcscspn.c: New File.
9170         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9172         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9173         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9174         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9175         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9176         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9177         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9178         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9179         wcspbrk functions.
9180         * sysdeps/s390/multiarch/ifunc-impl-list.c
9181         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9182         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9183         * string/test-strpbrk.c: Add wcspbrk support.
9184         * wcsmbs/test-wcspbrk.c: New File.
9185         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9186         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9187         * benchtests/bench-wcspbrk.c: New File.
9188         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9190         * sysdeps/s390/multiarch/strspn-c.c: New File.
9191         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9192         * sysdeps/s390/multiarch/strspn.c: Likewise.
9193         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9194         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9195         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9196         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9198         wcsspn functions.
9199         * sysdeps/s390/multiarch/ifunc-impl-list.c
9200         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9201         * string/test-strspn.c: Add wcsspn support.
9202         * wcsmbs/test-wcsspn.c: New File.
9203         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9204         * benchtests/bench-strspn.c: Add wcsspn support.
9205         * benchtests/bench-wcsspn.c: New File.
9206         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9208         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9209         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9210         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9211         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9212         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9213         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9214         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9215         wcsrchr functions.
9216         * sysdeps/s390/multiarch/ifunc-impl-list.c
9217         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9218         * benchtests/bench-wcsrchr.c: New File.
9219         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9221         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9222         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9223         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9224         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9225         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9226         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9228         wcschrnul functions.
9229         * sysdeps/s390/multiarch/ifunc-impl-list.c
9230         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9231         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9232         * string/test-strchr.c: Add wcschrnul support.
9233         * wcsmbs/test-wcschrnul.c: New File.
9234         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9235         * benchtests/bench-strchr.c: Add wcschrnul support.
9236         * benchtests/bench-wcschrnul.c: New File.
9237         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9239         * sysdeps/s390/multiarch/strchr-c.c: New File.
9240         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9241         * sysdeps/s390/multiarch/strchr.c: Likewise.
9242         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9243         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9244         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9246         wcschr functions.
9247         * sysdeps/s390/multiarch/ifunc-impl-list.c
9248         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9249         * string/strchr.c (STRCHR): Define and use macro.
9250         * benchtests/bench-wcschr.c: New File.
9251         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9253         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9254         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9255         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9256         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9257         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9258         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9259         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9260         wcsncmp functions.
9261         * sysdeps/s390/multiarch/ifunc-impl-list.c
9262         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9263         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9264         * benchtests/bench-strncmp.c: Add wcsncmp support.
9265         * benchtests/bench-wcsncmp.c: New File.
9266         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9268         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9269         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9270         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9271         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9272         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9273         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9274         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9276         wcscmp functions.
9277         * sysdeps/s390/multiarch/ifunc-impl-list.c
9278         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9279         * string/strcmp.c (STRCMP): Define and use macro.
9280         * benchtests/bench-wcscmp.c: New File.
9281         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9282         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9283         instead of _HAVE_STRING_ARCH_memchr.
9285         * sysdeps/s390/multiarch/strncat-c.c: New File.
9286         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9287         * sysdeps/s390/multiarch/strncat.c: Likewise.
9288         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9289         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9290         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9292         wcsncat functions.
9293         * sysdeps/s390/multiarch/ifunc-impl-list.c
9294         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9295         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9296         * string/test-strncat.c: Add wcsncat support.
9297         * wcsmbs/test-wcsncat.c: New File.
9298         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9299         * benchtests/bench-strncat.c: Add wcsncat support.
9300         * benchtests/bench-wcsncat.c: New File.
9301         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9303         * sysdeps/s390/multiarch/strcat-c.c: New File.
9304         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9305         * sysdeps/s390/multiarch/strcat.c: Likewise.
9306         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9307         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9308         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9310         wcscat functions.
9311         * sysdeps/s390/multiarch/ifunc-impl-list.c
9312         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9313         * string/strcat.c (STRCAT): Define and use macro.
9314         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9315         * string/test-strcat.c: Add wcscat support.
9316         * wcsmbs/test-wcscat.c: New File.
9317         * wcsmbs/Makefile (strop-tests): Add wcscat.
9318         * benchtests/bench-strcat.c: Add wcscat support.
9319         * benchtests/bench-wcscat.c: New File.
9320         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9322         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9323         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9324         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9325         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9326         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9327         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9329         wcpncpy functions.
9330         * sysdeps/s390/multiarch/ifunc-impl-list.c
9331         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9332         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9333         * string/test-stpncpy.c: Add wcpncpy support.
9334         * wcsmbs/test-wcpncpy.c: New File.
9335         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9336         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9337         * benchtests/bench-wcpncpy.c: New File.
9338         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9340         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9341         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9342         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9343         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9344         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9345         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9346         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9348         wcsncpy functions.
9349         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9350         * sysdeps/s390/multiarch/ifunc-impl-list.c
9351         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9352         * string/test-strncpy.c: Add wcsncpy support.
9353         * wcsmbs/test-wcsncpy.c: New File.
9354         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9355         * benchtests/bench-strncpy.c: Add wcsncpy support.
9356         * benchtests/bench-wcsncpy.c: New File.
9357         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9359         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9360         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9361         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9362         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9363         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9364         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9365         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9366         wcpcpy functions.
9367         * string/stpcpy.c: Use STPCPY if defined.
9368         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9369         * sysdeps/s390/multiarch/ifunc-impl-list.c
9370         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9371         * string/test-stpcpy.c: Add wcpcpy support.
9372         * wcsmbs/test-wcpcpy.c: New File.
9373         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9374         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9375         * benchtests/bench-wcpcpy.c: New File.
9376         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9378         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9379         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9380         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9381         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9382         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9383         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9384         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9385         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9386         wcscpy functions.
9387         * sysdeps/s390/multiarch/ifunc-impl-list.c
9388         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9389         * benchtests/bench-wcscpy.c: New File.
9390         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9392         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9393         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9394         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9395         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9396         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9397         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9399         wcsnlen functions.
9400         * sysdeps/s390/multiarch/ifunc-impl-list.c
9401         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9402         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9403         * string/test-strnlen.c: Add wcsnlen support.
9404         * wcsmbs/test-wcsnlen.c: New File.
9405         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9406         * benchtests/bench-strnlen.c: Add wcsnlen support.
9407         * benchtests/bench-wcsnlen.c: New File.
9408         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9410         * sysdeps/s390/multiarch/Makefile: New File.
9411         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9412         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9413         * sysdeps/s390/multiarch/strlen.c: Likewise.
9414         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9415         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9416         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9417         * string/strlen.c (STRLEN): Define and use macro.
9418         * sysdeps/s390/multiarch/ifunc-impl-list.c
9419         (IFUNC_VX_IMPL): New macro function.
9420         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9421         * benchtests/Makefile (wcsmbs-bench): New variable.
9422         (string-bench-all): Added wcsmbs-bench.
9423         * benchtests/bench-wcslen.c: New File.
9425         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9426         s390_vx_libc_ifunc2): New macro function.
9428         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9429         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9430         assembler support.
9431         * sysdeps/s390/configure: Regenerated.
9433         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9434         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9436         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9437         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9438         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9440         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9441         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9442         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9443         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9444         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9445         (memcmp, bcmp): Use __memcmp_default as alias source.
9446         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9447         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9448         Rename to __memcmp_default.
9449         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9450         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9451         (memcpy): Use __memcpy_default as alias source.
9452         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9453         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9454         Rename to __memcpy_default.
9455         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9456         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9457         (memset): Use __memset_default as alias source.
9458         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9459         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9460         Rename to __memset_default.
9461         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9462         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9463         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9464         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9465         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9466         (memcmp, bcmp): Use __memcmp_default as alias source.
9467         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9468         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9469         Rename to __memcmp_default.
9470         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9471         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9472         (memcpy): Use __memcpy_default as alias source.
9473         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9474         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9475         Rename to __memcpy_default.
9476         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9477         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9478         (memset): Use __memset_default as alias source.
9479         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9480         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9481         Rename to __memset_default.
9482         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9483         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9485         [BZ #18610]
9486         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9487         __ieee_instruction_pointer to __unused.
9488         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9489         __ieee_instruction_pointer.
9490         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9491         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9492         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9493         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9494         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9495         Mark dxc-field as reserved.
9497 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9499         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9500         if the weak reference is not null.
9502 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9504         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9506         [BZ #11214]
9507         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9509 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9511         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9512         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9513         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9514         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9515         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9516         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9517         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9518         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9519         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9520         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9521         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9522         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9523         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9524         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9525         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9526         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9527         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9528         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9530 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9532         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9533         register other than r0 for tabort, it has special meaning.
9534         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9535         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9536         transaction before starting syscall.
9538 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9540         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9542 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9544         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9546         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9547         * sysdeps/x86_64/rtld-memset.S: Likewise.
9548         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9549         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9550         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9551         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9553         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9555 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9557         * debug/strcpy_chk.c: Improve performance.
9558         * debug/stpcpy_chk.c: Likewise.
9559         * sysdeps/x86_64/strcpy_chk.S: Remove.
9560         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9562         [BZ #18240]
9563         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9565 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9567         [BZ #15128]
9568         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9569         ifuncmain8.
9570         (modules-names): Add ifuncmod8.
9571         ($(objpfx)ifuncmain8): New rule.
9572         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9573         <cpuid.h>.
9574         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9575         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9576         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9577         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9578         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9579         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9580         * sysdeps/x86_64/ifuncmain8.c: New file.
9581         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9582         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9583         Removed.
9584         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9585         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9586         Change rtld_savespace_sse to __glibc_unused2.
9587         (RTLD_CHECK_FOREIGN_CALL): Removed.
9588         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9589         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9590         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9592 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9594         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9596 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9598         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9599         Unconditionally set __fpcr to avoid uninialized warning.
9600         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9602 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9604         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9605         is corrupt.
9607         * malloc/arena.c (arena_get2): Drop unused argument.
9608         (arena_lock): Adjust.
9609         (arena_get_retry): Likewise.
9611 2015-08-24  Andreas Schwab  <schwab@suse.de>
9613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9614         Don't define.
9615         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9616         (__ASSUME_IPC64): Don't undef.
9617         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9618         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9619         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9620         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9621         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9622         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9623         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9624         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9625         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9626         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9627         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9628         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9629         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9630         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9631         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9632         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9633         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9634         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9635         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9636         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9637         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9639 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9641         * manual/Makefile (install): Only build manual when perl is available.
9643 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9645         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9646         '#undef memcpy' by '#undef memchr'.
9648 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9650         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9651         memchr not point to the internal __GI_memchr implementation.
9653 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9655         * timezone/Makefile (CFLAGS-zdump.c): Remove
9656         -Wno-strict-prototypes.
9657         (CFLAGS-zic.c): Likewise.
9658         (CFLAGS-ialloc.c): Likewise.
9659         (CFLAGS-scheck.c): Likewise.
9661         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9662         -Wno-error=undef.
9664 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9666         * i386/i686/multiarch/strcasestr-c.c: Removed.
9667         * x86_64/multiarch/strcasestr.c: Likewise.
9668         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9669         Remove strcasestr.
9671 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9673         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9675         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9676         variables for high and low parts before possibly modifying them.
9678 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9680         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9681         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9682         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9683         of "multiarch/init-arch.h".
9684         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9685         * sysdeps/x86/init-arch.h: This.
9687 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9689         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9690         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9692 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9694         [BZ #17787]
9695         * manual/macros.texi: Add twoexp macro.
9696         * manual/filesys.texi: Fix exponents.
9697         * manual/llio.texi: Likewise.
9698         * manual/stdio.texi: Likewise.
9700 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9702         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9703         incorrect use.
9705 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9707         [BZ #18370]
9708         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9709         whose real or imaginary part has small absolute value.
9710         * math/s_csqrtf.c (__csqrtf): Likewise.
9711         * math/s_csqrtl.c (__csqrtl): Likewise.
9712         * math/auto-libm-test-in: Add more tests of csqrt.
9713         * math/auto-libm-test-out: Regenerated.
9714         * sysdeps/i386/fpu/libm-test-ulps: Update.
9716 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9718         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9719         __ppc_set_ppr_very_low): New functions.
9720         * manual/platform.texi: Add documentation about
9721         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9723 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9725         * string/stpncpy.c (stpncpy): Improve performance using
9726         __strnlen/memcpy/memset.
9728 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9730         [BZ #18796]
9731         * scripts/test-installation.pl: Don't add -lmvec to build options if
9732         libmvec wasn't built.
9734 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9736         [BZ #14341]
9737         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9738         case when there is a gap between DT_REL and DT_JMPREL sections.
9739         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9740         (LDFLAGS-tst-split-dynreloc): New.
9741         (tst-split-dynreloc-ENV): Likewise.
9742         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9743         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9745 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9747         [BZ #18822]
9748         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9749         attribute_hidden.
9750         (__xstat64_conv): Likewise.
9751         (__xstat32_conv): Likewise.
9753 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9755         [BZ #18822]
9756         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9757         Don't load %ebx when calling __setcontext.  Call __setcontext
9758         with HIDDEN_JUMPTARGET.
9759         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9760         libc_hidden_def.
9762 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9764         * sysdeps/i386/i686/Makefile
9765         [$(subdir) == string] (sysdep_routines): Moved to ...
9766         * sysdeps/i386/Makefile: Here.
9767         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9768         * sysdeps/i386/cacheinfo.c: Here.
9769         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9770         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9771         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9772         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9774 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9776         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9777         __i586__ is defined.
9778         (HAS_I686): Defined to 1 if __i686__ is defined.
9780 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9782         * elf/Makefile [$(have-z-execstack) = yes]
9783         (CPPFLAGS-tst-execstack.c): New variable.
9785         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9786         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9787         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9788         UTMPX || _HAVE_UT_TV].
9789         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9790         UTMPX || _HAVE_UT_TV - 0].
9792 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9794         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9795         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9796         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9798 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9800         * sysdeps/powerpc/dl-procinfo.c:
9801         (_dl_powerpc_cap_flags): Added missing strings for some
9802         hwcap features.
9803         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9805 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9807         Port the 0x7efe...feff pattern to GCC 6.
9808         See Steve Ellcey's bug report in:
9809         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9810         * string/memrchr.c (MEMRCHR):
9811         * string/rawmemchr.c (RAWMEMCHR):
9812         * string/strchr.c (strchr):
9813         * string/strchrnul.c (STRCHRNUL):
9814         Rewrite code to avoid issues with signed shift overflow.
9816 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9818         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9819         whether cpuid is available only if HAS_CPUID is 0.
9820         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9821         (HAS_I586): Likewise.
9822         (HAS_I686): Likewise.
9824 2015-08-18  Zack Weinberg  <zackw@panix.com>
9826         * misc/Versions (libc): Add GLIBC_2.23.
9828 2015-08-18  Alan Modra  <amodra@gmail.com>
9830         [BZ #18421]
9831         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9832         .Lp__global.
9833         (_start): Load %dp via .Lp__global.
9834         [!SHARED]: Use .section .rodata.
9836 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9838         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9839         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9841 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9843         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9844         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9846 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9848         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9849         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9851 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9853         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9854         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9856 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9858         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9859         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9863         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9864         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9866 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9868         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9870 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9872         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9873         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9874         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9875         (__ASSUME_LWS_CAS): Delete.
9877 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9879         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9880         * sysdeps/hppa/configure: Regenerated.
9881         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9882         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9883         * sysdeps/hppa/nptl/tls.h: Likewise.
9885 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9887         [BZ #18823]
9888         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9889         for scaling up small arguments.
9890         * math/s_csqrtf.c (__csqrtf): Likewise.
9891         * math/s_csqrtl.c (__csqrtl): Likewise.
9892         * math/auto-libm-test-in: Add more tests of csqrt.
9893         * math/auto-libm-test-out: Regenerated.
9895 2015-08-17  Andreas Schwab  <schwab@suse.de>
9897         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9898         version set GLIBC_2.19.
9900 2015-08-16  Zack Weinberg  <zackw@panix.com>
9902         [BZ #18681]
9903         * misc/regexp.h: This interface is no longer supported.
9904         Remove all contents, leaving only an #error directive.
9905         * misc/regexp.c (loc1, loc2, locs, step, advance):
9906         Demote to compatibility symbols.
9908 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9910         [BZ #18084]
9911         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9912         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9913         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9914         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9915         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9916         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9917         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9918         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9919         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9921 2015-08-15  Zack Weinberg  <zackw@panix.com>
9923         [BZ #18795]
9924         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9925         buffer length is known to be too large, not if it's known to be
9926         small enough.
9927         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9928         overflow at runtime, involving a length parameter, twice: once
9929         with a compile-time constant length parameter, once without.
9931 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9933         [BZ #18824]
9934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9935         scaling x * y up instead of down.
9936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9937         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9938         * math/auto-libm-test-in: Add more tests of fma.
9939         * math/auto-libm-test-out: Regenerated.
9941 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9945 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9947         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9948         unnecessary movq.
9949         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9950         Likewise.
9952 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9954         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9955         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9956         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9957         and tgamma.
9958         * math/auto-libm-test-out: Regenerated.
9959         * sysdeps/i386/fpu/libm-test-ulps: Update.
9960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9962         [BZ #16520]
9963         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9964         (__tanh): Force underflow exception for arguments with small
9965         absolute value.
9966         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9967         (__tanhf): Force underflow exception for arguments with small
9968         absolute value.
9969         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9970         (__tanhl): Force underflow exception for arguments with small
9971         absolute value.
9972         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9973         (__tanhl): Force underflow exception for arguments with small
9974         absolute value.
9975         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9976         (__tanhl): Force underflow exception for arguments with small
9977         absolute value.
9978         * math/auto-libm-test-in: Add more tests of tanh.
9979         * math/auto-libm-test-out: Regenerated.
9980         * sysdeps/i386/fpu/libm-test-ulps: Update.
9982 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9984         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9985         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9987 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9989         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9990         <cpuid.h>.
9992 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9994         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9995         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9999         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10000         Remove $(objpfx)init-arch.o.
10001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10002         init-arch.
10003         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10004         (INIT_ARCH_EXT): Defined as empty.
10005         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10007         __init_cpu_features call.  Replace HAS_XXX with
10008         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10009         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10011         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10012         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10013         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10014         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10015         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10016         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10017         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10018         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10019         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10029         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10030         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10035         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10036         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10037         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10038         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10039         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10040         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10041         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10045 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10047         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10048         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10049         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10050         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10051         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10052         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10053         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10054         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10055         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10056         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10057         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10058         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10059         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10060         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10062         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10063         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10064         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10065         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10066         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10067         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10068         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10069         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10073         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10074         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10075         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10077         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10078         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10079         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10080         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10081         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10082         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10083         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10084         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10085         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10086         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10087         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10088         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10089         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10093         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10094         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10096         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10097         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10098         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10099         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10100         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10101         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10102         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10103         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10104         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10105         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10106         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10107         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10108         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10109         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10110         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10111         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10112         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10114         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10115         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10116         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10118         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10119         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10120         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10121         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10122         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10123         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10124         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10125         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10126         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10127         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10128         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10129         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10131         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10132         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10133         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10134         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10135         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10139         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10140         (dl_platform_init): Call init_cpu_features.
10141         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10142         * sysdeps/i386/i686/cacheinfo.c
10143         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10144         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10145         * sysdeps/i386/i686/multiarch/Versions: Removed.
10146         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10147         Removed.
10148         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10149         * sysdeps/unix/sysv/linux/x86/Makefile
10150         (libpthread-sysdep_routines): Remove init-arch.
10151         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10152         <sysdeps/x86_64/dl-procinfo.c> instead of
10153         sysdeps/generic/dl-procinfo.c>.
10154         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10155         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10156         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10157         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10158         [$(subdir) == elf] (tests-static): Add
10159         tst-get-cpu-features-static.
10160         * sysdeps/x86/Versions: New file.
10161         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10162         * sysdeps/x86/cpu-features.c: Likewise.
10163         * sysdeps/x86/cpu-features.h: Likewise.
10164         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10165         * sysdeps/x86/libc-start.c: Likewise.
10166         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10167         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10168         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10169         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10170         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10171         Assume USE_MULTIARCH is defined and don't check it.
10172         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10173         (is_amd): Likewise.
10174         (max_cpuid): Likewise.
10175         (intel_check_word): Likewise.
10176         (__cache_sysconf): Don't call __init_cpu_features.
10177         (__x86_preferred_memory_instruction): Removed.
10178         (init_cacheinfo): Don't call __init_cpu_features. Replace
10179         __cpu_features with GLRO(dl_x86_cpu_features).
10180         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10181         (dl_platform_init): Call init_cpu_features.
10182         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10183         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10184         * sysdeps/x86_64/multiarch/Versions: Removed.
10185         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10186         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10187         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10188         Removed.
10189         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10191 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10193         [BZ #18820]
10194         * libio/Makefile (test-fmemopen-mem): New test.
10195         * libio/test-fmemopen.c (do_bz18820): New test.
10196         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10197         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10199 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10201         [BZ #16734]
10202         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10203         (FREE_BUF): Delete.
10204         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10205         * libio/genops.c (_IO_setb): Use malloc and free directly.
10206         (_IO_default_doallocate, _IO_default_finish): Likewise.
10207         ( _IO_unbuffer_all): Likewise.
10208         ( libc_freeres_fn): Likewise.
10209         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10210         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10211         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10212         (_IO_wdefault_doallocate): Likewise.
10214 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10216         [BZ #18086]
10217         * sysdeps/posix/nice.c (nice): Restore old errno.
10218         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10220 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10224 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10226         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10227         __bcopy and add a weak_alias to bcopy.
10228         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10229         for static build.
10231         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10232         cleanup macro usage.
10233         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10234         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10235         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10236         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10237         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10238         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10239         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10240         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10241         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10242         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10244         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10246         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10248         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10249         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10250         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10251         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10253         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10254         libc_hidden_def.
10255         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10257         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10258         (sysdep_routines): Add strstr-ppc64.
10259         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10261 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10263         [BZ #18778]
10264         * elf/Makefile (tests): Add Add tst-nodelete2.
10265         (modules-names): Add tst-nodelete2mod.
10266         (tst-nodelete2mod.so-no-z-defs): New.
10267         ($(objpfx)tst-nodelete2): Likewise.
10268         ($(objpfx)tst-nodelete2.out): Likewise.
10269         (LDFLAGS-tst-nodelete2): Likewise.
10270         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10271         out of loop through all loaded libraries.
10272         * elf/tst-nodelete2.c: New file.
10273         * elf/tst-nodelete2mod.c: Likewise.
10274         * elf/tst-znodelete-zlib.cc: Delete.
10276 2015-08-11  Andreas Schwab  <schwab@suse.de>
10278         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10279         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10280         (__openat64_nocancel): Likewise.
10282 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10284         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10285         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10286         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10287         * math/auto-libm-test-out: Regenerated.
10288         * sysdeps/i386/fpu/libm-test-ulps: Update.
10289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10291 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10293         [BZ #18790]
10294         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10295         threshold for returning +/- 1.
10296         * math/auto-libm-test-in: Add more tests of tanh.
10297         * math/auto-libm-test-out: Regenerated.
10298         * sysdeps/i386/fpu/libm-test-ulps: Update.
10300 2015-08-10  Andreas Schwab  <schwab@suse.de>
10302         [BZ #18781]
10303         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10304         MORE_OFLAGS to oflag.
10305         * io/test-lfs.c (do_test): Test openat64.
10307 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10309         [BZ #18789]
10310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10311         smaller threshold for returning the argument.
10312         * math/auto-libm-test-in: Add more tests of sinh.
10313         * math/auto-libm-test-out: Regenerated.
10314         * sysdeps/i386/fpu/libm-test-ulps: Update.
10316 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10318         [BZ #18674]
10319         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10320         break.
10322 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10324         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10325         (generated): Don't add $(addprefix z.,$(tzfiles)).
10327 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10329         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10330         * scripts/sysd-rules.awk: Likewise.
10332 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10334         * iconvdata/tst-tables.sh: Change echo -n to printf.
10335         * nss/db-Makefile: Likewise.
10336         * posix/tst-getconf.sh: Likewise.
10337         * stdio-common/tst-unbputc.sh: Likewise.
10339 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10341         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10342         MADV_*_PAGES defines behind this feature check.
10344 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10346         [BZ #18480]
10347         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10348         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10349         Define.
10350         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10351         LOAD_REGS_5, LOAD_REGS_6): Update.
10352         (INTERNAL_SYSCALL): Update using new LOAD defines.
10353         (INTERNAL_SYSCALL_NCS): Likewise.
10354         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10356 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10358         [BZ #16734]
10359         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10361 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10363         [BZ #17905]
10364         * catgets/Makefile (tst-catgets-mem): New test.
10365         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10366         * catgets/open_catalog.c (__open_catalog): Likewise.
10367         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10369 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10371         [BZ #18787]
10372         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10373         clobber registers.
10374         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10375         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10376         Cast return to __typeof (oldval).
10378 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10380         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10381         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10382         and delete sys/syscall.h include.
10384 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10386         [BZ #16517]
10387         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10388         (tan): Force underflow exception for arguments with small absolute
10389         value.
10390         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10391         (__kernel_tanf): Force underflow exception for arguments with
10392         small absolute value.
10393         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10394         (__kernel_tanl): Force underflow exception for arguments with
10395         small absolute value.
10396         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10397         (__kernel_tanl): Force underflow exception for arguments with
10398         small absolute value.
10399         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10400         (__kernel_tanl): Force underflow exception for arguments with
10401         small absolute value.
10402         * math/auto-libm-test-in: Add more tests of tan.
10403         * math/auto-libm-test-out: Regenerated.
10405 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10407         Fix sysdeps/i386/fpu/s_scalbn.S build
10409         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10411 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10413         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10415 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10417         Fix gcrt0.o compilation
10419         When static-start-installed-name is different from
10420         start-installed-name, we must not use the shared objects.
10422         * csu/Makefile
10423         (extra-objs): Add gmon-start.o when building shared library and
10424         $(static-start-installed-name) is different from
10425         $(start-installed-name).
10426         $(objpfx)g$(static-start-installed-name): When building shared
10427         library and $(static-start-installed-name) is different from
10428         $(static-start-installed-name), revert to non-shared rule,
10429         i.e. using $(objpfx)% and gmon-start.o.
10431 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10433         [BZ #16519]
10434         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10435         (__ieee754_sinh): Force underflow exception for arguments with
10436         small absolute value.
10437         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10438         (__ieee754_sinhf): Force underflow exception for arguments with
10439         small absolute value.
10440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10441         (__ieee754_sinhl): Force underflow exception for arguments with
10442         small absolute value.
10443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10444         (__ieee754_sinhl): Force underflow exception for arguments with
10445         small absolute value.
10446         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10447         (__ieee754_sinhl): Force underflow exception for arguments with
10448         small absolute value.
10449         * math/auto-libm-test-in: Add more tests of sinh.
10450         * math/auto-libm-test-out: Regenerated.
10451         * sysdeps/i386/fpu/libm-test-ulps: Update.
10453 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10455         * libio/oldfileops.c: Include unistd.h.
10457 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10459         * stdlib/isomac.c: Include ctype.h.
10461 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10463         * dirent/tst-seekdir.c (main): Converted to ...
10464         (do_test): ... this.
10465         (TEST_FUNCTION): New macro.
10466         Include test-skeleton.c.
10467         * elf/tst-dlmodcount.c (main): Converted to ...
10468         (do_test): ... this.
10469         (TEST_FUNCTION): New macro.
10470         Include test-skeleton.c.
10471         * elf/tst-order-main.c (main): Converted to ...
10472         (do_test): ... this.
10473         (TEST_FUNCTION): New macro.
10474         Include test-skeleton.c.
10475         * elf/tst-pie2.c (main): Converted to ...
10476         (do_test): ... this.
10477         (TEST_FUNCTION): New macro.
10478         Include test-skeleton.c.
10479         * inet/tst-ether_aton.c (main): Converted to ...
10480         (do_test): ... this.
10481         (TEST_FUNCTION): New macro.
10482         Include test-skeleton.c.
10483         * misc/tst-mntent.c (main): Converted to ...
10484         (do_test): ... this.
10485         (TEST_FUNCTION): New macro.
10486         Include test-skeleton.c.
10487         * misc/tst-tsearch.c (main): Converted to ...
10488         (do_test): ... this.
10489         (TEST_FUNCTION): New macro.
10490         Include test-skeleton.c.
10491         * posix/tst-regexloc.c (main): Converted to ...
10492         (do_test): ... this.
10493         (TEST_FUNCTION): New macro.
10494         Include test-skeleton.c.
10495         * resolv/tst-aton.c (main): Converted to ...
10496         (do_test): ... this.
10497         (TEST_FUNCTION): New macro.
10498         Include test-skeleton.c.
10499         * stdio-common/test-fwrite.c (main): Converted to ...
10500         (do_test): ... this.
10501         (TEST_FUNCTION): New macro.
10502         Include test-skeleton.c.
10503         * stdio-common/tst-ferror.c (main): Converted to ...
10504         (do_test): ... this.
10505         (TEST_FUNCTION): New macro.
10506         Include test-skeleton.c.
10507         * stdio-common/tst-printf.c (main): Converted to ...
10508         (do_test): ... this.
10509         (TEST_FUNCTION): New macro.
10510         Include test-skeleton.c.
10511         * stdio-common/tst-printfsz.c (main): Converted to ...
10512         (do_test): ... this.
10513         (TEST_FUNCTION): New macro.
10514         Include test-skeleton.c.
10515         * stdlib/tst-strtod.c (main): Converted to ...
10516         (do_test): ... this.
10517         (TEST_FUNCTION): New macro.
10518         Include test-skeleton.c.
10519         * string/tst-strlen.c (main): Converted to ...
10520         (do_test): ... this.
10521         (TEST_FUNCTION): New macro.
10522         Include test-skeleton.c.
10523         * string/tst-svc.c (main): Converted to ...
10524         (do_test): ... this.
10525         (TEST_FUNCTION): New macro.
10526         Include test-skeleton.c.
10527         * time/tst-strptime.c (main): Converted to ...
10528         (do_test): ... this.
10529         (TEST_FUNCTION): New macro.
10530         Include test-skeleton.c.
10531         * timezone/tst-timezone.c (main): Converted to ...
10532         (do_test): ... this.
10533         (TEST_FUNCTION): New macro.
10534         Include test-skeleton.c.
10536 2015-08-05  Zack Weinberg  <zackw@panix.com>
10538         * misc/regexp.h: Update comments.
10540 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10542         [BZ #18635]
10543         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10544         before return label.
10546 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10548         [BZ #18661]
10549         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10550         when calling __errno_location.
10551         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10552         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10554 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10556         [BZ #18661]
10557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10558         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10559         __gettimeofday.
10561 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10563         [BZ #18661]
10564         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10565         (__start_context): Don't use pop to restore %rdi so that stack
10566         is aligned to 16 bytes when calling __setcontext.
10568 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10570         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10571         only for libc.
10572         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10574 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10576         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10577         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10578         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10580 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10582         * string/memccpy.c (memccpy):
10583         Improve performance by using memchr/memcpy/__mempcpy.
10585 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10587         * string/strncpy.c (strncpy):
10588         Improve performance by using __strnlen/memcpy.
10590 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10592         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10593         Optimize to avoid an unnecessary FPCR read.
10595 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10597         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10598         Optimize to reduce FPCR/FPSR accesses.
10600 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10602         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10603         dead->data[category] != NULL.
10605 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10607         [BZ #18647]
10608         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10609         and |x| close to 1, use absolute value of x when computing log.
10610         * math/auto-libm-test-in: Add more tests of pow.
10611         * math/auto-libm-test-out: Regenerated.
10613 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10615         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10616         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10617         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10619 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10621         [BZ #18525]
10622         * locales/km_KH: Remove timezone definition.
10623         * locales/lo_LA: Likewise.
10624         * locales/my_MM: Likewise.
10625         * locales/nan_TW@latin: Likewise.
10626         * locales/th_TH: Likewise.
10627         * locales/uk_UA: Likewise.
10629 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10631         [BZ #18265]
10632         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10633         (wcsncat): Likewise.
10634         (wcscmp): Likewise.
10635         (wcsncmp): Likewise.
10637 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10639         * test-skeleton.c (usage): New function.
10640         (main): Call usage when opt is '?'.
10642 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10644         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10645         before first use.
10647 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10649         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10650         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10651         in there too.
10653 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10655         * version.h (RELEASE): Set to "development".
10656         (VERSION): Set to "2.22.90"
10658         * version.h (RELEASE): Set to "stable".
10659         (VERSION): Set to "2.22"
10660         * include/features.h (__GLIBC_MINOR__): Set to 22.
10662 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10664         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10665         Restructure macro to avoid "value computed is not used" warning.
10666         (atomic_compare_and_exchange_val_acq): Likewise.
10668 2015-08-04  Andreas Schwab  <schwab@suse.de>
10670         [BZ #18635]
10671         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10672         ret.
10673         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10675 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10677         * po/pl.po: Updated translation.
10678         * po/uk.po: Likewise.
10679         * po/fi.po: Likewise.
10680         * po/ko.po: Likewise.
10681         * po/ru.po: Likewise.
10682         * po/vi.po: Likewise.
10684 2015-07-31  Zack Weinberg  <zackw@panix.com>
10686         [BZ #18681]
10687         * regexp.h: Add unconditional #warning stating that this header
10688         will be removed soon.  Revise banner comment to match.
10689         (compile): Consistently use ERROR instead of RETURN to report
10690         errors (partial fix for bz#18681).
10691         * regexp.c: Don't include regexp.h. Remove some unnecessary
10692         declarations.
10694 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10696         * po/libc.pot: Regenerated.
10698 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10700         [BZ #18740]
10701         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10702         float-vlen4-arch-ext-cflags): Removed.
10703         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10704         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10706 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10708         [BZ #14113]
10709         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10710         aligned to __aligned__.
10711         (pthread_cond_t, pthread_rwlock_t): Likewise.
10713 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10715         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10717 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10719         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10720         (struct sigaction): Change sa_flags from a long to an int, and add
10721         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10723 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10725         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10726         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10727         sysdeps/generic/sysdep.h include.
10728         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10729         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10730         sysdeps/hppa/sysdep.h.
10731         (ENTRY, PSEUDO): Undefine before defining.
10733 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10735         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10736         from scratch to use INTERNAL_SYSCALL.
10738 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10740         [BZ #18078]
10741         * scripts/check-localplt.awk: Support alternate relocations.
10742         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10743         sections.
10744         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10745         malloc entries with + REL R_386_GLOB_DAT.
10746         * sysdeps/x86_64/localplt.data: New file.
10748 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10750         [BZ #18731]
10751         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10752         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10753         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10755 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10757         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10759 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10761         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10762         directly in terms of __sync_fetch_and_add and delete (int) cast.
10764 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10766         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10767         the -D_ASM_IA64_CURRENT_H flag.
10769 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10771         [BZ #18641]
10772         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10774 2015-07-27  Andreas Schwab  <schwab@suse.de>
10776         * conform/conformtest.pl (checknamespace): Filter out string
10777         literals while tokenizing.
10779 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10781         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10782         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10783         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10785 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10787         * nptl/tst-join7mod.c: Add #include <string.h>.
10789 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10791         * sysdeps/nios2/libm-test-ulps: Update.
10793 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10795         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10796         Fix order of arguments to the rt_sigprocmask syscall.
10797         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10798         Likewise.
10800 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10802         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10804 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10806         [BZ #18457]
10807         * nptl/Makefile (tests): New test case tst-join7.
10808         (modules-names): New test case module tst-join7mod.
10809         * nptl/tst-join7.c: New file.
10810         * nptl/tst-join7mod.c: New file.
10811         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10812         all translation units in libc.so, libpthread.so and rtld.
10814 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10818 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10822         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10826         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10827         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10828         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10829         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10831         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10832         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10833         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10834         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10835         implementation.
10837 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10839         [BZ #17711]
10840         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10841         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10842         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10843         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10844         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10845         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10847 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10849         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10850         instead of just saying load lock in the comments.
10852 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10854         * sysdeps/unix/Subdirs: Moved ...
10855         * sysdeps/posix/Subdirs: ... here.
10856         * login/pty.h (struct termios, struct winsize): Add forward decls.
10857         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10858         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10859         * sysdeps/arm/nacl/libc.abilist: Updated.
10860         * sysdeps/nacl/libutil.abilist: New file.
10862         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10863         (SIGWINCH): New macro.
10865         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10866         * sysdeps/arm/nacl/libc.abilist: Add it.
10868 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10870         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10872 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10874         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10875         Swap __glibc_reserved0 and sa_flags order.
10877 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10879         [BZ #18657]
10880         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10881         are pending TLS destructor calls.
10882         * include/link.h (struct link_map): Add concurrency note for
10883         L_TLS_DTOR_COUNT.
10884         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10885         Don't touch the link map flag.  Atomically increment
10886         l_tls_dtor_count.
10887         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10888         Avoid taking the load lock and don't touch the link map flag.
10889         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10890         * stdlib/Makefile (tests): Use it.
10891         * stdlib/tst-tls-atexit.c (do_test): dlopen
10892         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10893         to allow tst-tls-atexit-nodelete test case to use it.
10895 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10897         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10898         to bits/types.h.
10899         (msgqnum_t): New typedef.
10900         (msglen_t): Likewise.
10901         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10902         and msg_qbytes type to msglen_t.
10904 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10906         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10907         pad0 to __glibc_reserved0.
10908         (struct stat64): Likewise.
10910 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10912         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10913         Change sa_flags from a long to an int and add __glibc_reserved0 before
10914         it for padding.
10916 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10918         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10919         anonymous by deleting "siginfo" name.
10921 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10923         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10924         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10925         rather than __nacl_irt_filename.
10926         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10928         * NEWS: New item for arm-nacl port.
10929         * sysdeps/arm/nacl/libc.abilist: New file.
10930         * sysdeps/nacl/ld.abilist: New file.
10931         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10932         * sysdeps/nacl/libanl.abilist: New file.
10933         * sysdeps/nacl/libcrypt.abilist: New file.
10934         * sysdeps/nacl/libdl.abilist: New file.
10935         * sysdeps/nacl/libm.abilist: New file.
10936         * sysdeps/nacl/libpthread.abilist: New file.
10937         * sysdeps/nacl/libresolv.abilist: New file.
10938         * sysdeps/nacl/librt.abilist: New file.
10940 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10942         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10943         __startcontext to initialize the new context.
10944         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10945         up CFI directive to forbid further backtracing.
10947 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10949         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10950         reference.
10951         * charmaps/ANSI_X3.4-1968: Likewise.
10952         * charmaps/BS_4730: Likewise.
10953         * charmaps/BS_VIEWDATA: Likewise.
10954         * charmaps/CP1250: Likewise.
10955         * charmaps/CP1251: Likewise.
10956         * charmaps/CP1252: Likewise.
10957         * charmaps/CP1253: Likewise.
10958         * charmaps/CP1254: Likewise.
10959         * charmaps/CP1255: Likewise.
10960         * charmaps/CP1256: Likewise.
10961         * charmaps/CSN_369103: Likewise.
10962         * charmaps/EBCDIC-DK-NO: Likewise.
10963         * charmaps/GB_1988-80: Likewise.
10964         * charmaps/GREEK-CCITT: Likewise.
10965         * charmaps/GREEK7: Likewise.
10966         * charmaps/INIS-8: Likewise.
10967         * charmaps/ISIRI-3342: Likewise.
10968         * charmaps/ISO_2033-1983: Likewise.
10969         * charmaps/ISO_5427-EXT: Likewise.
10970         * locales/POSIX: Likewise.
10971         * locales/ar_SA: Likewise.
10972         * locales/be_BY: Likewise.
10973         * locales/be_BY@latin: Likewise.
10974         * locales/ca_ES: Likewise.
10975         * locales/cs_CZ: Likewise.
10976         * locales/da_DK: Likewise.
10977         * locales/de_BE: Likewise.
10978         * locales/de_CH: Likewise.
10979         * locales/de_LU: Likewise.
10980         * locales/en_AU: Likewise.
10981         * locales/en_BW: Likewise.
10982         * locales/en_CA: Likewise.
10983         * locales/en_DK: Likewise.
10984         * locales/en_GB: Likewise.
10985         * locales/en_IE: Likewise.
10986         * locales/en_NZ: Likewise.
10987         * locales/en_ZA: Likewise.
10988         * locales/en_ZW: Likewise.
10989         * locales/es_AR: Likewise.
10990         * locales/es_BO: Likewise.
10991         * locales/es_CL: Likewise.
10992         * locales/es_CO: Likewise.
10993         * locales/es_DO: Likewise.
10994         * locales/es_EC: Likewise.
10995         * locales/es_ES: Likewise.
10996         * locales/es_HN: Likewise.
10997         * locales/es_MX: Likewise.
10998         * locales/es_PA: Likewise.
10999         * locales/es_PE: Likewise.
11000         * locales/es_PY: Likewise.
11001         * locales/es_SV: Likewise.
11002         * locales/es_US: Likewise.
11003         * locales/es_UY: Likewise.
11004         * locales/es_VE: Likewise.
11005         * locales/et_EE: Likewise.
11006         * locales/fa_IR: Likewise.
11007         * locales/fo_FO: Likewise.
11008         * locales/fr_CA: Likewise.
11009         * locales/fr_CH: Likewise.
11010         * locales/gv_GB: Likewise.
11011         * locales/he_IL: Likewise.
11012         * locales/hr_HR: Likewise.
11013         * locales/id_ID: Likewise.
11014         * locales/is_IS: Likewise.
11015         * locales/it_CH: Likewise.
11016         * locales/iw_IL: Likewise.
11017         * locales/kl_GL: Likewise.
11018         * locales/ko_KR: Likewise.
11019         * locales/kw_GB: Likewise.
11020         * locales/lg_UG: Likewise.
11021         * locales/lt_LT: Likewise.
11022         * locales/lv_LV: Likewise.
11023         * locales/mi_NZ: Likewise.
11024         * locales/nhn_MX: Likewise.
11025         * locales/nl_BE: Likewise.
11026         * locales/pl_PL: Likewise.
11027         * locales/sk_SK: Likewise.
11028         * locales/sl_SI: Likewise.
11029         * locales/sv_FI: Likewise.
11030         * locales/tl_PH: Likewise.
11031         * locales/tr_TR: Likewise.
11032         * locales/vi_VN: Likewise.
11034 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11036         [BZ #17475]
11037         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11038         of tu_IN and bh_IN.
11040 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11042         [BZ #18694]
11043         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11044         bits/wordsize.h.
11045         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11047 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11049         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11050         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11051         (spawn_thread): New function.
11052         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11053         (do_test): ... here.  Use IS_LOADED to test for its
11054         availability.
11056 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11058         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11060 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11062         [BZ #18696]
11063         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11064         si_addr_bnd.
11065         (si_lower): New.
11066         (si_upper): Likewise.
11068 2015-07-16  David S. Miller  <davem@davemloft.net>
11070         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11072 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11074         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11075         buffer.
11076         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11077         fail output information.
11079 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11082         and strstr-ppc64..
11083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11084         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11085         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11086         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11087         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11089 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11091         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11092         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11093         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11094         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11096 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11098         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11099         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11100         rtld_hidden_proto.
11101         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11103 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11105         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11106         the test can fail.
11108         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11110         [BZ #18676]
11111         * elf/tst-nodelete-opened.c: New test case.
11112         * elf/tst-nodelete-opened-lib.c: New test case module.
11113         * elf/Makefile (tests, modules-names): Use them.
11114         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11115         early.
11117 2015-07-15  David S. Miller  <davem@davemloft.net>
11119         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11120         futex-intenal.h
11121         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11122         * sysdeps/sparc/sparc64/Makefile: Likewise.
11123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11124         Remove space from macro define.
11125         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11127 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11129         [BZ #17475]
11130         * locale/iso-639.def: Update Bhili and Tulu language codes as
11131         per iso639-3.
11133 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11135         * elf/tst-leaks1.c (main): Converted to ...
11136         (do_test): ... this.
11137         (TEST_FUNCTION): New macro.
11138         Include test-skeleton.c.
11139         * localedata/tst-langinfo.c (main): Converted to ...
11140         (do_test): ... this.
11141         (TEST_FUNCTION): New macro.
11142         Include test-skeleton.c.
11143         * math/test-fpucw.c (main): Converted to ...
11144         (do_test): ... this.
11145         (TEST_FUNCTION): New macro.
11146         Include test-skeleton.c.
11147         * math/test-tgmath.c (main): Converted to ...
11148         (do_test): ... this.
11149         (TEST_FUNCTION): New macro.
11150         Include test-skeleton.c.
11151         * math/test-tgmath2.c (main): Converted to ...
11152         (do_test): ... this.
11153         (TEST_FUNCTION): New macro.
11154         Include test-skeleton.c.
11155         * setjmp/tst-setjmp.c (main): Converted to ...
11156         (do_test): ... this.
11157         (TEST_FUNCTION): New macro.
11158         Include test-skeleton.c.
11159         * stdio-common/tst-sscanf.c (main): Converted to ...
11160         (do_test): ... this.
11161         (TEST_FUNCTION): New macro.
11162         Include test-skeleton.c.
11163         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11164         (do_test): ... this.
11165         (TEST_FUNCTION): New macro.
11166         Include test-skeleton.c.
11168         * elf/tst-audit9.c (main): Converted to ...
11169         (do_test): ... this.
11170         (TEST_FUNCTION): New macro.
11171         Include test-skeleton.c.
11173 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11175         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11177 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11179         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11180         New variable.
11182 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11184         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11186 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11188         * sysdeps/generic/dl-fileid.h: New file.
11189         * sysdeps/posix/dl-fileid.h: New file.
11190         * sysdeps/nacl/dl-fileid.h: New file.
11191         * include/link.h: Include <dl-fileid.h>.
11192         (struct link_map): Replace l_dev and l_ino with l_file_id.
11193         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11194         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11195         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11197 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11199         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11201 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11203         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11204         Add iff $CXX is set.
11205         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11206         Likewise.
11207         (tst-nodelete-zmodiff): Likewise.
11208         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11210 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11212         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11214 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11216         * sysdeps/aarch64/fpu/math_private.h
11217         (define math_opt_barrier): Add AArch64 version.
11218         (math_force_eval): Likewise.
11220 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11222         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11224 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11226         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11227         %ld with %jd and cast to intmax_t.
11228         (do_test_length_zero): Likewise.
11230 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11232         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11234 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11236         * sysdeps/tile/libm-test-ulps: Regenerated.
11238         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11239         Comment out the whole function, not just its body.
11241 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11243         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11244         locks.
11246         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11248 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11250         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11251         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11253 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11255         * sysdeps/nptl/futex-internal.h: New file.
11256         * sysdeps/nacl/futex-internal.h: New file.
11257         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11258         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11259         error checking.
11260         (setxid_unmark_thread): Likewise.
11261         (__nptl_setxid): Likewise.
11262         (__wait_lookup_done): Likewise.
11263         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11264         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11265         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11266         * nptl/pthread_once.c (clear_once_control): Likewise.
11267         (__pthread_once_slow): Likewise.
11268         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11269         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11270         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11271         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11272         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11273         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11274         Likewise.
11275         (__pthread_rwlock_rdlock): Likewise.
11276         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11277         Likewise.
11278         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11279         Likewise.
11280         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11281         Likewise.
11282         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11283         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11284         Likewise.
11285         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11286         __ASSUME_PRIVATE_FUTEX check.
11287         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11288         Check that shared futexes are supported.
11289         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11290         wrappers with error checking.
11291         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11292         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11293         * nptl/pthread_barrierattr_setpshared.c
11294         (pthread_barrierattr_setpshared): Check that shared futexes are
11295         supported.
11296         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11297         Likewise.
11298         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11299         Likewise.
11300         * nptl/sem_init.c (futex_private_if_supported): Remove.
11301         (__new_sem_init): Adapt and check that shared futexes are supported.
11302         * nptl/sem_open.c (sem_open): Likewise.
11303         * nptl/sem_post.c (futex_wake): Remove.
11304         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11305         (do_futex_wait): Use futex wrappers with error checking.
11306         * nptl/sem_wait.c: Include lowlevellock.h.
11307         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11308         Use futex_supports_pshared.
11309         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11310         Use futex wrappers with error checking.
11311         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11312         Likewise.
11313         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11314         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11315         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11316         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11317         (futex_wake): Likewise.
11318         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11319         (do_futex_wait): Use futex wrappers with error checking.
11320         (__new_sem_wait_slow): Update EINTR handling.
11321         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11323 2015-07-09  Martin Sebor  <msebor@redhat.com>
11325         [BZ #18435]
11326         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11327         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11328         * nptl/Makefile (test-xfail-tst-once5): Define.
11330 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11332         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11333         * elf/dl-minimal.c: For readability, reorder some definitions and
11334         introduce more page breaks.  Include <stdio.h>.
11335         (__libc_fatal): New function.
11337         * include/unistd.h: Add rtld_hidden_proto for _exit.
11338         * posix/_exit.c: Add rtld_hidden_def.
11339         * sysdeps/mach/hurd/_exit.c: Likewise.
11340         * sysdeps/nacl/_exit.c: Likewise.
11341         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11342         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11344 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11347         bndmov encoding with zero displacement.
11349 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11350             H.J. Lu  <hongjiu.lu@intel.com>
11352         [BZ #18134]
11353         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11354         * sysdeps/i386/configure: Regenerated.
11355         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11356         (_dl_runtime_profile): Save and restore Intel MPX return bound
11357         registers when calling _dl_call_pltexit.  Add
11358         PRESERVE_BND_REGS_PREFIX before return.
11359         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11360         (LRV_BND1_OFFSET): Likewise.
11361         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11362         lrv_bnd1.
11363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11364         typo in bndmov encoding.
11365         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11366         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11367         branch instructions to preserve bounds.
11369 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11372         [GLIBC_2.22]: Add fmemopen.
11374 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11376         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11377         returns an error, also try to use host port from __mach_host_self for
11378         the __vm_wire call.
11379         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11381 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11383         [BZ #18400]
11384         [BZ #18648]
11385         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11386         Fix pr_uid and pr_gid members.
11387         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11388         definition to elf_greg_t.
11390 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11392         [BZ #18383]
11393         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11394         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11395         * sysdeps/arm/configure: Regenerated.
11396         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11397         (test-xfail-tst-tlsalign-static): Variable removed.
11399         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11400         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11401         rather than explicit 'ln -s'.
11403         * resolv/rpc/netdb.h: New file.
11404         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11406 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11408         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11409         length buffers.
11410         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11411         test-skeleton.c.
11413         [BZ #6544]
11414         [BZ #11216]
11415         [BZ #12836]
11416         [BZ #13151]
11417         [BZ #13152]
11418         [BZ #14292]
11419         * include/stdio.h (fmemopen): Remove hidden prototype.
11420         (__fmemopen): Add new hidden prototype.
11421         * libio/Makefile: Add oldfmemopen object.
11422         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11423         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11424         compliance.
11425         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11426         symbol compatibility.
11427         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11428         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11429         fmemopen.
11430         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11431         on append and read mode.
11432         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11433         fmemopen.
11434         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11435         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11436         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11437         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11438         Likewise.
11439         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11440         [GLIBC_2.22]: Likewise.
11441         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11442         Likewise.
11443         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11444         Likewise.
11445         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11446         [GLIBC_2.22]: Likewise.
11447         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11448         [GLIBC_2.22]: Likewise.
11449         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11450         [GLIBC_2.22]: Likewise.
11451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11452         [GLIBC_2.22]: Likewise.
11453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11454         [GLIBC_2.22]: Likewise.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11456         [GLIBC_2.22]: Likewise.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11458         [GLIBC_2.22]: Likewise.
11459         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11460         Likewise.
11461         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11462         Likewise.
11463         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11464         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11465         [GLIBC_2.22]: Likewise.
11466         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11467         [GLIBC_2.22]: Likewise.
11468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11469         [GLIBC_2.22]: Likewise.
11470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11471         [GLIBC_2.22]: Likewise.
11472         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11473         Likewise.
11474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11475         Likewise.
11476         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11477         Likewise.
11478         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11479         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11481 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11483         [BZ #18643]
11484         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11485         IPV6_PATHMTU, and IPV6_DONTFRAG.
11487 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11489         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11490         and _IO_UNBUFFERED.
11491         * libio/oldfileops.c: Likewise.
11492         * libio/wfileops.c: Likewise.
11494 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11496         * nscd/selinux.c: Delete selinux/flask.h include.
11498 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11500         [BZ #18641]
11501         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11502         (putpwent): Likewise.
11503         (getpwnam): Likewise.
11504         (getpwent_r): Likewise.
11505         (getpwuid_r): Likewise.
11506         (getpwnam_r): Likewise.
11507         (fgetpwent_r): Likewise.
11509 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11511         [BZ #18557]
11512         * inet/rcmd.c (__validuser2_sa): Check user first to
11513         short-circuit host check.
11515 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11516             Mikhail Ilin  <m.ilin@samsung.com>
11518         [BZ #17833]
11519         * elf/Makefile (tests): Add tst-nodelete.
11520         (modules-names): Add tst-nodelete-uniquemod.
11521         (tst-nodelete-uniquemod.so-no-z-defs): New.
11522         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11523         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11524         ($(objpfx)tst-nodelete): Likewise.
11525         ($(objpfx)tst-nodelete.out): Likewise.
11526         (LDFLAGS-tst-nodelete): Likewise.
11527         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11528         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11529         implement forced object deletion.
11530         (_dl_close): Pass false to _dl_close_worker.
11531         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11532         * elf/tst-nodelete.cc: New file.
11533         * elf/tst-nodeletelib.cc: Likewise.
11534         * elf/tst-znodeletelib.cc: Likewise.
11535         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11537 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11539         [BZ #18508]
11540         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11541         Depend on $(libdl).
11542         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11543         is not called infinitely times.
11544         (backtrace_helper): New function.
11545         (trace_arg): New struct.
11546         (st1): Enlarge stack size.
11547         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11548         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11549         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11550         Likewise.
11552 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11554         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11556 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11558         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11559         Include sys/types.h instead of bits/types.h.
11560         Remove inclusion of bits/wordsize.h.
11562 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11564         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11565         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11566         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11567         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11568         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11569         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11571 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11573         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11574         link-defines.sym.
11575         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11576         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11577         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11578         and LR_SIZE.
11579         * sysdeps/i386/link-defines.sym: New file.
11581 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11583         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11584         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11585         ($(objpfx)tst-audit3): New rule.
11586         ($(objpfx)tst-audit3.out): Likewise.
11587         * sysdeps/i386/tst-audit3.c: New file.
11588         * sysdeps/i386/tst-audit3.h: Likewise.
11589         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11590         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11592 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11594         [BZ #18633]
11595         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11596         pointer in C code.
11597         (__strcat_c): Likewise.
11598         (__strcat_g): Likewise.
11600 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11602         [BZ #18592]
11603         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11605 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11607         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11608         New function.  (__ieee754_sqrtf): New function.
11609         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11610         New function.
11611         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11612         New function.
11614 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11616         * sysdeps/ieee754/support.c: Remove unused file.
11618 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11620         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11621         registers instead of d ones so the layout is kernel abi compatible.
11622         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11623         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11624         Likewise.
11626 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11628         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11630 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #18619]
11633         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11634         and return argument in case of subnormal argument.
11636 2015-07-01  Martin Sebor  <msebor@redhat.com>
11638         [BZ #18435]
11639         * nptl/Makefile: Add tst-once5.cc.
11640         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11641         Remove macro redefinitions.
11642         * nptl/tst-once5.cc: New test.
11644 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11646         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11648         * sysdeps/arm/libm-test-ulps: Regenerated.
11650         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11651         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11653 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11655         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11656         lll_lock_wait_private and lll_futex_wake probes.
11658         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11660         Likewise.
11661         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11662         atomic_spin_nop.
11663         * sysdeps/x86_64/bits/atomic.h: Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11665         to atomic_spin_nop and move ...
11666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11667         ... here and ...
11668         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11669         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11670         atomic_spin_nop instead of BUSY_WAIT_NOP.
11671         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11672         Likewise.
11673         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11674         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11675         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11676         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11677         instead of atomic_delay.
11679 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #18613]
11682         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11683         X_ADJ not X when adjusting exponent.
11684         (__ieee754_gamma_r): Do intermediate computations in
11685         round-to-nearest then adjust overflowing and underflowing results
11686         as needed.
11687         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11688         of X_ADJ not X when adjusting exponent.
11689         (__ieee754_gammaf_r): Do intermediate computations in
11690         round-to-nearest then adjust overflowing and underflowing results
11691         as needed.
11692         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11693         log of X_ADJ not X when adjusting exponent.
11694         (__ieee754_gammal_r): Do intermediate computations in
11695         round-to-nearest then adjust overflowing and underflowing results
11696         as needed.  Use 1.0L not 1.0f as numerator of division.
11697         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11698         log of X_ADJ not X when adjusting exponent.
11699         (__ieee754_gammal_r): Do intermediate computations in
11700         round-to-nearest then adjust overflowing and underflowing results
11701         as needed.  Use 1.0L not 1.0f as numerator of division.
11702         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11703         of X_ADJ not X when adjusting exponent.
11704         (__ieee754_gammal_r): Do intermediate computations in
11705         round-to-nearest then adjust overflowing and underflowing results
11706         as needed.  Use 1.0L not 1.0f as numerator of division.
11707         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11708         to auto-libm-test-in.
11709         (tgamma_test): Use ALL_RM_TEST.
11710         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11711         tests of tgamma with spurious-overflow.
11712         * math/auto-libm-test-out: Regenerated.
11713         * math/gen-libm-have-vector-test.sh: Do not check for START.
11714         * sysdeps/i386/fpu/libm-test-ulps: Update.
11715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11717         [BZ #18612]
11718         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11719         arguments, just return 0.5 times the argument, with underflow
11720         forced as needed.
11721         * math/auto-libm-test-in: Add more tests of j1.
11722         * math/auto-libm-test-out: Regenerated.
11724         [BZ #16559]
11725         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11726         (__ieee754_j1): Force underflow exception for small results.
11727         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11728         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11729         (__ieee754_j1f): Force underflow exception for small results.
11730         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11731         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11732         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11733         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11734         (__ieee754_j1l): Force underflow exception for small results.
11735         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11736         * math/auto-libm-test-in: Add more tests of j1 and jn.
11737         * math/auto-libm-test-out: Regenerated.
11739         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11740         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11741         (PF_MPLS): Likewise.
11742         (AF_IB): Likewise.
11743         (AF_MPLS): Likewise.
11744         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11745         value and macro.
11746         (MS_RMT_MASK): Include MS_LAZYTIME.
11748 2015-06-26  Mel Gorman  <mgorman@suse.de>
11750         [BZ #18502]
11751         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11752         already minimal.
11754 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11756         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11757         (DT_MIPS_NUM): Update.
11758         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11759         DT_MIPS_RLD_MAP_REL.
11761 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11763         [BZ #16559]
11764         [BZ #18602]
11765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11766         round-to-nearest internally then recompute results that
11767         underflowed to zero in the original rounding mode.
11768         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11769         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11771         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11772         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11773         * sysdeps/i386/fpu/libm-test-ulps: Update.
11774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11778         * NEWS: Fixed description of link with vector math library.
11780 2015-06-25  Andreas Schwab  <schwab@suse.de>
11782         [BZ #18549]
11783         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11784         * libio/test-fmemopen.c (do_test): Add test for it.
11786 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11788         [BZ #17841]
11789         * Makeconfig (no-pie-ldflag): New.
11790         (+link): Set to $(+link-pie) if default to PIE.
11791         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11792         * config.make.in (build-pie-default): New.
11793         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11794         is default.  AC_SUBST.
11795         * configure: Regenerated.
11796         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11798 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11800         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11801         to 'unsigned int'.
11803         * resolv/gai_misc.h (struct waitlist): Change type of field
11804         counterp to 'volatile unsigned int *'.
11805         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11806         FUTEXADDR and OLDVAL.
11807         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11808         Give local variable TOTAL type 'volatile unsigned int'.
11809         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11810         * resolv/gai_suspend.c (gai_suspend):
11811         Give local variable CNTR type 'unsigned int'.
11813         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11814         counterp to 'volatile unsigned int *'.
11815         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11816         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11817         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11818         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11819         Give local variable TOTAL type 'volatile unsigned int'.
11820         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11822 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11824         [BZ #18383]
11825         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11826         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11827         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11828         comment for i386/x86-64.
11829         (test-xfail-tst-tlsalign-extern-static): Removed.
11831 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11833         * math/test-double.h: New file.
11834         * math/test-float.h: Likewise.
11835         * math/test-ldouble.h: Likewise.
11836         * math/test-math-inline.h: Likewise.
11837         * math/test-math-no-inline.h: Likewise.
11838         * math/test-math-scalar.h: Likewise.
11839         * math/test-math-vector.h: Likewise.
11840         * math/test-vec-loop.h: Remove file.  Contents moved into
11841         test-math-vector.h.
11842         * math/libm-test.inc (MATHCONST): Do not document macro.
11843         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11844         and test-math-scalar.h.
11845         (FUNC): Remove macro.
11846         (FUNC_TEST): Likewise.
11847         (FLOAT): Likewise.
11848         (MATHCONST): Likewise.
11849         (PRINTF_EXPR): Likewise.
11850         (PRINTF_XEXPR): Likewise.
11851         (PRINTF_NEXPR): Likewise.
11852         (TEST_DOUBLE): Likewise.
11853         (TEST_MATHVEC): Likewise.
11854         (__NO_MATH_INLINES): Likewise.
11855         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11856         and test-math-scalar.h.
11857         (FUNC): Remove macro.
11858         (FUNC_TEST): Likewise.
11859         (FLOAT): Likewise.
11860         (MATHCONST): Likewise.
11861         (PRINTF_EXPR): Likewise.
11862         (PRINTF_XEXPR): Likewise.
11863         (PRINTF_NEXPR): Likewise.
11864         (TEST_FLOAT): Likewise.
11865         (TEST_MATHVEC): Likewise.
11866         (__NO_MATH_INLINES): Likewise.
11867         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11868         and test-math-scalar.h.
11869         (FUNC): Remove macro.
11870         (FUNC_TEST): Likewise.
11871         (FLOAT): Likewise.
11872         (MATHCONST): Likewise.
11873         (PRINTF_EXPR): Likewise.
11874         (PRINTF_XEXPR): Likewise.
11875         (PRINTF_NEXPR): Likewise.
11876         (TEST_DOUBLE): Likewise.
11877         (TEST_MATHVEC): Likewise.
11878         (TEST_INLINE): Likewise.
11879         (__NO_MATH_INLINES): Likewise.
11880         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11881         test-math-scalar.h.
11882         (FUNC): Remove macro.
11883         (FUNC_TEST): Likewise.
11884         (FLOAT): Likewise.
11885         (MATHCONST): Likewise.
11886         (PRINTF_EXPR): Likewise.
11887         (PRINTF_XEXPR): Likewise.
11888         (PRINTF_NEXPR): Likewise.
11889         (TEST_FLOAT): Likewise.
11890         (TEST_MATHVEC): Likewise.
11891         (TEST_INLINE): Likewise.
11892         (__NO_MATH_INLINES): Likewise.
11893         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11894         and test-math-scalar.h.
11895         (FUNC): Remove macro.
11896         (FUNC_TEST): Likewise.
11897         (FLOAT): Likewise.
11898         (MATHCONST): Likewise.
11899         (PRINTF_EXPR): Likewise.
11900         (PRINTF_XEXPR): Likewise.
11901         (PRINTF_NEXPR): Likewise.
11902         (TEST_LDOUBLE): Likewise.
11903         (TEST_MATHVEC): Likewise.
11904         (TEST_INLINE): Likewise.
11905         (__NO_MATH_INLINES): Likewise.
11906         * math/test-ldouble.c: Include test-ldouble.h,
11907         test-math-no-inline.h and test-math-scalar.h.
11908         (FUNC): Remove macro.
11909         (FUNC_TEST): Likewise.
11910         (FLOAT): Likewise.
11911         (MATHCONST): Likewise.
11912         (PRINTF_EXPR): Likewise.
11913         (PRINTF_XEXPR): Likewise.
11914         (PRINTF_NEXPR): Likewise.
11915         (TEST_LDOUBLE): Likewise.
11916         (TEST_MATHVEC): Likewise.
11917         (__NO_MATH_INLINES): Likewise.
11918         * math/test-double-vlen2.h: Include test-double.h,
11919         test-math-no-inline.h and test-math-vector.h.
11920         (FLOAT): Remove macro.
11921         (FUNC): Likewise.
11922         (MATHCONST): Likewise.
11923         (PRINTF_EXPR): Likewise.
11924         (PRINTF_XEXPR): Likewise.
11925         (PRINTF_NEXPR): Likewise.
11926         (TEST_DOUBLE): Likewise.
11927         (TEST_MATHVEC): Likewise.
11928         (__NO_MATH_INLINES): Likewise.
11929         (CNCT): Likewise.
11930         (CONCAT): Likewise.
11931         (WRAPPER_NAME): Likewise.
11932         (WRAPPER_DECL): Likewise.
11933         (WRAPPER_DECL_ff): Likewise.
11934         (WRAPPER_DECL_fFF): Likewise.
11935         (VECTOR_WRAPPER): Likewise.
11936         (VECTOR_WRAPPER_ff): Likewise.
11937         (VECTOR_WRAPPER_fFF): Likewise.
11938         (VEC_LEN): New macro.
11939         * math/test-double-vlen4.h: Include test-double.h,
11940         test-math-no-inline.h and test-math-vector.h.
11941         (FLOAT): Remove macro.
11942         (FUNC): Likewise.
11943         (MATHCONST): Likewise.
11944         (PRINTF_EXPR): Likewise.
11945         (PRINTF_XEXPR): Likewise.
11946         (PRINTF_NEXPR): Likewise.
11947         (TEST_DOUBLE): Likewise.
11948         (TEST_MATHVEC): Likewise.
11949         (__NO_MATH_INLINES): Likewise.
11950         (CNCT): Likewise.
11951         (CONCAT): Likewise.
11952         (WRAPPER_NAME): Likewise.
11953         (WRAPPER_DECL): Likewise.
11954         (WRAPPER_DECL_ff): Likewise.
11955         (WRAPPER_DECL_fFF): Likewise.
11956         (VECTOR_WRAPPER): Likewise.
11957         (VECTOR_WRAPPER_ff): Likewise.
11958         (VECTOR_WRAPPER_fFF): Likewise.
11959         (VEC_LEN): New macro.
11960         * math/test-double-vlen8.h: Include test-double.h,
11961         test-math-no-inline.h and test-math-vector.h.
11962         (FLOAT): Remove macro.
11963         (FUNC): Likewise.
11964         (MATHCONST): Likewise.
11965         (PRINTF_EXPR): Likewise.
11966         (PRINTF_XEXPR): Likewise.
11967         (PRINTF_NEXPR): Likewise.
11968         (TEST_DOUBLE): Likewise.
11969         (TEST_MATHVEC): Likewise.
11970         (__NO_MATH_INLINES): Likewise.
11971         (CNCT): Likewise.
11972         (CONCAT): Likewise.
11973         (WRAPPER_NAME): Likewise.
11974         (WRAPPER_DECL): Likewise.
11975         (WRAPPER_DECL_ff): Likewise.
11976         (WRAPPER_DECL_fFF): Likewise.
11977         (VECTOR_WRAPPER): Likewise.
11978         (VECTOR_WRAPPER_ff): Likewise.
11979         (VECTOR_WRAPPER_fFF): Likewise.
11980         (VEC_LEN): New macro.
11981         * math/test-float-vlen4.h: Include test-float.h,
11982         test-math-no-inline.h and test-math-vector.h.
11983         (FLOAT): Remove macro.
11984         (FUNC): Likewise.
11985         (MATHCONST): Likewise.
11986         (PRINTF_EXPR): Likewise.
11987         (PRINTF_XEXPR): Likewise.
11988         (PRINTF_NEXPR): Likewise.
11989         (TEST_FLOAT): Likewise.
11990         (TEST_MATHVEC): Likewise.
11991         (__NO_MATH_INLINES): Likewise.
11992         (CNCT): Likewise.
11993         (CONCAT): Likewise.
11994         (WRAPPER_NAME): Likewise.
11995         (WRAPPER_DECL): Likewise.
11996         (WRAPPER_DECL_ff): Likewise.
11997         (WRAPPER_DECL_fFF): Likewise.
11998         (VECTOR_WRAPPER): Likewise.
11999         (VECTOR_WRAPPER_ff): Likewise.
12000         (VECTOR_WRAPPER_fFF): Likewise.
12001         (VEC_LEN): New macro.
12002         * math/test-float-vlen8.h: Include test-float.h,
12003         test-math-no-inline.h and test-math-vector.h.
12004         (FLOAT): Remove macro.
12005         (FUNC): Likewise.
12006         (MATHCONST): Likewise.
12007         (PRINTF_EXPR): Likewise.
12008         (PRINTF_XEXPR): Likewise.
12009         (PRINTF_NEXPR): Likewise.
12010         (TEST_FLOAT): Likewise.
12011         (TEST_MATHVEC): Likewise.
12012         (__NO_MATH_INLINES): Likewise.
12013         (CNCT): Likewise.
12014         (CONCAT): Likewise.
12015         (WRAPPER_NAME): Likewise.
12016         (WRAPPER_DECL): Likewise.
12017         (WRAPPER_DECL_ff): Likewise.
12018         (WRAPPER_DECL_fFF): Likewise.
12019         (VECTOR_WRAPPER): Likewise.
12020         (VECTOR_WRAPPER_ff): Likewise.
12021         (VECTOR_WRAPPER_fFF): Likewise.
12022         (VEC_LEN): New macro.
12023         * math/test-float-vlen16.h: Include test-float.h,
12024         test-math-no-inline.h and test-math-vector.h.
12025         (FLOAT): Remove macro.
12026         (FUNC): Likewise.
12027         (MATHCONST): Likewise.
12028         (PRINTF_EXPR): Likewise.
12029         (PRINTF_XEXPR): Likewise.
12030         (PRINTF_NEXPR): Likewise.
12031         (TEST_FLOAT): Likewise.
12032         (TEST_MATHVEC): Likewise.
12033         (__NO_MATH_INLINES): Likewise.
12034         (CNCT): Likewise.
12035         (CONCAT): Likewise.
12036         (WRAPPER_NAME): Likewise.
12037         (WRAPPER_DECL): Likewise.
12038         (WRAPPER_DECL_ff): Likewise.
12039         (WRAPPER_DECL_fFF): Likewise.
12040         (VECTOR_WRAPPER): Likewise.
12041         (VECTOR_WRAPPER_ff): Likewise.
12042         (VECTOR_WRAPPER_fFF): Likewise.
12043         (VEC_LEN): New macro.
12044         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12045         test-vec-loop.h.
12046         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12047         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12048         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12049         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12050         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12051         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12052         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12054 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12056         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12057         (__getlogin_r): ... this.
12059 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12061         [BZ #18594]
12062         * math/s_ccosh.c (__ccosh): Compare with least normal value
12063         instead of comparing class with FP_SUBNORMAL.
12064         * math/s_ccoshf.c (__ccoshf): Likewise.
12065         * math/s_ccoshl.c (__ccoshl): Likewise.
12066         * math/s_cexp.c (__cexp): Likewise.
12067         * math/s_cexpf.c (__cexpf): Likewise.
12068         * math/s_cexpl.c (__cexpl): Likewise.
12069         * math/s_csin.c (__csin): Likewise.
12070         * math/s_csinf.c (__csinf): Likewise.
12071         * math/s_csinh.c (__csinh): Likewise.
12072         * math/s_csinhf.c (__csinhf): Likewise.
12073         * math/s_csinhl.c (__csinhl): Likewise.
12074         * math/s_csinl.c (__csinl): Likewise.
12075         * math/s_ctan.c (__ctan): Likewise.
12076         * math/s_ctanf.c (__ctanf): Likewise.
12077         * math/s_ctanh.c (__ctanh): Likewise.
12078         * math/s_ctanhf.c (__ctanhf): Likewise.
12079         * math/s_ctanhl.c (__ctanhl): Likewise.
12080         * math/s_ctanl.c (__ctanl): Likewise.
12081         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12082         csin, csinh, ctan and ctanh.
12083         * math/auto-libm-test-out: Regenerated.
12084         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12085         * sysdeps/i386/fpu/libm-test-ulps: Update.
12086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12088 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12090         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12091         return value is wrong, print the expected value too.
12093 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12095         [BZ #18585]
12096         * elf/readlib.c (is_gdb_python_file): New.
12097         (process_file): Don't issue errors on filenames with -gdb.py
12098         suffix.
12100 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12102         * math/auto-libm-test-in: Add more tests of csin and csinh.
12103         * math/auto-libm-test-out: Regenerated.
12104         * math/libm-test.inc (csin_test_data): Remove tests moved to
12105         auto-libm-test-in.
12106         (csinh_test_data): Likewise.
12108         [BZ #18593]
12109         * math/s_csin.c (__csin): Negate before rather than after possibly
12110         overflowing multiplication.
12111         * math/s_csinf.c (__csinf): Likewise.
12112         * math/s_csinh.c (__csinh): Likewise.
12113         * math/s_csinhf.c (__csinhf): Likewise.
12114         * math/s_csinhl.c (__csinhl): Likewise.
12115         * math/s_csinl.c (__csinl): Likewise.
12116         * math/auto-libm-test-in: Add some tests of csin and csinh.
12117         * math/auto-libm-test-out: Regenerated.
12118         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12119         (csinh_test_data): Likewise.
12120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12122         [BZ #18586]
12123         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12124         underflow exception for small results.
12126 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12130         variable and included header.
12131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12136         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12139         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12140         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12141         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12142         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12143         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12144         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12145         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12146         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12148 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12150         [BZ #16526]
12151         [BZ #16538]
12152         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12153         (__sin): Force underflow exception for arguments with small
12154         absolute value.
12155         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12156         (__kernel_sinf): Force underflow exception for arguments with
12157         small absolute value.
12158         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12159         (__kernel_sincosl): Force underflow exception for arguments with
12160         small absolute value.
12161         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12162         (__kernel_sinl): Force underflow exception for arguments with
12163         small absolute value.
12164         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12165         (__kernel_sincosl): Force underflow exception for arguments with
12166         small absolute value.
12167         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12168         (__kernel_sinl): Force underflow exception for arguments with
12169         small absolute value.
12170         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12171         (__kernel_sinl): Force underflow exception for arguments with
12172         small absolute value.
12173         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12174         (__kernel_sinf): Force underflow exception for arguments with
12175         small absolute value.
12176         * math/auto-libm-test-in: Add more tests of sin and sincos.
12177         * math/auto-libm-test-out: Regenerated.
12179         [BZ #18245]
12180         [BZ #18583]
12181         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12182         (__kernel_standard_l): Use feholdexcept and fesetenv around
12183         conversion to double instead of special-casing overflow and
12184         underflow.
12185         * math/libm-test.inc (fmod_test_data): Add more tests.
12186         (remainder_test_data): Likewise.
12187         (sqrt_test_data): Likewise.
12189 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12191         [BZ #17403]
12192         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12193         atomic_read_barrier, atomic_write_barrier): Define.
12194         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12195         atomic_read_barrier, atomic_write_barrier): Define.
12197 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12199         * math/Makefile [$(PERL) != no]
12200         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12201         dependency on libm-test.stmp below the inclusion of Rules.
12203 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12205         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12207         and included header.
12208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12210         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12211         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12213         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12216         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12217         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12218         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12219         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12220         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12221         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12222         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12223         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12224         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12225         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12226         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12228 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12230         [BZ #18371]
12231         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12232         intermediate but not final result might underflow.
12233         * math/s_csqrtf.c (__csqrtf): Likewise.
12234         * math/s_csqrtl.c (__csqrtl): Likewise.
12235         * math/auto-libm-test-in: Add more tests of csqrt.
12236         * math/auto-libm-test-out: Regenerated.
12237         * sysdeps/i386/fpu/libm-test-ulps: Update.
12239         [BZ #18219]
12240         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12241         threshold on absolute value of exponent for which scaling is used.
12242         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12243         * math/auto-libm-test-in: Add more tests of exp2.
12244         * math/auto-libm-test-out: Regenerated.
12246 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12248         [BZ #17977]
12249         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12250         when initializing interface list, based on the bug analysis
12251         and the patch proposed by Eric Newton.
12252         * resolv/tst-res_hconf_reorder.c: New test.
12253         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12254         tst-res_hconf_reorder.
12255         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12256         and $(shared-thread-library).
12257         (tst-res_hconf_reorder-ENV): New variable.
12259         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12260         in comment.
12262 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12264         [BZ #16353]
12265         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12266         (__expm1): Force underflow exception for arguments with small
12267         absolute value.
12268         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12269         (__expm1f): Force underflow exception for arguments with small
12270         absolute value.
12271         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12272         (__expm1): Force underflow exception for arguments with small
12273         absolute value.
12274         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12275         (__expm1f): Force underflow exception for arguments with small
12276         absolute value.
12277         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12278         Check for small arguments before calling __expm1.
12279         * math/auto-libm-test-in: Do not mark underflow exceptions as
12280         possibly missing for bug 16353.
12281         * math/auto-libm-test-out: Regenerated.
12283 2015-06-22  Andreas Schwab  <schwab@suse.de>
12285         [BZ #18513]
12286         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12287         PTR queries.
12289 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12291         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12293         * string/strcoll_l.c: Remove unused struct element idxnow.
12295 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12297         [BZ #18569]
12298         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12299         underflow and return argument in case of subnormal argument.
12300         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12301         Likewise.
12302         * math/auto-libm-test-in: Add more tests of expm1.
12303         * math/auto-libm-test-out: Regenerated.
12305         [BZ #16361]
12306         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12307         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12308         tiny results.
12309         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12310         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12311         tiny results.
12312         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12313         mark underflow exceptions as possibly missing for bug 16361.
12314         * math/auto-libm-test-out: Regenerated.
12316 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12318         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12319         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12320         Remove variable.
12321         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12322         (test-xfail-XOPEN2K8/utmpx.h/conform).
12324         * conform/conformtest.pl ($xerrors): New variable.
12325         (note_error): New function.
12326         (compiletest): New argument $xfail.  Use not_error.
12327         (runtest): Likewise.
12328         (top level): Handle xfail- lines.  Update calls to compiletest and
12329         runtest.  Handle xfail- and optional- in headers listed with
12330         allow-header.
12331         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12332         (O_EXEC): Likewise.
12333         (O_SEARCH): Likewise.
12334         * conform/data/stropts.h-data (ioctl): Likewise.
12335         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12336         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12337         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12338         (msghdr.msg_controllen): Likewise.
12339         (cmsghdr.cmsg_len): Likewise.
12340         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12341         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12342         variable.
12343         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12344         (test-xfail-XPG4/stropts.h/conform): Likewise.
12345         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12346         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12347         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12348         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12349         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12350         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12351         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12352         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12353         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12354         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12355         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12356         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12357         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12358         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12359         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12360         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12361         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12362         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12363         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12365 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12367         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12368         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12369         definitions for proper unfolding of __MATHDECL_VEC.
12371 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12373         * benchtests/bench-strcoll.c:
12374         Include string.h.
12375         (main): Remove unused variable res.
12377 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12379         * timezone/Makefile (%/UTC %/Universal):
12380         Generate test-result files for UTC and Universal.
12382 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12384         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12386 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12388         [BZ #16350]
12389         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12390         for arguments with small absolute value.
12391         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12392         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12393         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12394         (__asinh): Force underflow exception for arguments with small
12395         absolute value.
12396         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12397         (__asinhf): Force underflow exception for arguments with small
12398         absolute value.
12399         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12400         (__asinhl): Force underflow exception for arguments with small
12401         absolute value.
12402         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12403         (__asinhl): Force underflow exception for arguments with small
12404         absolute value.
12405         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12406         (__asinhl): Force underflow exception for arguments with small
12407         absolute value.
12408         * math/auto-libm-test-in: Do not mark underflow exceptions as
12409         possibly missing for bug 16350.
12410         * math/auto-libm-test-out: Regenerated.
12412         * include/bits/ipc.h: Remove file.
12413         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12414         variable.
12415         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12416         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12417         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12418         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12419         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12420         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12421         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12422         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12423         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12425         * math/auto-libm-test-in: Remove spurious underflow allowance for
12426         tests of cexp.
12427         * math/auto-libm-test-out: Regenerated.
12429         [BZ #18558]
12430         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12431         unconditional definition.
12432         (MCAST_BLOCK_SOURCE): Likewise.
12433         (MCAST_UNBLOCK_SOURCE): Likewise.
12434         (MCAST_LEAVE_GROUP): Likewise.
12435         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12436         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12437         (MCAST_MSFILTER): Likewise.
12438         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12439         Remove variable.
12440         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12441         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12442         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12443         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12444         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12446 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12448         * NEWS: Mention addition of x86_64 vector sincosf.
12449         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12450         * math/test-float-vlen4.h: Likewise.
12451         * math/test-float-vlen8.h: Likewise.
12452         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12453         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12454         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12455         * sysdeps/x86_64/fpu/Versions: New versions added.
12456         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12457         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12458         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12459         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12460         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12461         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12462         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12463         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12465         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12466         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12467         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12468         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12469         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12470         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12471         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12472         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12473         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12474         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12475         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12476         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12477         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12478         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12479         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12481         * NEWS: Mention addition of x86_64 vector sincos.
12482         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12483         * math/math.h (__MATHDECL_VEC): New macro.
12484         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12485         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12486         declaration under condition.
12487         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12488         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12489         TEST_VEC_LOOP change.
12490         * math/test-double-vlen4.h: Likewise.
12491         * math/test-double-vlen8.h: Likewise.
12492         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12493         * math/test-float-vlen4.h: Likewise.
12494         * math/test-float-vlen8.h: Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12496         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12497         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12498         * sysdeps/x86_64/fpu/Versions: New versions added.
12499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12500         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12501         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12502         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12504         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12505         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12506         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12507         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12508         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12509         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12510         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12511         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12512         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12513         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12514         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12515         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12516         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12519         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12520         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12521         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12522         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12526         redirections for powf.
12527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12528         * sysdeps/x86_64/fpu/Versions: New versions added.
12529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12531         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12532         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12533         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12534         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12535         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12536         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12537         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12538         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12539         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12540         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12541         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12542         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12543         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12544         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12545         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12546         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12547         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12548         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12549         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12550         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12551         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12552         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12553         * math/test-float-vlen16.h: Fixed 2 argument macro.
12554         * math/test-float-vlen4.h: Likewise.
12555         * math/test-float-vlen8.h: Likewise.
12556         * NEWS: Mention addition of x86_64 vector powf.
12558 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12560         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12561         and redefine.
12562         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12563         and redefine.
12564         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12565         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12568         [BZ #18553]
12569         * resource/getpriority.c (getpriority): Rename to __getpriority
12570         and define as weak alias of __getpriority.
12571         * resource/setpriority.c (setpriority): Rename to __setpriority
12572         and define as weak alias of __setpriority.
12573         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12574         __getpriority and define as weak alias of __getpriority.
12575         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12576         __setpriority and define as weak alias of __setpriority.
12577         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12578         strong name.
12579         (setpriority): Use __setpriority as strong name.
12580         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12581         __getpriority and define as weak alias of __getpriority.
12582         * include/sys/resource.h (__getpriority): Declare.  Use
12583         libc_hidden_proto.
12584         (__setpriority): Likewise.
12585         (getpriority): Don't use libc_hidden_proto.
12586         (setpriority): Likewise.
12587         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12588         getpriority.  Call __setpriority instead of setpriority.
12589         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12590         Remove variable.
12592         [BZ #18547]
12593         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12594         as weak alias of __getttynam.  Use prototype function definition.
12595         Call __setttyent, __getttyent and __endttyent instead of
12596         setttyent, getttyent and endttyent.
12597         (getttyent): Rename to __getttyent and define as weak alias of
12598         __getttyent.  Call __setttyent instead of setttyent.  Call
12599         __fgets_unlocked instead of fgets_unlocked.
12600         (setttyent): Rename to __setttyent and define as weak alias of
12601         __setttyent.
12602         (endttyent): Rename to __endttyent and define as weak alias of
12603         __endttyent.
12604         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12605         (__setttyent): Likewise.
12606         (__endttyent): Likewise.
12607         (getttyent): Don't use libc_hidden_proto.
12608         (setttyent): Likewise.
12609         (endttyent): Likewise.
12610         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12611         __endttyent instead of setttyent, getttyent and endttyent.
12612         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12613         Remove variable.
12615         [BZ #18546]
12616         * socket/recv.c (__recv): Use libc_hidden_def.
12617         * socket/socket.c (__socket): Likewise.
12618         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12619         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12620         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12621         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12622         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12623         libc_hidden_def.
12624         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12625         libc_hidden_weak.
12626         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12627         Use libc_hidden_proto.
12628         (__recv): Likewise.
12629         * socket/Versions (libc): Export __recv and __socket at version
12630         GLIBC_PRIVATE.
12631         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12632         instead of recv.
12633         (init_mq_netlink): Call __socket instead of socket.
12634         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12635         Remove variable.
12637         [BZ #18545]
12638         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12639         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12640         hidden_weak.
12641         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12642         define as alias of __mq_timedsend.  Use hidden_weak.
12643         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12644         __mq_timedsend as strong name.
12645         (mq_timedreceive): Use __mq_timedreceive as strong name.
12646         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12647         (__mq_timedreceive): Likewise.
12648         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12649         __mq_timedreceive instead of mq_timedreceive.
12650         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12651         instead of mq_timedsend.
12652         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12653         Remove variable.
12655         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12656         hidden_def and hidden_weak instead of libc_hidden_def and
12657         libc_hidden_weak.
12658         (top level): Refer to hidden_def in comment.
12659         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12660         macro.  Use it instead of libc_hidden_def.
12661         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12662         specify __GI_* name explicitly.
12663         (mq_timedreceive): Likewise.
12664         (mq_setattr): Likewise.
12666         [BZ #18544]
12667         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12668         __pthread_barrier_init and define as weak alias of
12669         __pthread_barrier_init.
12670         * sysdeps/sparc/nptl/pthread_barrier_init.c
12671         (pthread_barrier_init): Likewise.
12672         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12673         __pthread_barrier_wait and define as weak alias of
12674         __pthread_barrier_wait.
12675         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12676         (pthread_barrier_wait): Likewise.
12677         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12678         (pthread_barrier_wait): Likewise.
12679         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12680         (pthread_barrier_wait): Likewise.
12681         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12682         (pthread_barrier_wait): Likewise.
12683         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12684         __pthread_barrier_wait at version GLIBC_PRIVATE.
12685         * include/pthread.h (__pthread_barrier_init): Declare.
12686         (__pthread_barrier_wait): Likewise.
12687         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12688         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12689         (helper_thread): Likewise.
12690         (init_mq_netlink): Call __pthread_barrier_init instead of
12691         pthread_barrier_init.
12693         [BZ #18542]
12694         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12695         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12696         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12697         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12698         vswscanf.
12699         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12700         Remove variable.
12702         [BZ #18540]
12703         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12704         strong alias of _IO_fflush.  Use libc_hidden_def.
12705         * libio/iofflush_u.c (fflush_unlocked): Rename to
12706         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12707         Use libc_hidden_weak.
12708         * include/stdio.h (__fflush_unlocked): Declare.  Use
12709         libc_hidden_proto.
12710         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12711         fflush_unlocked.
12712         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12713         Remove variable.
12715         [BZ #18539]
12716         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12717         define as weak alias of __addseverity.
12718         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12719         Remove variable.
12720         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12721         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12722         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12724         [BZ #18536]
12725         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12726         (__tfind): Likewise.
12727         (__tdelete): Likewise.
12728         (__twalk): Likewise.
12729         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12730         __twalk to GLIBC_PRIVATE.
12731         * include/search.h (__tsearch): Use libc_hidden_proto.
12732         (__tfind): Likewise.
12733         (__tdelete): Likewise.
12734         (__twalk): Likewise.
12735         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12736         Call __tdelete instead of tdelete.
12737         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12738         tfind.  Call __tsearch instead of tsearch.
12739         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12740         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12741         Remove variable.
12742         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12744         [BZ #18534]
12745         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12746         (dprintf): Define as a weak alias of __dprintf, not a strong
12747         alias.
12748         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12749         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12750         dprintf.
12751         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12752         Remove variable.
12753         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12754         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12756         [BZ #18533]
12757         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12758         not a strong alias.
12759         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12760         Remove variable.
12762         [BZ #18532]
12763         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12764         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12765         (in6addr_loopback): Rename to __in6addr_loopback and define as
12766         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12767         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12768         libc_hidden_proto.
12769         (__in6addr_any): Likewise.
12770         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12771         in6addr_any.
12772         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12773         variable.
12774         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12776 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12778         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12779         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12780         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12781         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12782         redirections for pow.
12783         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12784         * sysdeps/x86_64/fpu/Versions: New versions added.
12785         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12786         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12787         build of SSE, AVX2 and AVX512 IFUNC versions.
12788         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12790         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12791         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12792         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12793         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12794         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12795         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12796         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12797         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12798         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12799         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12800         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12801         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12802         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12803         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12804         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12805         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12806         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12807         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12808         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12809         * NEWS: Mention addition of x86_64 vector pow.
12811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12813         redirections for expf.
12814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12815         * sysdeps/x86_64/fpu/Versions: New versions added.
12816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12817         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12818         build of SSE, AVX2 and AVX512 IFUNC versions.
12819         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12820         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12821         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12822         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12825         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12826         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12827         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12828         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12829         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12830         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12831         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12832         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12833         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12834         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12835         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12836         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12837         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12838         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12839         * NEWS: Mention addition of x86_64 vector expf.
12841         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12842         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12844         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12845         redirections for exp.
12846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12847         * sysdeps/x86_64/fpu/Versions: New versions added.
12848         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12849         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12850         build of SSE, AVX2 and AVX512 IFUNC versions.
12851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12852         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12853         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12854         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12855         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12857         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12858         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12859         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12860         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12861         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12862         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12863         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12864         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12865         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12866         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12867         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12868         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12869         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12870         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12871         * NEWS: Mention addition of x86_64 vector exp.
12873         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12874         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12875         redirections for logf.
12876         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12877         * sysdeps/x86_64/fpu/Versions: New versions added.
12878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12879         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12880         build of SSE, AVX2 and AVX512 IFUNC versions.
12881         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12883         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12884         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12885         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12886         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12887         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12888         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12889         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12890         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12891         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12892         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12893         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12894         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12895         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12896         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12897         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12898         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12899         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12900         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12901         * NEWS: Mention addition of x86_64 vector logf.
12903         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12904         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12907         redirections for log.
12908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12909         * sysdeps/x86_64/fpu/Versions: New versions added.
12910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12912         build of SSE, AVX2 and AVX512 IFUNC versions.
12913         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12914         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12915         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12916         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12917         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12918         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12919         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12920         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12921         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12922         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12923         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12924         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12925         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12926         test.
12927         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12929         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12930         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12931         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12932         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12933         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12934         * NEWS: Mention addition of x86_64 vector log.
12936 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12938         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12939         cfi_adjust_cfa_offset argument.
12940         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12941         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12943         [BZ #18034]
12944         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12945         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12946         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12947         ordering using ldar.
12948         (_dl_tlsdesc_dynamic): Likewise.
12949         (_dl_tlsdesc_return_lazy): Likewise.
12950         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12951         relaxed atomics instead of volatile and synchronize with release store.
12952         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12953         volatile.
12954         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12956 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12959         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12961         * sysdeps/x86_64/fpu/Versions: New versions added.
12962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12964         build of SSE, AVX2 and AVX512 IFUNC versions.
12965         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12970         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12971         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12972         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12973         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12974         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12975         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12976         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12977         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12978         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12979         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12980         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12981         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12982         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12983         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12984         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12985         * NEWS: Mention addition of x86_64 vector sinf.
12987 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12989         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12990         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12991         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12992         Remove variable.
12993         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12994         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12996 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12998         [BZ #18530]
12999         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13000         strong alias of _IO_fputs.  Use libc_hidden_def.
13001         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13002         and define as weak alias of __fputs_unlocked.  Use
13003         libc_hidden_weak.
13004         * include/stdio.h (__fputs_unlocked): Declare.  Use
13005         libc_hidden_proto.
13006         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13007         fputs_unlocked.
13009         [BZ #18529]
13010         * resolv/netdb.h [__USE_POSIX]: Change condition to
13011         [__USE_XOPEN2K].
13012         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13013         not expect.
13014         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13015         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13016         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13017         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13018         [XPG4 || UNIX98] (AI_ALL): Likewise.
13019         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13020         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13021         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13022         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13023         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13024         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13025         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13026         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13027         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13028         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13029         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13030         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13031         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13032         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13033         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13034         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13035         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13036         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13037         [XPG4 || UNIX98] (gai_strerror): Likewise.
13038         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13039         [XPG4 || UNIX98] (getnameinfo): Likewise.
13041         [BZ #18528]
13042         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13043         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13044         __USE_XOPEN2K8].
13045         (getgrent): Likewise.
13046         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13047         expect.
13048         [XPG3 || POSIX2008] (endgrent): Likewise.
13049         [XPG3] (setgrent): Likewise.
13050         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13051         variable.
13052         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13054         [BZ #18527]
13055         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13056         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13057         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13058         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13059         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13060         * include/unistd.h (__getlogin_r): Declare.  Use
13061         libc_hidden_proto.
13062         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13063         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13064         variable.
13065         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13066         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13067         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13069 2015-06-12  Martin Sebor  <msebor@redhat.com>
13071         [BZ #18512]
13072         * Makerules (check-install-supported): New target.
13073         (install): Add check-install-supported as a dependency.
13074         * manual/install.texi (Installing the C Library): Document
13075         that overriding prefix and exec_prefix is not supported.
13076         Mention DESTDIR.
13077         * INSTALL: Regenerate from the above.
13079 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13081         [BZ #18519]
13082         * posix/Versions (libc): Export __libc_pread at version
13083         GLIBC_PRIVATE.
13084         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13085         instead of pread.
13086         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13087         variable.
13089         [BZ #18522]
13090         * misc/efgcvt_r.c
13091         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13092         (cvt_symbol): Use weak_alias instead of strong_alias.
13093         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13094         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13095         Remove variable.
13096         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13097         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13099         [BZ #18520]
13100         * inet/herrno.c (h_errno): Rename to __h_errno.
13101         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13102         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13103         to __h_errno instead of h_errno.
13104         * nptl/herrno.c (h_errno): Rename to __h_errno.
13105         (__h_errno_location): Refer to __h_errno not h_errno.
13106         * resolv/Versions (h_errno): Rename to __h_errno.
13107         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13108         Remove variable.
13109         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13111 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13113         * configure.ac: More strict check for AVX512 assembler support.
13114         * configure: Regenerated.
13116         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13117         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13119         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13121         * sysdeps/x86_64/fpu/Versions: New versions added.
13122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13123         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13124         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13125         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13126         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13130         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13131         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13132         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13133         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13134         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13135         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13136         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13137         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13138         test.
13139         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13142         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13144         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13145         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13146         * NEWS: Mention addition of x86_64 vector sin.
13148 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13150         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13151         comment.
13153 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13155         [BZ #18479]
13156         * nptl/pt-interp.c: New file.
13157         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13158         Add pt-interp.
13159         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13160         $(common-objpfx)runtime-linker.h.
13162 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13164         * Makeconfig (+interp): Remove unused variable.
13165         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13166         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13167         $(elf-objpfx)runtime-linker.h.
13168         ($(elf-objpfx)runtime-linker.h): Rename to
13169         $(common-objpfx)runtime-linker.h and move ...
13170         * Makerules [$(build-shared) = yes]: ... here.
13171         * elf/interp.c: Include <runtime-linker.h> instead of
13172         <elf/runtime-linker.h>.
13174 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13176         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13177         (__gettimeofday_syscall): Remove vsyscall fallback.
13178         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13179         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13180         Add syscall fallback function.
13181         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13182         if vDSO is not present.
13183         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13184         fallback function.
13185         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13186         present.
13187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13188         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13190 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #18497]
13193         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13194         of wcscmp.
13195         (wcscmp): Define as weak alias of WCSCMP.
13196         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13197         wcscoll.
13198         (USE_HIDDEN_DEF): Define.
13199         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13200         __wcscoll.  Don't use libc_hidden_weak.
13201         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13202         wcscmp.
13203         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13204         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13205         __GI_wcscmp.
13206         (weak_alias): Undefine and redefine.
13207         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13208         __wcscmp and define as weak alias of __wcscmp.
13209         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13210         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13211         (__wcscoll): Likewise.
13212         (wcscmp): Don't use libc_hidden_proto.
13213         (wcscoll): Likewise.
13214         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13215         wcscoll.
13216         * posix/regexec.c (check_node_accept_bytes): Likewise.
13217         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13218         variable.
13219         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13220         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13222         [BZ #18507]
13223         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13224         __fstatvfs and define as weak alias of __fstatvfs.  Use
13225         libc_hidden_weak.
13226         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13227         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13228         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13229         Define as alias of __fstatvfs, not fstatvfs.
13230         (fstatvfs64): Likewise.
13231         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13232         Define as alias of __statvfs, not statvfs.
13233         (statvfs64): Likewise.
13234         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13235         Remove variable.
13237 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13240         (HAVE_GETCPU_VSYSCALL): Define.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13242         (HAVE_GETCPU_VSYSCALL): Likewise.
13243         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13244         * sysdeps/unix/sysv/linux/sched_getcpu.c
13245         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13246         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13247         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13248         prototype.
13249         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13250         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13251         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13253         Define.
13254         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13255         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13257         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13259 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13261         * sysdeps/x86_64/fpu/Makefile: New file.
13262         * sysdeps/x86_64/fpu/Versions: New file.
13263         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13264         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13265         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13266         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13267         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13268         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13269         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13270         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13271         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13273         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13274         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13276         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13277         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13279         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13280         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13281         * sysdeps/x86_64/configure: Regenerated.
13282         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13284         * manual/install.texi (Configuring and compiling): Document
13285         --disable-mathvec.
13286         * INSTALL: Regenerated.
13287         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13289         * math/Makefile: Added rules for vector tests.
13290         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13291         declaration under condition.
13292         * math/test-double-vlen2.h: New file.
13293         * math/test-double-vlen4.h: New file.
13294         * math/test-double-vlen8.h: New file.
13295         * math/test-vec-loop.h: Added initialization macro.
13296         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13298         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13299         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13300         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13301         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13302         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13303         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13304         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13305         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13306         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13308         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13309         * sysdeps/x86_64/fpu/Versions: New versions added.
13310         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13313         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13314         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13315         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13316         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13317         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13318         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13319         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13320         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13321         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13322         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13324         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13326         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13327         * NEWS: Mention addition of x86_64 vector cosf.
13329         * math/Makefile: Added CFLAGS for new tests.
13330         * math/test-float-vlen16.h: New file.
13331         * math/test-float-vlen4.h: New file.
13332         * math/test-float-vlen8.h: New file.
13333         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13334         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13336         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13337         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13338         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13339         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13342         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13343         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13345 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13347         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13348         * locale/programs/ld-ctype.c: Likewise.
13350 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13352         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13353         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13354         bit_ZMM16_31_state): New macro.
13355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13356         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13358 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13360         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13362 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13364         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13366 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13368         [BZ #18498]
13369         * libio/memstream.c (open_memstream): Rename to __open_memstream
13370         and define as weak alias of __open_memstream.
13371         * include/stdio.h (__open_memstream): Declare.  Use
13372         libc_hidden_proto.
13373         (open_memstream): Don't use libc_hidden_proto.
13374         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13375         open_memstream.
13376         * posix/getopt.c (_getopt_internal_r): Likewise.
13377         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13378         variable.
13379         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13380         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13381         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13383         [BZ #18496]
13384         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13385         instead of wcrtomb.
13387         [BZ #18483]
13388         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13389         [__USE_XOPEN2K8].  Remove redundant #endif.
13390         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13391         Remove redundant #if.
13392         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13393         Remove variable.
13394         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13395         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13397         [BZ #18495]
13398         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13399         (__iswlower): Likewise.
13400         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13401         (__iswlower): Likewise.
13402         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13403         instead of towlower.
13404         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13405         instead of iswlower.  Call __towupper instead of towupper.
13406         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13407         instead of iswalnum.
13409 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13411         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13412         errors to stderr.
13414 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13416         [BZ #15661]
13417         [BZ #17322]
13418         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13419         Check for overflow properly.  Check for O_APPEND.  Ignore large
13420         file system block sizes.  Add comments about problems.
13421         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13422         * manual/filesys.texi (Storage Allocation): New node.
13424 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13426         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13427         cancellable syscalls.
13428         (SYS_ify): Add guard to no redefine it.
13429         (INLINE_SYSCALL): Likewise.
13430         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13431         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13432         SYSCALL_CANCEL instead.
13433         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13434         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13435         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13436         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13437         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13438         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13439         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13440         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13441         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13442         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13443         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13444         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13445         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13446         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13447         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13451         (__libc_pread64): Likewise.
13452         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13453         (__libc_preadv): Likewise.
13454         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13455         (__libc_readv64): Likewise.
13456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13457         (__libc_pwrite): Likewise.
13458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13459         (__libc_pwrite64): Likewise.
13460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13461         (__libc_pwritev): Likewise.
13462         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13463         (__libc_pwritev64): Likewise.
13464         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13465         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13466         (sync_file_range): Likewise.
13467         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13468         Likewise.
13469         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13472         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13473         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13474         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13475         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13476         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13477         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13478         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13480         Likewise.
13481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13482         (__libc_read64): Likewise.
13483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13484         Likewise.
13485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13486         Likewise.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13488         Likewise.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13490         Likewise.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13492         (__libc_pread64): Likewise.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13494         Likewise.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13496         (__libc_pwrite64): Likewise.
13497         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13498         (sync_file_range): Likewise.
13499         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13500         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13501         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13502         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13503         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13504         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13505         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13506         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13507         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13508         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13509         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13510         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13511         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13512         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13513         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13514         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13515         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13516         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13517         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13518         Likewise.
13519         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13520         Likewise.
13521         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13522         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13523         Likewise.
13524         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13525         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13526         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13527         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13528         Likewise.
13529         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13530         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13531         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13532         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13533         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13535 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13537         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13538         Include dl-vdso.
13539         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13540         Use VDSO routines for gettimeofday, clock_gettime if
13541         available.
13542         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13543         Declare VDSO symbols.
13544         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13545         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13546         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13547         * sysdeps/unix/sysv/linux/arm/Versions: Add
13548         __vdso_clock_gettime.
13550 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13552         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13553         be an inline implementation regardless of library is built within.
13554         (open_not_cancel_2): Likewise.
13555         (__read_nocancel): Likewise.
13556         (__write_nocancel): Likewise.
13557         (openat_not_cancel): Likewise.
13558         (openat_not_cancel_3): Likewise.
13559         (openat64_not_cancel): Likewise.
13560         (openat64_not_cancel_3): Likewise.
13561         (__close_nocancel): Likewise.
13562         (pause_not_cancel): Likewise.
13563         (nanosleep_not_cancel): Likewise.
13564         (sigsuspend_not_cancel): Likewise.
13566 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13568         [BZ #14958]
13569         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13570         wake-up.
13571         (__pthread_rwlock_rdlock_slow): Likewise.
13572         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13573         Likewise.
13574         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13575         Likewise.
13576         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13577         * nptl/tst-rwlock16.c: New file.
13578         * nptl/Makefile (tests): Add new test.
13580 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13582         [BZ #18324]
13583         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13584         missing wake-up of readers.
13585         * nptl/tst-rwlock15.c: New file.
13586         * nptl/Makefile (tests): Add new test.
13588 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13590         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13591         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13592         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13593         and __nacl_supply_interface_rtld.
13594         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13595         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13596         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13597         Add __nacl_supply_interface_rtld.
13598         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13600 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13602         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13603         isfinite.
13604         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13605         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13607 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13609         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13610         __signbit* with standard C99 macros.
13611         * math/e_exp10l.c: Likewise.
13612         * math/e_exp2l.c: Likewise.
13613         * math/e_scalb.c: Likewise.
13614         * math/e_scalbf.c: Likewise.
13615         * math/e_scalbl.c: Likewise.
13616         * math/s_ldexp.c: Likewise.
13617         * math/s_ldexpf.c: Likewise.
13618         * math/s_ldexpl.c: Likewise.
13619         * math/w_atan2.c: Likewise.
13620         * math/w_atan2f.c: Likewise.
13621         * math/w_atan2l.c: Likewise.
13622         * math/w_cosh.c: Likewise.
13623         * math/w_coshf.c: Likewise.
13624         * math/w_coshl.c: Likewise.
13625         * math/w_exp10.c: Likewise.
13626         * math/w_exp10f.c: Likewise.
13627         * math/w_exp10l.c: Likewise.
13628         * math/w_exp2.c: Likewise.
13629         * math/w_exp2f.c: Likewise.
13630         * math/w_exp2l.c: Likewise.
13631         * math/w_fmod.c: Likewise.
13632         * math/w_fmodf.c: Likewise.
13633         * math/w_fmodl.c: Likewise.
13634         * math/w_hypot.c: Likewise.
13635         * math/w_hypotf.c: Likewise.
13636         * math/w_hypotl.c: Likewise.
13637         * math/w_jnl.c: Likewise.
13638         * math/w_lgamma.c: Likewise.
13639         * math/w_lgamma_r.c: Likewise.
13640         * math/w_lgammaf.c: Likewise.
13641         * math/w_lgammaf_r.c: Likewise.
13642         * math/w_lgammal.c: Likewise.
13643         * math/w_lgammal_r.c: Likewise.
13644         * math/w_pow.c: Likewise.
13645         * math/w_powf.c: Likewise.
13646         * math/w_powl.c: Likewise.
13647         * math/w_remainder.c: Likewise.
13648         * math/w_remainderf.c: Likewise.
13649         * math/w_remainderl.c: Likewise.
13650         * math/w_scalb.c: Likewise.
13651         * math/w_scalbf.c: Likewise.
13652         * math/w_scalbl.c: Likewise.
13653         * math/w_scalbln.c: Likewise.
13654         * math/w_scalblnf.c: Likewise.
13655         * math/w_scalblnl.c: Likewise.
13656         * math/w_sinh.c: Likewise.
13657         * math/w_sinhf.c: Likewise.
13658         * math/w_sinhl.c: Likewise.
13659         * math/w_tgamma.c: Likewise.
13660         * math/w_tgammaf.c: Likewise.
13661         * math/w_tgammal.c: Likewise.
13662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13663         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13664         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13668         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13669         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13670         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13671         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13672         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13673         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13674         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13679         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13680         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13683         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13687         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13688         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13689         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13690         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13691         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13692         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13693         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13694         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13695         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13696         * stdio-common/printf_fp.c: Likewise.
13697         * stdio-common/printf_fphex.c: Likewise.
13698         * stdio-common/printf_size.c: Likewise.
13700 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #18470]
13703         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13704         strnlen.
13705         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13706         Remove variable.
13707         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13708         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13709         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13710         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13711         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13712         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13713         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13714         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13715         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13716         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13718         [BZ #18468]
13719         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13720         weak alias of __wmemchr.  Use libc_hidden_weak.
13721         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13722         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13723         instead of wmemchr.
13725 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13727         [BZ #18383]
13728         * elf/tst-tlsalign-extern.c: New file.
13729         * elf/tst-tlsalign-extern-static.c: New file.
13730         * elf/tst-tlsalign-vars.c: New file.
13731         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13732         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13733         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13734         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13735         (test-xfail-tst-tlsalign-extern-static): New variable.
13737 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13739         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13740         Use variable name _sc_err instead of err.
13741         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13742         instead of ret.
13743         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13744         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13745         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13746         (INLINE_SYSCALL): Likewise.
13748         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13749         * include/string.h (__strnlen): Use libc_hidden_proto.
13750         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13751         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13752         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13753         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13754         (libc_hidden_def): Undefine and redefine.
13755         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13756         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13757         __GI_strnlen.
13758         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13759         libc_hidden_def.
13760         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13762         [BZ #18469]
13763         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13764         weak alias of __towlower.  Use libc_hidden_weak.
13765         (towupper): Rename to __towupper and define as weak alias of
13766         __towupper.  Use libc_hidden_weak.
13767         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13768         (__towupper): Likewise.
13769         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13770         __towlower instead of towlower.
13772 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13774         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13775         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13777 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13779         * sysdeps/aarch64/libm-test-ulps: Update.
13781 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13783         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13784         Define.
13785         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13787         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13788         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13789         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13790         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13791         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13793 2015-06-01  Martin Sebor  <msebor@redhat.com>
13795         [BZ #18116]
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13797         (__setcontext): Use extended four-operand version of mtsf whenever
13798         possible.
13799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13800         (__novec_swapcontext): Likewise.
13802 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13804         * benchtests/scripts/compare_bench.py: New file.
13805         * benchtests/scripts/import_bench.py (mean): New function.
13806         (split_list): Likewise.
13807         (do_for_all_timings): Likewise.
13808         (compress_timings): Likewise.
13810         * benchtests/scripts/import_bench.py: New file.
13811         * benchtests/scripts/validate_benchout.py: Import import_bench
13812         instead of jsonschema.
13813         (validate_bench): Remove function.
13814         (main): Use import_bench.
13816 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13818         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13819         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13821 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13825 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13827         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13828         set THREAD_SELF->tid to a magic value and futex-wake it.
13829         Pass its address to the thread_exit system call.
13830         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13831         bit is clear.
13832         * sysdeps/nacl/lowlevellock.h: New file.
13833         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13835         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13836         Add TIMEOUT to current time, don't subtract it.
13838 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13840         [BZ #2981]
13841         [BZ #18422]
13842         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13843         ($(objpfx)tst-audit2.out): Also depend on
13844         $(objpfx)tst-auditmod9b.so.
13845         * elf/tst-audit2.c: Include <dlfcn.h>.
13846         (calloc_called): New.
13847         (calloc): Allow to be called more than once.
13848         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13850 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13852         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13853         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13855 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13857         * stdlib/monetary.h: Fix comment.
13859 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13861         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13862         Avoid using variables in #defines that might cause shadowing.
13863         (INTERNAL_VSYSCALL_CALL): Likewise.
13865 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13867         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13869         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13870         * nptl/lll_timedlock_wait.c: ... to this new file.
13871         * nptl/Makefile (libpthread-routines): Add it.
13872         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13873         * nptl/lll_timedwait_tid.c: ... to this new file.
13874         * nptl/Makefile (libpthread-routines): Add it.
13875         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13876         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13877         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13878         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13879         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13880         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13881         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13882         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13883         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13884         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13886 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13888         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13889         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13890         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13891         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13892         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13894         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13896         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13897         * sysdeps/unix/sysv/linux/tile/sysdep.h
13898         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13899         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13900         using vDSO syscall macro.
13902 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13904         [BZ #17293]
13905         * uk_UA: Fix sorting order for Ukrainian locale
13907 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13909         * stdlib/monetary.h: Fix comment.
13911 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13913         [BZ #18234]
13914         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13915         st_mtim and st_ctim members.
13916         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13917         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13918         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13919         (struct stat64): Likewise.
13920         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13921         (struct stat64): Likewise.
13922         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13923         (struct stat64): Likewise.
13925 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13927         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13928         Define and include sysdep-vdso.h.
13929         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13930         Likewise.
13931         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13932         Likewise.
13933         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13934         Define with VDSO_SYMBOL and use PTR_MANGLE.
13935         (__vdso_clock_gettime): Likewise.
13936         (__vdso_clock_getres): Likewise.
13937         (_libc_vdso_platform_setup): Likewise.
13938         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13939         Likewise.
13940         (_libc_vdso_platform_setup): Likewise.
13941         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13942         Likewise.
13943         (__vdso_clock_gettime): Likewise.
13944         (__vdso_clock_getres): Likewise.
13945         (__vdso_get_tbfreq): Likewise.
13946         (__vdso_getcpu): Likewise.
13947         (__vdso_time): Likewise.
13948         (__vdso_sigtramp_rt64): Likewise.
13949         (__vdso_signtramp32): Likewise.
13950         (__vdso_sigtramp_rt32): Likewise.
13951         (_libc_vdso_platform_setup): Likewise.
13952         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13953         Likewise.
13954         (__vdso_clock_gettime): Likewise.
13955         (__vdso_clock_getres): Likewise.
13956         (_libc_vdso_platform_setup): Likewise.
13957         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13958         Likewise.
13959         (__vdso_clock_gettime): Likewise.
13960         (_libc_vdso_platform_setup): Likewise.
13961         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13962         Likewise.
13963         (__vdso_getcpu): Likewise.
13964         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13965         Use VDSO_SYMBOL macro to define.
13966         (__vdso_clock_gettime): Likewise.
13967         (__vdso_clock_getres): Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13969         Likewise.
13970         (__vdso_clock_gettime): Likewise.
13971         (__vdso_clock_getres): Likewise.
13972         (__vdso_get_tbfreq): Likewise.
13973         (__vdso_getcpu): Likewise.
13974         (__vdso_time): Likewise.
13975         (__vdso_sigtramp_rt64): Likewise.
13976         (__vdso_signtramp32): Likewise.
13977         (__vdso_sigtramp_rt32): Likewise.
13978         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13979         Likewise.
13980         (__vdso_clock_gettime): Likewise.
13981         (__vdso_clock_getres): Likewise.
13982         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13983         Likewise.
13984         (__vdso_clock_gettime): Likewise.
13985         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13988         macro.
13989         (INTERNAL_VSYSCALL): Likewise.
13990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13991         Remove macro.
13992         (INTERNAL_VSYSCALL): Likewise.
13993         (INTERNAL_VSYSCALL_NCS): Likewise.
13994         (INTERNAL_VSYSCALL_CALL): New macro.
13995         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13997         Likewise.
13998         (INTERNAL_VSYSCALL): Likewise.
13999         (INTERNAL_VSYSCALL_NCS): Likewise.
14000         (INTERNAL_VSYSCALL_CALL): New macro.
14001         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14003         (INLINE_VSYSCALL): Remove macro.
14004         (INTERNAL_VSYSCALL): Remove macro.
14005         (INTERNAL_VSYSCALL_NCS): Remove macro.
14006         (INTERNAL_VSYSCALL_CALL): New macro.
14007         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14008         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14009         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14010         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14011         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14013         (INLINE_VSYSCALL): Remove macro.
14014         (INTERNAL_VSYSCALL): Likewise.
14015         (INTERNAL_VSYSCALL_NCS): Likewise.
14016         (INTERNAL_VSYSCALL_CALL): New macro.
14017         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14018         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14019         PTR_DEMANGLE on vDSO pointer.
14020         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14021         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14022         macro.
14023         (INTERNAL_SYSCALL): Likewise.
14024         (INTERNAL_VSYSCALL_NCS): Remove macro.
14025         (INTERNAL_VSYSCALL_CALL): New macro.
14026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14027         Remove macro.
14028         (INTERNAL_VSYSCALL): Likewise.
14029         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14030         sysdep-vdso.h instead of libc-vdso.h.
14031         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14032         definition.
14033         (INLINE_VSYSCALL): Likewise.
14034         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14035         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14036         definition.
14037         (INLINE_VSYSCALL): Likewise.
14038         (INTERNAL_VSYSCALL): Likewise.
14039         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14040         * sysdeps/unix/sysv/linux/timespec_get.c
14041         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14042         (timespec_get): Use ANSI prototype.
14043         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14044         and definition for Linux.
14046 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14048         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14049         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14051 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14053         [BZ #2981]
14054         [BZ #18410]
14055         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14056         for missing DT_PLTRELSZ.
14058 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14060         Remove obsolete aliases that broke 'locale -a'
14061         [BZ #18412]
14062         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14063         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14064         breaking some applications that use 'locale -a' output.
14065         Change the encoding of this file from Latin-1 to ASCII to avoid
14066         other potential problems with people grepping this file.
14068 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14070         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14071         -fasynchronous-unwind-tables.
14072         (CFLAGS-sendto.c): Likewise.
14073         (CFLAGS-sendmsg.c): Likewise.
14074         (CFLAGS-connect.c): Likewise.
14075         (CFLAGS-recvmsg.c): Likewise.
14076         (CFLAGS-recvfrom.c): Likewise.
14077         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14078         (SOCKETCALL): New macro: non-cancellable socketcall.
14079         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14080         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14081         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14082         * sysdeps/unix/sysv/linux/accept.c: New file.
14083         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14084         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14085         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14086         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14087         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14088         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14089         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14090         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14091         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14092         * sysdeps/unix/sysv/linux/send.c: Likewise.
14093         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14094         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14095         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14096         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14097         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14098         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14099         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14100         prototype.
14101         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14102         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14103         instead of __internal_xxx function.
14104         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14105         prototype.
14106         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14107         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14108         instead of __internal_xxx function.
14109         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14110         prototype.
14111         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14112         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14113         instead of __internal_xxx function.
14114         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14115         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14116         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14117         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14118         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14119         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14120         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14121         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14122         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14123         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14124         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14125         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14126         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14127         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14128         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14129         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14130         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14131         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14132         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14133         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14136         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14137         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14138         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14139         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14140         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14141         * sysdeps/unix/sysv/linux/send.S: Likewise.
14142         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14143         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14144         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14145         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14146         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14147         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14148         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14149         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14150         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14151         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14152         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14153         socketcall is implemented in GLIBC.
14155 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14157         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14158         (__fma): Ignore uninitialized warnings around packing.
14159         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14160         (__fmaf): Ignore uninitialized warnings around packing.
14161         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14162         (__fmal): Ignore uninitialized warnings around packing.
14164         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14165         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14167         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14169         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14170         switch statement into default case.
14171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14173         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14174         a conditional in forcing "inexact".
14175         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14176         Likewise.
14178 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14180         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14181         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14182         for each INTERNAL_SYSCALL use.
14184 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14186         [BZ #438]
14187         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14188         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14189         variable.
14191         [BZ #18444]
14192         * string/basename.c (basename): Rename to __basename and define as
14193         weak alias of __basename.  Use libc_hidden_weak.
14194         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14195         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14196         __basename instead of basename.
14197         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14198         Remove variable.
14199         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14201 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14203         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14204         (_IO_JUMPS_FILE_plus): New.
14205         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14206         _IO_CAST_FIELD_ACCESS.
14207         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14208         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14209         * libio/freopen.c (freopen): Likewise.
14210         * libio/freopen64.c (freopen64): Likewise.
14211         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14212         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14213         * libio/iofwide.c (_IO_fwide): Likewise.
14214         * libio/memstream.c (open_memstream): Likewise.
14215         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14216         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14217         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14219 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14221         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14222         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14223         NADJ.
14224         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14225         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14226         NADJ.
14227         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14228         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14229         NADJ.
14231         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14232         (p == 4) case.
14234         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14235         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14236         Remove variable.
14237         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14238         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14239         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14241 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14243         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14244         Adjust jump table label generation macros.
14246 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14248         * stdio-common/vfprintf.c (vfprintf): Move local variables
14249         args_malloced, specs, specs_malloced, and the code after
14250         do_positional to the printf_positional function.
14251         (printf_positional): New function.
14253 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14255         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14256         function.
14257         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14258         STEP4_TABLE, process_arg): Move macro definitions
14259         out of the vfprintf function.  (Cosmetic change only.)
14261 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14263         * benchtests/Makefile (stdio-common-bench): Define.
14264         (benchset): Add stdio-common-bench.
14265         * sprintf-inputs: New file.
14266         * sprintf-source.c: New file.
14268 2015-05-21  Andreas Schwab  <schwab@suse.de>
14270         [BZ #13028]
14271         [BZ #17053]
14272         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14273         of struct __res_state.
14274         * resolv/res_send.c (__libc_res_nsend): Likewise.
14275         (get_nsaddr): New function.
14276         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14277         statp directly.
14279 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14281         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14282         -D_POSIX_C_SOURCE=199506L.
14284         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14286         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14287         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14288         Do not mention otherwise.
14289         [POSIX] (_XOPEN_VERSION): Do not expect.
14290         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14291         [POSIX] (_POSIX2_C_BIND): Likewise.
14292         [POSIX] (_POSIX2_VERSION): Likewise.
14293         [POSIX] (_XOPEN_XPG2): Likewise.
14294         [POSIX] (_XOPEN_XPG3): Likewise.
14295         [POSIX] (_XOPEN_XPG4): Likewise.
14296         [POSIX] (_XOPEN_UNIX): Likewise.
14297         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14298         [POSIX] (_POSIX_BARRIERS): Likewise.
14299         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14300         [POSIX] (_POSIX_CPUTIME): Likewise.
14301         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14302         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14303         [POSIX] (_POSIX_SHELL): Likewise.
14304         [POSIX] (_POSIX_SPAWN): Likewise.
14305         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14306         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14307         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14308         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14309         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14310         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14311         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14312         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14313         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14314         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14315         [POSIX] (_POSIX2_PBS): Likewise.
14316         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14317         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14318         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14319         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14320         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14321         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14322         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14323         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14324         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14325         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14326         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14327         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14328         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14329         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14330         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14331         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14332         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14333         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14334         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14335         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14336         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14337         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14338         [POSIX] (_SC_2_C_BIND): Likewise.
14339         [POSIX] (_SC_2_C_VERSION): Likewise.
14340         [POSIX] (_SC_2_PBS): Likewise.
14341         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14342         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14343         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14344         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14345         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14346         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14347         [POSIX] (_SC_BARRIERS): Likewise.
14348         [POSIX] (_SC_BASE): Likewise.
14349         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14350         [POSIX] (_SC_DEVICE_IO): Likewise.
14351         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14352         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14353         [POSIX] (_SC_FD_MGMT): Likewise.
14354         [POSIX] (_SC_FIFO): Likewise.
14355         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14356         [POSIX] (_SC_FILE_LOCKING): Likewise.
14357         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14358         [POSIX] (_SC_IOV_MAX): Likewise.
14359         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14360         [POSIX] (_SC_NETWORKING): Likewise.
14361         [POSIX] (_SC_PAGE_SIZE): Likewise.
14362         [POSIX] (_SC_PASS_MAX): Likewise.
14363         [POSIX] (_SC_PIPE): Likewise.
14364         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14365         [POSIX] (_SC_REGEXP): Likewise.
14366         [POSIX] (_SC_SHELL): Likewise.
14367         [POSIX] (_SC_SIGNALS): Likewise.
14368         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14369         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14370         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14371         [POSIX] (_SC_USER_GROUPS): Likewise.
14372         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14373         [POSIX] (_SC_STREAMS): Likewise.
14374         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14375         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14376         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14377         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14378         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14379         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14380         [POSIX] (_PC_FILESIZEBITS): Likewise.
14381         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14382         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14383         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14384         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14385         [POSIX] (uid_t): Likewise.
14386         [POSIX] (gid_t): Likewise.
14387         [POSIX] (off_t): Likewise.
14388         [POSIX] (pid_t): Likewise.
14389         [POSIX] (cuserid): Allow.
14390         (_SC_2_CHAR_TERM): Require constant.
14391         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14392         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14393         variable.
14395 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14397         * sysdeps/nacl/pthread-pids.h: New file.
14398         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14399         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14401         * nptl/pthread-pids.h: New file.
14402         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14403         * nptl/nptl-init.c: Include <pthread-pids.h>.
14404         (__pthread_initialize_minimal_internal):
14405         Call __pthread_initialize_pids instead of set_tid_address syscall.
14407         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14408         * sysdeps/posix/usleep.c: ... here.
14410 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14412         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14413         call_pselect6 object.
14414         [$(subdir) = io]: Remove call_sync_file_range object.
14415         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14416         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14417         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14418         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14420 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14422         * math/s_cproj.c: Add include "math_private.h".
14423         * math/s_cprojf.c: Likewise.
14424         * math/s_cprojl.c: Likewise.
14426 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14428         [BZ #18244]
14429         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14430         high mantissa bit when testing whether P is a NaN.
14431         * math/libm-test.inc (remainder_test_data): Add more tests.
14432         (remquo_test_data): Likewise.
14434         [BZ #18049]
14435         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14436         below -32, return the argument, with underflow if subnormal.
14437         * math/auto-libm-test-in: Add more tests of atanh.
14438         * math/auto-libm-test-out: Regenerated.
14440 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14442         [BZ #18434]
14443         * nptl/tst-sem15.c: New file.
14444         * nptl/Makefile (tests): Add it.
14445         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14446         s/<</>>/ to fix typo in EOVERFLOW check.
14447         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14449 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14451         * manual/strings.texi (envz_remove): Fix typo in safety
14452         annotations.
14454 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14455             Steve Ellcey  <sellcey@imgtec.com>
14457         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14458         in order to avoid strict alias warnings.
14459         (iruserok_af): Ditto for ra.
14461 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14463         [BZ #17581]
14464         * malloc/hooks.c
14465         (magicbyte): Convert to a function and avoid returning 0x01.
14466         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14467         (mem2chunk_check): Fix unsigned comparisons to zero.
14468         Hoist defs of sz and magic.
14470 2015-05-19  Richard Henderson  <rth@redhat.com>
14472         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14474         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14476 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14478         [BZ #16159]
14479         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14480         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14481         (reused_arena): Find a non-corrupt arena.
14482         (heap_trim): Pass arena to unlink.
14483         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14484         malloc_printerr.
14485         (top_check): Likewise.
14486         (free_check): Likewise.
14487         (realloc_check): Likewise.
14488         * malloc/malloc.c (malloc_printerr): Add arena argument.
14489         (unlink): Likewise.
14490         (munmap_chunk): Adjust.
14491         (ARENA_CORRUPTION_BIT): New macro.
14492         (arena_is_corrupt): Likewise.
14493         (set_arena_corrupt): Likewise.
14494         (sysmalloc): Use mmap if there are no usable arenas.
14495         (_int_malloc): Likewise.
14496         (__libc_malloc): Don't fail if arena_get returns NULL.
14497         (_mid_memalign): Likewise.
14498         (__libc_calloc): Likewise.
14499         (__libc_realloc): Adjust for additional argument to
14500         malloc_printerr.
14501         (_int_free): Likewise.
14502         (malloc_consolidate): Likewise.
14503         (_int_realloc): Likewise.
14504         (_int_memalign): Don't touch corrupt arenas.
14505         * malloc/tst-malloc-backtrace.c: New test case.
14507         * Makefile (summarize-tests): Fix return value on success.
14509         * manual/string.texi (Envz Functions): Add envz_remove.
14511 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14513         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14514         (invalid_name): New function, broken out of ...
14515         (__opendirat): ... here.  Call it.
14516         (need_isdir_precheck): New function, broken out of ...
14517         (__opendirat): ... here.  Call it.
14518         Use __fxstatat64, not __xstatat64.
14519         (opendir_oflags): New function, broken out of ...
14520         (__opendirat): ... here.  Call it.
14521         (opendir_tail): New function, broken out of ...
14522         (__opendirat): ... here.  Call it.
14523         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14524         opendir_tail, rather than punting to __opendirat.
14525         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14527 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14529         * .gitignore: Ignore generated *.pyc.
14531 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14533         * include/stdio.h: Define __need_wint_t.
14534         * test-skeleton.c: Avoid `for' loop initial declaration.
14535         * nptl/tst-initializers1.c: Use test-skeleton.c.
14537 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14539         [BZ #18418]
14540         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14542 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14544         [BZ #16352]
14545         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14546         (__ieee754_atanh): Force underflow exception for results with
14547         small absolute value.
14548         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14549         (__ieee754_atanhf): Force underflow exception for results with
14550         small absolute value.
14551         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14552         (__ieee754_atanh): Force underflow exception for results with
14553         small absolute value.
14554         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14555         (__ieee754_atanhf): Force underflow exception for results with
14556         small absolute value.
14557         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14558         (__ieee754_atanhl): Force underflow exception for results with
14559         small absolute value.
14560         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14561         (__ieee754_atanhl): Force underflow exception for results with
14562         small absolute value.
14563         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14564         (__ieee754_atanhl): Force underflow exception for results with
14565         small absolute value.
14566         * math/auto-libm-test-in: Do not allow missing underflow
14567         exceptions from atanh.
14568         * math/auto-libm-test-out: Regenerated.
14570         [BZ #18221]
14571         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14572         2**-28 as threshold for returning x or +/- 1/x.
14573         * math/auto-libm-test-in: Add more tests of tan.
14574         * math/auto-libm-test-out: Regenerated.
14576         [BZ #18220]
14577         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14578         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14579         * math/auto-libm-test-in: Add another test of lgamma.
14580         * math/auto-libm-test-out: Regenerated.
14582 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14584         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14585         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14586         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14587         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14588         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14589         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14590         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14591         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14592         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14593         (log1): Use fabs.  (my_log2): Use fabs.
14594         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14595         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14596         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14597         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14598         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14599         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14600         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14601         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14602         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14603         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14604         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14606 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14608         [BZ #18217]
14609         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14610         as threshold for returning 1 - x.
14611         * math/auto-libm-test-in: Add more tests of erfc.
14612         * math/auto-libm-test-out: Regenerated.
14614 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14616         [BZ #18196]
14617         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14618         threshold for large arguments.
14619         * math/auto-libm-test-in: Add another test of atan.
14620         * math/auto-libm-test-out: Regenerated.
14622         [BZ #16339]
14623         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14624         (__log1p): Force underflow exception for results with small
14625         absolute value.
14626         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14627         (__log1pf): Force underflow exception for results with small
14628         absolute value.
14629         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14630         (__log1p): Force underflow exception for results with small
14631         absolute value.
14632         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14633         (__log1pf): Force underflow exception for results with small
14634         absolute value.
14635         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14636         (__log1pl): Force underflow exception for results with small
14637         absolute value.
14638         * math/auto-libm-test-in: Do not allow missing underflow
14639         exceptions from log1p.
14640         * math/auto-libm-test-out: Regenerated.
14642 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14643             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14645         [BZ #16704]
14646         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14648 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14650         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14651         (libmvec): New variable.
14652         * configure.ac: Added option for mathvec build.
14653         * configure: Regenerated.
14654         * mathvec/Depend: New file.
14655         * mathvec/Makefile: New file.
14656         * shlib-versions: Added libmvec.
14657         * math/Makefile: Added rule for libm.so installation.
14659         * bits/math-vector.h: New file.
14660         * bits/libm-simd-decl-stubs.h: New header.
14661         * math/Makefile (headers): Added new header
14662         libm-simd-decl-stubs.h.
14663         * math/math.h (__MATHCALL_VEC): New macro.
14665         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14666         for conditions in testing functions.
14667         * math/Makefile: Added call of libm-have-vector-test.sh.
14668         * math/libm-test.inc (HAVE_VECTOR): New macros.
14670         * math/libm-test.inc: START refactored.
14671         * math/test-double.c (TEST_MATHVEC): Add define.
14672         * math/test-float.c: Likewise.
14673         * math/test-idouble.c: Likewise.
14674         * math/test-ifloat.c: Likewise.
14675         * math/test-ildoubl.c: Likewise.
14676         * math/test-ldouble.c: Likewise.
14677         * sysdeps/generic/math-tests-arch.h
14678         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14679         architecture check.
14681         * math/test-double.c (FUNC_TEST): New macro.
14682         * math/test-float.c: Likewise.
14683         * math/test-idouble.c: Likewise.
14684         * math/test-ifloat.c: Likewise.
14685         * math/test-ildoubl.c: Likewise.
14686         * math/test-ldouble.c: Likewise.
14687         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14689 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14691         * sysdeps/nacl/fdopendir.c: New file.
14693         * dirent/scandir-tail.c: New file.
14694         * dirent/scandir64-tail.c: New file.
14695         * dirent/Makefile (routines): Add them.
14696         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14697         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14698         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14699         [!SCANDIR] (SCANDIR_TAIL): New macro.
14700         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14701         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14702         (SCANDIRAT): Macro removed.
14703         (SCANDIR_TAIL): New macro.
14704         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14705         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14706         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14707         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14708         (READDIR): Macro removed.
14709         (SCANDIR_TAIL): New macro.
14710         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14711         (SCANDIR_TAIL): New macro.
14713         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14714         * dirent/scandir-cancel.c: ... to this new file.
14715         * dirent/Makefile (routines): Add it.
14716         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14717         * sysdeps/unix/sysv/linux/i386/scandir64.c
14718         (SKIP_SCANDIR_CANCEL): Macro removed.
14719         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14721         * dirent/tst-scandir.c: New file.
14722         * dirent/tst-scandir64.c: New file.
14723         * dirent/Makefile (tests): Add them.
14725 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14727         [BZ #18409]
14728         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14730 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14732         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14733         list.
14735 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14737         * benchtests/bench-strcoll.c: New benchmark.
14738         * benchtests/Makefile: Generate locales and run benchmark.
14739         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14740         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14741         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14742         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14743         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14744         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14745         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14746         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14747         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14748         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14749         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14750         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14751         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14752         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14753         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14754         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14755         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14756         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14757         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14758         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14759         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14760         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14761         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14762         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14764 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14766         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14767         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14769 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14771         * posix/uname-values.h: New file.
14772         * posix/uname.c: Include that instead of <config-name.h>.
14773         * sysdeps/nacl/uname-values.h: New file.
14774         * sysdeps/arm/nacl/uname-values.h: New file.
14776 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14778         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14779         splitting into fields.
14781 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14783         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14784         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14785         * locale/localeinfo.h: Add enum collation_encoding_type.
14786         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14787         * programs/ld-collate.c (collate_output): Add encoding type info.
14788         * string/strcoll_l.c (STRDIFF): New function.
14789         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14790         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14792 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14794         [BZ #18397]
14795         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14796         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14797         <fpu_control.h> instead of <math/fpu_control.c>.
14798         * sysdeps/mips/mips32/fpu/Makefile: New file.
14800 2015-05-11  Andreas Schwab  <schwab@suse.de>
14802         [BZ #18007]
14803         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14804         nss_endgrent.
14805         (_nss_compat_endgrent): Call nss_endgrent.
14806         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14807         nss_endpwent.
14808         (_nss_compat_endpwent): Call nss_endpwent.
14809         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14810         needent, call nss_setspent only if non-zero.
14811         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14812         (internal_endspent): Don't call nss_endspent.
14813         (_nss_compat_endspent): Call nss_endspent.
14814         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14815         Remove.  All uses removed.
14816         (internal_setent): Remove parameter stayopen, add parameter
14817         stream.  Use it instead of global variable.
14818         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14819         (internal_endent, internal_getent): Add parameter stream.  Use it
14820         instead of global variable.
14821         (CONCAT(_nss_files_end,ENTNAME))
14822         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14823         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14824         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14825         uses removed.
14826         (internal_setent, internal_endent): Add parameter stream.  Use it
14827         instead of global variable.
14828         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14829         stream.
14830         (get_next_alias): Add parameter stream.
14831         (_nss_files_getaliasent_r): Pass global stream.
14832         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14833         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14834         (_nss_files_gethostbyname4_r): Pass local stream to
14835         internal_setent, internal_getent and internal_endent.  Remove
14836         locking.
14838 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14840         * tst-strfmon1.c (tests): Update expected currency symbol.
14842 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14844         * sysdeps/nacl/gethostname.c: New file.
14846 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14848         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14849         and sinh.
14850         * math/auto-libm-test-out: Regenerated.
14851         * sysdeps/i386/fpu/libm-test-ulps: Update.
14852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14854 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14856         [BZ #18125]
14857         * stdlib/tst-setcontext3.c: New file.
14858         * stdlib/tst-setcontext3.sh: New file.
14859         * stdlib/Makefile (tests): Add tst-setcontext3.
14860         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14861         to verify test program created output file.
14862         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14863         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14864         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14865         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14867 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14869         [BZ #18383]
14870         * elf/tst-tlsalign.c: New file.
14871         * elf/tst-tlsalign-static.c: New file.
14872         * elf/tst-tlsalign-lib.c: New file.
14873         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14874         (tests-static): Add tst-tlsalign-static.
14875         (modules-names): Add tst-tlsalign-lib.
14876         (test-xfail-tst-tlsalign): New variable.
14877         (test-xfail-tst-tlsalign-static): New variable.
14879         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14880         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14882 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14884         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14885         csqrt, erfc, sin and sincos.
14886         * math/auto-libm-test-out: Regenerated.
14887         * sysdeps/i386/fpu/libm-test-ulps: Update.
14888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14892         * sysdeps/aarch64/libm-test-ulps: Update.
14894 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14896         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14897         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14898         * math/auto-libm-test-out: Regenerated.
14899         * sysdeps/i386/fpu/libm-test-ulps: Update.
14900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14904         [BZ #18265]
14905         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14906         (wcsncpy): Likewise.
14908 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14910         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14911         Assume __ASSUME_FALLOCATE is always true.
14912         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14913         (__posix_fallocate64_l64): Likweise.
14914         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14915         (posix_fallocate): Likewise.
14916         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14917         (__posix_fallocate64_l64): Likewise.
14918         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14919         [!__ASSUME_FALLOCATE]: Add comment.
14921 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14923         * sysdeps/unix/sysv/linux/i386/Makefile
14924         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14925         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14926         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14927         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14928         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14929         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14930         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14932 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14934         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14935         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14936         tgamma.
14937         * math/auto-libm-test-out: Regenerated.
14938         * sysdeps/i386/fpu/libm-test-ulps: Update.
14939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14941 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14943         * math/auto-libm-test-in: Add more tests of tgamma.
14944         * math/auto-libm-test-out: Regenerated.
14945         * sysdeps/i386/fpu/libm-test-ulps: Update.
14946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14948         * math/auto-libm-test-in: Add more tests of tanh.
14949         * math/auto-libm-test-out: Regenerated.
14950         * sysdeps/i386/fpu/libm-test-ulps: Update.
14951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14953         * math/auto-libm-test-in: Add more tests of tan.
14954         * math/auto-libm-test-out: Regenerated.
14955         * sysdeps/i386/fpu/libm-test-ulps: Update.
14956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14958         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14959         * math/auto-libm-test-out: Regenerated.
14960         * sysdeps/i386/fpu/libm-test-ulps: Update.
14961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14963         * math/auto-libm-test-in: Add another test of pow.
14964         * math/auto-libm-test-out: Regenerated.
14965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14967         * math/auto-libm-test-in: Add more tests of lgamma.
14968         * math/auto-libm-test-out: Regenerated.
14969         * sysdeps/i386/fpu/libm-test-ulps: Update.
14970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14973         log1p.
14974         * math/auto-libm-test-out: Regenerated.
14975         * sysdeps/i386/fpu/libm-test-ulps: Update.
14976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14978 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14980         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14981         Elf64_Chdr structs and ELFCOMPRESS constants.
14983 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14985         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14986         expm1.
14987         * math/auto-libm-test-out: Regenerated.
14988         * sysdeps/i386/fpu/libm-test-ulps: Update.
14989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14991         * math/auto-libm-test-in: Add more tests of erf and erfc.
14992         * math/auto-libm-test-out: Regenerated.
14993         * sysdeps/i386/fpu/libm-test-ulps: Update.
14994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14998         * config.h.in (HAVE_AARCH64_BE): Add.
15000 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15002         * math/auto-libm-test-in: Add more tests of csqrt.
15003         * math/auto-libm-test-out: Regenerated.
15004         * sysdeps/i386/fpu/libm-test-ulps: Update.
15005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15007         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15008         * math/auto-libm-test-out: Regenerated.
15009         * sysdeps/i386/fpu/libm-test-ulps: Update.
15010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15014 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15016         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15017         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15019         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15020         (euidaccess, eaccess): Define as weak aliases.
15022         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15023         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15024         but __suseconds_t is often 'long int' so some sources assume that
15025         type is being used (e.g. they use %ld to print tv_usec).
15027 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15029         [BZ #18007]
15030         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15031         (CVE-2014-8121)
15032         * nss/tst-nss-getpwent.c: New file.
15033         * nss/Makefile (tests): Add new test.
15035 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15037         [BZ #18346]
15038         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15039         exponents less than 48 as cases where high part of mantissa needs
15040         examining to determine whether argument is integral.
15041         * math/libm-test.inc (round_test_data): Add more tests.
15043 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15045         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15047 2015-04-27  David S. Miller  <davem@davemloft.net>
15049         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15050         __tls_get_addr.
15051         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15053 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15055         [BZ#18333]
15056         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15058 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15060         [BZ#18333]
15061         * time/tzset.c (parse_tzname): Return error on memory allocation
15062         failure.
15063         * test-skeleton.c (struct temp_name_list): Change type of name
15064         member to non-const.
15065         (add_temp_file): Create a copy of the file name.
15066         (delete_temp_files): Deallocate memory.
15067         (create_temp_file): Add comment.
15069 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15071         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15072         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15074 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15076         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15077         * sysdeps/arm/configure: Regenerated.
15079 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15081         [BZ #17715]
15082         * time/tzfile.c (__tzfile_read): Check for large values of
15083         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15084         * time/tzset.c (__tzstring_len): New function, based on the old
15085         __tzstring function.
15086         (__tzstring): Call __tzstring_len.
15087         (parse_tzname): New helper function extracted from
15088         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15089         the input string.
15090         (parse_offset): New helper function extracted from
15091         __tzset_parse_tz.  Replace switch with fallthrough with
15092         initialization before sscanf.
15093         (parse_rule): Likewise.
15094         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15095         new-style function definition.
15096         * timezone/Makefile (tests): Add tst-tzset.
15097         (tst-tzset.out): Dependencies on time zone files.
15098         (tst-tzset-ENV): Set TZDIR.
15099         (testdata/XT%): Copy crafted time zone files.
15100         * timezone/README: Mention crafted time zone files.
15101         * timezone/testdata/XT1, timezone/testdata/XT2,
15102         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15103         files.
15104         * timezone/tst-tzset.c: New test.
15106 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15108         * Makeconfig (+gccwarn): Remove -Winline.
15110 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15112         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15114 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15116         * NEWS: Mention sysconf() cache information support for s390.
15117         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15119 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15121         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15122         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15123         (__nearbyint): Likewise.
15124         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15125         (copysignl): Likewise.
15127 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15129         [BZ #18287]
15130         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15131         based on padding.  (CVE-2015-1781)
15133 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15135         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15136         libc-vdso.h.
15137         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15138         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15139         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15140         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15141         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15142         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15144         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15145         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15146         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15147         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15148         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15149         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15150         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15151         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15152         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15153         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15155         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15156         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15157         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15158         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15159         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15161 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15163         * stdlib/setenv.c (__add_to_environ):
15164         Dump core quickly if setenv (..., NULL, ...) is called.
15165         This time, do it the right way, and pacify GCC with a pragma.
15167 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15169         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15170         IMAP->l_prev cannot be null, and #if out the code for the contrary
15171         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15172         believe that NS (&_dl_ns[NSID]) could point outside the array.
15174         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15175         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15176         before using NSID as an index.
15178 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15180         [BZ #17825]
15181         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15182         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15183         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15185 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15187         Add preliminary port to Google Native Client on ARM.
15188         * abi-tags (.*-.*-nacl.*): New entry.
15189         * sysdeps/arm/nacl: New directory.
15190         * sysdeps/nacl: New directory.
15192 2015-04-16  David S. Miller  <davem@davemloft.net>
15194         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15195         lowlevellock-futex.h
15197 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15199         * sysdeps/tile/configure.ac: New file.
15200         * sysdeps/tile/configure: Regenerated.
15202 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15204         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15205         conditionals for weak_alias and libc_hidden_weak.
15206         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15207         libc_hidden_weak and weak_alias.
15208         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15209         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15210         and weak_alias for static one.
15212 2015-04-15  David S. Miller  <davem@davemloft.net>
15214         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15216 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15218         [BZ #18206]
15219         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15220           Use signed comparision instead of substraction to avoid
15221           overflow bug.
15222         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15223           Take the sign of ret.
15224         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15225           Do not expect precise return values. Only the sign matters.
15226         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15227         * wcsmbs/test-wcsncmp.c: New File.
15228         * string/test-strncmp.c: Add wcsncmp support.
15230 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15232         [BZ #6792]
15233         * math/w_log1p.c: New file.
15234         * math/w_log1pf.c: Likewise.
15235         * math/w_log1pl.c: Likewise.
15236         * math/Makefile (libm-calls): Add w_log1p.
15237         * math/s_log1pl.c (log1pl): Remove weak_alias.
15238         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15239         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15240         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15241         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15242         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15243         [NO_LONG_DOUBLE] (log1pl): Likewise.
15244         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15245         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15246         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15247         (log1p): Remove long_double_symbol.
15248         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15249         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15250         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15251         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15252         remove weak_alias for corresponding log1p function.
15253         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15254         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15255         * sysdeps/ia64/fpu/w_log1p.c: New file.
15256         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15257         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15258         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15260 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15262         [BZ #18247]
15263         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15264         decimal exponent by 1.
15265         * stdlib/tst-strtod-round-data: Add more tests.
15266         * stdlib/tst-strtod-round.c (tests): Regenerated.
15268 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15270         * math/auto-libm-test-in: Add more tests of clog and clog10.
15271         * math/auto-libm-test-out: Regenerated.
15272         * sysdeps/i386/fpu/libm-test-ulps: Update.
15273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15275 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15277         * Makeconfig (module-cppflags): Exclude all .v.i files.
15278         (skip-module-cppflags): Variable removed.
15280         * configure.ac (libc_config_ok): Initialize before reading
15281         preconfigure scripts, not after.
15282         * configure: Regenerated.
15284         * test-skeleton.c (TIMEOUT): Move #define to top level.
15285         (main): Grok environment variable TEST_DIRECT.  If set, print
15286         test expectation details into that file and then behave as if
15287         given --direct.
15289 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15291         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15292         warning on 32-bit.
15294 2015-04-08  David S. Miller  <davem@davemloft.net>
15296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15298 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15300         * math/auto-libm-test-in: Add more tests of atanh.
15301         * math/auto-libm-test-out: Regenerated.
15302         * sysdeps/i386/fpu/libm-test-ulps: Update.
15303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15305         * math/auto-libm-test-in: Add more tests of atan.
15306         * math/auto-libm-test-out: Regenerated.
15307         * sysdeps/i386/fpu/libm-test-ulps: Update.
15308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15312         * elf/pldd.c (main): Rewrite to use struct
15313         scratch_buffer instead of extend_alloca.
15314         * elf/pldd-xx.c (find_maps): Likewise.
15315         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15316         <alloca.h>.
15317         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15318         scratch_buffer instead of extend_alloca.
15319         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15320         grp/compat-initgroups.c.
15321         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15322         Rewrite to use struct scratch_buffer instead of extend_alloca.
15323         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15324         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15326 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15328         * math/auto-libm-test-in: Add more tests of cbrt.
15329         * math/auto-libm-test-out: Regenerated.
15330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15332         * math/auto-libm-test-in: Add more tests of cabs.
15333         * math/auto-libm-test-out: Regenerated.
15334         * sysdeps/i386/fpu/libm-test-ulps: Update.
15335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337         [BZ #18210]
15338         [BZ #18211]
15339         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15340         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15341         computations.
15342         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15343         clog10.
15344         * math/auto-libm-test-out: Regenerated.
15345         * sysdeps/i386/fpu/libm-test-ulps: Update.
15346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348         [BZ #18197]
15349         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15350         (atan): Set FE_TONEAREST mode for internal computations.
15351         * math/auto-libm-test-in: Add more tests of atan.
15352         * math/auto-libm-test-out: Regenerated.
15354 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15356         [BZ #17930]
15357         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15359 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15361         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15363 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15365         * include/scratch_buffer.h: New file.
15366         * malloc/scratch_buffer_grow.c: Likewise.
15367         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15368         * malloc/scratch_buffer_set_array_size.c: Likewise.
15369         * malloc/tst-scratch_buffer.c: Likewise.
15370         * malloc/Makefile (routines): Add scratch_buffer_grow.
15371         (tests): Add test case.
15372         * malloc/Versions (GLIBC_PRIVATE): Export
15373         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15374         __libc_scratch_buffer_set_array_size.
15376 2015-04-06  Richard Henderson  <rth@redhat.com>
15378         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15379         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15381         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15382         unsigned int before printing.
15384 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15386         [BZ #17596]
15387         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15388         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15390 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15392         * include/libc-internal.h (libc_max_align_t): Define.
15394 2015-04-02  Andreas Schwab  <schwab@suse.de>
15396         [BZ #16850]
15397         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15399 2015-04-02  Mel Gorman  <mgorman@suse.de>
15401         [BZ #17195]
15402         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15403         as well as the main arena.
15405 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15407         [BZ #18185]
15408         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15409         sharing L2 cache to 2 for Silvermont/Knights Landing.
15411 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15413         [BZ #17711]
15414         * config.make.in (have-protected-data): New.
15415         * configure.ac: Check linker support for protected data symbol.
15416         * configure: Regenerated.
15417         * elf/Makefile (modules-names): Add tst-protected1moda and
15418         tst-protected1modb if $(have-protected-data) is yes.
15419         (tests): Add tst-protected1a and tst-protected1b if
15420         $(have-protected-data) is yes.
15421         ($(objpfx)tst-protected1a): New.
15422         ($(objpfx)tst-protected1b): Likewise.
15423         (tst-protected1modb.so-no-z-defs): Likewise.
15424         * elf/tst-protected1a.c: New file.
15425         * elf/tst-protected1b.c: Likewise.
15426         * elf/tst-protected1mod.h: Likewise.
15427         * elf/tst-protected1moda.c: Likewise.
15428         * elf/tst-protected1modb.c: Likewise.
15430 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15432         [BZ #17711]
15433         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15434         indicates it is called from do_lookup_x on relocation against
15435         protected data, skip the data definion in the executable from
15436         copy reloc.
15437         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15438         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15439         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15440         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15441         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15442         otherwise to 0.
15443         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15444         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15445         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15446         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15447         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15448         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15450 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15452         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15453         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15455 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15457         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15458         THREAD_SETMEM_NC.
15459         * sysdeps/x86_64/nptl/tls.h: Ditto.
15461 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15463         * dlfcn/tststatic.c (main): Converted to ...
15464         (do_test): ... this.
15465         (TEST_FUNCTION): New macro.
15466         Include test-skeleton.c.
15468 2015-03-26  Alan Modra  <amodra@gmail.com>
15470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15471         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15472         zero for undefined weak.
15473         (elf_machine_plt_conflict): Similarly.
15475 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15477         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15478         atanh.
15479         * math/auto-libm-test-out: Regenerated.
15480         * sysdeps/i386/fpu/libm-test-ulps: Update.
15481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15483         * math/auto-libm-test-in: Add another test of asin.
15484         * math/auto-libm-test-out: Regenerated.
15485         * sysdeps/i386/fpu/libm-test-ulps: Update.
15486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15489         Remove macro.
15490         (LLL_EBX_REG): Likewise.
15491         (LLL_ENTER_KERNEL): Likewise.
15493         * math/auto-libm-test-in: Add more tests of asin.
15494         * math/auto-libm-test-out: Regenerated.
15495         * sysdeps/i386/fpu/libm-test-ulps: Update.
15496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15498         [BZ #18138]
15499         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15500         libc_do_syscall_args): New structure.
15501         (INTERNAL_SYSCALL_MAIN_0): New macro.
15502         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15503         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15504         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15505         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15506         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15507         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15508         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15509         Replace conditional definitions by conditional definitions of ....
15510         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15511         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15512         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15513         (libpthread-sysdep_routines): Add libc-do-syscall.
15514         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15515         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15516         to __NR_futex not 240.
15518 2015-03-25  Alan Modra  <amodra@gmail.com>
15520         * NEWS: Advertise TLS optimization.
15521         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15522         (DT_PPC_NUM): Increment.
15523         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15524         (CHECK_STATIC_TLS): Use here.
15525         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15526         TLS descriptors.
15527         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15528         * sysdeps/powerpc/dl-tls.c: New file.
15529         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15530         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15531         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15532         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15537 2015-03-25  Alan Modra  <amodra@gmail.com>
15539         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15540         for overlapping .opd entries" to "support...".
15541         * sysdeps/powerpc/powerpc64/configure: Regenerate
15543 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15545         * math/auto-libm-test-in: Add more tests of acos.
15546         * math/auto-libm-test-out: Regenerated.
15547         * sysdeps/i386/fpu/libm-test-ulps: Update.
15548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15550         * math/auto-libm-test-in: Add more tests of expm1.
15551         * math/auto-libm-test-out: Regenerated.
15552         * sysdeps/i386/fpu/libm-test-ulps: Update.
15553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15555 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15557         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15558         * math/auto-libm-test-out: Regenerated.
15559         * sysdeps/i386/fpu/libm-test-ulps: Update.
15560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15562         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15565         * math/auto-libm-test-in: Add more tests of log2.
15566         * math/auto-libm-test-out: Regenerated.
15567         * sysdeps/i386/fpu/libm-test-ulps: Update.
15568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15570 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15572         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15573         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15574         _IO_IS_APPENDING bit in READ_WRITE instead.
15576 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15578         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15579         (__determine_cpumask_size): Replace extend_alloca with a
15580         variable-length array.  Do not treat res == 0 as an error.
15582 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15584         [BZ #18100]
15585         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15586         and integer overflow.
15587         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15588         (main): Add integer overflow tests.
15589         * manual/pattern.texi (Calling Wordexp): Document additional use
15590         for WRDE_SYNTAX.
15592 2015-03-23  Alan Modra  <amodra@gmail.com>
15594         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15595         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15596         and false branch of conditional.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15598         Likewise.
15600 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15602         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15603         libc-modules.h
15604         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15605         unused declaration of _hurd_intr_rpc_msg_in_trap.
15606         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15607         defined instead of whether it is non-zero.
15608         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15609         input constraint instead of both input and output constraint.  Use ecx
15610         clobber instead of %ecx.
15611         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15612         mutex_unlock): Use a statement expression instead of an expression list.
15613         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15614         type to vm_size_t instead of vm_address_t.
15615         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15616         defined instead of whether it is non-zero.
15617         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15618         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15619         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15620         comparisons with mapaddr.
15621         * nscd/nscd-client.h: Include <time.h>.
15622         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15623         9th parameter to __vm_region instead of int.
15624         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15625         * scripts/check-local-headers.sh (exclude): Add device/,
15626         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15627         cthreads.h.
15629 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15631         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15632         to account for alignment padding.
15633         * sysdeps/arm/memmove.S: Likewise.
15635 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15637         * sysdeps/unix/sysv/linux/generic/README: New file.
15639 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15641         [BZ #18138]
15642         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15643         (futex_abstimed_wait)
15644         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15645         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15646         of lll_futex_timed_wait.
15648 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15650         [BZ #17542]
15651         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15653 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15655         [BZ #17090]
15656         [BZ #17620]
15657         [BZ #17621]
15658         [BZ #17628]
15659         * NEWS: Update.
15660         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15661         entries with Static TLS too.  Skip entries past the end of the
15662         allocated DTV, from Alan Modra.
15663         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15664         Static TLS DTV entry set up from...
15665         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15666         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15667         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15668         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15669         for Static TLS.
15670         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15671         that the slot we find is associated with the given map before
15672         using its generation count.
15673         * nptl_db/db_info.c: Include ldsodefs.h.
15674         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15675         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15676         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15677         (link_map::l_tls_offset): New struct field.
15678         (dtv_t::counter): Likewise.
15679         (rtld_global): New struct.
15680         (_rtld_global): New rtld variable.
15681         (dl_tls_dtv_slotinfo_list): New rtld global field.
15682         (dtv_slotinfo_list): New struct.
15683         (dtv_slotinfo): Likewise.
15684         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15685         (td_lookup): Rename to...
15686         (td_mod_lookup): ... this.  Use new mod parameter instead of
15687         LIBPTHREAD_SO.
15688         * nptl_db/td_thr_tlsbase.c: Include link.h.
15689         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15690         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15691         addresses even if the DTV is out of date or missing them.
15692         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15693         index zero-length arrays.
15694         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15695         (td_lookup): Make it a macro implemented in terms of...
15696         (td_mod_lookup): ... this declaration.
15697         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15698         (DB_MAIN_VARIABLE): Likewise.
15700 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15702         [BZ #18134]
15703         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15705 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15707         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15709 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15711         [BZ #18128]
15712         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15713         (atomic_add, atomic_increment_and_test)
15714         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15716 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15718         * stdlib/setenv.c (__add_to_environ):
15719         Dump core quickly if setenv (..., NULL, ...) is called.
15721 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15723         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15724         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15725         all the necessary asm magic in one place.
15726         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15727         using those.
15729 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15731         [BZ #14906]
15732         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15733         traced file mtime. Use consistent log message.
15734         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15735         (register_traced_file): Call install_watches. Always set mtime.
15736         (invalidate_cache): Iterate over all trace files. Call install_watches.
15737         (inotify_check_files): Don't inline. Handle watching parent
15738         directories and configuration file movement in and out.
15739         (handle_inotify_events): New function.
15740         (main_loop_poll): Call handle_inotify_events.
15741         (main_loop_epoll): Likewise.
15742         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15743         (struct traced_file): Use array of inotify fds. Add parent directory,
15744         and basename.
15745         (struct database_dyn): Remove unused file_mtime.
15746         (init_traced_file): New inline function.
15747         (define_traced_file): New macro.
15748         * nss/nss_db/db-init.c: Use define_traced_file.
15749         (_nss_db_init): Use init_traced_file.
15750         * nss/nss_files/files-init.c: Use define_traced_file.
15751         (_nss_files_init): Use init_traced_file.
15753 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15755         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15756         [_LIBC]: Do not include <stdlib.h>.
15757         [!_LIBC] (abort): Remove declaration.
15758         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15759         _FP_STATIC_ASSERT instead of conditionally calling abort.
15760         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15761         (_FP_EXTEND_CNAN): Likewise.
15762         (FP_TRUNC): Likewise.
15763         (__FP_CLZ): Likewise.
15764         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15766 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15768         * manual/string.texi (XPG basename): Fix prototype.
15770 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15772         [BZ #18080]
15773         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15774         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15775         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15776         (__setcontext): Likewise.
15777         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15778         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15779         Call rt_sigprocmask syscall one time to set new signal mask
15780         and retrieve the current signal mask instead of two calls.
15781         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15782         (__swapcontext): Likewise.
15783         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15784         * stdlib/tst-setcontext2.c: New file.
15786 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15788         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15790 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15792         [BZ #18093]
15793         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15794         the wrong size.
15796 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15798         [BZ #18043]
15799         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15801 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15803         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15804         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15805         Remove define.
15806         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15807         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15808         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15809         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15810         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15811         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15812         define.
15813         * nptl_db/td_symbol_list.c (td_lookup): Remove
15814         HAVE_ASM_GLOBAL_DOT_NAME code.
15815         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15816         HAVE_ASM_GLOBAL_DOT_NAME check.
15817         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15818         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15819         (DOT_LABEL): Remove define.
15820         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15821         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15822         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15823         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15824         (__TLS_GET_ADDR): Likewise.
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15826         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15828 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15830         [BZ #18111]
15831         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15832         (_FPU_SETCW): Initialize cw from fpsr before storing.
15833         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15834         (fesetexceptflag): Rewrite using fpu_control.h.
15835         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15837 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15839         [BZ #18110]
15840         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15841         asms.
15842         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15844 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15846         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15847         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15848         abort.
15849         (_FP_FMA): Likewise.
15850         (_FP_DIV): Likewise.
15852 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15854         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15855         with 0 in that case.
15856         * Makefile (summarize-tests): New canned sequence, factored out of
15857         commands for targets tests and xtests.  Display summary lines that
15858         don't start with PASS: or XFAIL: rather than ones that do start with
15859         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15860         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15861         do start with ERROR: or FAIL:.
15862         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15863         (except for [$(build-shared) = yes]).
15864         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15865         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15866         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15867         * nptl/Makefile: Revert 2015-03-04 changes.
15868         [$(CXX) empty] (tests-unsupported): New variable.
15869         * debug/Makefile: Likewise.
15871         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15872         gnulib file.  Replace __attribute with __attribute__ throughout.
15874 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15876         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15878 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15880         [BZ #18104]
15881         * math/auto-libm-test-in: Add another test of pow.
15882         * math/auto-libm-test-out: Regenerated.
15884 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15886         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15887         $(config-cflags-nofma).
15889 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15891         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15892         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15893         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15894         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15895         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15896         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15897         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15898         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15899         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15900         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15901         Add comment on closing #endif.
15903 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15905         * posix/wordexp.c (CHAR_IN_SET): New macro.
15906         (parse_param): Use it.
15908 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15910         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15912 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15914         [BZ #18043]
15915         * posix/wordexp.c (parse_param): Fix buffer overflow.
15916         * posix/wordexp-test.c (test_case): Add test case.
15918 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15920         [BZ #18042]
15921         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15922         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15924 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15926         [BZ #18043]
15927         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15928         (do_bz18043): Delete.
15929         (at_page_end): New.
15930         (testit): Refactor to have words at the edge of unreadable page.
15932 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15934         [BZ #16734]
15935         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15936         Cleanup read-only streams as well.
15937         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15939 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15941         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15942         <bits/libc-lockP.h>
15944 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15946         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15947         on [__KERNEL__].
15948         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15949         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15950         * soft-fp/op-common.h (_FP_DECL): Likewise.
15952 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15954         * elf/ifuncdep2.c (global): Replace
15955         __attribute__((visibility("protected"))) with
15956         asm (".protected global").
15957         * elf/ifuncmod1.c (global): Likewise.
15958         * elf/ifuncmod5.c (global): Likewise.
15960 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15962         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15963         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15965 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15967         * manual/install.texi (Configuring and compiling):
15968         Document test-wrapper-env-only.
15969         * INSTALL: Regenerated.
15971 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15973         [BZ #18043]
15974         * posix/wordexp.c (parse_param): Fix buffer overflow.
15975         * posix/wordexp-test.c (do_bz18043): Add test case.
15977 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15979         * time/tst-strptime2.c (do_test): Ensure failing tests are
15980         reported correctly.
15981         * time/tst-strptime3.c (do_test): Likewise.
15983 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15985         Fix aio_error thread-safety.
15986         * sysdeps/pthread/aio_error.c: New file
15987         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15988         synchronization.
15990 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15992         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15993         (group_number, vfprintf): Use it.
15994         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15995         (JUMP, REF): Use it.
15996         (WORK_BUFFER_SIZE): New enum constant.
15997         (process_arg, vfprintf): Use it.
15999 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16001         * manual/errno.texi (Error Messages): Complete example function
16002         by adding missing #define.
16003         (program_invocation_name): Add statement indicating GNU
16004         extension and reference which header file declares the variable.
16005         (program_invocation_short_name): Likewise.
16007 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16009         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16010         compatibility note.
16012 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16014         * Makeconfig (test-wrapper-env-only): New variable.
16015         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16016         then use that with $(test-wrapper-env-only) rather than using
16017         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16019 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16021         [BZ #18082]
16022         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16023         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16024         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16025         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16026         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16027         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16028         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16029         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16030         Likewise.
16031         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16032         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16033         Likewise.
16034         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16035         Likewise.
16036         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16037         Likewise.
16038         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16039         Likewise.
16040         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16041         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16042         Likewise.
16043         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16044         Likewise.
16045         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16046         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16048 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16050         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16051         (ETH_ALEN): New macro.
16052         (struct ether_addr): Use it for length of ether_addr_octet.
16054         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16055         (setdb): Don't call __nss_configure_lookup for "rpc".
16056         (do_test): Don't call test_rpc.
16057         (output_rpcent, test_rpc): Functions moved ...
16058         * sunrpc/test-rpcent.c: ... to this new file.
16059         * sunrpc/Makefile (tests): Add it.
16061         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16062         __xpg_sigpause.
16063         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16064         * nptl/tst-signal6.c: Likewise.
16065         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16066         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16068         * configure.ac (libc_cv_cxx_link_ok): New check.
16069         Reset CXX to empty if it fails to link.
16070         * configure: Regenerated.
16071         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16072         bug-atexit3-lib only if $(CXX) is nonempty.
16073         * nptl/Makefile (tests): Likewise for tst-cancel24.
16074         (tests, tests-static): Likewise for tst-cancel24-static.
16075         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16076         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16077         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16078         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16080 2015-03-04  Andreas Schwab  <schwab@suse.de>
16082         [BZ #17631]
16083         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16084         for non-GCC compilers.
16085         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16086         Likewise.
16088 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16090         [BZ #17776]
16091         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16092         integer before bitwise and assembly operations.
16093         (feclearexcept): Likewise.
16094         * math/test-fenvinline.c: New file.
16095         * math/Makefile: Add test-fenvinline test.
16097 2015-03-03  Alan Modra  <amodra@gmail.com>
16099         [BZ #16512]
16100         * scripts/localplt.awk: Strip off symbol version.
16101         * NEWS: Mention bug fix.
16103 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16105         * sysdeps/pthread/timer_routines.c
16106         (timer_free_list, thread_free_list, thread_active_list): Make static.
16108 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16110         [BZ #17779]
16111         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16112         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16113         Undefine.
16114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16115         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16116         Likewise.
16117         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16118         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16119         Likewise.
16121 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16123         [BZ #18036]
16124         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16125         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16127 2015-03-02  Andreas Schwab  <schwab@suse.de>
16129         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16130         variable name.
16132 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16134         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16135         Return error status.
16137 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16139         [BZ #15969]
16140         * locale/findlocale.c (_nl_find_locale): Introduce const
16141         version of loc_name and drop unsafe type casts.
16143 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16145         * dlfcn/tststatic2.c (main): Converted to ...
16146         (do_test): ... this.
16147         (TEST_FUNCTION): New macro.
16148         Include test-skeleton.c.
16150 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16152         [BZ #17711]
16153         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16154         (tests-pie): Add vismain.
16155         (CFLAGS-vismain.c): New.
16156         * elf/vismain.c: Add comments for PIE requirement.
16158 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16160         [BZ #18046]
16161         [BZ #18047]
16162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16163         0x1p-56L as threshold for just returning the argument.
16164         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16165         0x1p-32L as threshold for just returning the argument.
16166         * math/auto-libm-test-in: Add more tests of atanh.
16167         * math/auto-libm-test-out: Regenerated.
16168         * sysdeps/i386/fpu/libm-test-ulps: Update.
16169         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16171 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16173         * string/bcopy.c (bcopy): Call memmove for performance.
16175 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16177         * string/bzero.c (__bzero): Call memset for performance.
16179 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16181         [BZ #18068]
16182         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16183         to 00100000.
16185 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16187         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16189 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16191         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16192         (__kernel_standard): Use CSTR macro when setting exc.name.
16193         * sysdeps/ieee754/Makefile [$(subdir) = math]
16194         (CFLAGS-k_standard.c): Remove variable.
16196         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16197         setting p and q from "else if" to "else".
16198         (qzero): Likewise.
16199         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16200         (qone): Likewise.
16201         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16202         (qzerof): Likewise.
16203         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16204         (qonef): Likewise.
16205         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16206         (qzero): Likewise.
16207         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16208         (qone): Likewise.
16210         [BZ #18038]
16211         [BZ #18039]
16212         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16213         return pi/2 for arguments below 0x1p-113L.
16214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16215         return pi/2 for arguments below 0x1p-106L.
16216         * math/auto-libm-test-in: Add more tests of acos.
16217         * math/auto-libm-test-out: Regenerated.
16219         [BZ #16351]
16220         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16221         (MO): New macro.
16222         (__ieee754_asin): Force underflow exception for results with small
16223         absolute value.
16224         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16225         (MO): New macro.
16226         (__ieee754_asinf): Force underflow exception for results with
16227         small absolute value.
16228         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16229         (__ieee754_asin): Force underflow exception for results with small
16230         absolute value.
16231         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16232         (__ieee754_asinf): Force underflow exception for results with
16233         small absolute value.
16234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16235         (__ieee754_asinl): Force underflow exception for results with
16236         small absolute value.
16237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16238         (__ieee754_asinl): Force underflow exception for results with
16239         small absolute value.
16240         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16241         (__ieee754_asinl): Force underflow exception for results with
16242         small absolute value.
16243         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16244         Include <math.h>.
16245         * math/auto-libm-test-in: Do not mark underflow exceptions as
16246         possibly missing for bug 16351.
16247         * math/auto-libm-test-out: Regenerated.
16249         [BZ #18030]
16250         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16251         of power of 2 down when low part has opposite sign.
16252         * math/libm-test.inc (logb_test_data): Add more tests.
16254 2015-02-26  Andreas Schwab  <schwab@suse.de>
16256         [BZ #18032]
16257         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16258         over collating symbol inside a bracket expression.  Minor cleanup.
16259         * posix/tst-fnmatch3.c (do_test): Add test case.
16261 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16263         [BZ #18029]
16264         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16265         Adjust exponent of power of 2 down when low part has opposite
16266         sign.
16267         * math/libm-test.inc (ilogb_test_data): Add more tests.
16269 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16271         [BZ #15969]
16272         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16273         the previous change.
16275         [BZ #15969]
16276         * locale/findlocale.c (_nl_find_locale): Retry archive search
16277         after alias expansion.
16279 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16281         * iconv/tst-iconv3.c (main): Converted to ...
16282         (do_test): ... this.
16283         (TEST_FUNCTION): New macro.
16284         Include test-skeleton.c.
16286         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16287         (convert): Make function static.
16288         (test_unalign): Likewise.  Add const to argument pointee types.
16289         (main): Replace with static function do_test.
16290         Print "Succeeded." only if RET is zero.
16291         (TEST_FUNCTION): New macro.
16292         Include test-skeleton.c.
16294         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16295         returns a null pointer.
16297 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16299         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16300         to __memcpy_ppc only for static builds.
16302 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16304         [BZ #18020]
16305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16306         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16307         * math/auto-libm-test-in: Add more tests of asinh.
16308         * math/auto-libm-test-out: Regenerated.
16309         * sysdeps/i386/fpu/libm-test-ulps: Update.
16310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16312 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16314         [BZ #15850]
16315         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16316         and ip6_mtuinfo definitions here.
16317         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16318         in this define too.  Update comment.
16320 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16322         * elf/sprof.c (load_shobj): Tweak error message to match others.
16324 2015-02-24  Kevin Easton  <kevin@guarana.org>
16326         [BZ #16145] (partial fix)
16327         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16328         to reduce lock contention.
16330 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16332         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16333         (struct timex): Update time comment.
16334         (ADJ_SETOFFSET): Define.
16336 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16338         [BZ #18019]
16339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16340         2**56 not 2**28 as threshold for log (2x) formula.
16341         * math/auto-libm-test-in: Add more tests of acosh.
16342         * math/auto-libm-test-out: Regenerated.
16343         * sysdeps/i386/fpu/libm-test-ulps: Update.
16344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16346 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16348         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16349         parenthesis around the buf assignment.
16350         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16352 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16354         [BZ #16783]
16355         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16356         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16357         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16358         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16359         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16360         * math/libm-test.inc (scalb_test_data): Add more tests.
16362 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16364         [BZ #17916]
16365         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16366         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16368 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16370         [BZ #17523]
16371         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16372         * io/bits/fcntl2.h (open): Use it.
16373         (openat): Likewise.
16374         * io/open.c (__libc_open): Likewise.
16375         * io/open64.c (__libc_open64): Likewise.
16376         * io/open64_2.c (__open64_2): Likewise.
16377         * io/open_2.c (__open_2): Likewise.
16378         * io/openat.c (__openat): Likewise.
16379         * io/openat64.c (__openat64): Likewise.
16380         * io/openat64_2.c (__openat64_2): Likewise.
16381         * io/openat_2.c (__openat_2): Likewise.
16382         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16383         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16384         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16385         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16386         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16387         (__open_nocancel): Likewise.
16388         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16389         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16390         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16392 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16394         [BZ #14841]
16395         * resolv/gethnamaddr.c (getanswer): Skip logging if
16396         RES_USE_DNSSEC is set.
16397         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16399 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16401         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16403 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16405         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16406         201304L, for Unicode 7.
16408 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16410         [BZ #17836]
16411         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16412         shared library.  Add gmon-start.os otherwise.
16413         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16414         $(objpfx)gmon-start.os if builing shared library.
16415         ($(objpfx)g$(static-start-installed-name)): Likewise.
16417 2015-02-23  Andreas Schwab  <schwab@suse.de>
16419         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16421 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16423         [BZ #17269]
16424         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16425         (enlarge_userbuf): Likewise.
16427 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16429         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16430         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16431         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16432         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16434 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16436         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16437         expression inside statement expression.
16439 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16441         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16442         <sysdeps/nptl/lowlevellock.h> and remove macros and
16443         functions that are now defined there.
16444         (SYS_futex): Remove.
16445         (lll_compare_and_swap): Remove.
16446         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16448 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16450         [BZ #17999]
16451         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16452         instead of scandirat.
16453         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16454         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16455         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16456         __scandirat.
16457         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16458         (__scandirat): Declare.  Use libc_hidden_proto.
16459         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16460         Remove variable.
16461         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16463 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #15319]
16466         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16467         (MO): New macro.
16468         (__ieee754_atan2): For results with small absolute value, force
16469         underflow exception and remove excess range and precision from
16470         return value.
16471         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16472         (MO): New macro.
16473         (__ieee754_atan2f): For results with small absolute value, force
16474         underflow exception and remove excess range and precision from
16475         return value.
16476         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16477         (MO): New macro.
16478         (__atan): For results with small absolute value, force underflow
16479         exception and remove excess range and precision from return value.
16480         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16481         (MO): New macro.
16482         (__atanf): For results with small absolute value, force underflow
16483         exception and remove excess range and precision from return value.
16484         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16485         <math.h>.
16486         (__ieee754_atan2): Force underflow exception for results with
16487         small absolute value.
16488         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16489         <math_private.h>.
16490         (atan): Force underflow exception for results with small absolute
16491         value.
16492         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16493         (__atanf): Force underflow exception for results with small
16494         absolute value.
16495         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16496         <math.h>.
16497         (__atanl): Force underflow exception for results with small
16498         absolute value.
16499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16500         (__atanl): Force underflow exception for results with small
16501         absolute value.
16502         * sysdeps/x86/fpu/bits/mathinline.h
16503         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16504         (__ieee754_atan2): Only define inline for long double.
16505         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16506         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16507         * math/auto-libm-test-in: Do not mark underflow exceptions as
16508         possibly missing for bug 15319.  Add more tests of atan2.
16509         * math/auto-libm-test-out: Regenerated.
16510         * math/libm-test.inc (casin_test_data): Do not mark underflow
16511         exceptions as possibly missing for bug 15319.
16512         (casinh_test_data): Likewise.
16513         * sysdeps/i386/fpu/libm-test-ulps: Update.
16515 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16517         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16518         * sysdeps/mips/bits/endian.h: Fix comments.
16520 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16522         [BZ #17996]
16523         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16524         (hdestroy_r): Likewise.
16525         (hsearch_r): Likewise.
16526         (__hcreate_r): Declare and use libc_hidden_proto.
16527         (__hdestroy_r): Likewise.
16528         (__hsearch_r): Likewise.
16529         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16530         (hcreate): Call __hcreate_r instead of hcreate_r.
16531         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16532         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16533         as weak alias of __hcreate_r.
16534         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16535         __hdestroy_r.
16536         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16537         __hsearch_r.
16538         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16539         Remove variable.
16540         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16541         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16542         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16543         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16545 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16547         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16548         arena_lock into a single arena_get.
16550 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16552         * dl-reloc.c: Inlucde libc-internal.h.
16553         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16554         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16555         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16556         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16557         (grow_heap): Likewise.
16558         * malloc/malloc.c: Include libc-internal.h.
16559         (do_check_malloc): Call powerof2.
16560         (sysmalloc): Use pagesize. Call ALIGN_UP.
16561         (systrim): Use pagesize.
16562         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16563         (__libc_valloc): Use pagesize.
16564         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16566 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16568         [BZ #17991]
16569         * include/sys/resource.h (__getrlimit64): Declare.  Use
16570         libc_hidden_proto.
16571         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16572         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16573         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16574         getrlimit64.
16575         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16576         __getrlimit64.
16577         [!getrlimit64] (getrlimit64): Define as weak alias of
16578         __getrlimit64.  Use libc_hidden_weak.
16579         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16580         using __getrlimit64 not __new_getrlimit64.
16581         (__GI_getrlimit64): Likewise.
16582         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16583         Likewise.
16584         (__GI_getrlimit64): Likewise.
16585         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16587         (getrlimit): Add __getrlimit64 alias.
16588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16589         Likewise.
16590         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16591         Remove variable.
16592         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16593         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16595 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16597         * libio/fileops.c: Add missing sys/mman.h
16598         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16600 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16602         * manual/math.texi (Errors in Math Functions): Clarify goals
16603         regarding inexact and underflow exceptions.
16605 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16607         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16608         * sysdeps/mips/memset.S: Ditto.
16610 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16612         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16614 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16616         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16617         (__v1longjmp): Remove versioned symbol.
16618         (__v1siglongjmp): Remove alias and versioned symbol.
16619         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16620         (__v2siglongjmp): Likewise.
16622 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16624         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16626 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16628         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16630 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16632         [BZ #17987]
16633         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16634         zero result does not depend on the sign resulting from
16635         subtraction.
16636         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16637         Likewise.
16638         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16639         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16640         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16641         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16642         * math/libm-test.inc (remquo_test_data): Add more tests.
16644 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16646         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16647         Problem reported by J William Piggott.
16649 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16651         [BZ #17978]
16652         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16653         products 4 * y and 2 * y where those would overflow.
16654         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16655         Likewise.
16656         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16657         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16658         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16659         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16660         * math/libm-test.inc (remquo_test_data): Add more tests.
16662         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16664         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16665         [defined _COMPILING_NEWLIB].
16666         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16667         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16669         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16670         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16672 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16674         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16675         acquired.
16677 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16679         [BZ #17792]
16680         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16681         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16682         HOST_STACK_END_ADDR): Likewise.
16684 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16686         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16687         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16688         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16690 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16692         * sysdeps/generic/c++-types.data: New file.
16693         * sysdeps/generic/ld.abilist: New file.
16694         * sysdeps/generic/libBrokenLocale.abilist: New file.
16695         * sysdeps/generic/libanl.abilist: New file.
16696         * sysdeps/generic/libc.abilist: New file.
16697         * sysdeps/generic/libcrypt.abilist: New file.
16698         * sysdeps/generic/libdl.abilist: New file.
16699         * sysdeps/generic/libm.abilist: New file.
16700         * sysdeps/generic/libpthread.abilist: New file.
16701         * sysdeps/generic/libresolv.abilist: New file.
16702         * sysdeps/generic/librt.abilist: New file.
16704 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16706         [BZ #17569]
16707         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16708         Compute absolute value of x as modified by fmod, not original
16709         value of x.
16710         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16711         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16712         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16713         RUN_TEST_ffI_f1_mod8.
16714         (remquo_test_data): Add more tests.
16716 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16718         * sysdeps/init_array/pt-crti.S: New file.
16720 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16722         [BZ #17967]
16723         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16724         __builtin_fmaf instead of relying on contraction of a * b + c.
16726 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16728         [BZ #17969]
16729         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16730         node.
16732 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16734         [BZ #17964]
16735         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16736         __builtin_fma instead of relying on contraction of a * b + c.
16738 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16740         * Makeconfig (ASFLAGS): Add -Werror=undef.
16741         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16742         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16743         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16745         * Makeconfig (after-link): New variable.
16746         (+link-pie, +link-pie-tests): Use it.
16747         (+link-static, +link-static-tests): Likewise.
16748         (+link, +link-tests): Likewise.
16749         * Makerules (build-module, build-module-asneeded): Likewise.
16750         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16751         Likewise.
16752         * elf/Makefile ($(objpfx)ld.so): Likewise.
16754 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16756         [BZ #17965]
16757         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16758         both struct timeval and struct timespec.
16760 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16762         [BZ #16560]
16763         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16764         and redefine.
16765         (__ieee754_exp2l): Do not multiply small fractional parts by
16766         M_LN2l.
16767         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16768         small argument.
16769         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16770         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16771         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16772         * math/auto-libm-test-in: Add more tests of exp2.
16773         * math/auto-libm-test-out: Regenerated.
16775 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16777         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16778         unaligned path.
16780 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16782         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16783         little endian.
16785 2015-02-12  Andreas Schwab  <schwab@suse.de>
16787         [BZ #15790]
16788         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16789         Filter out elision flags from value returned in kind.
16790         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16791         * nptl/tst-pthread-mutexattr.c: New file.
16793 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16795         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16796         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16797         into gnu-gnu, and update comment to refer to abi-tags.
16799 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16801         [BZ #15467]
16802         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16803         (__sincos): Set errno to EDOM for infinite argument.
16804         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16805         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16806         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16807         (__sincosl): Set errno to EDOM for infinite argument.
16808         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16809         (__sincosl): Set errno to EDOM for infinite argument.
16810         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16811         (__sincosl): Set errno to EDOM for infinite argument.
16812         * math/libm-test.inc (sincos_test_data): Test errno setting.
16814 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16816         * string/strxfrm_l.c: Remove #define STRCMP.
16817         * string/strcoll_l.c: Remove #define STRLEN.
16818         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16819         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16821 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16823         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16824         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16825         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16826         * sysdeps/mips/mips64/Makefile: ... here.
16827         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16828         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16829         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16830         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16831         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16832         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16833         * sysdeps/mips/mips64/n64/Implies: Likewise.
16835 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16837         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16838         <sys/time.h>, <string.h>, and <errno.h>.
16839         (dest_offset, dest_address, value, zero): Remove unused variables.
16840         (ldouble): Remove typedef.
16841         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16842         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16843         1).  Fix code style.
16844         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16845         (check): Function removed.
16846         (CHECK): New macro.
16847         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16848         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16849         Don't call set_sigaction_FP and remove_sigaction_FP here.
16850         (ldouble_test): Just use 'long double' as macro argument, no need for
16851         the 'ldouble' typedef.
16852         (do_test): Set up SIGFPE handler at start, using plain signal rather
16853         than sigaction.  Fix code style.
16855 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16857         [BZ #17949]
16858         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16859         jump label.
16861 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16863         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16864         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16866         * sysdeps/powerpc/configure.ac: Remove file.
16867         * sysdeps/powerpc/configure: Likewise.
16869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16870         [sysdep_routines]: Remove wordcopy-power6 object.
16871         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16872         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16873         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16874         (__memmove_ppc32): Likewise.
16875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16876         file.
16877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16879         Remove preprocessor.
16881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16882         [sysdep_routines]: Remove wide chars objects.
16883         [wcsmbs]: New rule for wide char objects.
16885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16886         Remove wordcopy-power6 obejct.
16887         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16888         Use local call for wordcopy and memcpy symbols.
16889         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16890         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16891         implementation for loader.
16892         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16895         Remove wordcopy-power7 object.
16896         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16898         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16899         (_wordcopy_fwd_dest_aligned): Likewise.
16900         (_wordcopy_bwd_aligned): Likewise.
16901         (_wordcopy_bwd_dest_aligned): Likewise.
16903         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16904         Rewrite to call __memmove_ppc instead of include default
16905         implementation.
16907         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16908         Remove wide chars objects.
16909         [wcsmbs]: New rule for wide char objects.
16911 2015-02-09  Andreas Schwab  <schwab@suse.de>
16913         [BZ #17912]
16914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16915         in terms of __O_DIRECTORY.
16917 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16919         * time/getdate.c: Include <stdbool.h>.
16920         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16921         call PTR_MANGLE.
16922         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16923         PTR_DEMANGLE.
16925 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16927         Add ersatz _Static_assert on older C hosts
16928         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16929         pre-C11 C platform that is not known to support _Static_assert.
16931 2015-02-07  Richard Braun  <rbraun@sceen.net>
16933         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16934         sigstate.
16935         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16937 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16939         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16940         priority against unexistent AIO_PRIO_DELTA_MAX.
16941         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16942         instead of int.
16943         * misc/fchflags.c (fchflags): Likewise.
16944         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16945         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16946         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16947         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16948         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16949         Declare macros.
16950         [__USE_MISC] (chflags, fchflags): Declare functions.
16951         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16952         EINVAL when nfds is greater than FD_SETSIZE.
16953         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16954         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16955         45.
16956         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16957         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16958         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16959         MACH_RCV_TIMED_OUT.
16960         * hurd/hurd/signal.h (_hurd_self_sigstate,
16961         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16962         Explicit casts from void *.
16963         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16964         * abi-tags: Rename gnu-gnu os into gnu.
16966         [BZ #4719]
16967         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16968         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16969         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16970         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16971         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16972         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16974         [BZ #17944]
16975         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16976         duplicates ADDR->sun_path with sockaddr LEN limitation.
16977         * sysdeps/mach/hurd/connect.c: Include <string.h>
16978         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16979         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16980         * sysdeps/mach/hurd/sendto.c: Likewise.
16981         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16982         implementing it by hand.
16984 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16986         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16987         Use sfi_breg on ldr.
16988         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16989         Likewise.
16991         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16992         it's defined.
16993         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16994         Test SIGSETXID only if it's defined.
16996         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16998         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16999         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17001         * nptl/tst-align2.c: Moved ...
17002         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17003         * nptl/Makefile (tests): Remove tst-align2.
17004         * sysdeps/unix/sysv/linux/Makefile
17005         [$(subdir) = nptl] (tests): Add tst-align-clone.
17006         * nptl/tst-getpid1.c: Moved ...
17007         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17008         * nptl/tst-getpid2.c: Moved ...
17009         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17010         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17011         * sysdeps/unix/sysv/linux/Makefile
17012         [$(subdir) = nptl] (tests): ... here.
17013         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17014         * sysdeps/unix/sysv/linux/Makefile
17015         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17017         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17018         Drop trailing \n from perror argument.  Use return rather than exit.
17020         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17021         on [SA_SIGINFO].
17022         * nptl/tst-cancel21.c (do_test): Likewise.
17023         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17024         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17025         [!SA_SIGINFO]: Make it a stub test.
17027         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17028         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17030         * posix/tst-getlogin.c: Move to ...
17031         * login/tst-getlogin.c: ... here.
17032         * posix/Makefile (tests): Move tst-getlogin to ...
17033         * login/Makefile (tests): ... here.
17035         * libio/tst-atime.c (do_test): Move local variables SV and E
17036         inside [ST_NOATIME] conditional.
17038         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17040         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17042         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17043         (wait_code): New function replaces macro.
17044         Call nanosleep rather than syscall.
17046         * nptl/pt-system.c: Rewritten.  Put everything under
17047         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17048         Use IFUNC to redirect when possible.
17050         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17051         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17052         Use IFUNC to redirect when possible.
17054         * nptl/pt-fork.c: Rewritten.  Put everything under
17055         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17056         Use IFUNC to redirect when possible.
17057         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17060         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17061         unconditionally nowadays.  This included the only reference to
17062         __vdso_clock_gettime that appears outside libc proper.
17063         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17064         Remove version set (containing only __vdso_clock_gettime).
17065         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17066         Add attribute_hidden.
17067         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17068         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17069         libc_hidden_data_def.
17070         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17071         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17073         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17074         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17075         setrpcent, and getrpcport to ...
17076         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17077         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17078         getrpcbynumber_r, and getrpcent_r to ...
17079         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17080         * inet/getrpcbyname.c: Moved ...
17081         * sunrpc/getrpcbyname.c: ... here.
17082         * inet/getrpcbyname_r.c: Moved ...
17083         * sunrpc/getrpcbyname_r.c: ... here.
17084         * inet/getrpcbynumber.c: Moved ...
17085         * sunrpc/getrpcbynumber.c: ... here.
17086         * inet/getrpcbynumber_r.c: Moved ...
17087         * sunrpc/getrpcbynumber_r.c: ... here.
17088         * inet/getrpcent.c: Moved ...
17089         * sunrpc/getrpcent.c: ... here.
17090         * inet/getrpcent_r.c: Moved ...
17091         * sunrpc/getrpcent_r.c: ... here.
17092         * inet/Makefile (routines): Move those to ...
17093         * sunrpc/Makefile (routines): ... here.
17094         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17095         the $(subdirs) list.
17096         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17097         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17098         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17099         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17101         * elf/Makefile (routines): Include $(all-dl-routines), not just
17102         $(dl-routines).
17103         (rtld-routines): Likewise.  Use = rather than :=.
17104         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17105         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17106         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17107         * sysdeps/arm/Makefile: Likewise.
17108         * sysdeps/i386/Makefile: Likewise.
17109         * sysdeps/x86_64/Makefile: Likewise.
17110         * sysdeps/hppa/Makefile [$(subdir) = elf]
17111         (sysdep_routines, sysdep-rtld-routines): Don't add
17112         $(sysdep-dl-routines) to these.
17113         * sysdeps/ia64/Makefile: Likewise.
17114         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17115         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17116         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17117         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17118         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17119         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17120         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17121         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17122         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17123         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17124         these; sysdep-dl-routines alone is enough.
17126 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17128         [BZ #17932]
17129         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17130         where multiplication results in zero and third argument is finite
17131         and nonzero.
17132         * math/auto-libm-test-in: Add more tests of fma.
17133         * math/auto-libm-test-out: Regenerated.
17135         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17136         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17137         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17138         (_FP_CMP_EQ): Likewise.
17139         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17141         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17142         extra argument CHECK_NAN.  Redefine as wrapper around
17143         _FP_EXTEND_CNAN.
17145 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17147         * version.h (RELEASE): Set to "stable".
17148         (VERSION): Set to "2.21"
17149         * include/features.h (__GLIBC_MINOR__): Set to 21.
17151         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17153 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17154             Paul Eggert  <eggert@cs.ucla.edu>
17156         [BZ #16618]
17157         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17158         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17159         size in bytes. Store needed elements in wpmax. Use needed size
17160         in bytes for extend_alloca.
17162 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17164         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17165         binutls 2.25, and texinfo 5.2.
17166         * INSTALL: Regenerate.
17167         * sysdeps/nios2/configure: Regenerate.
17168         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17169         * manual/contrib.texi: Update.
17170         * po/be.po: Update.
17171         * po/bg.po: Update.
17172         * po/ca.po: Update.
17173         * po/cs.po: Update.
17174         * po/da.po: Update.
17175         * po/de.po: Update.
17176         * po/el.po: Update.
17177         * po/eo.po: Update.
17178         * po/es.po: Update.
17179         * po/fi.po: Update.
17180         * po/fr.po: Update.
17181         * po/gl.po: Update.
17182         * po/hr.po: Update.
17183         * po/hu.po: Update.
17184         * po/ia.po: Update.
17185         * po/id.po: Update.
17186         * po/it.po: Update.
17187         * po/ja.po: Update.
17188         * po/ko.po: Update.
17189         * po/lt.po: Update.
17190         * po/nb.po: Update.
17191         * po/nl.po: Update.
17192         * po/pl.po: Update.
17193         * po/pt_BR.po: Update.
17194         * po/ru.po: Update.
17195         * po/rw.po: Update.
17196         * po/sk.po: Update.
17197         * po/sl.po: Update.
17198         * po/sv.po: Update.
17199         * po/tr.po: Update.
17200         * po/uk.po: Update.
17201         * po/vi.po: Update.
17202         * po/zh_CN.po: Update.
17203         * po/zh_TW.po: Update.
17205         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17206         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17207         * sysdeps/hppa/dl-irel.h: Remove #warning.
17208         * sysdeps/hppa/entry.h: Provide prototype for
17209         __canonicalize_funcptr_for_compare and cast argument.
17210         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17211         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17212         * sysdeps/hppa/sotruss-lib.c: New file.
17213         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17214         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17215         (atomic_compare_and_exchange_bool_acq): Likewise.
17216         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17217         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17219         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17220         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17221         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17223 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17225         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17226         called function in non-PIC case.
17228 2015-01-31  David S. Miller  <davem@davemloft.net>
17230         * sysdeps/sparc/sparc32/bits/atomic.h
17231         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17232         unlock not after it.
17233         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17234         volatile register usage warnings from the compiler.
17236         * sysdeps/sparc/nptl/sem_init.c: Delete.
17237         * sysdeps/sparc/nptl/sem_post.c: Delete.
17238         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17239         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17240         * sysdeps/sparc/sparc32/sem_init.c: New file.
17241         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17242         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17243         padding explicitly initialized.
17244         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17245         padding for in-semaphore spinlock.
17246         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17247         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17248         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17249         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17250         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17251         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17252         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17253         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17254         version.
17255         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17256         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17258 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17260         [BZ #17801]
17261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17262         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17263         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17264         New.
17265         (index_AVX_Fast_Unaligned_Load): Likewise.
17266         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17267         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17268         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17269         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17270         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17271         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17272         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17273         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17274         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17276 2015-01-29  Andreas Schwab  <schwab@suse.de>
17278         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17280 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17282         [BZ #17892]
17283         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17285 2015-01-28  Martin Sebor  <msebor@redhat.com>
17287         * math/README.libm-test: Clarify. Add "How to read the test output."
17289 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17291         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17292         Define to 0.
17294 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17296         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17297         (__HAVE_64B_ATOMICS): Define to 0.
17299 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17301         [BZ #17885]
17302         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17303         value to set as new flag.
17305         [BZ #16576]
17306         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17307         and use _ARCH_PPCSQ instead.
17308         (__ieee754_sqrt): Likewise.
17309         (__ieee754_sqrtf): Likewise.
17310         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17311         _ARCH_PPCSQ is defined.
17312         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17313         fsqrt instruction.
17314         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17315         _ARCH_PPCSQ is defined.
17316         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17317         fsqrts instruction.
17318         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17320 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17322         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17323         bug (GCC BZ #64739).
17325 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17327         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17328         Mark _retval as used.
17329         (lll_futex_wake_unlock): Likewise.
17330         (lll_futex_timed_wait_requeue_pi): Likewise.
17332         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17333         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17334         register variables.
17336         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17337         libm_hidden_def.
17339         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17340         (__bswap_64): Mark as __always_inline.
17342 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17344         [BZ #15378]
17345         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17346         when none of the search directories exist.
17348 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17350         [BZ #17869]
17351         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17352         power8 in .machine directive.
17354         [BZ #17868]
17355         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17356         set dependency from opd value.
17358 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17361         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17362         architecture.
17364 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17366         [BZ #17870]
17367         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17368         with uint64_t.
17369         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17370         (uint64_t) 1.
17371         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17372         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17373         Replace 1UL with (uint64_t) 1.
17374         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17375         int with uint64_t.
17377 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17379         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17380         (if_freenameindex): Likewise.
17382         * resource/getrlimit64.c: Add missing libc_hidden_def.
17384 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17386         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17387         __label__.
17388         (_FP_FMA): Likewise.
17389         (_FP_TO_INT_ROUND): Likewise.
17390         (_FP_FROM_INT): Likewise.
17392 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17394         [BZ #16418]
17395         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17396         Make code racy and cancel safe.
17398 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17400         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17401         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17402         attribution.
17404         * pwd/tst-getpw.c: Rewrite.
17406         [BZ #17702]
17407         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17408         (modules-names): Add moddummy1 and moddummy2.
17409         ($(objpfx)tst-rec-dlopen): Define.
17410         * dlfcn/moddummy1.c: New file.
17411         * dlfcn/moddummy2.c: New file.
17412         * dlfcn/tst-rec-dlopen.c: New file.
17413         * elf/dl-cache.c (_dl_load_cache_lookup):
17414         Return char*. Copy result with alloca/strcpy/strdup.
17415         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17416         returns char*. Free cached. If not saving realname
17417         free cached.
17418         * elf/dl-open.c (dl_open_worker): Do not assert that
17419         _r_debug->r_state is RT_CONSISTENT.
17420         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17421         returns char*.
17423 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17424             Carlos O'Donell  <carlos@redhat.com>
17426         [BZ #12674]
17427         * nptl/sem_waitcommon.c: New file.
17428         * nptl/sem_wait.c: Include sem_waitcommon.c.
17429         (__sem_wait_cleanup, do_futex_wait): Remove.
17430         (__new_sem_wait): Adapt.
17431         (__new_sem_trywait): New function.
17432         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17433         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17434         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17435         (sem_timedwait): Adapt.
17436         * nptl/sem_post.c (__new_sem_post): Adapt.
17437         (futex_wake): New function.
17438         (__old_sem_post): Add release MO fence.
17439         * nptl/sem_open.c (sem_open): Adapt.
17440         * nptl/sem_init.c (__new_sem_init): Adapt.
17441         (futex_private_if_supported): New function.
17442         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17443         (__old_sem_getvalue): Add using previous code.
17444         * sysdeps/nptl/internaltypes.h: Adapt.
17445         * nptl/tst-sem13.c (do_test): Adapt.
17446         * nptl/tst-sem11.c (main): Adapt.
17447         * nptl/sem_trywait.c: Remove.
17448         * nptl/DESIGN-sem.txt: Remove.
17449         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17450         (gen-as-const-headers): Remove structsem.sym.
17451         * nptl/structsem.sym: Remove.
17452         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17453         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17454         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17455         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17456         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17457         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17458         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17459         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17460         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17461         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17462         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17463         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17464         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17465         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17466         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17467         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17468         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17469         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17470         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17471         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17472         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17473         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17475 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17477         * INSTALL: Regenerated.
17479         * po/libc.pot: Regenerated.
17481 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17482             Sandra Loosemore  <sandra@codesourcery.com>
17483             Andrew Jenner  <andrew@codesourcery.com>
17484             Joseph Myers  <joseph@codesourcery.com>
17485             Nathan Sidwell  <nathan@codesourcery.com>
17487         * NEWS: Mention new Nios II port.
17488         * sysdeps/nios2/Implies: New file.
17489         * sysdeps/nios2/Makefile: New file.
17490         * sysdeps/nios2/Subdirs: New file.
17491         * sysdeps/nios2/Versions: New file.
17492         * sysdeps/nios2/__longjmp.S: New file.
17493         * sysdeps/nios2/abort-instr.h: New file.
17494         * sysdeps/nios2/backtrace.c: New file.
17495         * sysdeps/nios2/bits/endian.h: New file.
17496         * sysdeps/nios2/bits/fenv.h: New file.
17497         * sysdeps/nios2/bits/link.h: New file.
17498         * sysdeps/nios2/bits/setjmp.h: New file.
17499         * sysdeps/nios2/bsd-_setjmp.S: New file.
17500         * sysdeps/nios2/bsd-setjmp.S: New file.
17501         * sysdeps/nios2/configure: New generated file.
17502         * sysdeps/nios2/configure.ac: New file.
17503         * sysdeps/nios2/crti.S: New file.
17504         * sysdeps/nios2/crtn.S: New file.
17505         * sysdeps/nios2/dl-init.c: New file.
17506         * sysdeps/nios2/dl-machine.h: New file.
17507         * sysdeps/nios2/dl-sysdep.h: New file.
17508         * sysdeps/nios2/dl-tls.h: New file.
17509         * sysdeps/nios2/dl-trampoline.S: New file.
17510         * sysdeps/nios2/gccframe.h: New file.
17511         * sysdeps/nios2/gmp-mparam.h: New file.
17512         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17513         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17514         * sysdeps/nios2/ldsodefs.h: New file.
17515         * sysdeps/nios2/libc-tls.c: New file.
17516         * sysdeps/nios2/libm-test-ulps: New file.
17517         * sysdeps/nios2/machine-gmon.h: New file.
17518         * sysdeps/nios2/math-tests.h: New file.
17519         * sysdeps/nios2/math_private.h: New file.
17520         * sysdeps/nios2/memusage.h: New file.
17521         * sysdeps/nios2/nptl/Makefile: New file.
17522         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17523         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17524         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17525         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17526         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17527         * sysdeps/nios2/nptl/tls.h: New file.
17528         * sysdeps/nios2/preconfigure: New file.
17529         * sysdeps/nios2/s_fma.c: New file.
17530         * sysdeps/nios2/s_fmaf.c: New file.
17531         * sysdeps/nios2/setjmp.S: New file.
17532         * sysdeps/nios2/sfp-machine.h: New file.
17533         * sysdeps/nios2/sotruss-lib.c: New file.
17534         * sysdeps/nios2/stackguard-macros.h: New file.
17535         * sysdeps/nios2/stackinfo.h: New file.
17536         * sysdeps/nios2/start.S: New file.
17537         * sysdeps/nios2/sysdep.h: New file.
17538         * sysdeps/nios2/tls-macros.h: New file.
17539         * sysdeps/nios2/tst-audit.h: New file.
17540         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17541         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17542         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17543         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17544         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17545         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17546         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17547         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17548         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17549         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17550         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17551         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17552         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17553         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17554         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17555         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17556         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17557         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17558         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17559         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17560         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17561         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17562         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17563         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17564         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17565         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17566         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17567         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17568         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17569         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17570         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17571         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17572         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17573         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17574         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17575         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17576         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17577         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17578         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17579         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17580         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17581         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17582         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17583         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17585 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17587         [BZ #17844]
17588         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17589         (getutent): Use weak_alias in non SHARED case
17590         and default_symbol_version in SHARED case.
17591         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17592         (getutent_r, pututline): Likewise.
17593         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17594         (getutid): Likewise.
17595         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17596         (getutid_r): Likewise.
17597         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17598         (getutline): Likewise.
17599         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17600         (getutline_r): Likewise.
17601         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17602         (updwtmp): Likewise.
17604 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17606         [BZ #17848]
17607         * sysdeps/s390/s390-32/memcmp.S
17608         (memcmp_g5): Rename to __memcmp_g5.
17609         * sysdeps/s390/s390-32/memcpy.S
17610         (memcpy_g5): Rename to __memcpy_g5.
17611         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17612         (memcpy_mvcle) Rename to __memcpy_mvcle.
17613         * sysdeps/s390/s390-32/memset.S
17614         (memset_g5): Rename to __memset_g5.
17615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17616         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17617         and use prefixed functions.
17618         * sysdeps/s390/s390-32/multiarch/memcmp.S
17619         (memcmp_z196): Rename to __memcmp_z196.
17620         (memcmp_z10): Rename to __memcmp_z10.
17621         (memcmp): Set alias to __memcmp_g5.
17622         (bcmp): Set alias to __memcmp_g5.
17623         * sysdeps/s390/s390-32/multiarch/memcpy.S
17624         (memcpy_z196): Rename to __memcpy_z196.
17625         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17626         (memcpy_z10): Rename to __memcpy_z10.
17627         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17628         (memcpy): Set alias to __memcpy_g5.
17629         * sysdeps/s390/s390-32/multiarch/memset.S
17630         (memset_z196): Rename to __memset_z196.
17631         Jump to __memset_mvcle instead of memset_mvcle.
17632         (memset_z10): Rename to __memset_z10.
17633         Jump to __memset_mvcle instead of memset_mvcle.
17634         (memset_mvcle) Rename to __memset_mvcle.
17635         (memset): Set alias to __memset_g5.
17636         * sysdeps/s390/s390-64/memcmp.S
17637         (memcmp_z900): Rename to __memcmp_z900.
17638         * sysdeps/s390/s390-64/memcpy.S
17639         (memcpy_z900): Rename to __memcpy_z900.
17640         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17641         (memcpy_mvcle) Rename to __memcpy_mvcle.
17642         * sysdeps/s390/s390-64/memset.S
17643         (memset_z900): Rename to __memset_z900.
17644         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17645         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17646         and use prefixed functions.
17647         * sysdeps/s390/s390-64/multiarch/memcmp.S
17648         (memcmp_z196): Rename to __memcmp_z196.
17649         (memcmp_z10): Rename to __memcmp_z10.
17650         (memcmp): Set alias to __memcmp_z900.
17651         (bcmp): Set alias to __memcmp_z900.
17652         * sysdeps/s390/s390-64/multiarch/memcpy.S
17653         (memcpy_z196): Rename to __memcpy_z196.
17654         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17655         (memcpy_z10): Rename to __memcpy_z10.
17656         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17657         (memcpy): Set alias to __memcpy_z900.
17658         * sysdeps/s390/s390-64/multiarch/memset.S
17659         (memset_z196): Rename to __memset_z196.
17660         Jump to __memset_mvcle instead of memset_mvcle.
17661         (memset_z10): Rename to __memset_z10.
17662         Jump to __memset_mvcle instead of memset_mvcle.
17663         (memset_mvcle) Rename to __memset_mvcle.
17664         (memset): Set alias to __memset_z900.
17666 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17668         [BZ #17748]
17669         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17670         __fesetenv instead of fesetenv.
17672 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17674         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17675         macro.
17677 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17679         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17680         regression on LE.
17682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17683         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17684         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17685         strncmp-power8 object.
17686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17687         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17688         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17689         * NEWS: Update.
17691 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17692             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17694         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17695         trailing byte check.
17697 2015-01-13  David S. Miller  <davem@davemloft.net>
17699         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17701 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17703         * login/logout.c (logout): Use memset rather than bzero.
17704         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17705         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17706         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17707         (_gethtbyaddr): Likewise.
17708         * locale/programs/simple-hash.c (bcopy): Macro removed.
17710 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17713         Add strcmp-power8 object.
17714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17715         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17716         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17717         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17718         __strcmp_power8 implementation.
17719         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17720         * NEWS: Update.
17722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17723         Add strncpy-power8 and stpncpy-power8 objects.
17724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17725         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17726         implementations.
17727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17728         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17729         __stpncpy_power8 implementation.
17730         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17731         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17732         __strncpy_power8 implementation.
17733         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17734         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17735         * NEWS: Update.
17737         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17738         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17739         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17742         strncat-power8 object.
17743         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17744         __strcat_power8 implementation.
17745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17746         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17747         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17748         optimized strcat for power8.
17750         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17751         strcpy-power8 and stpcpy-power8 objects.
17752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17753         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17754         implementations.
17755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17756         multiarch stpcpy implementation for POWER8.
17757         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17758         multiarch strcpy implementation for POWER8.
17759         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17760         __strcpy_power8 function.
17761         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17762         stpcpy for POWER8.
17763         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17764         strcpy for POWER8.
17765         * NEWS: Update.
17767 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17769         [BZ #16009]
17770         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17771         weights and rules. Use do_xfrm_cached if data fits in cache,
17772         do_xfrm otherwise.  Moved former main loop to...
17773         * (do_xfrm_cached): New function.
17774         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17775         find_idx, find_position and stack_push.
17776         * (find_idx): New function.
17777         * (find_position): Likewise.
17778         * localedata/sort-test.sh: Added test run for do_xfrm.
17779         * localedata/xfrm-test.c (main): Added command line option
17780         -nocache to run the test with strings that are too large for
17781         the STRXFRM cache.
17783 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17785         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17786         variable to lll_futex_wake call, not the value itself.
17788 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17790         [BZ #17803]
17791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17792         twom64.  Adjust value to 0x1p-64L.
17793         (__scalblnl): Only return standard underflowing result for K <=
17794         -64 not K <= -63; adjust exponent for underflowing result by 64
17795         not 63.
17796         * math/libm-test.inc (scalbn_test_data): Add more tests.
17797         (scalbln_test_data): Likewise.
17799         [BZ #17834]
17800         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17801         0x1p63L.
17802         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17803         not HX.
17804         * math/libm-test.inc (scalbn_test_data): Add more tests.
17805         (scalbln_test_data): Likewise.
17807 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17808             Stefani Seibold  <stefani@seibold.net>
17810         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17811         (sysdep_routines): Add dl-vdso here, ...
17812         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17813         (sysdep_routines): ... not here.
17814         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17815         fallback when vDSO is not presented.
17816         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17817         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17818         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17819         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17820         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17821         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17822         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17823         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17824         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17826         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17827         fallback configurable symbol when vDSO is not available.
17828         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17829         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17830         be able to redefine fallback symbol when vDSO is not available.
17831         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17832         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17834 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17836         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17837         (TLS_INIT_TP): Add tm_capable initialization.
17838         (TLS_DEFINE_INIT_TP): Likewise.
17839         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17840         TCB.
17841         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17842         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17843         calculation.
17844         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17845         transactoion is lock elision is built and TCB tm_capable is set.
17846         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17848         (INTERNAL_SYSCALL_NCS): Likewise.
17849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17850         (INTERNAL_SYSCALL_NCS): Likewise.
17851         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17853         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17854         for powerpc.
17855         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17856         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17857         and remove it for 32 bits case.
17858         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17860         initialization.
17861         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17862         Disable lock elision with rdlocks if elision is not available.
17864         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17865         (sysdep_routines): Add lock elision objects.
17866         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17867         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17868         [pthread_mutex_t] (__elision): Add field.
17869         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17870         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17871         elision definitions for powerpc.
17872         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17873         implementation of lock elision for powerpc.
17874         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17875         implementation of timed lock elision for powerpc.
17876         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17877         implementation of trylock with lock elision for powerpc.
17878         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17879         implementaion of unlock for lock elision for powerpc.
17880         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17881         automatic enable lock elision for mutexes.
17882         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17883         transaction execution definitions for powerpc.
17884         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17885         definitions.
17886         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17887         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17888         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17889         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17890         * NEWS: Update.
17892 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17894         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17895         for #include of <shm-directory.h>.
17897 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17899         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17900         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17902 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17904         [BZ #17791]
17905         * NEWS: Mention bug fix.
17906         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17907         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17908         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17910 2015-01-09  Torvald Riegel <triegel@redhat.com>
17912         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17914 2015-01-09  Torvald Riegel <triegel@redhat.com>
17916         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17918 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17920         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17921         pointer and cast to uintptr_t.
17923 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17925         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17926         removed.
17927         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17929 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17931         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17932         of 0.
17934 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17936         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17937         <nptl/pthreadP.h> instead.
17938         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17940         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17941         already defined.
17942         [__SIGRTMIN] (init): Function removed.
17943         [__SIGRTMIN] (initialized): Variable removed.
17944         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17945         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17946         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17947         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17948         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17949         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17950         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17951         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17952         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17953         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17954         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17955         * sysdeps/nptl/allocrtsig.c: New file.
17956         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17957         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17958         * sysdeps/generic/testrtsig.h: File removed.
17960         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17961         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17963         * nptl/nptl-init.c (pthread_functions): Conditionalize
17964         .ptr__nptl_setxid initialization on [SIGSETXID].
17966         * sysdeps/nptl/sys/procfs.h: New file.
17967         * nptl_db/Makefile (headers): Add it.
17968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17970         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17971         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17972         * nptl/pthread_attr_setaffinity.c: Include it.
17973         * nptl/pthread_setattr_default_np.c: Likewise.
17974         * nptl/check-cpuset.h: New file.
17976 2015-01-08  Richard Henderson  <rth@redhat.com>
17978         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17979         (CFLAGS-tst-execstack-prog.c): Likewise.
17980         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17982 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17983             Sandra Loosemore  <sandra@codesourcery.com>
17984             Andrew Jenner  <andrew@codesourcery.com>
17985             Joseph Myers  <joseph@codesourcery.com>
17986             Nathan Sidwell  <nathan@codesourcery.com>
17988         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17989         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17990         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17991         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17992         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17993         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17994         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17995         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17996         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17997         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17998         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17999         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18000         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18001         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18002         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18003         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18004         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18006 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18008         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18009         timespec struct member in syscall macro.
18010         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18011         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18012         first timeval struct member in syscall macro.
18013         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18015 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18017         [BZ #17748]
18018         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18019         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18020         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18021         __feupdateenv and define as weak alias of __feupdateenv.  Use
18022         libm_hidden_weak.
18023         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18024         libm_hidden_def.
18025         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18026         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18027         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18028         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18029         libm_hidden_def.
18030         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18031         __feupdateenv and define as weak alias of __feupdateenv.  Use
18032         libm_hidden_weak.
18033         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18034         libm_hidden_def.
18035         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18036         __feupdateenv and define as weak alias of __feupdateenv.  Use
18037         libm_hidden_weak.
18038         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18039         libm_hidden_def.
18040         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18041         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18042         (__feupdateenv): Likewise.
18043         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18044         __feupdateenv and define as weak alias of __feupdateenv.  Use
18045         libm_hidden_weak.
18046         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18047         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18048         libm_hidden_def.
18049         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18050         function.
18051         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18052         libm_hidden_def.
18053         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18054         __feupdateenv instead of feupdateenv.
18055         (default_libc_feupdateenv_test): Likewise.
18056         (libc_feresetround_ctx): Likewise.
18058 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18060         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18061         prototype.
18063 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18065         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18066         COLL_SYM in a couple of places to avoid uninitialized variable
18067         wanings on tilegx gcc 4.8.2.
18069 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18071         * sysdeps/aarch64/strcpy.S: New file.
18072         * sysdeps/aarch64/stpcpy.S: New file.
18073         * NEWS: Updated.
18075 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18077         * sysdeps/aarch64/strrchr.S: New file.
18078         * NEWS: Updated.
18080 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18082         [BZ #17658]
18083         * stdlib/setenv.c: Fix memory leak when setting large,
18084         duplicate string.
18086 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18088         [BZ #17273]
18089         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18090         and tabs from buffer before parsing fstab entry.
18091         * misc/tst-mntent.c (main): Add test for mount entry with
18092         trailing spaces and tabs.
18094 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18096         [BZ #17748]
18097         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18098         * math/fesetround.c (fesetround): Rename to __fesetround and
18099         define as weak alias of __fesetround.  Use libm_hidden_weak.
18100         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18101         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18102         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18103         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18104         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18105         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18106         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18107         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18108         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18109         __fesetround_inline.
18110         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18111         __fesetround_inline instead of __fesetround.
18112         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18113         __fesetround and define as weak alias of __fesetround.  Use
18114         libm_hidden_weak.  Call __fesetround_inline instead of
18115         __fesetround.
18116         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18117         __fesetround and define as weak alias of __fesetround.  Use
18118         libm_hidden_weak.
18119         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18120         Likewise.
18121         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18122         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18123         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18124         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18125         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18126         __fesetround and define as weak alias of __fesetround.  Use
18127         libm_hidden_weak.
18128         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18129         __fesetround instead of fesetround.
18130         (default_libc_feholdexcept_setround): Likewise.
18131         (libc_feholdsetround_ctx): Likewise.
18132         (libc_feholdsetround_noex_ctx): Likewise.
18134         [BZ #17748]
18135         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18136         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18138         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18139         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18140         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18141         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18142         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18143         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18144         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18145         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18146         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18147         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18148         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18149         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18150         libm_hidden_def.
18151         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18152         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18153         Likewise.
18154         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18155         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18156         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18157         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18158         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18159         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18160         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18161         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18162         __fesetenv instead of fesetenv.
18163         (libc_feresetround_noex_ctx): Likewise.
18164         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18165         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18166         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18167         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18168         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18169         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18170         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18171         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18172         (__feupdateenv): Likewise.
18173         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18174         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18175         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18176         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18178 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18180         [BZ #17806]
18181         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18182         addresses have been freed.
18184 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18186         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18187         and nservall.
18189 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18191         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18192         Clean up check_pf allocation pattern. addresses
18194 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18196         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18197         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18198         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18199         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18200         * nptl/pthread_join.c (pthread_join): Likewise.
18201         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18202         * sysdeps/posix/waitid.c (__waitid): Likewise.
18203         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18204         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18205         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18206         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18208         Likewise.
18209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18210         (__libc_pread64): Likewise.
18211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18212         (__libc_pwrite): Likewise.
18213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18214         (__libc_pwrite64): Likewsie.
18215         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18216         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18217         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18218         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18219         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18220         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18221         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18223         Likewise.
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18225         (__libc_pread64): Likewise.
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18227         Likewise.
18228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18229         (__libc_pwrite64): Likewise.
18230         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18231         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18232         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18233         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18234         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18235         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18236         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18237         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18238         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18239         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18240         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18241         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18242         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18243         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18244         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18246         Likewise.
18248 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18250         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18251         (CFLAGS-test-double.c): Likewise.
18252         (CFLAGS-test-ldouble.c): Likewise.
18253         (CPPFLAGS-test-ifloat.c): Likewise.
18254         (CPPFLAGS-test-idouble.c): Likewise.
18255         (CPPFLAGS-test-ildoubl.c): Likewise.
18256         (CFLAGS-test-test-fenv.c): Remove variable.
18257         (CFLAGS-test-misc.c): Likewise.
18259 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18261         [BZ #17797]
18262         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18263         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18264         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18265         CLOCKS_PER_SEC == 1000000.
18266         * time/clocktest.c (main): Replace %ld with %jd and cast to
18267         intmax_t.
18269 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18271         * sysdeps/generic/unwind-resume.h: New file.
18272         * sysdeps/gnu/unwind-resume.c: Include it.
18273         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18274         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18275         argument list.
18276         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18277         global rather than static.
18278         (_Unwind_Resume): Update user.
18279         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18280         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18281         rather than static.  Add __attribute__ ((cold)).
18282         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18283         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18284         * sysdeps/arm/arm-unwind-resume.S: New file.
18285         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18286         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18287         * sysdeps/arm/Makefile [$(subdir) = csu]
18288         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18289         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18290         Add rt-arm-unwind-resume.
18291         [$(subdir) = nptl]
18292         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18293         Add pt-arm-unwind-resume.
18294         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18295         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18297 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18299         [BZ #17748]
18300         * include/fenv.h (__feholdexcept): Declare.  Use
18301         libm_hidden_proto.
18302         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18303         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18304         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18305         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18306         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18307         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18308         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18309         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18310         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18311         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18312         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18313         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18314         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18315         (feholdexcept): Likewise.
18316         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18317         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18318         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18319         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18320         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18321         __feholdexcept instead of feholdexcept.
18322         (default_libc_feholdexcept_setround): Likewise.
18324 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18326         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18327         to avoid using stl/str to align destination.
18329 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18331         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18333 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18335         [BZ #17796]
18336         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18337         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18338         Define as weak alias not strong alias.
18340 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18342         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18343         bltzal with addiupc.
18344         (RTLD_START): Ditto.
18346 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18348         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18349         for __vdso_* functions in declarations.
18350         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18351         definitions.
18352         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18353         INTERNAL_VSYSCALL): Use struct return types to check for error.
18355         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18356         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18357         function with cast from llround().
18358         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18359         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18360         Define.
18362 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18364         [BZ #17793]
18365         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18366         Define as weak alias not strong alias.
18368         [BZ #17635]
18369         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18370         ...
18371         * ctype/ctype-extn.c: ... here.
18372         (__isblank_l): Move to ...
18373         * ctype/ctype-c99_l.c: ... here.  New file.
18374         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18375         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18376         Remove variable.
18377         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18378         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18379         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18380         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18381         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18383         [BZ #17777]
18384         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18385         (posix_fadvise64): Define as weak alias not strong alias.
18386         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18387         (posix_fallocate64): Likewise.
18388         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18389         Remove variable.
18390         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18391         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18392         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18393         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18394         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18396 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18398         [BZ #16191]
18399         * NEWS: Mention bug fix.
18400         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18401         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18402         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18403         (HOST_STACK_END_ADDR): Likewise.
18405 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18407         [BZ #17748]
18408         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18409         * math/fegetround.c (fegetround): Rename to __fegetround and
18410         define as weak alias of __fegetround.  Use libm_hidden_weak.
18411         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18412         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18413         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18414         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18415         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18416         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18417         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18418         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18419         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18420         Undefine after rather than before function definition; use
18421         parentheses around function name in definition.
18422         (__fegetround): Also undefine macro after function definition.
18423         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18424         __fegetround and define as weak alias of __fegetround.  Use
18425         libm_hidden_weak.  Do not undefine as macro.
18426         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18427         Likewise.
18428         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18429         __fegetround and define as weak alias of __fegetround.  Use
18430         libm_hidden_weak.
18431         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18432         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18433         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18434         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18435         __fegetround and define as weak alias of __fegetround.  Use
18436         libm_hidden_weak.
18437         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18438         __fegetround instead of fegetround.
18440         [BZ #17782]
18441         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18442         Condition macro definition on [__USE_MISC].
18444         [BZ #17781]
18445         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18446         (struct sigaction): Change type of sa_flags field to int.
18448         [BZ #17780]
18449         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18450         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18451         __glibc_reserved0.
18453         * nptl/version.c (banner): Use single year in copyright notice.
18455         * NEWS: Update copyright dates.
18456         * catgets/gencat.c (print_version): Likewise.
18457         * csu/version.c (banner): Likewise.
18458         * debug/catchsegv.sh: Likewise.
18459         * debug/pcprofiledump.c (print_version): Likewise.
18460         * debug/xtrace.sh (do_version): Likewise.
18461         * elf/ldconfig.c (print_version): Likewise.
18462         * elf/ldd.bash.in: Likewise.
18463         * elf/pldd.c (print_version): Likewise.
18464         * elf/sotruss.sh: Likewise.
18465         * elf/sprof.c (print_version): Likewise.
18466         * iconv/iconv_prog.c (print_version): Likewise.
18467         * iconv/iconvconfig.c (print_version): Likewise.
18468         * locale/programs/locale.c (print_version): Likewise.
18469         * locale/programs/localedef.c (print_version): Likewise.
18470         * login/programs/pt_chown.c (print_version): Likewise.
18471         * malloc/memusage.sh (do_version): Likewise.
18472         * malloc/memusagestat.c (print_version): Likewise.
18473         * malloc/mtrace.pl: Likewise.
18474         * manual/libc.texinfo: Likewise.
18475         * nptl/version.c (banner): Likewise.
18476         * nscd/nscd.c (print_version): Likewise.
18477         * nss/getent.c (print_version): Likewise.
18478         * nss/makedb.c (print_version): Likewise.
18479         * posix/getconf.c (main): Likewise.
18480         * scripts/test-installation.pl: Likewise.
18481         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18483 2015-01-02  Will Newton  <will.newton@linaro.org>
18485         * sysdeps/arm/armv7/configure: Removed.
18486         * sysdeps/arm/armv7/configure.ac: Likewise.
18488 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18490         * All files with FSF copyright notices: Update copyright dates
18491         using scripts/update-copyrights.
18492         * intl/plural.c: Regenerated.
18493         * locale/programs/charmap-kw.h: Likewise.
18494         * locale/programs/locfile-kw.h: Likewise.
18496 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18498         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18500 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18502         [BZ #17748]
18503         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18504         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18505         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18506         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18507         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18508         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18509         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18510         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18511         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18512         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18513         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18514         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18515         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18516         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18517         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18518         libm_hidden_def.
18519         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18520         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18521         Likewise.
18522         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18523         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18524         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18525         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18526         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18527         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18528         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18529         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18530         __fegetenv instead of fegetenv.
18531         (libc_feholdsetround_noex_ctx): Likewise.
18533 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18535         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18536         (Elf_MIPS_ABIFlags_v0): New structure.
18537         (EF_MIPS_FP64): Define.
18538         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18539         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18540         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18541         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18542         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18543         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18544         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18545         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18546         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18547         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18548         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18549         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18550         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18551         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18552         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18553         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18554         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18555         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18556         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18557         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18558         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18559         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18560         field.
18561         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18562         EF_MIPS_FP64.
18563         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18564         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18565         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18566         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18567         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18568         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18569         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18570         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18571         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18572         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18573         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18574         record the current FP ABI extension.
18575         (mips-mode-switch): Define to show if kernel headers support mode
18576         switching.
18577         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18578         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18579         supported SYSV ABI version to 3.
18580         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18581         feature.
18583 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18584             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18586         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18587         path.
18588         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18590 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18592         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18593         __fegetround and redefine to call __fegetround.  Remove condition
18594         on [!__NO_MATH_INLINES].
18595         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18596         function.
18597         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18598         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18599         Remove macro.
18600         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18601         instead of <fenv_libc.h>.
18602         (__llrintl): Call fegetround instead of __fegetround.
18603         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18604         instead of <fenv_libc.h>.
18605         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18606         (__lrintl): Call fegetround instead of __fegetround.
18607         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18608         instead of <fenv_libc.h>.
18609         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18610         (__rintl): Call fegetround instead of __fegetround.
18612 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18614         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18615         arrays.
18617 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18619         [BZ #17775]
18620         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18621         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18622         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18624 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18626         * sysdeps/i386/tls-macros.h: Include <features.h>.
18627         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18628         (TLS_IE): Likewise.
18629         (TLS_LD): Likewise.
18630         (TLS_GD): Likewise.
18631         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18632         define for GCC >= 5.0.
18634 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18636         * math/test-fenv.c (test_single_exception, set_single_exc,
18637         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18638         feexcp_mask_test, feenable_test, fe_single_test): Add
18639         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18640         case where they are not used.
18641         * math/libm-test.inc: Likewise.
18642         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18643         unused in the absence of FP rounding/exception support.
18644         * stdio-common/tst-printf-round.c: Likewise.
18645         * stdlib/tst-strtod-round.c: Likewise.
18646         * stdlib/tst-strtod-underflow.c: Likewise.
18648 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18650         [BZ #17723]
18651         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18652         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18653         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18654         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18655         libm_hidden_weak.
18656         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18657         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18658         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18659         libm_hidden_def.
18660         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18661         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18662         libm_hidden_weak.
18663         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18664         Likewise.
18665         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18666         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18667         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18668         libm_hidden_weak.
18669         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18670         libm_hidden_def.
18671         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18672         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18673         (__feraiseexcept): Likewise.
18674         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18675         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18676         libm_hidden_weak.
18677         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18678         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18679         libm_hidden_def.
18680         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18681         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18682         Use libm_hidden_def.
18683         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18684         libm_hidden_def.
18685         (feraiseexcept): Define as weak not strong alias.  Use
18686         libm_hidden_weak.
18687         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18688         New inline function.  Factored out of ...
18689         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18690         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18691         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18692         feraiseexcept.
18693         * math/w_acos.c (__acos): Likewise.
18694         * math/w_asin.c (__asin): Likewise.
18695         * math/w_ilogb.c (__ilogb): Likewise.
18696         * math/w_j0.c (y0): Likewise.
18697         * math/w_j1.c (y1): Likewise.
18698         * math/w_jn.c (yn): Likewise.
18699         * math/w_log.c (__log): Likewise.
18700         * math/w_log10.c (__log10): Likewise.
18701         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18702         * sysdeps/aarch64/fpu/math_private.h
18703         (libc_feupdateenv_test_aarch64): Likewise.
18704         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18705         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18706         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18707         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18708         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18709         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18710         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18711         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18712         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18713         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18715 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18717         [BZ #17732]
18718         * io/test-utime.c (main): Replace %ld with %jd and cast to
18719         intmax_t.
18720         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18721         * nptl/tst-mutex5.c: Include <stdint.h>.
18722         (do_test): Replace %ld with %jd and cast to intmax_t.
18723         * posix/tst-regex.c (run_test): Likewise.
18724         (run_test_backwards): Likewise.
18725         * rt/tst-clock.c: Include <stdint.h>.
18726         (clock_test): Replace %ld with %jd and cast to intmax_t.
18727         * rt/tst-cpuclock1.c: Include <stdint.h>.
18728         (do_test): Replace %lu with %ju and cast to uintmax_t.
18729         * rt/tst-cpuclock2.c: Include <stdint.h>.
18730         (do_test): Replace %lu with %ju and cast to uintmax_t.
18731         * rt/tst-mqueue1.c: Include <stdint.h>.
18732         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18733         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18734         intmax_t.
18735         * rt/tst-mqueue4.c (do_test): Likewise.
18736         * rt/tst-timer4.c: Include <stdint.h>.
18737         (check_ts): Replace %ld with %jd and cast to intmax_t.
18738         (do_test): Likewise.
18739         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18740         and cast to intmax_t.
18741         * sysdeps/pthread/tst-timer.c (main): Likewise.
18742         * time/clocktest.c (main): Likewise.
18743         * time/tst-posixtz.c (do_test): Likewise.
18744         * timezone/tst-timezone.c (main): Likewise.
18746 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18747             H.J. Lu  <hongjiu.lu@intel.com>
18749         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18750         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18751         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18752         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18753         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18754         version if bit_Fast_Unaligned_Load is set.
18755         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18756         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18757         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18758         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18759         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18760         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18761         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18762         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18763         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18764         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18765         to 4.
18766         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18767         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18768         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18769         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18771 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18773         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18774         instead of #if to avoid a Wundef warning.
18775         * stdlib/tst-limits.c (do_test): Likewise.
18777         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18778         parallel other exception macros.
18779         (fegetenv): Convert from macro to extern inline so that it applies
18780         retroactively to inline functions already seen by the compiler.
18781         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18783         * posix/Makefile (before-compile): Use $(objpfx) for
18784         posix-conf-vars-def.h.
18786 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18788         * posix/getconf.c (main): Use size_t for type of I.
18789         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18790         NSPEC.
18792         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18793         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18794         * posix/posix-envs.def: Likewise.
18795         * sysdeps/posix/sysconf.c: Likewise.
18796         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18797         (specs): Remove array.
18798         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18799         array.
18801         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18802         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18803         (__sysconf): Use CONF_IS_* macros.
18805         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18806         ($(objpfx)posix-conf-vars-def.h): New target.
18807         * posix/posix-conf-vars.list: New file.
18808         * posix/posix-conf-vars.h: New file.
18809         * posix/confstr.c: Include posix-conf-vars.h.
18810         (confstr): Use CONF_IS_* macros.
18811         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18812         CONF_IS_* macros.
18813         * scripts/gen-posix-conf-vars.awk: New file.
18815 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18817         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18818         fegetround): Add no-op macros to avoid linknamespace issues.
18820         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18821         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18823         * sysdeps/unix/sysv/linux/tile/sysdep.h
18824         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18825         assembly-specific section to avoid a redefinition warning.
18827         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18828         long before casting to pointer to avoid a cast warning.
18830 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18832         * sysdeps/tile/tilegx/Implies: New file.
18834 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18836         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18838 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18840         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18842 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18845         not define.
18846         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18847         <kernel-features.h>.
18848         (__utimes) [__NR_utimes]: Make code unconditional.
18849         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18850         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18851         (__ASSUME_UTIMES): Do not undefine.
18852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18853         (__ASSUME_UTIMES): Likewise.
18854         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18855         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18856         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18857         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18859 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18861         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18863 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18865         [BZ #17747]
18866         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18867         alias to weak alias for j0l, y0l.
18868         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18869         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18871         [BZ #17746]
18872         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18873         conversion.
18875 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18877         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18878         to zero if not already defined.
18880 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #17724]
18883         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18884         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18885         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18886         (char *) casts added.
18887         * sysdeps/ieee754/k_standardf.c: New file.
18888         * sysdeps/ieee754/k_standardl.c: Likewise.
18889         * math/Makefile (libm-support): Remove k_standard.
18890         (libm-calls): Add k_standard.
18892 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18894         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18895         Optimize to avoid an unnecessary FPCR read.
18897 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18899         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18900         Optimize to reduce FPCR/FPSR accesses.
18902 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18904         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18905         Call libc_fetestexcept_aarch64.
18907 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18909         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18910         Call libc_fesetround_aarch64.
18912 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18914         [BZ #17733]
18915         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18916         (__bind): Do not define as weak alias.
18917         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18918         define.
18919         (__getsockname): Do not define as weak alias.
18921 2014-12-22  Will Newton  <will.newton@linaro.org>
18923         * manual/install.texi: Document that we require bison 2.7
18924         or above.
18925         * INSTALL: Regenerate.
18926         * configure.ac: Use AC_CHECK_PROG_VER instead of
18927         AC_PATH_PROG when checking for bison and check for
18928         version 2.7 or above.
18929         * configure: Regenerate.
18931 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18933         [BZ #17745]
18934         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18935         * sysdeps/tile/ffsll.c (ffsll): To here.
18937         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18939 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18941         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18942         if not defined.
18943         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18944         definition.
18945         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18946         hidden ___tls_get_addr.
18947         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18948         hidden __tls_get_addr.
18949         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18950         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18951         Likewise.
18953 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18955         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18956         _dl_init call.
18958 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18960         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18961         from "call _dl_init@PLT".
18962         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18964 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18966         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18967         guarantees.
18969 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18971         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18973 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18975         [BZ #17744]
18976         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18977         strnlen.
18979 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18981         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18982         of multu on MIPSr6.
18983         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18984         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18985         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18986         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18987         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18989 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18991         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18992         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18993         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18994         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18995         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18996         mips32r6/mips64r6.
18997         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18999 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19001         * string/strncat.c (STRNCAT): Simplify implementation.
19003 2014-12-19  David S. Miller  <davem@davemloft.net>
19005         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19006         access the quad as both a long double and as a series of 4 words.
19008         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19009         link_map->l_info array access.
19011 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19013         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19015         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19016         * math/atest-exp2.c (TIMEOUT): Likewise.
19017         * math/atest-sincos.c (TIMEOUT): Likewise.
19019 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19021         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19022         -Wno-error with -fno-builtin-lround.
19024 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19026         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19027         Contains futex constants and functions moved over from ...
19028         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19029         <lowlevellock-futex.h>.
19030         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19031         (lll_timedwait_tid): Add comments and parentheses around macro
19032         arguments.
19034 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19037         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19038         (__lll_private_flag): Remove.
19039         (lll_futex_wait): Likewise.
19040         (lll_futex_timed_wait): Likewise.
19041         (lll_futex_wake): Likewise.
19042         (lll_futex_requeue): Likewise.
19043         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19044         (__lll_timedwait_tid): Spell out argument names.
19045         (lll_timedwait_tid): Add comments and parentheses around macro
19046         arguments.
19047         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19048         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19050 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19052         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19053         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19054         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19055         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19056         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19057         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19058         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19059         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19060         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19062         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19063         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19064         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19066         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19067         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19068         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19069         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19070         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19072 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19074         * sysdeps/x86_64/x32/Makefile: New file.
19076 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19078         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19079         1L with (mp_limb_t) 1.
19081 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19083         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19084         * nptl/libc_pthread_init.c: ... here.
19085         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19086         * nptl/register-atfork.c: ... here.
19088         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19089         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19090         Use assert_perror to check its return value.
19091         (__gai_create_helper_thread): Likewise.
19093         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19095         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19097 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #17725]
19100         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19101         __profil_counter.
19102         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19103         Likewise.
19104         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19105         Likewise.
19106         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19107         Likewise.
19108         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19109         (profil_counter): Likewise.
19110         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19111         (profil_counter): Likewise.
19112         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19113         Likewise.
19114         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19115         Likewise.
19116         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19117         (profil_counter): Likewise.
19118         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19119         Likewise.
19120         [!__profil_counter] (profil_counter): Define as weak alias of
19121         __profil_counter.
19122         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19123         (profil_counter): Rename to __profil_counter.
19124         [!__profil_counter] (profil_counter): Define as weak alias of
19125         __profil_counter.
19126         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19127         (profil_counter): Rename to __profil_counter.
19128         [!__profil_counter] (profil_counter): Define as weak alias of
19129         __profil_counter.
19130         * sysdeps/posix/profil.c: Update comment referring to
19131         profil_counter.
19132         (__profil): Use __profil_counter instead of profil_counter.
19133         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19134         __profil_counter.  Use __profil_counter_ushort and
19135         __profil_counter_uint in definitions.
19136         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19137         instead of profil_counter_uint and profil_counter_ushort.
19139         [BZ #17722]
19140         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19141         define as weak alias of __inet_makeaddr.
19142         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19143         as weak alias of __inet_addr.
19144         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19145         as weak alias of __inet_pton.  Use libc_hidden_weak.
19146         * include/arpa/inet.h (__inet_pton): Declare.  Use
19147         libc_hidden_proto.
19148         (inet_makeaddr): Don't use libc_hidden_proto.
19149         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19150         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19151         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19152         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19153         Remove variable.
19154         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19155         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19157 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19159         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19161 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19163         * stdio-common/bug-vfprintf-nargs.c (do_test):
19164         Cast value to intptr_t to avoid format warning
19165         for usage with PRIdPTR printing macro.
19167 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19169         * libio/tst-widetext.c (do_test):
19170         Use format type %td instead of %Zd for ptrdiff_t
19171         in order to avoid format warning.
19173 2014-12-17  Andreas Schwab  <schwab@suse.de>
19175         * nscd/mem.c (gc): Add size_t cast to match printf format.
19177 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19179         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19180         (init): Apply PTR_MANGLE to pointers before storing them.
19181         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19182         before using them.
19184 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19186         [BZ #17719]
19187         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19188         define as weak alias of __memrchr.
19189         (__memrchr): Do not define as strong alias of memrchr.
19190         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19191         Remove variable.
19192         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19193         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19194         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19196         [BZ #17717]
19197         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19198         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19199         (if_indextoname): Rename to __if_indextoname and define as weak
19200         alias of __if_indextoname.  Use libc_hidden_weak.
19201         (if_freenameindex): Rename to __if_freenameindex and define as
19202         weak alias of __if_freenameindex.
19203         (if_nameindex): Rename to __if_nameindex and define as weak alias
19204         of __if_nameindex.
19205         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19206         __if_nametoindex and define as weak alias of __if_nametoindex.
19207         Use libc_hidden_weak.
19208         (if_freenameindex): Rename to __if_freenameindex and define as
19209         weak alias of __if_freenameindex.
19210         (if_nameindex): Rename to __if_nameindex and define as weak alias
19211         of __if_nameindex.
19212         (if_indextoname): Rename to __if_indextoname and define as weak
19213         alias of __if_indextoname.  Use libc_hidden_weak.
19214         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19215         __if_nametoindex and define as weak alias of __if_nametoindex.
19216         Use libc_hidden_weak.
19217         (if_freenameindex): Rename to __if_freenameindex and define as
19218         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19219         (if_nameindex_netlink): Use __if_freenameindex instead of
19220         if_freenameindex.
19221         (if_nameindex): Rename to __if_nameindex and define as weak alias
19222         of __if_nameindex.  Use libc_hidden_weak.
19223         (if_indextoname): Rename to __if_indextoname and define as weak
19224         alias of __if_indextoname.  Use libc_hidden_weak.
19225         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19226         libc_hidden_proto.
19227         [!_ISOMAC] (__if_freenameindex): Likewise.
19228         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19229         if_nametoindex.
19230         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19231         variable.
19232         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19233         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19234         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19235         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19236         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19237         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19238         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19240         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19241         Remove variable.
19242         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19243         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19245 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19247         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19248         subscript above bounds'
19250         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19251         bounds.
19253 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19255         * libio/tst-fopenloc.c: Use test-skeleton.c.
19257         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19258         (entry): Rename to ITEM.
19259         (do_test, comp): Adjust.
19261         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19263 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19265         * string/tester.c: Include <libc-internal.h>.
19266         (test_memset): Ignore -Wmemset-transposed-args.
19268 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19270         * misc/tst-mntent2.c (do_test): Fix warning.
19272 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19274         * elf/tst-unique4lib.cc(a): Mark as used.
19276 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19278         [BZ #17630]
19279         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19280         names.
19282 2014-12-16  Allan McRae  <allan@archlinux.org>
19284         * stdio-common/Makefile (tests): Re-add bug26.
19286 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19288         [BZ #17657]
19289         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19290         static array.
19292 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19294         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19295         (__lll_lock_wait): Likewise.
19296         (__lll_timedlock_wait): Likewise.
19297         (__lll_timedwait_tid): Likewise.
19298         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19299         (__lll_robust_timedlock_wait): Likewise.
19300         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19301         (lll_cond_trylock): Likewise.
19302         (__lll_lock): Likewise.
19303         (__lll_robust_lock): Likewise.
19304         (__lll_cond_lock): Likewise.
19305         (lll_robust_cond_lock): Likewise.
19306         (__lll_timedlock): Likewise.
19307         (__lll_robust_timedlock): Likewise.
19308         (__lll_unlock): Likewise.
19309         (__lll_robust_unlock): Likewise.
19310         (lll_wait_tid): Likewise.
19311         (lll_timedwait_tid): Likewise.
19313 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19315         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19317 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19319         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19321 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19323         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19324         * stdio-common/tst-sprintf.c: Likewise.
19326 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19328         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19330 2014-12-15  Jeff Law  <law@redhat.com>
19332         [BZ #16617]
19333         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19334         on the heap.  (CVE-2012-3406)
19335         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19336         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19337         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19339 2014-12-15  Will Newton  <will.newton@linaro.org>
19341         * manual/install.texi: Bump required version of texinfo
19342         to 4.7 from 4.5.
19343         * INSTALL: Regenerated.
19344         * configure.ac: Check for makeinfo version 4.7 and above.
19345         * configure: Regenerated.
19347 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19349         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19350         PREFIX, string constant to insert between directory and name.
19351         * sysdeps/posix/shm_open.c: Update caller.
19352         * sysdeps/posix/shm_unlink.c: Likewise.
19353         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19354         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19355         (SEM_SHM_PREFIX): New macro.
19356         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19357         [$(have-thread-library) = no].
19358         * nptl/Makefile (libpthread-routines): Add shm-directory.
19359         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19360         * sysdeps/nptl/shm-directory.h: New file.
19361         * sysdeps/posix/shm-directory.c
19362         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19363         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19364         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19365         INTERNAL_SYSCALL.
19366         (__where_is_shmfs): Function removed.
19367         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19368         Variables removed.
19369         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19370         Use SHM_GET_NAME.
19371         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19373         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19374         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19375         unconditional for use inside libpthread.
19376         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19378 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19380         * nptl/pthread_getaffinity.c: New file.
19381         * nptl/pthread_setaffinity.c: New file.
19382         * nptl/pthread_getname.c: New file.
19383         * nptl/pthread_setname.c: New file.
19385         * nptl/pthread_create.c (START_THREAD_DEFN)
19386         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19388 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19389             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19391         * resolv/res_send.c (send_vc): Disable warning resplen may
19392         be used uninitialized.
19394 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19396         * nptl/tst-mutex6.c
19397         (ATTR_NULL): New define checks ATTR against NULL.
19398         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19399         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19401 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19403         [BZ #17581]
19404         * malloc/hooks.c
19405         (mem2mem_check): Revert my previous change.
19406         (malloc_check_get_size): Revert my previous change.
19407         (mem2chunk_check): Revert my previous change.
19409 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19411         * sysdeps/posix/shm-directory.c: New file.
19412         * sysdeps/posix/shm-directory.h: New file.
19413         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19414         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19415         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19416         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19417         Transmute EPERM to EACCES.
19418         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19419         from ...
19420         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19421         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19423 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19425         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19426         pointer and cast to uintptr_t.
19427         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19428         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19429         Add cast to avoid warning.
19430         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19432 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19434         * nptl/semaphore.h: Move to ...
19435         * sysdeps/pthread/semaphore.h: ... here.
19436         * Makefile (installed-headers): Change nptl/semaphore.h to
19437         sysdeps/pthread/semaphore.h.
19439 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19441         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19442         generated error format strings.
19444         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19445         -Wformat-extra-args warnings for scanf formats.
19446         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19447         test of zero-length format (duh).
19448         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19449         corner-case scanf format test.
19450         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19451         generated fprintf format string.
19452         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19453         corner-case sprintf format tests.
19454         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19455         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19456         -Wformat-extra-args warnings throughout.
19457         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19458         (CFLAGS-scanf4.c): Likewise.
19459         (CFLAGS-scanf7.c): Likewise.
19460         (CFLAGS-tst-sprintf.c): Likewise.
19461         (CFLAGS-tst-printf.c): Likewise.
19462         (CFLAGS-tst-printfsz.c): Likewise.
19464 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19466         * include/cpio.h: New file.
19467         * include/fmtmsg.h: Likewise.
19469         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19470         corresponding format argument to size_t.
19471         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19472         arguments.
19473         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19474         corresponding format argument to size_t.
19475         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19476         arguments.
19477         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19478         corresponding format argument to size_t.
19479         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19480         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19481         (CFLAGS-tst-mbswcs2.c): Likewise.
19482         (CFLAGS-tst-mbswcs3.c): Likewise.
19483         (CFLAGS-tst-mbswcs4.c): Likewise.
19484         (CFLAGS-tst-mbswcs5.c): Likewise.
19485         (CFLAGS-tst-trans.c): Likewise.
19487 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19489         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19490         rather than assuming they won't contain any '%'s.
19492 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19494         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19495         inhibit_loop_to_libcall to avoid recursive calls.
19496         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19497         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19499 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19501         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19502         prototype.
19504 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19506         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19507         integer value instead of boolean.
19509 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19511         * malloc/malloc.c: Fix powerof2 check.
19513 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19515         * locale/programs/locfile.h (maybe_swap_uint32):
19516         Remove inline and add unused attribute.
19518 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19521         Truncating assembler expression to a .long expression.
19523 2014-12-11  Andreas Schwab  <schwab@suse.de>
19525         * elf/rtld.c (struct map_args): Constify str member.
19526         (do_preload): Constify fname argument.
19528 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19530         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19531         constants definition.
19533 2014-12-11  Andreas Schwab  <schwab@suse.de>
19535         [BZ #16657]
19536         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19537         FORCE_ELISION instead of DO_ELISION.
19538         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19539         Remove.
19540         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19541         Likewise.
19543         * iconvdata/gconv-modules: Remove duplicate entry.
19545 2014-12-11  Will Newton  <will.newton@linaro.org>
19547         Merge gettext 0.19.3 into intl/.
19549         This involves a number of cosmetic changes to comments
19550         and ANSI function definitions and prototypes throughout
19551         all the files. The gettext copyright header is used but
19552         with the date ranges taken from the glibc copy.
19554         * NEWS: Add gettext merge to 2.21.
19555         * intl/bindtextdom.c: Switch to gettext copyright.
19556         Use ANSI definitions and prototypes.
19557         Use gl_* locking primitives rather than __libc_* ones.
19558         Use __builtin_expect rather than __glibc_likely/unlikely.
19559         * intl/dcgettext.c: Switch to gettext copyright.
19560         Use ANSI definitions and prototypes.
19561         * intl/dcigettext.c: Switch to gettext copyright.
19562         Use ANSI definitions and prototypes.
19563         (INTDIV0_RAISES_SIGFPE): New define.
19564         Use gl_* locking primitives rather than __libc_* ones.
19565         Include eval-plural.h instead of plural-eval.c.
19566         Use __builtin_expect rather than __glibc_likely/unlikely.
19567         * intl/dcngettext.c: Switch to gettext copyright.
19568         Use ANSI definitions and prototypes.
19569         * intl/dgettext.c: Likewise.
19570         * intl/dngettext.c: Likewise.
19571         * intl/plural-eval.c: Renamed to...
19572         * intl/eval-plural.h: ...this.
19573         * intl/explodename.c: Switch to gettext copyright.
19574         Use ANSI definitions and prototypes.
19575         (_nl_explode_name): Use strchr instead of __rawmemchr.
19576         * intl/finddomain.c: Switch to gettext copyright.
19577         Use ANSI definitions and prototypes.
19578         Use gl_* locking primitives rather than __libc_* ones.
19579         (_nl_find_domain): Use malloc rather than alloca for
19580         allocation of temporary locale name.
19581         * intl/gettext.c: Switch to gettext copyright.
19582         Use ANSI definitions and prototypes.
19583         * intl/gettextP.h: Switch to gettext copyright.
19584         Use ANSI definitions and prototypes.
19585         Use gl_* locking primitives rather than __libc_* ones.
19586         * intl/gmo.h: Switch to gettext copyright.
19587         (struct sysdep_string): Move struct segment_pair outside of
19588         struct definition.
19589         * intl/hash-string.c: Use ANSI definitions and prototypes.
19590         * intl/hash-string.h: Switch to gettext copyright.
19591         Use ANSI definitions and prototypes.
19592         * intl/l10nflist.c: Switch to gettext copyright.
19593         Use ANSI definitions and prototypes.
19594         (_nl_normalize_codeset): Avoid integer overflow.
19595         * intl/loadinfo.h: Switch to gettext copyright.
19596         Use ANSI definitions and prototypes.
19597         (LIBINTL_DLL_EXPORTED): New define.
19598         (PATH_SEPARATOR): New define.
19599         * intl/loadmsgcat.c: Switch to gettext copyright.
19600         * intl/localealias.c: Switch to gettext copyright.
19601         Use ANSI definitions and prototypes.
19602         (_nl_expand_alias): Use PATH_SEPARATOR.
19603         * intl/ngettext.c: Switch to gettext copyright.
19604         Use ANSI definitions and prototypes.
19605         * intl/plural-exp.c: Likewise.
19606         * intl/plural-exp.h: Switch to gettext copyright.
19607         Use ANSI definitions and prototypes.
19608         (struct expression): Move definition of enum operator outside
19609         of struct definition.
19610         * intl/plural.c: Regenerate.
19611         * intl/plural.y: Switch to gettext copyright.
19612         Use ANSI definitions and prototypes.
19613         Port to bison 3.0.
19614         * intl/textdomain.c: Switch to gettext copyright.
19615         Use ANSI definitions and prototypes.
19616         Use gl_* locking primitives rather than __libc_* ones.
19618 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19620         * debug/warning-nop.c: Add used atrribute.
19622 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19624         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19626         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19627         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19628         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19630 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19631             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633         [BZ #17634]
19634         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19635         Undefine after defining function.  Define as weak alias of
19636         __wcschr.  Use libc_hidden_weak.
19637         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19638         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19639         (libc_hidden_def): Also define __GI___wcschr alias.
19640         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19641         __wcschr and define as weak alias of __wcschr.
19642         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19643         __wcschr.
19644         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19645         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19646         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19647         libc_hidden_weak.  Do not use libc_hidden_def.
19648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19649         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19650         __GI___wcschr alias.
19651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19652         [IS_IN (libc)] (wcschr): Define as macro expanding to
19653         __redirect_wcschr.
19654         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19655         [IS_IN (libc)] (__wcschr_power6): Likewise.
19656         [IS_IN (libc)] (__wcschr_power7): Likewise.
19657         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19658         instead of wcschr.
19659         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19660         __libc_wcschr.
19661         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19662         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19663         __wcschr and define as weak alias of __wcschr.  Use
19664         libc_hidden_builtin_def.
19665         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19666         as weak alias of __wcschr.  Use libc_hidden_weak.
19667         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19668         wcschr.
19669         * time/era.c (_nl_init_era_entries): Likewise.
19670         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19671         variable.
19672         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19673         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19675 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19677         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19678         format for long int variable.
19680 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19682         [BZ #10672]
19683         * manual/search.texi: (Array Sort Function): Remove claim how to make
19684         qsort stable.
19686 2014-12-10  Andreas Schwab  <schwab@suse.de>
19688         [BZ #12847]
19689         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19690         user-controlled locks.
19692 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19694         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19695         register.
19697 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19699         * configure.ac (--disable-werror): New configure option.
19700         (enable_werror): New AC_SUBST.
19701         * configure: Regenerated.
19702         * config.make.in (enable-werror): New variable.
19703         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19704         -Wno-error=undef.
19705         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19706         * manual/install.texi (Configuring and compiling): Document
19707         --disable-werror.
19708         * INSTALL: Regenerated.
19709         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19710         (CFLAGS-tst-chk2.c): Likewise.
19711         (CFLAGS-tst-chk3.c): Likewise.
19712         (CFLAGS-tst-chk4.cc): Likewise.
19713         (CFLAGS-tst-chk5.cc): Likewise.
19714         (CFLAGS-tst-chk6.cc): Likewise.
19715         (CFLAGS-tst-lfschk1.c): Likewise.
19716         (CFLAGS-tst-lfschk2.c): Likewise.
19717         (CFLAGS-tst-lfschk3.c): Likewise.
19718         (CFLAGS-tst-lfschk4.cc): Likewise.
19719         (CFLAGS-tst-lfschk5.cc): Likewise.
19720         (CFLAGS-tst-lfschk6.cc): Likewise.
19722         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19723         (main): Disable -Wdeprecated-declarations around calls to
19724         register_printf_function.
19726         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19727         (do_test): Disable -Wdiv-by-zero around some calls to
19728         fwrite_unlocked and fread_unlocked.
19730         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19731         (DIAG_POP_NEEDS_COMMENT): Likewise.
19732         (_DIAG_STR1): Likewise.
19733         (_DIAG_STR): Likewise.
19734         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19735         * stdio-common/bug21.c: Include <libc-internal.h>.
19736         (do_test): Disable -Wformat around call to sscanf.
19737         * stdio-common/scanf14.c: Include <libc-internal.h>.
19738         (main): Disable -Wformat around some calls to scanf functions.
19740 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19742         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19744 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19746         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19747         stack variable alignment.
19749 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19751         [BZ #17682]
19752         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19753         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19754         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19755         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19756         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19757         __getrlimit instead of getrlimit.
19758         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19759         __gettimeofday instead of gettimeofday.
19760         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19761         Likewise.
19762         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19763         Likewise.
19764         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19765         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19766         Remove variable.
19767         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19768         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19770 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19772         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19773         for wide-character tests.
19775 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19777         * io/openat64.c: #include <libc-internal.h>
19778         (__openat64): Prototypify.  Use ignore_value on MODE.
19779         * io/openat.c: Likewise.
19780         * misc/reboot.c: #include <libc-internal.h>
19781         (reboot): Prototypify.  Use ignore_value on HOWTO.
19782         * misc/ptrace.c: #include <libc-internal.h>
19783         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19785 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19787         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19788         XPG4, UNIX98 and XOPEN2K.
19789         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19790         Remove variable.
19791         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19793 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19795         * libio/fileops.c: Use ISO C style for function definitions.
19796         * libio/iofopen.c: Likewise.
19797         * libio/wfileops.c: Likewise.
19799         [BZ #17653]
19800         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19801         offset on EOF.
19802         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19803         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19804         (fgets_func): Function pointer to fgets and fgetws.
19805         (do_ftell_test): Add test to verify ftell value after read
19806         EOF.
19807         (do_test): Set fgets_func.
19809         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19810         O_TRUNC flag for w and w+ modes.
19811         (do_rewind_test): Likewise.
19812         (do_ftell_test): Likewise.
19813         (do_write_test): Likewise.
19815         [BZ #17647]
19816         * libio/fileops.c (do_ftell): Seek only when there are
19817         unflushed writes.
19818         * libio/wfileops.c (do_ftell_wide): Likewise.
19819         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19820         test case.
19821         (do_one_test): Call it.
19823 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19825         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19826         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19827         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19828         Remove variable.
19829         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19830         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19831         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19833 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19835         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19836         Remove variable.
19837         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19839         [BZ #17668]
19840         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19841         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19842         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19843         __freeifaddrs.  Use libc_hidden_weak.
19844         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19845         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19846         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19847         __freeifaddrs.  Use libc_hidden_weak.
19848         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19849         __getifaddrs and define as weak alias of __getifaddrs.  Use
19850         libc_hidden_weak.
19851         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19852         __freeifaddrs.  Use libc_hidden_weak.
19853         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19854         Remove variable.
19855         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19856         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19858 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19860         [BZ #17601]
19861         * sysdeps/mips/start.S (__start): Use indirect jump to call
19862         __libc_start_main.
19864 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19866         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19868         * nptl/tst-mutex1.c: Include <stdbool.h>.
19869         [!ATTR] (ATTR_NULL): New macro.
19870         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19871         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19872         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19874         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19875         to char *.
19877         [BZ #17665]
19878         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19879         Change conditional to [__USE_MISC].
19881         [BZ #17664]
19882         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19883         fgets_unlocked.
19884         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19885         __fgets_unlocked.
19886         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19887         fgets_unlocked.
19888         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19889         Remove variable.
19890         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19891         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19892         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19893         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19894         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19895         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19896         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19897         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19898         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19900         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19902 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19905         Remove strpbrk objects.
19906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19907         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19908         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19909         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19910         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19911         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19914         Remove strcspn objects.
19915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19916         (__libc_ifunc_impl_list): Remove strcspn implementation.
19917         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19918         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19919         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19920         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19922         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19923         Remove strspn objetcs.
19924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19925         (__libc_ifunc_impl_list): Remove strspn implementation.
19926         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19927         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19928         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19929         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19931 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19933         [BZ #17581]
19934         * malloc/hooks.c
19935         (mem2mem_check): Add a terminator to the chain of checking blocks.
19936         (malloc_check_get_size): Use it here.
19937         (mem2chunk_check): Ditto.
19939 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19941         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19942         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19944 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19946         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19948         * nptl/nptl-init.c: Include libc-internal.h.
19949         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19951         * elf/ldconfig.c (search_dir): Expand comment.
19953 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19955         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19956         variable.
19957         (linknamespace-symlist-stdlibs-tests): Likewise.
19958         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19959         instead of $(objpfx)symlist-stdlibs.
19960         (linknamespace-libs-isoc): New variable.
19961         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19962         (linknamespace-libs-ISO): New variable.
19963         (linknamespace-libs-ISO99): Likewise.
19964         (linknamespace-libs-ISO11): Likewise.
19965         (linknamespace-libs-XPG3): Likewise.
19966         (linknamespace-libs-XPG4): Likewise.
19967         (linknamespace-libs-POSIX): Likewise.
19968         (linknamespace-libs-UNIX98): Likewise.
19969         (linknamespace-libs-XOPEN2K): Likewise.
19970         (linknamespace-libs-POSIX2008): Likewise.
19971         (linknamespace-libs-XOPEN2K8): Likewise.
19972         ($(objpfx)symlist-stdlibs): Replace by
19973         $(linknamespace-symlist-stdlibs-tests).  Use
19974         $(linknamespace-libs-$*) as set of libraries.
19975         ($(linknamespace-header-tests)): Update dependencies.  Use
19976         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19977         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19978         * conform/linknamespace.pl: Remove comment about considering
19979         definitions of symbols from irrelevant libraries.
19981 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19983         [BZ #13862]
19984         * elf/dl-tls.c: Include <atomic.h>.
19985         (oom): Remove #ifdef SHARED/#endif.
19986         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19987         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19988         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19989         big enough.
19990         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19991         * nptl/Makefile (tests): Add tst-stack4.
19992         (modules-names): Add tst-stack4mod.
19993         ($(objpfx)tst-stack4): New.
19994         (tst-stack4mod.sos): Likewise.
19995         ($(objpfx)tst-stack4.out): Likewise.
19996         ($(tst-stack4mod.sos)): Likewise.
19997         (clean): Likewise.
19998         * nptl/tst-stack4.c: New file.
19999         * nptl/tst-stack4mod.c: Likewise.
20001 2014-11-27  J. Brown  <jb999@gmx.de>
20003         * sysdeps/x86/bits/string.h: Add recent CPUs.
20005 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20007         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20008         sigblock.
20010         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20011         feof.
20013         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20014         variable.
20016 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20018         * nscd/connections.c: Include libc-internal.h because of macro
20019         usage ignore_value.
20021 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20023         * string/bits/string3.h (__warn_memset_zero_len): Don't
20024         declare for gcc newer than 5.0.
20025         (memset): Don't test for zero-length __LEN for gcc newer than
20026         5.0.
20028 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20030         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20031         size_t for %zu format.
20033         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20034         difference, not %ju.
20036 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20038         * include/libc-internal.h (ignore_value): New macro.
20039         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20040         with ignore_value.
20042         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20043         definition.
20045         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20046         pthread_cleanup_push to void *.
20048         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20049         Undefine.
20051         [BZ #16619]
20052         [BZ #16740]
20053         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20054         instead of 1L << 52.
20056         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20057         * libio/bug-rewind2.c (do_test): Likewise.
20059         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20060         * debug/test-strcpy_chk-ifunc.c: Likewise.
20061         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20062         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20063         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20064         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20065         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20066         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20067         * Rules [$(multi-arch) = no] (tests): Do not filter out
20068         $(tests-ifunc).
20069         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20070         * debug/Makefile (tests-ifunc): Remove variable.
20071         (tests): Do not add $(tests-ifunc).
20072         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20073         (tests): Do not add $(tests-ifunc).
20074         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20075         [TEST_IFUNC]: Remove conditionals.
20076         * string/test-string.h (TEST_IFUNC): Remove macro.
20077         [TEST_IFUNC]: Remove conditionals.
20079         * string/test-strchr.c [!WIDE] (L): New macro.
20080         [WIDE] (L): Likewise.
20081         (check1): Use CHAR instead of char.  Use L on string and character
20082         constants.
20084 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20086         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20087         tests.
20088         * sysdeps/powerpc/bits/atomic.h
20089         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20090         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20091         (atomic_exchange_and_add_acq): Likewise.
20092         (atomic_exchange_and_add_rel): Likewise.
20093         * sysdeps/powerpc/powerpc32/bits/atomic.h
20094         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20095         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20096         * sysdeps/powerpc/powerpc64/bits/atomic.h
20097         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20098         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20100 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20102         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20103         Change synchronization of __sched_fifo_min_prio and
20104         __sched_fifo_max_prio.
20105         * nptl/pthread_mutexattr_getprioceiling.c
20106         (pthread_mutexattr_getprioceiling): Likewise.
20107         * nptl/pthread_mutexattr_setprioceiling.c
20108         (pthread_mutexattr_setprioceiling): Likewise.
20109         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20110         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20111         Likewise.
20113 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20115         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20116         void.
20118 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20120         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20121         third argument const.
20123 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20125         fnmatch: work around GCC compiler warning bug with uninit var
20126         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20127         This works around a bug with x86-64 GCC 4.9.2 and earlier
20128         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20129         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20130         used uninitialized in this function [-Wmaybe-uninitialized]".
20132 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20134         * posix/bug-regex31.c (main): Return RES not 0.
20136 2014-11-25  Anton Blanchard <anton@samba.org>
20138         * sysdeps/powerpc/bits/atomic.h
20139         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20141 2014-11-24  Sterling Augustine  <saugustine@google.com>
20143         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20145 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20147         [BZ #17608]
20148         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20150 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20152         [BZ #17633]
20153         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20154         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20155         variable.
20156         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20157         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20159 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20161         * string/strncpy.c (strncpy): Improve performance by using memset.
20163 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20165         * string/strcpy.c (strcpy):
20166         Improve performance by using strlen and memcpy.
20168 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20170         * string/strcoll_l.c (get_next_seq): __always_inline.
20171         * string/strcoll_l.c (do_compare): __always_inline.
20173 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20175         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20176         defined.
20177         * include/mqueue.h: Likewise.
20178         * include/stdlib.h: Likewise.
20180         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20181         (get_null_defines): Adjust.
20182         * sunrpc/Makefile: Adjust comment.
20183         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20184         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20185         (CFLAGS-interp.c): Likewise.
20186         (CFLAGS-ldconfig.c): Likewise.
20187         (CPPFLAGS-.os): Likewise.
20188         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20189         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20190         * extra-modules.mk (extra-modules.mk): Likewise.
20191         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20192         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20193         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20194         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20195         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20196         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20197         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20198         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20199         * iconvdata/Makefile (CPPFLAGS): Likewise.
20200         (cpp-srcs-left): Add libof for all iconvdata routines.
20201         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20202         * include/assert.h: Likewise.
20203         * include/ctype.h: Likewise.
20204         * include/errno.h: Likewise.
20205         * include/libc-symbols.h: Likewise.
20206         * include/math.h: Likewise.
20207         * include/netdb.h: Likewise.
20208         * include/resolv.h: Likewise.
20209         * include/stdio.h: Likewise.
20210         * include/stdlib.h: Likewise.
20211         * include/string.h: Likewise.
20212         * include/sys/stat.h: Likewise.
20213         * include/wctype.h: Likewise.
20214         * intl/l10nflist.c: Likewise.
20215         * libidn/idn-stub.c: Likewise.
20216         * libio/libioP.h: Likewise.
20217         * nptl/libc_multiple_threads.c: Likewise.
20218         * nptl/pthreadP.h: Likewise.
20219         * posix/regex_internal.h: Likewise.
20220         * resolv/res_hconf.c: Likewise.
20221         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20222         * sysdeps/arm/memmove.S: Likewise.
20223         * sysdeps/arm/sysdep.h: Likewise.
20224         * sysdeps/generic/_itoa.h: Likewise.
20225         * sysdeps/generic/symbol-hacks.h: Likewise.
20226         * sysdeps/gnu/errlist.awk: Likewise.
20227         * sysdeps/gnu/errlist.c: Likewise.
20228         * sysdeps/i386/i586/memcpy.S: Likewise.
20229         * sysdeps/i386/i586/memset.S: Likewise.
20230         * sysdeps/i386/i686/memcpy.S: Likewise.
20231         * sysdeps/i386/i686/memmove.S: Likewise.
20232         * sysdeps/i386/i686/mempcpy.S: Likewise.
20233         * sysdeps/i386/i686/memset.S: Likewise.
20234         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20235         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20236         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20245         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20246         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20247         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20248         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20249         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20250         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20251         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20252         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20253         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20254         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20255         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20256         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20257         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20258         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20259         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20260         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20261         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20262         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20263         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20264         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20265         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20266         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20267         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20270         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20271         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20272         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20273         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20274         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20275         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20276         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20277         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20278         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20279         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20280         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20281         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20282         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20283         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20284         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20285         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20286         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20287         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20288         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20289         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20290         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20291         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20292         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20293         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20294         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20295         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20296         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20297         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20298         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20299         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20300         * sysdeps/posix/closedir.c: Likewise.
20301         * sysdeps/posix/opendir.c: Likewise.
20302         * sysdeps/posix/readdir.c: Likewise.
20303         * sysdeps/posix/rewinddir.c: Likewise.
20304         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20305         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20306         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20307         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20308         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20311         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20313         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20316         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20317         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20318         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20320         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20323         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20326         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20327         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20328         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20329         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20330         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20331         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20332         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20339         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20340         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20341         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20342         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20343         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20344         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20345         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20346         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20348         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20349         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20350         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20351         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20352         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20354         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20355         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20358         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20359         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20360         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20361         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20362         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20363         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20364         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20365         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20366         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20367         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20368         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20369         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20370         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20371         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20372         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20373         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20374         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20376         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20377         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20378         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20380         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20381         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20382         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20383         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20384         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20386         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20387         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20388         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20390         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20391         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20392         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20393         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20394         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20395         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20396         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20398         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20399         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20400         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20401         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20402         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20403         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20404         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20405         * sysdeps/unix/alpha/sysdep.S: Likewise.
20406         * sysdeps/unix/alpha/sysdep.h: Likewise.
20407         * sysdeps/unix/make-syscalls.sh: Likewise.
20408         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20410         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20411         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20412         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20413         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20414         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20415         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20416         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20417         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20418         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20419         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20422         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20423         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20424         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20425         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20426         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20427         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20428         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20429         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20430         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20431         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20432         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20433         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20434         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20437         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20438         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20440         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20442         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20446         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20447         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20448         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20449         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20450         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20451         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20452         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20453         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20455         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20458         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20459         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20460         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20461         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20462         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20463         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20464         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20466         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20467         * sysdeps/x86_64/memcpy.S: Likewise.
20468         * sysdeps/x86_64/memmove.c: Likewise.
20469         * sysdeps/x86_64/memset.S: Likewise.
20470         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20472         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20473         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20474         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20477         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20478         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20479         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20480         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20482         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20483         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20484         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20485         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20486         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20487         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20488         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20489         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20490         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20491         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20493         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20494         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20495         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20496         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20497         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20498         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20499         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20500         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20501         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20502         * sysdeps/x86_64/strcmp.S: Likewise.
20504         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20506         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20507         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20508         * elf/rtld-Rules: Likewise.
20509         * elf/setup-vdso.h: Likewise.
20510         * include/assert.h: Likewise.
20511         * include/bits/stdlib-float.h: Likewise.
20512         * include/errno.h: Likewise.
20513         * include/sys/stat.h: Likewise.
20514         * include/unistd.h: Likewise.
20515         * sysdeps/aarch64/setjmp.S: Likewise.
20516         * sysdeps/alpha/setjmp.S: Likewise.
20517         * sysdeps/arm/__longjmp.S: Likewise.
20518         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20519         * sysdeps/arm/setjmp.S: Likewise.
20520         * sysdeps/arm/sysdep.h: Likewise.
20521         * sysdeps/generic/_itoa.h: Likewise.
20522         * sysdeps/generic/dl-sysdep.h: Likewise.
20523         * sysdeps/generic/ldsodefs.h: Likewise.
20524         * sysdeps/i386/dl-tls.h: Likewise.
20525         * sysdeps/i386/setjmp.S: Likewise.
20526         * sysdeps/m68k/setjmp.c: Likewise.
20527         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20528         * sysdeps/mach/hurd/opendir.c: Likewise.
20529         * sysdeps/posix/getcwd.c: Likewise.
20530         * sysdeps/posix/opendir.c: Likewise.
20531         * sysdeps/posix/profil.c: Likewise.
20532         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20533         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20534         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20535         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20536         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20537         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20538         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20539         * sysdeps/s390/dl-tls.h: Likewise.
20540         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20541         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20542         * sysdeps/sh/sh3/setjmp.S: Likewise.
20543         * sysdeps/sh/sh4/setjmp.S: Likewise.
20544         * sysdeps/unix/alpha/sysdep.h: Likewise.
20545         * sysdeps/unix/arm/sysdep.S: Likewise.
20546         * sysdeps/unix/i386/sysdep.S: Likewise.
20547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20548         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20549         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20550         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20551         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20552         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20553         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20554         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20555         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20556         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20557         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20558         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20562         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20564         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20565         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20566         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20567         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20570         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20571         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20572         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20574         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20575         * sysdeps/x86_64/setjmp.S: Likewise.
20577         * include/math.h: Use IS_IN instead of IS_IN_libm.
20578         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20579         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20580         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20581         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20583         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20584         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20585         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20586         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20587         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20588         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20589         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20590         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20591         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20592         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20593         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20594         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20595         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20596         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20597         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20598         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20599         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20600         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20601         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20602         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20603         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20604         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20605         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20606         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20607         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20608         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20609         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20610         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20612         Likewise.
20613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20614         Likewise.
20615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20616         Likewise.
20617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20618         Likewise.
20619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20620         Likewise.
20621         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20622         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20623         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20624         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20625         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20626         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20632         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20633         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20634         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20635         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20636         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20637         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20638         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20639         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20640         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20641         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20642         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20644         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20645         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20647         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20649         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20650         * nptl/pthreadP.h: Likewise.
20651         * nptl_db/structs.def: Likewise.
20652         * sysdeps/arm/sysdep.h: Likewise.
20653         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20654         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20655         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20656         * sysdeps/unix/alpha/sysdep.h: Likewise.
20657         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20659         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20660         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20661         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20662         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20663         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20664         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20665         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20666         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20667         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20668         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20669         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20670         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20675         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20678         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20679         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20680         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20681         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20682         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20684         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20685         * nptl/pthreadP.h: Likewise.
20686         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20687         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20688         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20689         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20690         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20691         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20692         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20693         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20694         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20695         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20696         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20697         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20699         Likewise.
20700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20701         Likewise.
20702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20704         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20707         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20708         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20709         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20711         * dlfcn/dladdr.c: Use IS_IN.
20712         * dlfcn/dladdr1.c: Likewise.
20713         * dlfcn/dlclose.c: Likewise.
20714         * dlfcn/dlerror.c: Likewise.
20715         * dlfcn/dlinfo.c: Likewise.
20716         * dlfcn/dlmopen.c: Likewise.
20717         * dlfcn/dlopen.c: Likewise.
20718         * dlfcn/dlsym.c: Likewise.
20719         * dlfcn/dlvsym.c: Likewise.
20721         * include/ifaddrs.h: Use IS_IN.
20722         * inet/check_pf.c: Likewise.
20723         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20724         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20726         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20727         IS_IN_ldconfig.
20728         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20729         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20731         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20732         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20733         IS_IN (libc).
20735         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20737         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20738         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20739         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20740         * include/libc-symbols.h (IS_IN_LIB): New macro.
20741         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20742         * include/netdb.h: Likewise.
20743         * include/stap-probe.h: Remove all uses of IN_LIB.
20745         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20746         instead of IN_MODULE.
20747         * include/libc-symbols.h (IN_MODULE): Define using
20748         MODULE_NAME.
20749         (PASTE_NAME, PASTE_NAME1): New macros.
20750         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20751         of IN_LIB.
20752         (STAP_PROBE_ASM): Likewise.
20754 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20756         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20757         __mach_init in dlopened libc.
20759 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20761         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20762         * sysdeps/arm/preconfigure: Regenerate.
20764 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20766         * nptl/pthread_create.c (__pthread_create_2_1): Set
20767         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20768         when copying values from IATTR into PD.
20770 2014-11-21  Will Newton  <will.newton@linaro.org>
20771             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20773         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20774         Refactor inline-asm.  Also add comment.
20776         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20777         ElfW macro instead of hardcoded Elf64 types.
20778         (la_aarch64_gnu_pltenter): Likewise.
20779         * sysdeps/aarch64/dl-machine.h
20780         (elf_machine_runtime_setup): Use ElfW(Addr).
20782         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20783         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20784         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20785         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20786         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20787         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20788         (R_AARCH64_TLS_DTPMOD): This.
20789         (R_AARCH64_TLS_DTPREL64): Rename to ...
20790         (R_AARCH64_TLS_DTPREL): This.
20791         (R_AARCH64_TLS_TPREL64): Rename to ...
20792         (R_AARCH64_TLS_TPREL): This.
20793         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20794         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20795         R_AARCH64_TLS_TPREL64.
20796         (elf_machine_rela): Likewise.
20798 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20800         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20801         by setting it to 0.  64b atomics are not supported currently.
20803 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20805         [BZ #16469]
20806         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20807         search domain names.
20809 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20811         [BZ #16469]
20812         * NEWS: Update.
20813         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20814         trailing dot.
20815         * posix/tst-getaddrinfo5.c: New.
20816         * posix/Makefile (tests): Add it.
20818 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20820         [BZ #14498]
20821         * NEWS: Fixed.
20822         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20823         after parsing line but before break_if_match.
20824         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20825         if there is a protocol mismatch.
20827 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20829         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20830         because the potential race is on the user-supplied stream.
20832 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20834         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20835         string literal if not passed a buffer.
20836         * manual/job.texi (ctermid): Update reasoning, note deviation
20837         from posix, suggest mtasurace when not passed a buffer, for
20838         future non-preliminary safety notes.
20840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20842         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20843         of not passing it a buffer.
20844         Reported by Peng Haitao.
20846 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20848         * manual/Makefile ($(objpfx)stamp-summary): Require
20849         check-safety.sh to pass.
20850         * manual/check-safety.sh: Wish for verification that every
20851         @deftypefn and @deftypefun is followed by a @safety remark.
20853 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20855         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20857         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20858         PTHREAD_CANCEL_ASYNCHRONOUS.
20859         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20860         send SIGCANCEL.
20862         * nptl/default-sched.h: New file.
20863         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20864         * nptl/pthread_create.c: Include it.
20865         (__pthread_create_2_1): Use collect_default_sched instead of making
20866         Linux syscalls here directly.
20868 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20870         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20871         __pthread_once): Use C11 atomics.
20873 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20875         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20877 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20879         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20880         atomic_thread_fence_acquire, atomic_thread_fence_release,
20881         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20882         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20883         atomic_compare_exchange_weak_relaxed,
20884         atomic_compare_exchange_weak_acquire,
20885         atomic_compare_exchange_weak_release,
20886         atomic_exchange_acquire, atomic_exchange_release,
20887         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20888         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20889         atomic_fetch_and_acquire,
20890         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20892 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20894         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20895         USE_ATOMIC_COMPILER_BUILTINS): Define.
20896         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20898         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20900         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20902         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20904         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20906         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20908         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20910         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20912         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20914         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20916         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20918         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20920         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20922         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20924         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20926         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20928         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20930         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20931         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20932         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20934         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20937 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20939         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20940         the sched_priority value here.  It was already checked when the user
20941         called pthread_attr_setschedparam.
20943         * nptl/tst-bad-schedattr.c: New file.
20944         * nptl/Makefile (tests): Add it.
20946 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20947             Florian Weimer  <fweimer@redhat.com>
20948             Joseph Myers  <joseph@codesourcery.com>
20949             Adam Conrad  <adconrad@0c3.net>
20950             Andreas Schwab  <schwab@suse.de>
20951             Brooks  <bmoses@google.com>
20953         [BZ #17625]
20954         * wordexp-test.c (__dso_handle): Add prototype.
20955         (__register_atfork): Likewise.
20956         (__app_register_atfork): New function.
20957         (registered_forks): New global.
20958         (register_fork): New function.
20959         (test_case): Add 3 new tests for WRDE_CMDSUB.
20960         (main): Call __app_register_atfork.
20961         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20962         fork count is non-zero fail the test.
20963         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20964         is set.
20965         (parse_dollars): Remove check for WRDE_NOCMD.
20966         (parse_dquote): Likewise.
20968 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20970         * Makeconfig (built-modules): List non-library modules to be
20971         built.
20972         (module-cppflags): Include libc-modules.h for
20973         everything except shlib-versions.v.i.
20974         (CPPFLAGS): Use it.
20975         (before-compile): Add libc-modules.h.
20976         ($(common-objpfx)libc-modules.h,
20977         $(common-objpfx)libc-modules.stmp): New targets.
20978         (common-generated): Add libc-modules.h and libc-modules.stmp.
20979         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20980         * include/libc-symbols.h: Don't include libc-modules.h.
20981         * include/libc-modules.h: Remove file.
20982         * scripts/gen-libc-modules.awk: New script to generate
20983         libc-modules.h.
20984         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20985         Depend on libc-modules.stmp.
20987         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20989         * Makeconfig (in-module): Get value of libof set for the
20990         translation unit.
20991         (CPPFLAGS): Use $(in-module).
20992         * Makerules: Don't suffix routine names for nonlib.
20993         * include/libc-modules.h: New file.
20994         * include/libc-symbols.h: Include libc-modules.h
20995         (IS_IN): New macro to replace IS_IN_* macros.
20996         * elf/Makefile: Set libof-* for each routine.
20997         * elf/rtld-Rules: Likewise.
20998         * extra-modules.mk: Likewise.
20999         * iconv/Makefile: Likewise.
21000         * iconvdata/Makefile: Likewise.
21001         * locale/Makefile: Likewise.
21002         * malloc/Makefile: Likewise.
21003         * nss/Makefile: Likewise.
21004         * sysdeps/gnu/Makefile: Likewise.
21005         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21006         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21007         * sysdeps/s390/s390-64/Makefile: Likewise.
21008         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21009         CPPFLAGS for nscd instead of nonlib.
21011 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21013         * nptl/createthread.c: New file.
21015         * nptl/createthread.c: Moved ...
21016         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21018         * nptl/createthread.c: Add proper top-line comment.
21019         (do_clone): Folded into ...
21020         (create_thread): ... here.  Take new arguments STOPPED_START and
21021         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21022         increment __nptl_threads, do event-reporting logic, do
21023         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21024         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21025         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21026         just send SIGCANCEL.
21027         * nptl/pthread_create.c: Forward-declare create_thread before
21028         including createthread.c.
21029         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21030         declaration, and new macro START_THREAD_SELF to replace argument.
21031         Remove return statement.
21032         (report_thread_creation): New function.
21033         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21034         synchronization logic, and __nptl_nthreads increment here, around
21035         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21036         PD->parent_cancelhandling here, before create_thread.  When
21037         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21038         __deallocate_stack, and ENOMEM translation here.
21040 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21042         [BZ #17616]
21043         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21044         (mptwo): Rename to __mptwo.
21045         (__inv): Use __mptwo instead of mptwo.
21046         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21047         (mptwo): Rename to __mptwo.
21048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21049         of mpone and __mptwo instead of mptwo.
21050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21051         instead of mpone.
21052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21053         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21054         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21055         of mpone and __mptwo instead of mptwo.
21056         (__mpranred): Use __mpone instead of mpone.
21057         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21058         variable.
21059         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21060         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21061         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21062         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21063         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21064         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21065         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21066         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21067         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21068         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21069         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21070         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21071         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21072         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21073         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21074         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21075         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21076         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21077         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21079 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21081         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21082         replace BSD Handler xref with BSD Signal Handling.
21084 2014-11-17  Richard Henderson  <rth@redhat.com>
21086         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21087         (_FP_PACK_RAW_2): Remove.
21088         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21089         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21090         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21091         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21092         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21093         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21094         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21095         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21096         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21097         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21098         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21099         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21100         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21101         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21102         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21103         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21105 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21107         * signal/signal.h [__USE_MISC]
21108         (struct sigvec): Remove type.
21109         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21110         (sigvec): Remove declaration.
21111         * sysdeps/posix/sigvec.c: Moved ...
21112         * signal/sigvec.c: ... here, replacing old file.
21113         (struct sigvec): New type, copied from old signal.h definition.
21114         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21115         (__sigvec): Convert definition to prototype.
21116         (sigvec): Replace weak_alias with compat_symbol.
21117         * signal/Versions (libc: GLIBC_2.21): New version set.
21118         * include/signal.h: Remove __sigvec declaration.
21119         * sysdeps/unix/bsd/sigvec.c: Remove file.
21120         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21121         * manual/signal.texi (BSD Handler): Remove subsection.
21122         Move siginterrupt up to ...
21123         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21124         (Blocking in BSD): Fold subsection into its parent.
21125         * NEWS: Mention sigvec removal.
21127 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21129         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21130         (DLA_FMS): Make definition conditional only on [__FMA4__].
21131         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21132         definition.
21134         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21135         Make definition conditional only on [PROF].
21136         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21137         definition.
21138         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21139         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21141         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21142         !__GNUC__].
21143         * include/signal.h (__sigpause): Move declaration above call to
21144         libc_hidden_proto.
21145         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21146         variable.
21147         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21148         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21150 2014-11-14  David S. Miller  <davem@davemloft.net>
21152         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21153         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21155 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21157         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21158         * configure: Regenerated.
21159         * manual/install.texi (Tools for Compilation): Document a
21160         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21161         compiler verified to work.
21162         * INSTALL: Regenerated.
21164         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21165         redeclare with asm name.
21166         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21167         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21168         including <string.h>.
21169         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21170         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21171         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21172         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21173         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21175         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21177 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21179         * stdlib/strtol.c (__strtol): Use prototype definition.
21181         [BZ #17594]
21182         * stdlib/strtol.c (SYM__): New macro.
21183         (SYM__1): Likewise.
21184         (__strtol): Likewise.
21185         (strtol): Rename to __strtol and define as weak alias of
21186         __strtol.  Use libc_hidden_weak.
21188 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21190         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21191         Use numbered labels in inline assembly.
21193 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21195         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21196         Add setjmp LIBC_PROBE.
21197         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21198         Likewise.
21199         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21200         Add longjmp, longjmp_target LIBC_PROBE.
21201         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21202         Likewise.
21204 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21206         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21207         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21208         to get rid of unused variable warning.
21210 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21212         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21213         Check for unwind_backtrace ==  NULL only in SHARED case.
21214         (__backchain_backtrace): Compile only in SHARED case.
21215         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21216         Likewise.
21217         (__backchain_backtrace): Declare as static.
21219 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21221         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21222         (__libc_multiple_threads_ptr): Variable moved ...
21223         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21225 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21227         * conform/GlibcConform.pm: New file.
21228         * conform/conformtest.pl: Use GlibcConform module.
21229         * conform/linknamespace.pl: New file.
21230         * conform/list-header-symbols.pl: Likewise.
21231         * conform/Makefile (linknamespace-symlists-base): New variable.
21232         (linknamespace-symlists-tests): Likewise.
21233         (linknamespace-header-base): Likewise.
21234         (linknamespace-header-tests): Likewise.
21235         (tests-special): Add new tests.
21236         ($(linknamespace-symlists-tests)): New rule.
21237         (linknamespace-libs): New variable.
21238         ($(objpfx)symlist-stdlibs): New rule.
21239         ($(linknamespace-header-tests)): Likewise.
21240         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21241         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21242         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21243         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21244         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21245         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21246         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21247         (test-xfail-ISO/math.h/linknamespace): Likewise.
21248         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21249         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21250         (test-xfail-ISO/time.h/linknamespace): Likewise.
21251         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21252         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21253         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21254         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21255         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21256         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21257         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21258         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21259         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21260         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21261         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21262         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21263         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21264         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21265         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21266         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21267         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21268         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21269         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21270         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21271         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21272         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21273         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21274         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21275         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21276         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21277         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21278         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21279         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21280         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21281         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21282         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21283         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21284         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21285         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21286         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21287         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21288         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21289         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21290         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21291         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21292         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21293         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21294         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21295         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21296         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21297         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21298         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21299         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21300         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21301         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21302         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21303         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21304         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21305         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21306         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21307         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21308         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21309         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21310         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21311         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21312         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21313         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21314         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21315         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21316         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21317         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21318         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21319         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21320         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21321         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21322         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21323         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21324         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21325         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21326         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21327         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21328         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21329         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21330         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21331         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21332         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21333         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21334         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21335         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21336         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21337         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21338         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21339         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21340         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21341         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21342         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21343         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21344         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21345         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21346         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21347         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21348         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21349         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21350         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21351         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21352         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21353         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21354         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21355         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21356         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21357         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21358         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21359         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21360         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21361         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21362         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21363         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21364         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21365         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21366         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21367         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21368         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21369         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21370         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21371         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21372         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21373         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21374         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21375         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21376         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21377         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21378         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21379         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21380         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21381         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21382         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21383         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21384         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21385         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21386         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21387         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21388         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21389         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21390         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21391         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21392         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21393         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21394         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21395         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21396         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21397         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21398         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21399         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21400         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21402         [BZ #17589]
21403         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21404         of fgets_unlocked.
21406         [BZ #17585]
21407         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21408         (memmem): Rename to __memmem and define as weak alias of
21409         __memmem.  Use libc_hidden_weak.
21410         (__memmem): Use libc_hidden_def.
21411         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21412         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21413         memmem.
21415         [BZ #17582]
21416         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21417         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21418         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21419         and define as weak alias of __fgets_unlocked.  Use
21420         libc_hidden_weak.
21421         (__fgets_unlocked): Use libc_hidden_def.
21422         * include/stdio.h (__fgets_unlocked): Declare.  Use
21423         libc_hidden_proto.
21424         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21425         __fgets_unlocked instead of fgets_unlocked.
21426         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21427         (GET_NPROCS_CONF_PARSER): Likewise.
21428         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21429         (GET_NPROCS_CONF_PARSER): Likewise.
21431         [BZ #17574]
21432         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21433         weak alias of __wmemset.  Use libc_hidden_weak.
21434         (__wmemset): Use libc_hidden_def.
21435         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21436         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21437         of wmemset.
21439         [BZ #17573]
21440         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21441         with asm name __mempcpy.
21442         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21444         [BZ #17572]
21445         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21446         and define as weak alias of __rawmemchr.
21447         (__rawmemchr): Do not define as strong alias of rawmemchr.
21449         [BZ #17571]
21450         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21451         alias of __qsort_r.
21452         (qsort): Call __qsort_r instead of qsort_r.
21453         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21454         (__qsort_r): Declare.  Call libc_hidden_proto.
21455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21456         instead of qsort_r.
21457         * nscd/gai.c (__qsort_r): Define to qsort_r.
21458         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21459         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21460         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21462         [BZ #17570]
21463         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21464         define as weak alias of __malloc_info.
21466         [BZ #17584]
21467         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21468         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21469         (__rewinddir): Use libc_hidden_def.
21470         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21471         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21472         (__rewinddir): Use libc_hidden_def.
21473         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21474         weak alias of __rewinddir.  Don't use libc_hidden_def.
21475         (__rewinddir): Use libc_hidden_def.
21476         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21477         (__rewinddir): Use libc_hidden_proto.
21478         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21479         rewinddir.
21480         (__getcwd): Use __rewinddir instead of rewinddir.
21482         [BZ #17583]
21483         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21484         alias of __fileno.  Use libc_hidden_weak.
21485         (__fileno): Use libc_hidden_def.
21486         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21487         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21488         alias of __ftello.
21489         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21490         __ftello.
21491         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21492         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21493         libc_hidden_def.
21494         (fread_unlocked): Don't use libc_hidden_ver.
21495         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21496         and define as weak alias of __fread_unlocked.  Don't use
21497         libc_hidden_def.
21498         (__fread_unlocked): Use libc_hidden_def.
21499         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21500         (ftello): Don't use libc_hidden_proto.
21501         (__ftello): Declare.  Use libc_hidden_proto.
21502         (fread_unlocked): Don't use libc_hidden_proto.
21503         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21504         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21505         and __ftello instead of fileno, fread_unlocked and ftello.
21507 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21509         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21510         GOT12.
21511         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21512         Likewise.
21513         (_dl_start_user): Likewise.
21514         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21516 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21517             Siddhesh Poyarekar  <siddhesh@redhat.com>
21519         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21520         Move argv and envp down instead of moving argc up.
21521         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21523 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21525         [BZ #17506]
21526         * test-skeleton.c (main): Return successful if one of
21527         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21528         * string/tst-strcoll-overflow.c: Define expected status.
21530 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21532         [BZ #17475]
21533         * locale/iso-639.def: Define Bhili and Tulu language codes.
21535 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21537         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21539 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21541         [BZ #17555]
21542         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21544 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21546         * configure.ac: Updated check of minimal required version to
21547         2.22.
21548         * manual/install.texi (Tools for Compilation): Updated version
21549         number.
21550         * configure: Regenerated.
21551         * INSTALL: Likewise.
21553 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21555         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21556         __tls_get_addr.
21558 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21560         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21561         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21562         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21563         libc_hidden_weak.
21564         (waitpid): Define as alias of __waitpid.
21565         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21566         __waitpid.
21567         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21568         libc_hidden_weak.
21569         (waitpid): Define as alias of __waitpid.
21570         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21571         __libc_waitpid alias.
21572         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21573         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21574         Likewise.
21575         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21576         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21577         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21578         alias.
21579         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21580         __waitpid.
21581         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21582         libc_hidden_weak.
21583         (waitpid): Define as alias of __waitpid.
21585 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21587         * manual/llio.texi: Add comment that write safety has been
21588         fixed in Linux.
21590         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21591         (localplt-build-dso): Add elf/ld.so.
21592         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21593         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21594         and free for ld.so.
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21596         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21598         Likewise.
21599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21600         Likewise.
21601         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21602         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21603         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21604         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21605         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21606         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21607         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21608         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21609         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21610         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21611         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21613 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21615         [BZ #14132]
21616         * include/libc-symbols.h (INTUSE): Remove macro.
21617         (INTDEF): Likewise.
21618         (INTVARDEF): Likewise.
21619         (_INTVARDEF): Likewise.
21620         (INTDEF2): Likewise.
21621         (INTVARDEF2): Likewise.
21622         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21623         rtld_hidden_def instead of INTVARDEF.
21624         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21625         (_dl_starting_up_internal): Remove declaration.
21626         (_dl_starting_up): Use rtld_hidden_proto.
21627         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21628         declaration.
21629         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21630         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21631         _dl_starting_up.
21632         * elf/dl-writev.h (_dl_writev): Likewise.
21633         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21634         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21635         _dl_starting_up_internal.
21637 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21639         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21640         test-skeleton.c.
21642 2014-11-05  Will Newton  <will.newton@linaro.org>
21644         * benchtests/Makefile: (bench-malloc): Add malloc thread
21645         scalability benchmark.
21646         * benchtests/bench-malloc-threads.c: New file.
21648 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21650         * sysdeps/aarch64/strchrnul.S: New file.
21652 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21654         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21655         definition.
21656         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21657         Likwise.
21658         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21659         Likewise.
21660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21661         Likewise.
21662         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21663         Likewise.
21664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21665         Likewise.
21667 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21669         * catgets/test-gencat.c: Use test-skeleton.c.
21670         * catgets/tst-catgets.c: Likewise.
21671         * csu/tst-empty.c: Likewise.
21672         * elf/tst-audit2.c: Likewise.
21673         * elf/tst-global1.c: Likewise.
21674         * elf/tst-pathopt.c: Likewise.
21675         * elf/tst-piemod1.c: Likewise.
21676         * elf/tst-tls10.c: Likewise.
21677         * elf/tst-tls11.c: Likewise.
21678         * elf/tst-tls12.c: Likewise.
21679         * gnulib/tst-gcc.c: Likewise.
21680         * iconvdata/tst-e2big.c: Likewise.
21681         * iconvdata/tst-loading.c: Likewise.
21682         * iconv/tst-iconv1.c: Likewise.
21683         * iconv/tst-iconv2.c: Likewise.
21684         * inet/test-inet6_opt.c: Likewise.
21685         * inet/tst-gethnm.c: Likewise.
21686         * inet/tst-network.c: Likewise.
21687         * inet/tst-ntoa.c: Likewise.
21688         * intl/tst-codeset.c: Likewise.
21689         * intl/tst-gettext2.c: Likewise.
21690         * intl/tst-gettext3.c: Likewise.
21691         * intl/tst-ngettext.c: Likewise.
21692         * intl/tst-translit.c: Likewise.
21693         * io/test-stat.c: Likewise.
21694         * libio/test-fmemopen.c: Likewise.
21695         * libio/tst-freopen.c: Likewise.
21696         * libio/tst-sscanf.c: Likewise.
21697         * libio/tst-ungetwc1.c: Likewise.
21698         * libio/tst-ungetwc2.c: Likewise.
21699         * libio/tst-widetext.c: Likewise.
21700         * localedata/tst-ctype.c: Likewise.
21701         * localedata/tst-digits.c: Likewise.
21702         * localedata/tst-leaks.c: Likewise.
21703         * localedata/tst-mbswcs1.c: Likewise.
21704         * localedata/tst-mbswcs2.c: Likewise.
21705         * localedata/tst-mbswcs3.c: Likewise.
21706         * localedata/tst-mbswcs4.c: Likewise.
21707         * localedata/tst-mbswcs5.c: Likewise.
21708         * localedata/tst-setlocale.c: Likewise.
21709         * localedata/tst-trans.c: Likewise.
21710         * localedata/tst-wctype.c: Likewise.
21711         * localedata/tst-xlocale1.c: Likewise.
21712         * login/tst-grantpt.c: Likewise.
21713         * malloc/tst-calloc.c: Likewise.
21714         * malloc/tst-malloc.c: Likewise.
21715         * malloc/tst-mallocstate.c: Likewise.
21716         * malloc/tst-mcheck.c: Likewise.
21717         * malloc/tst-mtrace.c: Likewise.
21718         * malloc/tst-obstack.c: Likewise.
21719         * math/atest-exp2.c: Likewise.
21720         * math/atest-exp.c: Likewise.
21721         * math/atest-sincos.c: Likewise.
21722         * math/test-matherr.c: Likewise.
21723         * math/test-misc.c: Likewise.
21724         * math/test-powl.c: Likewise.
21725         * math/tst-definitions.c: Likewise.
21726         * misc/tst-dirname.c: Likewise.
21727         * misc/tst-efgcvt.c: Likewise.
21728         * misc/tst-fdset.c: Likewise.
21729         * misc/tst-hsearch.c: Likewise.
21730         * misc/tst-mntent2.c: Likewise.
21731         * nptl/tst-sem7.c: Likewise.
21732         * nptl/tst-sem8.c: Likewise.
21733         * nptl/tst-sem9.c: Likewise.
21734         * nss/test-netdb.c: Likewise.
21735         * posix/tst-fnmatch.c: Likewise.
21736         * posix/tst-getlogin.c: Likewise.
21737         * posix/tst-gnuglob.c: Likewise.
21738         * posix/tst-mmap.c: Likewise.
21739         * pwd/tst-getpw.c: Likewise.
21740         * resolv/tst-inet_ntop.c: Likewise.
21741         * rt/tst-timer.c: Likewise.
21742         * stdio-common/test-fseek.c: Likewise.
21743         * stdio-common/test-popen.c: Likewise.
21744         * stdio-common/test-vfprintf.c: Likewise.
21745         * stdio-common/tst-cookie.c: Likewise.
21746         * stdio-common/tst-fileno.c: Likewise.
21747         * stdio-common/tst-gets.c: Likewise.
21748         * stdio-common/tst-obprintf.c: Likewise.
21749         * stdio-common/tst-perror.c: Likewise.
21750         * stdio-common/tst-sprintf2.c: Likewise.
21751         * stdio-common/tst-sprintf3.c: Likewise.
21752         * stdio-common/tst-sprintf.c: Likewise.
21753         * stdio-common/tst-swprintf.c: Likewise.
21754         * stdio-common/tst-tmpnam.c: Likewise.
21755         * stdio-common/tst-unbputc.c: Likewise.
21756         * stdio-common/tst-wc-printf.c: Likewise.
21757         * stdlib/tst-environ.c: Likewise.
21758         * stdlib/tst-fmtmsg.c: Likewise.
21759         * stdlib/tst-limits.c: Likewise.
21760         * stdlib/tst-rand48-2.c: Likewise.
21761         * stdlib/tst-rand48.c: Likewise.
21762         * stdlib/tst-random2.c: Likewise.
21763         * stdlib/tst-random.c: Likewise.
21764         * stdlib/tst-strtol.c: Likewise.
21765         * stdlib/tst-strtoll.c: Likewise.
21766         * stdlib/tst-tls-atexit.c: Likewise.
21767         * stdlib/tst-xpg-basename.c: Likewise.
21768         * string/test-ffs.c: Likewise.
21769         * string/tst-bswap.c: Likewise.
21770         * string/tst-inlcall.c: Likewise.
21771         * string/tst-strtok.c: Likewise.
21772         * string/tst-strxfrm.c: Likewise.
21773         * sysdeps/x86_64/tst-audit10.c: Likewise.
21774         * sysdeps/x86_64/tst-audit3.c: Likewise.
21775         * sysdeps/x86_64/tst-audit4.c: Likewise.
21776         * sysdeps/x86_64/tst-audit5.c: Likewise.
21777         * time/tst-ftime_l.c: Likewise.
21778         * time/tst-getdate.c: Likewise.
21779         * time/tst-mktime3.c: Likewise.
21780         * time/tst-mktime.c: Likewise.
21781         * time/tst-posixtz.c: Likewise.
21782         * time/tst-strptime2.c: Likewise.
21783         * time/tst-strptime3.c: Likewise.
21784         * wcsmbs/tst-btowc.c: Likewise.
21785         * wcsmbs/tst-mbrtowc.c: Likewise.
21786         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21787         * wcsmbs/tst-wchar-h.c: Likewise.
21788         * wcsmbs/tst-wcpncpy.c: Likewise.
21789         * wcsmbs/tst-wcrtomb.c: Likewise.
21790         * wcsmbs/tst-wcsnlen.c: Likewise.
21791         * wcsmbs/tst-wcstof.c: Likewise.
21793 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21795         [BZ #14132]
21796         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21797         INTDEF.
21798         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21799         declaration.
21800         (_dl_mcount): Use rtld_hidden_proto.
21801         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21802         _dl_mcount.
21803         * elf/rtld.c (_rtld_global_ro): Likewise.
21805         [BZ #14132]
21806         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21807         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21808         of _dl_init_internal.
21809         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21810         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21811         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21812         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21813         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21814         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21815         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21816         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21817         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21818         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21819         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21820         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21821         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21822         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21823         * sysdeps/tile/dl-start.S (_start): Likewise.
21824         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21825         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21827         [BZ #14132]
21828         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21829         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21830         (rtld_progname): Make macro definition unconditional.
21831         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21832         INTDEF.
21833         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21834         (dl_main): Likewise.
21835         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21836         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21837         instead of _dl_argv_internal.
21838         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21839         __GI__dl_argv instead of INTUSE(_dl_argv).
21840         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21841         __GI__dl_argv instead of _dl_argv_internal.
21843         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21844         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21845         macro.
21846         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21847         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21848         New macro.
21849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21850         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21851         macro.
21852         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21853         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21855 2014-11-04  Andreas Schwab  <schwab@suse.de>
21857         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21859 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21861         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21862         mtvsrd instruction in binary form.
21864 2014-11-03  Andreas Schwab  <schwab@suse.de>
21866         [BZ #17522]
21867         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21868         for less than MB_LEN_MAX use a local buffer of that size.
21869         * libio/tst-fputws.c: New file.
21870         * libio/Makefile (tests): Add tst-fputws.
21872 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21874         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21875         the size of the fpu_fr.fpu_dregs[] array.
21877 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21879         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21880         (__nanosleep): Do not define as alias.
21881         (nanosleep): Define as alias of __nanosleep.
21882         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21883         __libc_nanosleep name.
21885 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21887         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21888         install.texi in comment.
21890 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21892         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21893         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21894         ... add here and use lwsync or sync ...
21895         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21896         ... and add here using lwsync.
21898 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21900         * elf/dl-machine-reject-phdr.h: New file.
21901         * elf/dl-load.c: #include that.
21902         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21903         if that returned true.
21905 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21907         [BZ #17496]
21908         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21909         gen-as-const-headers chunk.  Add a big scare comment after the last
21910         safe place to touch before-compile.
21912 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21914         * manual/install.texi (Tools for Compilation): Update autoconf
21915         version requirements.
21916         * INSTALL: Regenerated.
21918         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21919         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21920         (__libc_pselect): Likewise.
21922         [BZ #14138]
21923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21928 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21930         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21931         correct barrier instruction.
21932         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21933         Likewise.
21934         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21935         Likewise.
21937 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21939         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21940         after defining inlines.  Instead, just use parens to defeat macro
21941         expansion of __isctype in its declaration.
21943 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21945         * include/sys/uio.h (__libc_readv): Remove declaration.
21946         (__libc_writev): Likewise.
21947         * misc/readv.c (__libc_readv): Rename to __readv.
21948         (__readv): Do not define as alias.
21949         (readv): Define as alias of __readv.
21950         * misc/writev.c (__libc_writev): Rename to __writev.
21951         (__writev): Do not define as alias.
21952         (writev): Define as alias of __writev.
21953         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21954         (__readv): Do not define as alias.
21955         (readv): Define unconditionally as alias of __readv.
21956         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21957         (__writev): Do not define as alias.
21958         (writev): Define unconditionally as alias of __writev.
21959         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21960         name.
21961         (writev): Do not define __libc_writev name.
21963 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21965         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21966         (convert_charseq): New function, broken out of ...
21967         (use_from_charmap): ... here.  Call it.
21968         (use_to_charmap): Use convert_charseq and free instead of duplicating
21969         its code with a variable-length stack struct.
21971 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21973         * include/fcntl.h (__libc_creat): Remove declaration.
21974         * io/creat.c (__libc_creat): Rename to creat.
21975         (creat): Do not define as alias.
21976         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21977         of creat instead of __libc_creat.
21978         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21979         to creat.
21980         (creat): Do not define as alias.
21981         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21982         __libc_creat.
21983         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21984         __libc_creat name.
21985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21986         Likewise.
21988 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21990         * manual/llio.texi: Add comments discussing why write() may be
21991         considered MT-unsafe on Linux.
21993 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21995         * dl-load.c (local_strdup): Remove.
21996         (expand_dynamic_string_token): Use __strdup.
21997         (decompose_rpath): Likewise.
21998         (_dl_map_object): Likewise.
22000 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22002         [BZ #14132]
22003         * sysdeps/generic/unwind-dw2-fde.c
22004         (__register_frame_info_bases_internal): Do not declare.
22005         (__register_frame_info_table_bases_internal): Likewise.
22006         (__deregister_frame_info_bases_internal): Likewise.
22007         (__register_frame_info_bases): Declare and use hidden_proto before
22008         definition.  Use hidden_def instead of INTDEF.
22009         (__register_frame_info_table_bases): Likewise.
22010         (__deregister_frame_info_bases): Likewise.
22011         (__register_frame_info): Do not use INTUSE.
22012         (__register_frame): Likewise.
22013         (__register_frame_info_table): Likewise.
22014         (__register_frame_table): Likewise.
22015         (__deregister_frame_info): Likewise.
22016         (__deregister_frame): Likewise.
22018 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22020         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22021         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22022         not undefine.
22023         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22024         Likewise.
22025         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22026         Likewise.
22028 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22030         [BZ #14138]
22031         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22032         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22033         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22034         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22035         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22036         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22037         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22038         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22039         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22040         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22041         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22042         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22043         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22044         syscall.
22045         (setfsuid): Likewise.
22046         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22047         (setfsuid): Likewise.
22048         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22049         (setfsuid): Likewise.
22050         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22051         Likewise.
22052         (setfsuid): Likewise.
22053         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22054         (setfsuid): Likewise.
22055         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22056         Likewise.
22057         (setfsuid): Likewise.
22059 2014-10-27  Andreas Schwab  <schwab@suse.de>
22061         [BZ #17501]
22062         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22063         check for Slow_SSE4_2 feature bit.
22064         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22065         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22066         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22067         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22069 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22071         * configure.ac: Validate compiler version with a empirical test of
22072         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22073         $CC -v output.
22074         * configure: Regenerated.
22076         * inet/htons.c (htons): Prototypify.
22077         * inet/htonl.c (htonl): Likewise.
22079 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22081         * string/strncat.c (strncat): Improve performance by using strlen.
22083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22085         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22087 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22089         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22090         Call libc_fetestexcept_aarch64.
22092 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22094         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22095         Call libc_feholdexcept_aarch64.
22097 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22099         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22100         Call get_rounding_mode.
22102 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22104         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22105         Simplify logic.
22107 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22109         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22110         Simplify logic.
22112 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #14138]
22115         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22116         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22117         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22118         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22119         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22120         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22121         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22122         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22123         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22124         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22125         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22126         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22127         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22128         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22129         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22130         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22131         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22132         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22133         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22134         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22135         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22136         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22137         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22138         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22139         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22140         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22141         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22142         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22143         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22144         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22145         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22146         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22147         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22148         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22149         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22150         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22151         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22152         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22153         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22154         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22155         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22156         syscall.
22157         (geteuid): Likewise.
22158         (getgid): Likewise.
22159         (getuid): Likewise.
22160         (getresgid): Likewise.
22161         (getresuid): Likewise.
22162         (getgroups): Likewise.
22163         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22164         (geteuid): Likewise.
22165         (getgid): Likewise.
22166         (getuid): Likewise.
22167         (getresgid): Likewise.
22168         (getresuid): Likewise.
22169         (getgroups): Likewise.
22170         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22171         (geteuid): Likewise.
22172         (getgid): Likewise.
22173         (getuid): Likewise.
22174         (getresgid): Likewise.
22175         (getresuid): Likewise.
22176         (getgroups): Likewise.
22177         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22178         Likewise.
22179         (geteuid): Likewise.
22180         (getgid): Likewise.
22181         (getuid): Likewise.
22182         (getresgid): Likewise.
22183         (getresuid): Likewise.
22184         (getgroups): Likewise.
22185         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22186         (geteuid): Likewise.
22187         (getgid): Likewise.
22188         (getuid): Likewise.
22189         (getresgid): Likewise.
22190         (getresuid): Likewise.
22191         (getgroups): Likewise.
22192         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22193         Likewise.
22194         (geteuid): Likewise.
22195         (getgid): Likewise.
22196         (getuid): Likewise.
22197         (getgroups): Likewise.
22199         [BZ #14138]
22200         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22201         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22202         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22203         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22204         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22205         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22206         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22207         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22208         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22209         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22210         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22211         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22212         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22213         __chown.
22214         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22215         (lchown): Likewise.
22216         (fchown): Likewise.
22217         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22218         Likewise.
22219         (lchown): Likewise.
22220         (fchown): Likewise.
22221         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22222         (lchown): Likewise.
22223         (fchown): Likewise.
22224         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22225         Likewise.
22226         (lchown): Likewise.
22227         (fchown): Likewise.
22229 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22231         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22232         Simplify logic.
22234 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22236         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22237         Cleanup logic.
22239 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22241         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22242         Remove unused include.
22244 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22246         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22247         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22248         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22249         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22251 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22252             Helge Deller <deller@gmx.de>
22254         [BZ #17508]
22255         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22256         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22257         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22259 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22261         [BZ #14132]
22262         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22263         Remove macro definition.
22264         (__ashrdi3_v_glibc20): Likewise.
22265         (__lshrdi3_v_glibc20): Likewise.
22266         (__cmpdi2_v_glibc20): Likewise.
22267         (__ucmpdi2_v_glibc20): Likewise.
22268         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22269         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22270         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22271         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22272         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22273         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22275 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22277         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22278         old GNU extension [0] syntax.
22279         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22280         alloca rather than an array member with variable length.
22281         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22282         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22283         (parse_opt): ... here.  Likewise use alloca there.
22284         Validate the -i argument before checking for rootness.
22285         (send_shutdown): New function, broken out of ...
22286         (parse_opt): ... here.
22288 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22290         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22291         macro to get at the _rt_local_ro field.
22292         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22293         ([PIC] case) or _dl_hwcap ([!PIC] case).
22294         * sysdeps/arm/setjmp.S: Likewise.
22296         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22297         * sysdeps/arm/configure.ac: New check to define it.
22298         * sysdeps/arm/configure: Regenerated.
22299         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22300         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22301         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22302         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22303         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22304         Use move/movt pair instead of a load.
22305         (LDST_GLOBAL): Macro removed.
22306         (LDR_GLOBAL): New macro replaces it.
22307         (LDR_HIDDEN): New macro.
22308         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22309         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22311         * setjmp/tst-setjmp-static.c: New file.
22312         * setjmp/Makefile (tests): Add it.
22313         (tests-static): New variable.
22315 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22317         [BZ #17485]
22318         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22320 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22322         [BZ #14132]
22323         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22325 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22327         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22329 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22331         * io/fts.c (dirent_not_directory): New function.
22332         (fts_build): Call it.
22334 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22336         * nptl/version.c (__nptl_main): Use normal __write rather than
22337         INTERNAL_SYSCALL.
22338         (banner): Update copyright years.
22340         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22341         gettimeofday.
22342         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22343         * nptl/pthread_cond_timedwait.c: Likewise.
22344         * nptl/pthread_mutex_timedlock.c: Likewise.
22345         * nptl/sem_timedwait.c: Likewise.
22347         * sysdeps/nptl/bits/libc-lock.h
22348         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22349         (__libc_lock_init_recursive): Return void, not 0.
22350         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22351         (__libc_rwlock_init): Likewise.
22352         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22354 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22356         [BZ #15215]
22357         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22358         (__pthread_once_slow): ... here.
22359         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22360         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22362 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22364         [BZ #15215]
22365         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22366         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22367         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22368         * nptl/pthread_once.c (__pthread_once): Likewise.
22369         Update comments.
22371 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #14138]
22374         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22375         name.
22376         (writev): Use __libc_writev as strong name.
22377         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22378         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22380 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22382         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22384         * sysdeps/i386/nptl/tls.h
22385         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22386         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22387         New macros.
22388         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22389         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22390         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22391         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22392         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22393         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22395         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22396         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22397         on [__NR_futex].
22398         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22399         broken out of ...
22400         (__pthread_mutex_init): ... here.  Call it.
22401         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22402         Conditionalize PI cases on [__NR_futex].
22403         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22404         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22405         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22407         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22408         conditional on [SIGSETXID].
22409         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22410         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22411         is defined.  Likewise for SIGSETXID.
22412         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22413         Conditionalize definitions on [SIGSETXID].
22414         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22415         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22416         unblocking on [SIGCANCEL].
22418         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22419         [__NR_set_robust_list].
22421 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22424         (do_compare): Likewise.
22426 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22428         [BZ #15884]
22429         * string/strcoll_l.c: Don't include stdio.h.
22430         (coll_seq): Remove members idxarr and rulearr.
22431         (get_next_seq_cached): Remove function.
22432         (get_next_seq): Likewise.
22433         (get_next_seq_nocache): Rename to get_next_seq.
22434         (do_compare): Remove function.
22435         (do_compare_nocache): Rename to do_compare.
22436         (STRCOLL): Remove weight and rules cache.
22438 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22440         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22441         * sysdeps/arm/sfp-machine.h: ... to here.
22442         * sysdeps/arm/Implies: Remove arm/soft-fp.
22444 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22446         * conform/data/sys/utsname.h-data (*_t): Allow.
22447         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22448         [POSIX] (WEXITED): Do not expect constant.
22449         [POSIX] (WSTOPPED): Likewise.
22450         [POSIX] (WNOHANG): Likewise.
22451         [POSIX] (WNOWAIT): Likewise.
22452         [POSIX] (siginfo_t): Do not expect type or elements.
22453         [POSIX] (pid_t): Do not expect type.
22454         [POSIX] (signal.h): Do not allow header.
22455         [POSIX] (sys/resource.h): Likewise.
22456         [POSIX] (si_*): Do not allow pattern.
22457         [POSIX] (W*): Likewise.
22458         [POSIX] (P_*): Likewise.
22459         [POSIX] (BUS_*): Likewise.
22460         [POSIX] (CLD_*): Likewise.
22461         [POSIX] (FPE_*): Likewise.
22462         [POSIX] (ILL_*): Likewise.
22463         [POSIX] (POLL_*): Likewise.
22464         [POSIX] (SEGV_*): Likewise.
22465         [POSIX] (SI_*): Likewise.
22466         [POSIX] (TRAP_*): Likewise.
22467         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22468         variable.
22470 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22472         [BZ #12926]
22473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22474         infinite loop when __recvmsg returns 0.
22476 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22478         * CANCEL-FCT-WAIVE: Remove file.
22479         * CANCEL-FILE-WAIVE: Likewise.
22481         [BZ #14132]
22482         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22483         instead of INTVARDEF.
22484         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22485         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22486         rtld_hidden_data_def instead of INTVARDEF.
22487         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22488         * elf/dl-deps.c (expand_dst): Likewise.
22489         * elf/dl-load.c (_dl_dst_count): Likewise.
22490         (_dl_dst_substitute): Likewise.
22491         (decompose_rpath): Likewise.
22492         (_dl_init_paths): Likewise.
22493         (open_path): Likewise.
22494         (_dl_map_object): Likewise.
22495         * elf/rtld.c (dl_main): Likewise.
22496         (process_dl_audit): Likewise.
22497         (process_envvars): Likewise.
22498         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22499         Remove declaration.
22500         (__libc_enable_secure): Use rtld_hidden_proto.
22502 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22504         * elf/dl-load.c
22505         (add_path): New function broken out of _dl_rtld_di_serinfo.
22506         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22508 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22510         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22511         parentheses around macro arguments.
22512         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22515         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22516         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22517         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22518         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22520         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22523         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22524         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22525         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22526         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22527         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22528         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22532         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22541         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22542         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22543         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22544         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22545         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22546         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22547         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22548         Likewise.
22549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22556         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22557         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22558         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22559         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22560         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22561         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22566         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22567         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22570         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22571         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22572         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22573         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22574         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22575         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22576         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22577         (_FP_FRAC_SRS_1): Likewise.
22578         (_FP_FRAC_CLZ_1): Likewise.
22579         (_FP_MUL_MEAT_1_imm): Likewise.
22580         (_FP_MUL_MEAT_1_wide): Likewise.
22581         (_FP_MUL_MEAT_1_hard): Likewise.
22582         (_FP_SQRT_MEAT_1): Likewise.
22583         (_FP_FRAC_ASSEMBLE_1): Likewise.
22584         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22585         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22586         (__FP_CLZ_2): Likewise.
22587         (_FP_MUL_MEAT_2_wide): Likewise.
22588         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22589         (_FP_MUL_MEAT_2_gmp): Likewise.
22590         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22591         (_FP_SQRT_MEAT_2): Likewise.
22592         (_FP_FRAC_ASSEMBLE_2): Likewise.
22593         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22594         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22595         (_FP_FRAC_CLZ_4): Likewise.
22596         (_FP_MUL_MEAT_4_wide): Likewise.
22597         (_FP_MUL_MEAT_4_gmp): Likewise.
22598         (_FP_SQRT_MEAT_4): Likewise.
22599         (_FP_FRAC_ASSEMBLE_4): Likewise.
22600         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22601         * soft-fp/op-common.h (_FP_CMP): Likewise.
22602         (_FP_CMP_EQ): Likewise.
22603         (_FP_CMP_UNORD): Likewise.
22604         (_FP_TO_INT): Likewise.
22605         (_FP_FROM_INT): Likewise.
22606         [!__FP_CLZ] (__FP_CLZ): Likewise.
22607         (_FP_DIV_HELP_imm): Likewise.
22608         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22609         Likewise.
22610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22613         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22614         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22615         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22621         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22622         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22623         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22624         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22625         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22626         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22639         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22640         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22641         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22642         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22643         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22644         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22645         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22646         (FP_UNPACK_RAW_SP): Likewise.
22647         (FP_PACK_RAW_S): Likewise.
22648         (FP_PACK_RAW_SP): Likewise.
22649         (FP_UNPACK_S): Likewise.
22650         (FP_UNPACK_SP): Likewise.
22651         (FP_UNPACK_SEMIRAW_S): Likewise.
22652         (FP_UNPACK_SEMIRAW_SP): Likewise.
22653         (FP_PACK_S): Likewise.
22654         (FP_PACK_SP): Likewise.
22655         (FP_PACK_SEMIRAW_S): Likewise.
22656         (FP_PACK_SEMIRAW_SP): Likewise.
22657         (_FP_SQRT_MEAT_S): Likewise.
22658         (FP_CMP_S): Likewise.
22659         (FP_CMP_EQ_S): Likewise.
22660         (FP_CMP_UNORD_S): Likewise.
22661         (FP_TO_INT_S): Likewise.
22662         (FP_FROM_INT_S): Likewise.
22664         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22666         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22667         (FP_EX_INVALID_IMZ): Likewise.
22668         (FP_EX_INVALID_IMZ_FMA): Likewise.
22669         (FP_EX_INVALID_ISI): Likewise.
22670         (FP_EX_INVALID_ZDZ): Likewise.
22671         (FP_EX_INVALID_IDI): Likewise.
22672         (FP_EX_INVALID_SQRT): Likewise.
22673         (FP_EX_INVALID_CVI): Likewise.
22674         (FP_EX_INVALID_VC): Likewise.
22675         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22676         "invalid" exceptions.
22677         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22678         (_FP_ADD_INTERNAL): Likewise.
22679         (_FP_MUL): Likewise.
22680         (_FP_FMA): Likewise.
22681         (_FP_DIV): Likewise.
22682         (_FP_CMP_CHECK_NAN): Likewise.
22683         (_FP_SQRT): Likewise.
22684         (_FP_TO_INT): Likewise.
22685         (FP_EXTEND): Likewise.
22687 2014-10-09  Allan McRae  <allan@archlinux.org>
22689         * po/fr.po: Update French translation from translation project.
22691 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22693         [BZ #14132]
22694         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22695         of INTDEF.
22696         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22697         (__cxa_atexit): Use libc_hidden_proto.
22698         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22700         [BZ #14132]
22701         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22702         declaration.
22703         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22704         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22705         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22706         [!_ISOMAC] (__iswctype_internal): Likewise.
22707         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22708         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22709         alias.
22710         (fcntl): Remove __fcntl_internal alias.
22711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22712         __connect_internal alias.
22713         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22714         Likewise.
22716         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22718         FP_DENORM_ZERO.
22719         (_FP_CHECK_FLUSH_ZERO): New macro.
22720         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22721         (_FP_CMP): Likewise.
22722         (_FP_CMP_EQ): Likewise.
22723         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22724         FP_DENORM_ZERO.
22725         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22726         (FP_TRUNC): Likewise.
22728         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22729         treated as invalid conversion, not as normal exponent.
22731         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22732         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22733         (_FP_CMP_EQ): Likewise.
22734         (_FP_CMP_UNORD): Likewise.
22735         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22736         (FP_CMP_EQ_D): Likewise.
22737         (FP_CMP_UNORD_D): Likewise.
22738         * soft-fp/extended.h (FP_CMP_E): Likewise.
22739         (FP_CMP_EQ_E): Likewise.
22740         (FP_CMP_UNORD_E): Likewise.
22741         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22742         (FP_CMP_EQ_Q): Likewise.
22743         (FP_CMP_UNORD_Q): Likewise.
22744         * soft-fp/single.h (FP_CMP_S): Likewise.
22745         (FP_CMP_EQ_S): Likewise.
22746         (FP_CMP_UNORD_S): Likewise.
22747         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22748         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22749         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22750         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22751         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22752         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22753         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22754         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22755         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22756         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22757         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22758         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22759         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22760         to FP_CMP_Q.
22761         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22762         FP_CMP_Q.
22763         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22764         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22765         FP_CMP_EQ_Q.
22766         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22767         FP_CMP_Q.
22768         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22769         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22770         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22771         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22772         FP_CMP_EQ_Q.
22773         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22774         FP_CMP_Q.
22775         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22776         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22777         FP_CMP_EQ_Q.
22778         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22779         FP_CMP_Q.
22780         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22781         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22782         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22783         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22784         FP_CMP_EQ_Q.
22786         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22787         a subnormal result, set the underflow exception if trapping on
22788         underflow is enabled.
22789         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22790         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22791         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22792         redefine to 0.
22793         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22794         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22795         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22796         * soft-fp/extendxftf2.c (__extendxftf2): Use
22797         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22799         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22800         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22801         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22802         FP_HANDLE_EXCEPTIONS.
22803         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22804         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22805         FP_HANDLE_EXCEPTIONS.
22806         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22807         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22808         FP_HANDLE_EXCEPTIONS.
22809         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22810         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22811         FP_HANDLE_EXCEPTIONS.
22813 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22815         [BZ #14132]
22816         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22817         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22818         use INTUSE.
22819         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22820         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22821         Remove alias.
22822         (__adjtimex): Define using libc_hidden_ver.
22823         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22824         Remove declaration.
22825         (ntp_gettime): Call __adjtimex directly.
22826         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22827         Remove declaration.
22828         (ntp_gettimex): Call __adjtimex directly.
22829         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22830         __adjtimex_internal alias.
22832 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22834         [BZ #17460]
22835         * nscd/nscd.c (more_help): Rewrite list of tables collection
22836         using xstrdup and asprintf.
22838         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22840 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22841             Roland McGrath  <roland@hack.frob.com>
22843         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22844         (do_lookup_unique): ... local function 'enter' here; update callers.
22846 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22848         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22849         compat_symbol calls on [SHARED].
22850         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22851         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22852         Remove.
22853         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22854         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22855         (oldsetrlimit): Remove.
22856         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22858         (lchown): New syscall entry.
22859         (oldsetrlimit): Remove.
22860         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22861         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22862         (oldsetrlimit): Remove.
22863         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22865         [BZ #14138]
22866         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22867         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22868         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22869         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22871         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22872         (fchown): Likewise.
22873         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22874         (fchown): Likewise.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22876         Likewise.
22878 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22881         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22882         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22883         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22884         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22885         Likewise.
22886         (__old_sem_post): Likewise.
22888 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22890         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22891         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22892         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22893         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22894         Use INLINE_VSYSCALL macro.
22895         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22896         __vdso_clock_gettime.
22897         * sysdeps/unix/sysv/linux/tile/init-first.c
22898         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22899         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22900         __vdso_clock_gettime.
22902         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22903         to set up frame more cleanly.
22905         * sysdeps/tile/memcmp.c: New file.
22907         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22909         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22910         * sysdeps/tile/tilegx/strcasestr.c: New file.
22911         * sysdeps/tile/tilegx/strnlen.c: New file.
22912         * sysdeps/tile/tilegx/strstr.c: New file.
22914         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22916 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22918         * nptl/tst-setuid3.c: Write errors to stdout.
22920 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22922         * elf/dl-deps.c
22923         (preload): New functions broken out of _dl_map_object_deps.
22924         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22926 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22928         [BZ #14138]
22929         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22930         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22932 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22934         * sysdeps/mips/strcmp.S: New.
22936 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22938         [BZ #14138]
22939         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22940         (linkat): Likewise.
22941         (mkdirat): Likewise.
22942         (readlinkat): Likewise.
22943         (renameat): Likewise.
22944         (symlinkat): Likewise.
22945         (unlinkat): Likewise.
22946         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22947         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22948         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22949         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22950         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22951         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22952         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22954 2014-09-30  Will Newton  <will.newton@linaro.org>
22956         * math/math.h: Define long double math functions if
22957         _LIBC_TEST is defined.
22958         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22960         * localedata/Makefile: Move assignment to tests-special
22961         into an ifdef testing run-built-tests.
22962         * timezone/Makefile: Likewise.
22964 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22966         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22967         with $(BASH) not $(SHELL).
22969 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22970             Matthew LeGendre  <legendre1@llnl.gov>
22972         [BZ #17411]
22973         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22974         l_reloc_result.
22976 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22978         * stdio-common/printf_fp.c
22979         (hack_digit): New function, broken out of ...
22980         (__printf_fp): ... local function here.  Update call sites.
22981         hack_digit now takes an additional parameter that is a pointer
22982         to a struct of the referenced locals.  Those locals moved inside
22983         the struct and references updated.
22985 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22987         * aclocal.m4: Require autoconf 2.69.
22988         * configure: Regenerated.
22989         * sysdeps/aarch64/configure: Likewise.
22990         * sysdeps/alpha/configure: Likewise.
22991         * sysdeps/arm/armv7/configure: Likewise.
22992         * sysdeps/arm/configure: Likewise.
22993         * sysdeps/ia64/configure: Likewise.
22994         * sysdeps/mach/configure: Likewise.
22995         * sysdeps/mips/configure: Likewise.
22996         * sysdeps/s390/configure: Likewise.
22997         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23000         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23001         file.
23002         * sysdeps/ia64/configure.ac: Likewise.
23004 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23007         specify symbol version for ld.so.  Do not include entry for
23008         libpthread.
23009         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23010         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23011         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23013         [BZ #14171]
23014         * Makeconfig [$(build-shared) = yes]
23015         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23016         makefiles.
23017         [$(build-shared) = yes && $(soversions.mk-done) = t]
23018         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23019         [$(build-shared) = yes && $(soversions.mk-done) = t]
23020         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23021         to Makerules.
23022         [$(build-shared) = yes && $(soversions.mk-done) = t]
23023         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23024         here.
23025         [$(build-shared) = yes && $(soversions.mk-done) = t]
23026         (common-generated): Don't append gnu/lib-names.h and
23027         gnu/lib-names.stmp here.
23028         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23029         (lib-names-h-abi): New variable.
23030         [$(build-shared) = yes && $(soversions.mk-done) = t]
23031         (lib-names-stmp-abi): Likewise.
23032         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23033         abi-variants] (before-compile): Append
23034         $(common-objpfx)$(lib-names-h-abi).
23035         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23036         abi-variants] (common-generated): Append gnu/lib-names.h.
23037         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23038         abi-variants] (install-others-nosubdir): Depend on
23039         $(inst_includedir)/$(lib-names-h-abi).
23040         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23041         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23042         [$(build-shared) = yes && $(soversions.mk-done) = t]
23043         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23044         [$(build-shared) = yes && $(soversions.mk-done) = t]
23045         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23046         [$(build-shared) = yes && $(soversions.mk-done) = t]
23047         (common-generated): Append $(lib-names-h-abi) and
23048         $(lib-names-stmp-abi).
23049         * scripts/lib-names.awk: Do not handle multi being set.
23050         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23051         Remove variable.
23052         (abi-lp64_be-ld-soname): Likewise.
23053         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23054         Likewise.
23055         (abi-hard-ld-soname): Likewise.
23056         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23057         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23058         Remove variable.
23059         (abi-o32_hard-ld-soname): Likewise.
23060         (abi-o32_soft_2008-ld-soname): Likewise.
23061         (abi-o32_hard_2008-ld-soname): Likewise.
23062         (abi-n32_soft-ld-soname): Likewise.
23063         (abi-n32_hard-ld-soname): Likewise.
23064         (abi-n32_soft_2008-ld-soname): Likewise.
23065         (abi-n32_hard_2008-ld-soname): Likewise.
23066         (abi-n64_soft-ld-soname): Likewise.
23067         (abi-n64_hard-ld-soname): Likewise.
23068         (abi-n64_soft_2008-ld-soname): Likewise.
23069         (abi-n64_hard_2008-ld-soname): Likewise.
23070         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23071         Likewise.
23072         (abi-64-v2-ld-soname): Likewise.
23073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23074         ld.so entries.
23075         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23076         variable.
23077         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23078         entry.
23079         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23080         variable.
23081         (abi-64-ld-soname): Likewise.
23082         (abi-x32-ld-soname): Likewise.
23083         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23084         entry.
23085         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23087 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23089         [BZ #14138]
23090         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23091         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23092         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23093         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23094         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23095         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23096         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23097         syscall entry for GLIBC_2.2 symbol version.
23098         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23099         Likewise.
23100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23101         (setrlimit): Likewise.
23102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23103         Likewise.
23105 2014-09-23  Will Newton  <will.newton@linaro.org>
23107         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23108         _LINUX_ARM_SYSDEP_H include guard too.
23109         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23110         define.
23112 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23114         * sysdeps/unix/sysv/linux/eventfd.c:
23115         Make first argument unsigned.
23116         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23117         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23119 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23121         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23122         * socket/sys/socket.h: Likewise.
23123         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23125 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23127         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23129 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23131         * time/tst-ftime.c: New test.
23132         * time/Makefile (tests): Add tst-ftime.
23134 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23136         * soft-fp/extended.h: Fix comment formatting.
23137         * soft-fp/op-1.h: Likewise.
23138         * soft-fp/op-2.h: Likewise.
23139         * soft-fp/op-4.h: Likewise.
23140         * soft-fp/op-8.h: Likewise.
23141         * soft-fp/op-common.h: Likewise.
23142         * soft-fp/soft-fp.h: Likewise.
23144         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23146 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23148         [BZ #6652]
23149         * Makeconfig (soversions-default-setname): Remove variable.
23150         ($(common-objpfx)soversions.i): Don't pass default_setname to
23151         soversions.awk.
23152         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23153         oldest_abi to abi-versions.awk.
23154         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23155         * config.make.in (oldest-abi): Remove variable.
23156         * configure.ac (--enable-oldest-abi): Remove configure option.
23157         * configure: Regenerated.
23158         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23159         text.
23160         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23161         * scripts/soversions.awk: Do not handle default_setname variable.
23162         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23163         variable.
23164         * sysdeps/mach/hurd/configure: Regenerated.
23165         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23166         variable.
23167         * sysdeps/unix/sysv/linux/configure: Regenerated.
23169 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23171         * elf/Makefile (CFLAGS-interp.c): Remove.
23172         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23173         path string.
23174         * elf/interp.c: Include generated runtime-linker.h
23176         * Makerules (lib%.so): Don't include $(+interp) in
23177         prerequisites.
23178         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23179         * dlfcn/eval.c: Remove file.
23181         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23182         macros.
23184         [BZ #17266]
23185         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23186         4.2 and newer.
23188         [BZ #17370]
23189         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23191 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23192             Jakub Jelinek  <jakub@redhat.com>
23194         [BZ #17266]
23195         * libio/stdio.h: Check definition of __fortify_function
23196         instead of __extern_always_inline to include bits/stdio2.h.
23197         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23198         check if __extern_always_inline is defined.
23199         [__USE_MISC || __USE_XOPEN]: Likewise.
23200         [__USE_ISOC99] Likewise.
23201         * misc/sys/cdefs.h (__fortify_function): Define only if
23202         __extern_always_inline is defined.
23203         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23204         __extern_always_inline and __extern_inline only for g++-4.3
23205         and newer or a compatible gcc.
23207 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23209         [BZ #17371]
23210         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23211         last change to handle zero prefix length.
23213 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23215         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23216         _SC_REGEX_VERSION.
23218         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23219         _POSIX_RAW_SOCKETS.
23221 2014-09-13  Allan McRae  <allan@archlinux.org>
23223         * po/ru.po: Update Russian translation from translation project.
23225 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23227         * locale/programs/locale.c (show_locale_vars): Inline local function
23228         into its sole call site.  Clean up some style nits.
23229         (print_item): New function, broken out of ...
23230         (show_info): ... local function here.  Clean up style nits.
23232         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23233         out of ...
23234         (set_class_defaults): ... local function set_default here.
23235         Define set_default as a macro locally to pass constant parameters.
23236         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23237         rather than a shared local.
23239         * stdlib/rpmatch.c (try): New function, broken out of ...
23240         (rpmatch): ... local function here.  Also, prototypify definition.
23242 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23244         * scripts/soversions.awk: Do not handle configuration names.
23245         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23246         vendor and os variables to soversions.awk.
23247         * configure.ac: Do not modify gnu-* host_os.
23248         * configure: Regenerated
23249         * shlib-versions: Remove first column with configuration names.
23250         * nptl/shlib-versions: Likewise.
23251         * nptl_db/shlib-versions: Likewise.
23252         * sysdeps/hppa/shlib-versions: Likewise.
23253         * sysdeps/m68k/shlib-versions: Likewise.
23254         * sysdeps/mach/hurd/shlib-versions: Likewise.
23255         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23256         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23257         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23258         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23259         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23260         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23261         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23262         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23264         Likewise.
23265         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23266         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23267         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23268         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23269         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23270         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23271         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23272         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23275         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23277         Regenerated.
23278         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23280         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23282         * shlib-versions: Remove OS-specific entries.  Moved to files in
23283         sysdeps.
23284         * sysdeps/mach/hurd/shlib-versions: New file.
23285         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23287         * nptl/shlib-versions: Remove architecture-specific entries.
23288         Moved to files in sysdeps.
23289         * shlib-versions: Likewise.
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23291         file.
23292         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23293         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23294         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23295         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23297         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23298         (UDP_NO_CHECK6_RX): Likewise.
23300 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23302         * sysdeps/posix/sysconf.c (__sysconf): Spell
23303         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23305 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23307         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23308         loading.
23309         * iconv/Versions (__gconv_transliterate): Export for use from
23310         gconv modules.
23311         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23312         (struct __gconv_trans_data, __gconv_trans_fct,
23313         __gconv_trans_context_fct, __gconv_trans_query_fct,
23314         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23315         definitions.
23316         (struct __gconv_step_data): Remove __trans member.
23317         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23318         longer hidden.  Remove unused trans_data argument.
23319         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23320         (__gconv_translit_find): Remove declaration.
23321         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23322         prototype.
23323         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23324         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23325         trans_data argument.  Add hidden definition.
23326         (__gconv_translit_find): Remove.
23327         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23328         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23329         * iconv/skeleton.c: Remove transliteration initialization.
23330         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23331         __gconv_step_data initialization.
23332         * libio/iofwide.c (__libio_translit_): Remove.
23333         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23334         * wcsmbs/btowc.c (__btowc): Likewise.
23335         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23336         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23337         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23338         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23339         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23340         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23341         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23342         * wcsmbs/wctob.c (wctob): Likewise.
23344 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23346         [BZ #16194]
23347         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23348         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23349         register usage.
23350         * sysdeps/x86/Makefile: Adjust.
23352 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23353             Roland McGrath  <roland@hack.frob.com>
23355         * locale/weight.h: Add include guard.
23356         (findidx): Make static rather than auto; take new parameters
23357         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23358         * locale/weightwc.h: Likewise.
23359         * posix/fnmatch_loop.c
23360         (FCT): Change type of EXTRA from int32_t to wint_t.
23361         Don't include either header inside the function.
23362         Call FINDIDX rather than findidx, and pass new arguments.
23363         #undef FINDIDX at the end of the file.
23364         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23365         FINDIDX before including fnmatch_loop.c for the non-wide version.
23366         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23367         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23368         for the wide version.
23369         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23370         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23371         Pass new arguments to findidx.
23372         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23373         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23374         Don't #include it inside the function.  Pass new arguments to findidx.
23375         * posix/regex_internal.h
23376         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23377         (re_string_elem_size_at): Don't #include it inside the function.
23378         Pass new arguments to findidx.
23379         * string/strcoll_l.c: #include WEIGHT_H at top level.
23380         (get_next_seq): Don't #include it inside the function.
23381         Pass new arguments to findidx.
23382         (get_next_seq_nocache): Likewise.
23383         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23384         (STRXFRM): Don't #include it inside the function.
23385         Pass new arguments to findidx.
23387 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23389         [BZ #17344]
23390         * malloc/malloc.c (unlink): Turn asserts into a call to
23391         malloc_printerr.
23393 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23395         [BZ #17370]
23396         * libio/wfileops (do_ftell_wide): Free OUT.
23398 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23400         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23402 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23404         [BZ #17363]
23405         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23406         group if the current group is empty.
23408 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23410         * benchtests/bench-memset.c (test_main): Add more test from size
23411         from 32 to 512 bytes.
23412         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23413         Add POWER8 memset object.
23414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23415         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23416         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23417         implementation.
23418         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23419         Likewise.
23420         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23421         multiarch POWER8 memset optimization.
23422         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23423         POWER8 memset optimization.
23425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23426         Remove bzero multiarch objects.
23427         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23428         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23429         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23430         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23431         Remove define.
23432         [__bzero]: Redefine to specific name.
23433         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23434         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23435         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23436         define.
23437         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23438         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23440 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23442         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23443         warnings into errors.
23445         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23446         __cxa_thread_atexit_impl prototype.
23448 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23450         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23451         Fix capitalization of error message.
23453 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23455         * sysdeps/mips/preconfigure: Modify ABI tests.
23457 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23459         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23461 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23462             Carlos O'Donell  <carlos@systemhalted.org>
23464         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23465         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23466         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23467         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23468         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23469         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23470         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23471         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23472         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23473         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23475         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23477         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23478         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23479         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23481         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23482         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23483         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23484         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23485         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23486         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23487         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23488         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23489         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23490         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23491         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23492         Deconditionalize the code that was previously under [RESET_PID].
23493         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23494         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23495         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23496         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23497         include sysdep.h.
23499 2014-09-08  Allan McRae  <allan@archlinux.org>
23501         * version.h (RELEASE): Set to "development".
23502         (VERSION): Set to "2.20.90"
23504 2014-09-07  Allan McRae  <allan@archlinux.org
23506         * version.h (RELEASE): Set to "stable".
23507         (VERSION): Set to "2.20"
23508         * include/features.h (__GLIBC_MINOR__): Set to 20.
23510         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23511         Liebler.
23513         * po/ko.po: Update Korean translation from translation project.
23515 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23517         [BZ #17354]
23518         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23519         macro for handling signed relocations.
23521 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23523         [BZ #17325]
23524         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23525         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23526         assert.
23527         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23528         * iconvdata/ibm935.c (BODY): Likewise.
23529         * iconvdata/ibm937.c (BODY): Likewise.
23530         * iconvdata/ibm939.c (BODY): Likewise.
23531         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23532         assert.
23533         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23534         script.
23535         * iconvdata/run-iconv-test.sh: New test loop for checking for
23536         decoder crashers.
23538 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23541         libm_hidden_ver.
23543 2014-09-01  Allan McRae  <allan@archlinux.org>
23545         * po/eo.po: Update Esperanto translation from translation project.
23547         * po/ca.po: Update Catalan translation from translation project.
23549 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23551         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23552         __proc_dostop call.
23554 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23556         [BZ #17319]
23557         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23558         to call set_thread_area instead of hand written asm.
23559         (__NR_set_thread_area): Removed define.
23560         (TLS_FLAG_WRITABLE): Likewise.
23561         (__ASSUME_SET_THREAD_AREA): Remove check.
23562         (TLS_EBX_ARG): Remove define.
23563         (TLS_LOAD_EBX): Likewise.
23565 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23567         Simplify atomicity of socket creation in bind.
23569         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23570         looking up the name after linking the file.
23572 2014-08-27  Allan McRae  <allan@archlinux.org>
23574         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23576 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23578         [BZ #17187]
23579         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23580         trans_compare, open_translit, __gconv_translit_find):
23581         Remove module loading code.
23583 2014-08-26  Allan McRae  <allan@archlinux.org>
23585         * po/vi.po: Update Vietnamese translation from translation project.
23587         * po/uk.po: Update Ukrainian translation from translation project.
23589         * po/fr.po: Update French translation from translation project.
23591         * po/ru.po: Update Russian translation from translation project.
23593         * po/pl.po: Update Polish translation from translation project.
23595         * po/cs.po: Update Czech translation from translation project.
23597         * po/de.po: Update German translation from translation project.
23599         * po/bg.po: Update Bulgarian translation from translation project.
23601         * po/sv.po: Update Sweedish translation from translation project.
23603         * po/nl.po: Update Dutch translation from translation project.
23605         * po/es.po: Update Spanish translation from translation project.
23607 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23609         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23611         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23612         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23613         (CPPFLAGS-iconvconfig): Likewise.
23614         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23616         * include/libc-symbols.h: Remove unnecessary check for
23617         NOT_IN_libc.
23618         * nptl/pthreadP.h: Likewise.
23619         * sysdeps/aarch64/setjmp.S: Likewise.
23620         * sysdeps/alpha/setjmp.S: Likewise.
23621         * sysdeps/arm/sysdep.h: Likewise.
23622         * sysdeps/i386/setjmp.S: Likewise.
23623         * sysdeps/m68k/setjmp.c: Likewise.
23624         * sysdeps/posix/getcwd.c: Likewise.
23625         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23627         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23628         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23629         * sysdeps/sh/sh3/setjmp.S: Likewise.
23630         * sysdeps/sh/sh4/setjmp.S: Likewise.
23631         * sysdeps/unix/alpha/sysdep.h: Likewise.
23632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23634         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23635         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23640         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23643         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23645         * sysdeps/x86_64/setjmp.S: Likewise.
23647 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23649         [BZ #17263]
23650         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23651         <stdint.h>.
23652         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23653         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23655 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23657         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23659         [BZ #17262]
23660         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23661         and __x86_64__ when disabling x87 inline functions.
23663 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23665         [BZ #17259]
23666         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23667         asm statement with __cpuid_count.
23669 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23671         * configure.ac: Change __ehdr_start code to dereference the struct.
23672         Run readelf on the output to look for relocations.
23673         * configure: Regenerated.
23675 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23677         [BZ #17261]
23678         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23679         value to 0.
23680         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23682 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23684         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23686 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23688         [BZ #16892]
23689         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23690         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23692 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23694         * malloc/malloc.c: Fix typo in comment.
23696 2014-08-09  Allan McRae  <allan@archlinux.org>
23698         * Regenerate libc.po.
23700 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23702         * intl/tst-gettext2.sh: Check every lang file for creation.
23704 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23706         * sysdeps/aarch64/fpu/math_private.h
23707         (libc_feholdsetround_noex_aarch64_ctx): New function.
23709 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23711         * sysdeps/arm/armv6/strcpy.S (strcpy):
23712         Fix performance issue in misaligned cases.
23714 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23716         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23717         Move definition from termios.h.
23718         (struct termio): Likewise.
23719         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23720         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23721         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23722         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23723         Likewise.
23724         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23725         Move definition to ioctl-types.h
23726         (struct termio): Likewise.
23727         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23728         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23729         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23730         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23731         Likewise.
23733 2014-08-05  Richard Henderson  <rth@redhat.com>
23735         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23736         exceptions.
23737         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23738         Add fraiseexcpt.
23739         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23740         Use __feraiseexcept.
23741         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23742         Protect libm symbols with IS_IN_libm.
23744         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23746 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23748         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23750 2014-08-04  Will Newton  <will.newton@linaro.org>
23752         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23753         file.
23755 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23757         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23758         variants for each function.
23760 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23762         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23763         appended ...
23764         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23765         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23766         appended ...
23767         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23768         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23769         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23770         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23771         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23772         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23773         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23774         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23775         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23776         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23777         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23778         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23779         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23780         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23781         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23782         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23783         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23784         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23785         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23786         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23787         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23788         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23789         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23790         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23791         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23792         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23793         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23794         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23795         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23796         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23797         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23798         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23799         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23800         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23801         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23802         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23803         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23804         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23805         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23806         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23807         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23808         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23809         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23810         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23811         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23812         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23813         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23814         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23815         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23816         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23817         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23818         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23819         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23820         Update #include.
23821         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23822         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23824 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23826         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23827         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23828         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23829         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23830         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23831         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23833 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23835         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23836         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23837         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23838         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23840 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23842         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23843         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23844         (__libc_vfork): Define function under this name.
23845         (__vfork): Define as an alias.
23846         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23847         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23851         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23852         that was previously under [RESET_PID].
23853         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23855 2014-08-04  Andreas Schwab  <schwab@suse.de>
23857         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23859 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23861         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23862         (main): Likewise.
23864 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23866         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23868 2014-08-01  Richard Henderon  <rth@redhat.com>
23870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23871         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23872         typo in exact zero test.
23873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23874         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23877 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23879         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23880         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23881         * sysdeps/arm/sysdep.h: ... here.
23882         [!__ASSEMBLER__]: Include <stdint.h>.
23884 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23886         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23887         (HAVE_WCTYPE_H): Likewise.
23888         (HAVE_ISWCTYPE): Likewise.
23889         (ENABLE_NLS): Likewise.
23890         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23891         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23893         * posix/regex_internal.c: Check if DEBUG is defined and is
23894         set.
23896         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23897         (HAVE_MBSRTOWCS): Likewise.
23898         * posix/fnmatch.c: Include string.h unconditionally.
23900 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23902         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23903         reversal.
23905 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23907         * sysdeps/generic/safe-fatal.h: New file.
23908         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23909         * nptl/forward.c: Include it.
23910         (__pthread_unwind): Use __safe_fatal as default action, rather
23911         than a bogus use of INTERNAL_SYSCALL that could never work.
23913         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23914         * configure.ac (libc_cv_builtin_trap): New test.
23915         * configure: Regenerated.
23916         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23917         (ABORT_INSTRUCTION): Define using __builtin_trap.
23919         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23920         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23921         * sysdeps/nptl/nptl-signals.h: New file.
23922         * nptl/pthreadP.h: Include <nptl-signals.h>.
23924 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23926         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23927         (ONE_DIRECTION): Define.
23928         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23929         (ONE_DIRECTION): Define.
23930         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23931         (ONE_DIRECTION): Define.
23933 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23935         * sysdeps/s390/Makefile: Delete file.
23936         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23937         * sysdeps/s390/__longjmp.c: Delete file.
23938         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23939         Remove fields __flags and __reserved.
23940         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23941         and add versioning.
23942         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23943         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23944         * sysdeps/s390/rtld-setjmp.S: Likewise.
23945         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23946         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23947         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23948         * sysdeps/s390/s390-32/setjmp.S: ... here.
23949         Add versioning.
23950         (__sigsetjmp): Remove setting __flags field.
23951         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23952         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23953         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23954         * sysdeps/s390/s390-64/setjmp.S: ... here.
23955         Add versioning.
23956         (__sigsetjmp): Remove setting __flags field.
23957         * sysdeps/s390/setjmp.S: Delete file.
23958         * sysdeps/s390/sigjmp.c: Likewise.
23959         * sysdeps/s390/v1-longjmp.c: Likewise.
23960         * sysdeps/s390/v1-setjmp.h: Likewise.
23961         * sysdeps/s390/v1-sigjmp.c: Likewise.
23962         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23963         Remove v1-longjmp_chk.
23964         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23965         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23966         Include debug/longjmp_chk.c and add versioning.
23967         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23968         Include nptl/pt-longjmp.c and add versioning.
23969         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23970         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23971         Include __longjmp.c.
23972         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23973         Move to ...
23974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23975         (__getcontext): Remove setting __flags field.
23976         Add versioning.
23977         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23978         Don't restore upper high grps.
23979         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23980         Likewise.
23981         (__swapcontext): Remove setting uc_flags field.
23982         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23983         Delete file.
23984         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23985         Include __longjmp.c.
23986         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23987         Move to ...
23988         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23989         (__getcontext): Remove setting __flags field.
23990         Add versioning.
23991         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23992         (__swapcontext): Remove setting uc_flags field.
23993         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23994         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23995         Remove fields uc_high_gprs and __reserved.
23996         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23997         New file with reverted content.
23998         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23999         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24000         Regenerated.
24001         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24002         Regenerated.
24004 2014-07-31  Andreas Schwab  <schwab@suse.de>
24006         * config.h.in (HAVE_IFUNC): Define to 0.
24007         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24008         definedness.
24010 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24013         memmove-avx-unaligned, memcpy-avx-unaligned and
24014         mempcpy-avx-unaligned.
24015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24016         Add tests for AVX memcpy functions.
24017         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24018         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24019         memcpy_chk.
24020         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24021         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24022         memmove_chk.
24023         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24024         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24025         mempcpy_chk.
24026         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24027         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24028         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24030 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24032         [BZ #17213]
24033         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24034         powerpc64le.
24036 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24038         [BZ #16839]
24039         * manual/llio.texi: Add section about open file description locks.
24040         * manual/examples/ofdlocks.c: Example of open file description
24041         lock usage.
24042         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24043         F_OFD_SETLK, and F_OFD_SETLKW.
24045 2014-07-23  Allan McRae  <allan@archlinux.org>
24047         * po/es.po: Update Spanish translation from translation project.
24049 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24051         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24053 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24055         [BZ #17078]
24056         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24057         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24058         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24060 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24062         [BZ #17088]
24063         * math/fesetenv.c (__fesetenv)
24064         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24065         * math/feupdateenv.c (__feupdateenv)
24066         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24068         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24069         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24070         (__ASSUME_SOCKETCALL): Do not define.
24072         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24073         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24074         (__ASSUME_SOCKETCALL): Do not define.
24075         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24076         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24077         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24078         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24079         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24080         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24082         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24084         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24085         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24086         (__ASSUME_SOCKETCALL): Do not define.
24087         (__ASSUME_IPC64): Define unconditionally.
24088         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24089         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24090         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24091         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24092         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24094         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24095         Likewise.
24097         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24098         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24099         (__ASSUME_SOCKETCALL): Do not define.
24100         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24101         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24102         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24103         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24104         (__ASSUME_REQUEUE_PI): Define unconditionally.
24105         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24106         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24107         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24108         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24109         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24110         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24112         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24113         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24114         (__ASSUME_SOCKETCALL): Do not define.
24115         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24116         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24117         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24118         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24120         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24122         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24123         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24124         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24125         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24127         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24129         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24130         (__ASSUME_GETCPU_SYSCALL): Likewise.
24132         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24133         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24134         cases for individual architectures.
24135         * sysdeps/gnu/configure: Regenerated.
24136         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24137         LIBC_SLIBDIR_RTLDDIR.
24138         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24139         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24140         LIBC_SLIBDIR_RTLDDIR.
24141         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24143         LIBC_SLIBDIR_RTLDDIR.
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24145         Regenerated.
24146         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24147         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24148         file.
24149         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24150         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24151         file.
24152         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24153         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24154         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24155         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24157         * sysdeps/aarch64/shlib-versions: Move to ...
24158         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24159         * sysdeps/alpha/shlib-versions: Move to ...
24160         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24161         * sysdeps/arm/shlib-versions: Move to ...
24162         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24163         * sysdeps/hppa/shlib-versions: Move all contents except for
24164         libgcc_s entry to ...
24165         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24166         entry from ...
24167         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24168         * sysdeps/ia64/shlib-versions: Move to ...
24169         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24170         entry from ...
24171         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24172         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24173         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24174         * sysdeps/microblaze/shlib-versions: Move to ...
24175         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24176         * sysdeps/mips/shlib-versions: Move to ...
24177         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24178         entry from ...
24179         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24180         * sysdeps/tile/shlib-versions: Move to ...
24181         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24182         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24183         from ...
24184         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24185         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24186         entry from ...
24187         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24189 2014-07-17  Will Newton  <will.newton@linaro.org>
24191         * sysdeps/arm/bits/atomic.h
24192         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24193         (__arch_compare_and_exchange_bool_16_int): Likewise.
24194         (__arch_compare_and_exchange_bool_64_int): Likewise.
24196         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24197         into an #else block.
24199 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24201         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24202         just Linux configurations.  Test empirically that the compiler sets
24203         __ARM_EABI__, rather than using the tuple to decide.
24204         * sysdeps/arm/preconfigure: Regenerated.
24205         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24206         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24207         contents appended ...
24208         * sysdeps/arm/configure.ac: ... here.
24209         * sysdeps/arm/configure: Regenerated.
24211 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24213         * nptl/pthread_kill.c: New file.
24214         * nptl/pthread_sigmask.c: New file.
24215         * nptl/pthread_sigqueue.c: New file.
24217         * sysdeps/nptl/lowlevellock.h: New file.
24218         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24219         * sysdeps/nptl/lowlevellock-futex.h: New file.
24221         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24222         Remove dead declarations.
24224 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24226         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24227         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24228         config-cflags-avx2.
24229         * sysdeps/x86_64/configure.ac: Likewise.
24230         * sysdeps/i386/configure: Regenerated.
24231         * sysdeps/x86_64/configure: Likewise.
24232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24233         memset-avx2 only if config-cflags-avx2 is yes.
24234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24235         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24236         defined.
24237         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24238         only if HAVE_AVX2_SUPPORT is defined.
24239         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24241 2014-07-14  Alan Modra  <amodra@gmail.com>
24243         [BZ #17153]
24244         * elf/elf.h (DT_PPC64_NUM): Correct value.
24245         * NEWS: Add to fixed bug list.
24247 2014-07-13  Jim Meyering  <meyering@fb.com>
24249         [BZ 17150]
24250         regex: don't deref NULL upon heap allocation failure
24251         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24252         failure in one more place.
24253         To trigger the segfault, configure grep -with-included-regex,
24254         build it, and run these commands:
24255         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24257 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24259         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24261 2014-07-11  Richard Henderson  <rth@redhat.com>
24263         * sysdeps/aarch64/libm-test-ulps: Update.
24265 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24267         [BZ #17135]
24268         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24269         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24270         (__nptl_setxid): Initialize error member.  Call
24271         __nptl_setxid_error.
24272         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24273         * nptl/descr.h (struct xid_command): Add error member.
24274         * nptl/tst-setuid3.c: New file.
24275         * nptl/Makefile (tests): Add it.
24277 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24279         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24280         New define.
24281         (__lll_trylock): Use __lll_base_trylock.
24282         (__lll_cond_trylock): Likewise.
24284 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24286         * nptl/pthread_create.c (start_thread): Use atomic_or and
24287         lll_futex_wake directly rather than lll_robust_dead.
24288         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24289         (lll_robust_dead): Macro removed.
24290         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24291         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24292         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24293         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24295         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24296         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24297         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24298         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24299         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24300         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24301         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24302         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24303         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24306         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24307         Use atomic_compare_and_exchange_val_acq directly rather than
24308         lll_robust_trylock.
24309         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24310         (__lll_robust_trylock, lll_robust_trylock): Removed.
24311         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24312         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24313         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24315         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24316         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24317         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24318         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24320         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24321         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24323         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24326 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24328         * manual/locale.texi (Locale Names): New section documenting
24329         locale name syntax.  Adjust menu and node chaining accordingly.
24330         (Choosing Locale): Reference Locale Names, Locale Categories.
24331         Mention setting LC_ALL=C.  Reflect that name syntax is now
24332         documented.
24333         (Locale Categories): New section title.  Reference Locale Names.
24334         LC_ALL is an environment variable, but not a category.
24335         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24336         description, now in Locale Name.  Reference that section.  Locale
24337         name syntax is now documented.
24339 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24341         [BZ #17137]
24342         * locale/findlocale.c (name_present, valid_locale_name): New
24343         functions.
24344         (_nl_find_locale): Use the loc_name variable to store name
24345         candidates.  Call name_present and valid_locale_name to check and
24346         validate locale names.  Return an error if the locale is invalid.
24348 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24350         * locale/setlocale.c (setlocale): Use strdup for allocating
24351         composite name copy.
24353 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355         Sync up with gnulib.
24356         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24357         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24358         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24359         and _GL_ARG_NONNULL.
24360         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24361         [!_LIBC]: Include code for Windows and Cygwin.
24362         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24363         Include prototype for int strerror_r.
24364         [!_LIBC] (is_open): New function.
24365         (flush_stdout): New function.
24366         (print_errno_message): Use it.
24367         (error): Likewise.
24368         (error_at_line): Likewise.
24369         (error_tail) Add function attribute macros.  Use
24370         __builtin_expect.
24372         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24374         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24376         * io/ftw.c: Include sys/param.h unconditionally.
24378         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24380         [BZ #17125]
24381         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24382         libc_freeres_ptr.
24383         (freecache): New function to free CACHE on exit.
24385         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24386         initialization.
24388 2014-07-09  David S. Miller  <davem@davemloft.net>
24390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24392         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24393         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24394         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24395         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24396         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24397         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24398         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24399         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24400         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24401         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24402         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24403         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24404         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24406 2014-07-09  Andreas Schwab  <schwab@suse.de>
24408         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24409         output.
24410         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24411         (do_test): Likewise.
24413         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24415 2014-07-09  Will Newton  <will.newton@linaro.org>
24417         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24418         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24419         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24420         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24421         * sysdeps/hppa/start.S (_start): Likewise.
24423 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24425         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24427         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24428         defined.
24430 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24432         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24433         after checking that it is non-NULL.
24435         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24437 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24439         * sysdeps/powerpc/memmove.c: Remove file.
24440         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24441         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24442         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24443         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24444         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24445         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24446         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24447         string memmove instead of removed powerpc one.
24449         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24450         [weak_alias]: Fix compiler warning due trailing data.
24451         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24452         [weak_alias]: Likewise.
24453         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24454         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24457         (__libc_ifunc_impl_list): Add memmove functions.
24459 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24461         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24462         Remove code.
24463         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24464         Likewise.
24465         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24466         Likewise.
24467         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24468         Likewise.
24469         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24470         Likewise.
24471         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24472         Likewise.
24473         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24474         Likewise.
24475         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24476         Likewise.
24477         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24478         Likewise.
24479         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24480         Likewise.
24481         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24482         Likewise.
24483         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24484         Likewise.
24485         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24486         Likewise.
24487         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24488         Likewise.
24489         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24490         Likewise.
24491         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24492         Likewise.
24493         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24494         Likewise.
24496 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24498         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24499         to avoid alignment traps in non-cacheable memory.
24500         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24503         multiarch objects.
24504         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24505         file: multiarch power7 memmove.
24506         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24507         multiarch default memmove.
24508         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24509         multiarch memove for powerpc32/power4.
24511         * string/bcopy.c: Use full path to include memmove.c.
24512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24513         multiarch objects.
24514         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24515         bcopy for powerpc64.
24516         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24517         bcopy for powerpc64.
24518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24519         and memmove implementations.
24520         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24521         optimized multiarch memmove for POWER7/powerpc64.
24522         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24523         default multiarch memmove for powerpc64.
24524         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24525         multiarch for powerpc64.
24526         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24527         for POWER7/powerpc64.
24528         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24529         memmove for POWER7/powerpc64.
24531         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24532         glibc default one.
24534         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24535         __ELF_NATIVE_CLASS equal to 64.
24537 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24539         * sysdeps/nptl/lowlevellock.h: File removed.
24541         * NEWS: NPTL is no longer an add-on!
24542         * nptl/internaltypes.h: Moved ...
24543         * sysdeps/nptl/internaltypes.h: ... here.
24544         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24545         * sysdeps/nptl/fork.c: Likewise.
24546         * sysdeps/nptl/gai_misc.h: Likewise.
24547         * sysdeps/nptl/librt-cancellation.c: Likewise.
24548         * sysdeps/nptl/jmp-unwind.c: Likewise.
24549         * sysdeps/nptl/setxid.h: Likewise.
24550         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24551         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24552         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24553         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24554         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24555         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24556         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24557         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24558         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24559         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24560         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24561         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24562         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24563         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24564         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24565         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24566         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24567         * nptl/Makeconfig: Moved ...
24568         * sysdeps/nptl/Makeconfig: ... here.
24569         * nptl/configure: File removed.
24570         * nptl/ANNOUNCE: File removed.
24571         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24572         * sysdeps/unix/sysv/linux/configure: Regenerated.
24574         * nptl/Makefile (routines): Add libc_pthread_init,
24575         libc_multiple_threads, register-atfork and unregister-atfork.
24576         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24577         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24578         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24579         pthread-pi-defines.sym, structsem.sym.
24580         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24581         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24582         [$(subdir) = nptl] (tests): Add tst-setgetname.
24583         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24584         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24585         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24586         [!LIBC_SIGACTION]: Remove aliases.
24587         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24588         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24589         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24590         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24591         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24592         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24593         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24595         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24596         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24597         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24598         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24599         __libc_allocate_rtsig_private.
24600         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24601         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24602         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24603         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24604         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24605         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24606         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24607         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24608         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24609         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24610         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24611         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24612         * nptl/internaltypes.h: ... here.
24613         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24614         * sysdeps/nptl/jmp-unwind.c: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24616         * nptl/libc-lowlevellock.c: ... here.
24617         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24618         * nptl/libc_multiple_threads.c: ... here.
24619         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24620         * nptl/libc_pthread_init.c: ... here.
24621         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24622         * nptl/lowlevelbarrier.sym: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24624         * nptl/lowlevelcond.sym: ... here.
24625         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24626         * nptl/lowlevellock.c: ... here.
24627         * nptl/lowlevellock.h: Moved ...
24628         * sysdeps/nptl/lowlevellock.h: ... here.
24629         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24630         * nptl/lowlevelrobustlock.c: ... here.
24631         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24632         * nptl/lowlevelrobustlock.sym: ... here.
24633         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24634         * nptl/lowlevelrwlock.sym: ... here.
24635         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24636         * nptl/pt-fork.c: ... here.
24637         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24638         * nptl/pthread-pi-defines.sym: ... here.
24639         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24640         * nptl/pthread_attr_getaffinity.c: ... here.
24641         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24642         * nptl/pthread_attr_setaffinity.c: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24644         * nptl/pthread_mutex_cond_lock.c: ... here.
24645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24646         Update #include.
24647         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24648         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24649         * nptl/pthread_once.c: ... here, replacing old file.
24650         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24651         * nptl/pthread_yield.c: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24653         * nptl/register-atfork.c: ... here.
24654         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24655         * nptl/sem_post.c: ... here.
24656         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24657         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24658         * nptl/sem_timedwait.c: ... here.
24659         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24660         * nptl/sem_trywait.c: ... here.
24661         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24662         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24663         * nptl/sem_wait.c: ... here.
24664         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24665         * nptl/structsem.sym: ... here.
24666         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24667         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24668         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24669         * nptl/unregister-atfork.c: ... here.
24670         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24671         * nptl/unwindbuf.sym: ... here.
24672         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24673         * sysdeps/nptl/fork.c: ... here.
24674         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24675         * sysdeps/nptl/fork.h: ... here.
24676         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24677         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24678         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24679         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24680         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24681         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24682         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24683         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24684         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24685         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24686         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24687         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24688         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24689         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24690         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24691         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24692         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24693         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24694         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24695         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24696         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24697         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24698         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24699         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24700         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24701         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24702         * sysdeps/unix/sysv/linux/raise.c: ... here.
24703         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24704         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24705         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24706         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24707         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24708         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24709         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24710         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24711         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24712         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24713         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24714         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24715         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24716         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24717         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24719 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24721         * sysdeps/generic/memcopy.h: Add comment for
24722         MEMCPY_OK_FOR_FWD_MEMMOVE.
24724 2014-07-04  Will Newton  <will.newton@linaro.org>
24726         * string/memchr.c: Merge from gnulib.
24727         [_LIBC]: Remove conditionals.
24728         (__ptr_t): Remove define.
24729         (LONG_MAX_32_BITS): Likewise.
24730         (LONG_MAX): Likewise.
24731         (MEMCHR): Use ANSI prototype and optimize algorithm.
24733         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24735 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24737         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24738         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24740         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24741         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24742         in a bare environment with no <stdlib.h> installed.
24743         * sysdeps/nptl/configure: Regenerated.
24745         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24747         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24748         AC_EGREP_CPP for kernel header checks, so they only succeed if
24749         including <linux/version.h> actually works right.
24750         * sysdeps/unix/sysv/linux/configure: Regenerated.
24752         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24753         value so it's not diagnosed as unused.
24755         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24756         thing) with "ifeq ($(subdir),rt)".
24758 2014-07-03  Richard Henderson  <rth@redhat.com>
24760         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24761         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24762         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24764         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24765         (math_force_eval): New.
24767         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24768         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24770         * sysdeps/alpha/fpu/s_round.c: Remove file.
24771         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24773         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24774         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24775         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24776         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24777         (_dl_start, print_statistics): Likewise.
24778         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24779         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24781         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24782         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24783         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24784         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24786         (HP_SMALL_TIMING_AVAIL): Define.
24787         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24788         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24789         (HP_SMALL_TIMING_AVAIL): Define.
24790         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24791         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24793         * sysdeps/aarch64/hp-timing.h: New file.
24795         * sysdeps/generic/hp-timing.h: Remove dead comment.
24796         * sysdeps/generic/hp-timing-common.h: New file.
24797         * sysdeps/alpha/hp-timing.h: Include it.
24798         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24799         * sysdeps/i386/i686/hp-timing.h: Likewise.
24800         * sysdeps/ia64/hp-timing.h: Likewise.
24801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24802         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24804         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24805         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24806         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24807         (hp_timing_t): New.
24809         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24810         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24811         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24812         * elf/rtld.c (_dl_start_final): Likewise.
24813         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24814         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24815         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24816         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24817         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24819         (HP_TIMING_DIFF_INIT): Remove.
24820         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24822         (HP_TIMING_DIFF_INIT): Remove.
24823         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24824         * sysdeps/i386/i686/hp-timing.c: Remove file.
24825         * sysdeps/x86_64/hp-timing.c: Remove file.
24826         * sysdeps/ia64/hp-timing.c: Remove file.
24827         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24828         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24829         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24830         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24832         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24833         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24834         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24835         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24836         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24837         (HP_TIMING_ACCUM): Remove.
24838         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24839         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24840         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24842         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24843         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24844         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24845         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24846         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24847         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24848         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24849         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24851         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24853 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24855         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24857 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859         Sync up with gettext.
24860         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24861         [_MSC_VER]: Include malloc.h
24862         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24863         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24864         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24865         TEMP_FAILURE_RETRY.  Cast return of alloca.
24866         [!_LIBC] Call gl_rwlock_init.
24867         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24869 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24871         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24872         before checking its value.
24874 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24876         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24878         * debug/memcpy_chk.c: Don't include pagecopy.h.
24879         * debug/mempcpy_chk.c: Likewise.
24880         * string/memcpy.c: Likewise.
24881         * string/memmove.c: Likewise.
24882         * sysdeps/powerpc/memmove.c: Likewise.
24883         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24884         definition of PAGE_COPY_FWD_MAYBE here...
24885         * sysdeps/generic/pagecopy.h: ... from here.
24886         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24888 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24891         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24893         optimizations.
24894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24895         (__libc_ifunc_impl_list): Likewise.
24896         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24897         multiarch strcat for PPC64.
24898         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24899         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24901 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24903         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24905 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24907         * intl/loadmsgcat.c: Remove declaration of
24908         get_sysdep_segment_value.
24909         (get_sysdep_segment_value): Use ISO C style.
24910         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24911         semicolon.  Fix typo and formatting in comment.
24912         (_nl_unload_domain): Use ISO C style.
24914         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24916 2014-07-02  Will Newton  <will.newton@linaro.org>
24918         * malloc/obstack.c: Merge from gnulib master.
24919         [HAVE_CONFIG_H]: Remove conditional code.
24920         [!_LIBC]: Include config.h.
24921         [!ELIDE_CODE]: Don't include inttypes.h, include
24922         stdint.h unconditionally.
24923         (print_and_abort): Mark as _Noreturn.
24924         (_obstack_allocated_p): Mark as __attribute_pure__.
24925         (obstack_free): Rename to __obstack_free.
24926         [!__attribute__]: Remove conditional code.
24927         * malloc/obstack.h: Merge from gnulib master.
24928         [__cplusplus]: Move conditional down.
24929         [!__attribute_pure__]: Define __attribute_pure__ here
24930         if it is not already defined.
24931         (_obstack_memory_used): Mark as __attribute_pure__.
24932         [!__obstack_free]: Define as obstack_free.
24933         [__GNUC__]: Remove check for ancient NeXT gcc.
24935 2014-07-02  Will Newton  <will.newton@linaro.org>
24936             Paul Eggert  <eggert@cs.ucla.edu>
24938         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24940 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24942         * resolv/gethnamaddr.c: Add comment warning that the file is
24943         not maintained.
24945 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24947         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24948         entries.
24950         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24951         entry for aio_cancel and aio_cancel64.
24952         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24953         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24954         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24955         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24956         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24957         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24958         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24959         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24960         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24961         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24962         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24963         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24964         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24966 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24968         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24969         * nptl/pthread_mutex_lock.c: Likewise.
24970         * nptl/pthread_mutex_timedlock.c: Likewise.
24971         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24973 2014-07-01  Richard henderson  <rth@redhat.com>
24975         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24976         (__isnan, __isnanl): Remove.
24977         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24979         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24981 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24983         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24985 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987         * resolv/nss_dns/dns-host.c (getanswer_r)
24988         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24990 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24993         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24994         undefine.
24995         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24996         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24998 2014-07-01  Roland McGrath <roland@hack.frob.com>
25000         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25001         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25003         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25004         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25006         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25007         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25008         ... here.
25009         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25010         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25012         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25013         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25014         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25015         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25017         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25018         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25019         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25020         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25021         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25022         Moved ...
25023         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25024         ... here.
25025         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25026         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25027         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25028         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25029         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25030         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25032         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25033         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25034         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25035         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25036         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25038         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25039         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25040         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25041         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25042         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25044         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25045         ... here.
25046         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25047         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25048         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25049         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25050         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25051         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25052         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25053         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25055 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25057         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25058         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25059         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25060         Add sysdep.
25062 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25066 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25068         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25069         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25073         * sysdeps/arm/libm-test-ulps: Regenerated.
25075 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25076             Roland McGrath <roland@hack.frob.com>
25078         * test-skeleton.c (signal_handler): Kill the whole process group
25079         before killing the child individually.
25080         (main): Report any failure on `setpgid'.
25082 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25084         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25085         from _TLS_H to _ARM_NPTL_TLS_H.
25086         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25087         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25089 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25091         [BZ #16539]
25092         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25093         (__expm1l): Return argument unchanged when small but not
25094         subnormal.
25096         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25097         include macro name.
25098         (_FP_UNPACK_RAW_1_P): Likewise.
25099         (_FP_PACK_RAW_1): Likewise.
25100         (_FP_PACK_RAW_1_P): Likewise.
25101         (_FP_MUL_MEAT_1_wide): Likewise.
25102         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25103         (_FP_MUL_MEAT_1_hard): Likewise.
25104         (_FP_DIV_MEAT_1_imm): Likewise.
25105         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25106         (_FP_DIV_MEAT_1_udiv): Likewise.
25107         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25108         (_FP_UNPACK_RAW_2): Likewise.
25109         (_FP_UNPACK_RAW_2_P): Likewise.
25110         (_FP_PACK_RAW_2): Likewise.
25111         (_FP_PACK_RAW_2_P): Likewise.
25112         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25113         (_FP_MUL_MEAT_2_wide): Likewise.
25114         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25115         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25116         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25117         (_FP_MUL_MEAT_2_gmp): Likewise.
25118         (_FP_DIV_MEAT_2_udiv): Likewise.
25119         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25120         (_FP_FRAC_SRL_4): Likewise.
25121         (_FP_FRAC_SRST_4): Likewise.
25122         (_FP_FRAC_SRS_4): Likewise.
25123         (_FP_UNPACK_RAW_4): Likewise.
25124         (_FP_UNPACK_RAW_4_P): Likewise.
25125         (_FP_PACK_RAW_4): Likewise.
25126         (_FP_PACK_RAW_4_P): Likewise.
25127         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25128         (_FP_MUL_MEAT_4_wide): Likewise.
25129         (_FP_MUL_MEAT_4_gmp): Likewise.
25130         (umul_ppppmnnn): Likewise.
25131         (_FP_DIV_MEAT_4_udiv): Likewise.
25132         (__FP_FRAC_ADD_4): Likewise.
25133         (__FP_FRAC_SUB_3): Likewise.
25134         (__FP_FRAC_SUB_4): Likewise.
25135         (__FP_FRAC_DEC_3): Likewise.
25136         (__FP_FRAC_DEC_4): Likewise.
25137         (__FP_FRAC_ADDI_4): Likewise.
25138         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25139         (_FP_FRAC_SRL_8): Likewise.
25140         (_FP_FRAC_SRS_8): Likewise.
25142         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25143         include macro name.
25144         (FP_UNPACK_RAW_EP): Likewise.
25145         (FP_PACK_RAW_E): Likewise.
25146         (FP_PACK_RAW_EP): Likewise.
25147         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25148         (_FP_ISSIGNAN): Likewise.
25149         (_FP_ADD_INTERNAL): Likewise.
25150         (_FP_FMA): Likewise.
25151         (_FP_CMP): Likewise.
25152         (_FP_SQRT): Likewise.
25153         (_FP_TO_INT): Likewise.
25154         (_FP_FROM_INT): Likewise.
25155         (FP_EXTEND): Likewise.
25156         (_FP_DIV_MEAT_N_loop): Likewise.
25158 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25160         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25161         throughout.
25163 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25165         [BZ #17097]
25166         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25167         result with correct sign in case of exponents that produce
25168         overflow except for X very close to 1.
25170 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25172         mktime: merge #if/#ifdef usage from glibc
25173         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25174         as that works with both Glibc's and Gnulib's style.
25175         See thread starting at Siddhesh Poyarekar's bug report at:
25176         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25178 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25180         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25181         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25182         * sysdeps/tile/tilegx/memmove.c: Remove file.
25184 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25186         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25187         abi-name definition.
25188         * scripts/soversions.awk: Do not handle or generate ABI lines.
25189         * shlib-versions: Remove ABI entries.
25190         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25191         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25193 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25196         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25197         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25198         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25200         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25202         Moved ...
25203         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25204         ... here.
25205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25206         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25208         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25210         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25212         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25214         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25216         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25218         Moved ...
25219         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25221         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25223         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25225         Moved ...
25226         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25228         Moved ...
25229         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25231         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25233         Moved ...
25234         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25236         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25238         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25240         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25242         Moved ...
25243         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25245         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25246         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25247         Moved ...
25248         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25250         Moved ...
25251         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25253         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25255         Moved ...
25256         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25257         ... here.
25258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25259         Identical file removed.
25260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25261         Moved ...
25262         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25264         Identical file removed.
25265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25266         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25268         Moved ...
25269         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25271         Identical file removed.
25272         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25273         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25275         Identical file removed.
25276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25277         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25278         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25279         Identical file removed.
25280         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25281         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25283         Identical file removed.
25284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25285         Moved ...
25286         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25288         Identical file removed.
25289         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25290         Moved ...
25291         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25293         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25295         Identical file removed.
25296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25297         Moved ...
25298         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25299         ... here.
25300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25301         Identical file removed.
25302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25303         Moved ...
25304         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25306         Identical file removed.
25307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25308         Moved ...
25309         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25310         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25311         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25313         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25315         Moved ...
25316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25317         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25318         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25320         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25321         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25322         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25323         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25324         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25326 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25328         [BZ #17092]
25329         * nscd/nscd.c (monitor_child): Return exit status of child
25330         instead of return value from wait syscall.
25332 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25334         * configure.ac (libc_commonpagesize): Remove variable.
25335         (libc_relro_required): Likewise.
25336         (libc_cv_z_relro): Remove configure test.
25337         * configure: Regenerated.
25338         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25339         variable.
25340         (libc_relro_required): Likewise.
25341         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25342         (libc_relro_required): Likewise.
25343         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25344         (libc_relro_required): Likewise.
25345         * sysdeps/arm/preconfigure: Regenerated.
25346         * sysdeps/ia64/preconfigure: Remove file.
25347         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25348         variable.
25349         (libc_relro_required): Likewise.
25351         [BZ #16561]
25352         [BZ #16562]
25353         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25354         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25355         recompute overflowing results in original rounding mode.
25356         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25357         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25358         recompute overflowing results in original rounding mode.
25359         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25360         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25361         recompute overflowing results in original rounding mode.
25362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25363         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25364         recompute overflowing results in original rounding mode.
25365         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25366         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25367         recompute overflowing results in original rounding mode.
25368         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25369         (libc_feholdsetround_ctx): New macro.
25370         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25371         * sysdeps/i386/fpu/libm-test-ulps: Update.
25372         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25374 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25376         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25377         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25378         corresponding .cpsetup call.
25380 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25382         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25383         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25384         * sysdeps/arm/Makefile [$(subdir) = csu]
25385         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25386         (static-only-routines): Add aeabi_read_tp here.
25387         (shared-only-routines): Add libc-aeabi_read_tp here.
25388         (CFLAGS-libc-start.c): Add -fexceptions here.
25389         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25390         (sysdep_routines, static-only-routines, shared-only-routines):
25391         Don't add to these here.
25392         (CFLAGS-libc-start.c): Likewise.
25394         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25395         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25396         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25397         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25398         * sysdeps/arm/Makefile [$(subdir) = rt]
25399         (librt-sysdep_routines, librt-shared-only-routines):
25400         Append rt-aeabi_unwind_cpp_pr1 here.
25401         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25402         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25403         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25404         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25405         Append nptl-aeabi_unwind_cpp_pr1 here.
25406         (tests): Filter out tst-cleanupx4 here.
25407         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25408         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25409         Don't do those here.
25411 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25413         * scripts/list-sources.sh: Do not handle ports specially.
25415 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25417         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25418         * sysdeps/arm/feupdateenv.c: Likewise.
25420         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25422 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25424         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25425         trailing whitespace removed.
25426         * scripts/config.guess: Update to version 2014-03-23.
25427         * scripts/config.sub: Update to version 2014-05-01
25428         * scripts/install-sh: Update to version 2013-12-25.23.
25429         * scripts/move-if-change: Update from gnulib.
25431 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25433         * debug/memmove_chk.c: Remove pagecopy.h include.
25435 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25437         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25438         identical to gnulib mktime.
25440 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25442         * configure.ac: Do not test for machine being rs6000.  Do not test
25443         for powerpc*-*soft.
25444         * configure: Regenerated.
25446         [BZ #11505]
25447         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25448         test.
25449         * configure: Regenerated.
25450         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25451         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25452         Remove configure test.
25453         * sysdeps/arm/configure: Regenerated.
25454         * sysdeps/nptl/configure.ac: Do not check
25455         libc_cv_asm_cfi_directives.
25456         * sysdeps/nptl/configure: Regenerated.
25457         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25458         * sysdeps/x86_64/nptl/configure: Remove generated file.
25459         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25460         unconditional.
25461         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25463 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25465         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25466         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25467         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25468         it is defined.
25470         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25471         instead of whether it is defined.
25472         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25473         * sysdeps/hppa/dl-machine.h: Likewise.
25474         * sysdeps/ia64/dl-machine.h: Likewise.
25475         * sysdeps/m68k/dl-machine.h: Likewise.
25476         * sysdeps/microblaze/dl-machine.h: Likewise.
25477         * sysdeps/mips/dl-machine.: Likewise.
25478         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25479         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25480         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25481         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25482         * sysdeps/sh/dl-machine.h: Likewise.
25483         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25484         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25485         * sysdeps/tile/dl-machine.h: Likewise.
25486         * sysdeps/x86_64/dl-machine.h: Likewise.
25488         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25489         code.
25490         (verify_persistent_db): Likewise.
25492 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25495         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25497         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25499         Moved ...
25500         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25501         ... here.
25502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25503         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25505         Identical file removed.
25506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25507         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25509         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25511         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25513         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25515         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25517         Moved ...
25518         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25520         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25522         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25524         Moved ...
25525         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25527         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25529         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25531         Identical file removed.
25532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25533         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25535         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25537         Moved ...
25538         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25539         ... here.
25540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25541         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25543         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25545         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25547         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25549         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25551         Moved ...
25552         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25554         Moved ...
25555         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25557         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25559         Moved ...
25560         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25562         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25564         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25565         folded into ...
25566         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25567         * sysdeps/unix/sysv/linux/s390/Versions
25568         (libpthread: GLIBC_2.19): New version set.
25569         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25570         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25571         (librt: GLIBC_2.3.3): New version set.
25572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25573         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25574         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25575         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25576         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25577         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25578         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25580         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25581         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25582         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25583         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25584         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25586         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25587         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25588         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25589         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25590         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25592         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25593         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25594         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25595         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25596         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25597         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25598         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25600         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25602         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25603         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25608         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25610         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25612         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25614         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25616         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25618         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25619         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25620         (__libc_vfork): Define the function under this name.
25621         [!NOT_IN_libc] (__vfork): Make this an alias.
25622         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25624         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25625         (__libc_vfork): Define the function under this name.
25626         [!NOT_IN_libc] (__vfork): Make this an alias.
25627         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25628         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25629         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25631         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25632         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25634         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25635         code that was previously under [RESET_PID].
25636         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25637         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25640         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25641         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25642         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25643         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25644         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25645         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25646         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25647         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25648         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25649         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25650         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25651         Moved ...
25652         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25653         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25654         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25655         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25656         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25657         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25658         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25659         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25660         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25661         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25662         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25663         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25664         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25665         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25666         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25667         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25668         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25669         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25670         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25671         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25672         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25673         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25674         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25675         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25676         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25677         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25678         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25679         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25680         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25682 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25684         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25685         that was previously under [RESET_PID].
25686         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25688 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25690         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25691         not undefine and redefine.
25692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25693         [O_CLOEXEC]: Make code unconditional.
25694         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25695         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25696         <kernel-features.h>.
25697         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25698         conditional variable definition.
25699         (shm_open) [O_CLOEXEC]: Make code unconditional.
25700         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25701         code.
25703         * configure.ac (USE_REGPARMS): Don't define here.
25704         * configure: Regenerated.
25705         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25706         * sysdeps/i386/configure: Regenerated.
25708         * nptl/createthread.c: Don't include kernel-features.h.
25709         * nptl/pthread_cancel.c: Likewise.
25710         * nptl/pthread_condattr_setclock.c: Likewise.
25711         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25712         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25713         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25714         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25715         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25716         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25717         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25720         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25721         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25722         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25723         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25724         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25725         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25726         * nscd/gai.c: Likewise.
25727         * nss/nss_db/db-open.c: Likewise.
25728         * sysdeps/generic/ldsodefs.h: Likewise.
25729         * sysdeps/sh/nptl/tls.h: Likewise.
25730         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25731         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25732         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25733         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25734         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25735         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25736         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25737         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25738         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25739         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25740         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25741         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25742         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25743         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25744         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25745         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25746         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25747         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25748         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25749         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25752         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25753         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25755         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25758         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25759         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25760         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25761         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25762         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25763         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25764         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25765         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25766         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25767         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25768         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25769         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25770         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25771         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25772         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25773         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25774         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25775         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25776         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25777         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25778         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25779         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25780         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25781         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25782         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25783         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25784         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25785         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25786         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25787         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25810         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25811         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25812         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25813         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25814         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25815         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25816         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25817         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25818         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25819         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25820         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25821         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25822         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25823         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25824         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25825         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25826         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25827         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25828         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25829         * sysdeps/unix/sysv/linux/system.c: Likewise.
25830         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25831         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25832         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25833         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25834         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25835         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25836         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25838         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25839         * configure: Regenerated.
25840         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25842         * configure.ac (base_machine): Do not set specially for particular
25843         machines here.
25844         * configure: Regenerated.
25845         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25846         settings from configure.ac.
25847         * sysdeps/i386/preconfigure: New file.
25848         * sysdeps/s390/preconfigure: Likewise.
25849         * sysdeps/sh/preconfigure: Likewise.
25850         * sysdeps/sparc/preconfigure: Likewise.
25852 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25854         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25855         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25856         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25857         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25858         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25859         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25860         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25861         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25862         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25863         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25864         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25865         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25866         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25867         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25868         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25869         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25871         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25872         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25874         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25875         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25876         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25877         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25878         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25879         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25880         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25881         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25882         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25883         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25884         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25885         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25886         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25887         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25888         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25889         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25890         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25891         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25892         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25893         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25894         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25895         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25896         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25897         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25898         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25899         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25901         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25902         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25903         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25904         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25905         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25906         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25907         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25908         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25909         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25911         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25914         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25916         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25918         Moved ...
25919         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25920         ... here.
25921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25922         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25924         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25926         Moved ...
25927         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25929         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25931         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25933         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25935         Moved ...
25936         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25938         Moved ...
25939         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25941         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25943         Moved ...
25944         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25948         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25950         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25954         Moved ...
25955         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25956         ... here.
25957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25958         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25960         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25962         Moved ...
25963         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25965         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25967         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25969         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25971         Moved ...
25972         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25974         Moved ...
25975         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25977         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25979         Moved ...
25980         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25982         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25984         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25986 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25988         * timezone/checktab.awk: Update from tzcode 2014e.
25989         * timezone/private.h: Likewise.
25990         * timezone/tzfile.h: Likewise.
25991         * timezone/zdump.c: Likewise.
25992         * timezone/zic.c: Likewise.
25994         * sysdeps/unix/sysv/linux/kernel-features.h
25995         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25996         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25997         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25998         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25999         Remove conditional code.
26001 2014-06-25  Will Newton  <will.newton@linaro.org>
26003         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26004         (_dl_arm_cap_flags): Add HWCAP2 values.
26005         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26006         (_DL_HWCAP_COUNT): Increase to 37.
26007         (_DL_HWCAP_LAST): New define.
26008         (_DL_HWCAP2_LAST): New define.
26009         (_dl_procinfo): Add support for printing
26010         AT_HWCAP2 entries.
26011         (_dl_string_hwcap): Use _dl_hwcap_string.
26013 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26017 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26019         * README: Do not mention ports directory.
26021         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26022         Remove macro.
26023         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26024         <kernel-features.h>.
26025         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26026         conditional variable definition.
26027         (__futimes): Update comment.
26028         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26029         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26031         [BZ #16560]
26032         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26033         arguments close to 0.
26034         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26035         Likewise.
26036         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26037         Likewise.
26038         * math/auto-libm-test-in: Add more tests of exp10.
26039         * math/auto-libm-test-out: Regenerated.
26040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26042         * sysdeps/unix/sysv/linux/kernel-features.h
26043         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26044         * sysdeps/unix/sysv/linux/readv.c: Do not include
26045         <kernel-features.h>.
26046         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26047         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26048         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26049         unconditional.
26050         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26051         conditional code.
26052         * sysdeps/unix/sysv/linux/writev.c: Do not include
26053         <kernel-features.h>.
26054         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26055         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26056         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26057         unconditional.
26058         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26059         conditional code.
26061 2014-06-25  Will Newton  <will.newton@linaro.org>
26063         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26064         comment changes throughout the file.  Remove checks
26065         for HAVE_*_H definitions that are not required.
26066         (__gen_tempname): Call abort if an unknown kind value is
26067         passed.
26069 2014-06-25  Andreas Schwab  <schwab@suse.de>
26071         [BZ #17086]
26072         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26073         scalbln, scalblnf, scalblnl in libc.
26075 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26077         [BZ #17086]
26078         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26079         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26080         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26082 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26084         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26085         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26086         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26087         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26088         Update #include.
26089         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26090         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26091         Update #include.
26092         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26093         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26094         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26095         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26096         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26097         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26098         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26099         * sysdeps/x86/bits/semaphore.h: ... here.
26100         * sysdeps/x86/nptl/elide.h: Moved ...
26101         * sysdeps/x86/elide.h: ... here.
26102         * sysdeps/x86_64/nptl/Implies: File removed.
26103         * sysdeps/i386/nptl/Implies: File removed.
26105 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26107         [BZ #16539]
26108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26109         return the argument for normal arguments with exponent below -64.
26110         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26111         Likewise.
26112         * math/auto-libm-test-in: Add another test of expm1.
26113         * math/auto-libm-test-out: Regenerated.
26115         [BZ #16287]
26116         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26117         calling __erfcl for arguments at least 16.
26118         * math/auto-libm-test-in: Add more tests of erf.
26119         * math/auto-libm-test-out: Regenerated.
26121         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26122         individual architectures.
26123         * sysdeps/unix/sysv/linux/configure: Regenerated.
26124         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26125         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26126         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26127         (ldd_rewrite_script): Define variable.
26128         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26130         file.
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26132         generated file.
26133         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26134         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26135         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26136         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26137         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26138         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26139         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26140         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26142 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26144         [BZ #17084]
26145         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26146         Rename member __data.d to __data.__elision_data.
26148 2014-06-24  Wilco  <wdijkstr@arm.com>
26150         * NEWS: Add 16918 to fixed bug list.
26152 2014-06-24  Wilco  <wdijkstr@arm.com>
26154         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26156 2014-06-24  Wilco  <wdijkstr@arm.com>
26158         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26159         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26160         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26161         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26162         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26163         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26164         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26165         Use _FPU_MASK_RM.
26167 2014-06-24  Wilco  <wdijkstr@arm.com>
26169         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26171 2014-06-24  Wilco  <wdijkstr@arm.com>
26173         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26174         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26175         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26176         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26178 2014-06-24  Wilco  <wdijkstr@arm.com>
26180         [BZ #16918]
26181         * sysdeps/arm/feupdateenv.c (feupdateenv):
26182         Rewrite to reduce FPSCR accesses and fix return value.
26184 2014-06-24  Wilco  <wdijkstr@arm.com>
26186         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26187         Optimize to avoid unnecessary FPSCR writes.
26188         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26189         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26190         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26191         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26193 2014-06-24  Wilco  <wdijkstr@arm.com>
26195         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26196         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26197         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26198         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26199         Call libc_fetestexcept_vfp.
26200         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26201         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26202         __SOFTFP__ ifdef so that they can be built for softfp.
26204 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26207         argument type signed char.
26209         * Makerules (check-abi): Dump diff of symlist if the test
26210         fails.
26212 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26214         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26215         using abort.
26217         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26218         Remove unused variable ST.
26220 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26222         [BZ #16354]
26223         [BZ #17061]
26224         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26225         small arguments before calling __expm1.
26226         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26227         small arguments before calling __expm1f.
26228         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26229         small arguments before calling __expm1l.
26230         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26231         Likewise.
26232         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26233         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26234         spurious underflow for some cosh tests.
26235         * math/auto-libm-test-out: Regenerated.
26236         * sysdeps/i386/fpu/libm-test-ulps: Update.
26238         [BZ #17050]
26239         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26240         (__ieee754_y1): Set errno if return value overflows.
26241         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26242         (__ieee754_y1f): Set errno if return value overflows.
26243         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26244         (__ieee754_y1l): Set errno if return value overflows.
26245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26246         (__ieee754_y1l): Set errno if return value overflows.
26247         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26248         * math/auto-libm-test-out: Regenerated.
26250         * math/gen-auto-libm-tests.c: Document use of
26251         ignore-zero-inf-sign.
26252         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26253         (input_flags): Add ignore-zero-inf-sign.
26254         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26255         * math/gen-libm-test.pl (generate_testfile): Handle
26256         ignore-zero-inf-sign.
26257         * math/auto-libm-test-in: Mark some cpow tests with
26258         ignore-zero-inf-sign and some with xfail-rounding.
26259         * math/auto-libm-test-out: Regenerated.
26260         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26261         * sysdeps/i386/fpu/libm-test-ulps: Update.
26262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26264         [BZ #16315]
26265         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26266         overflowing or underflowing operations take place with sign of
26267         result.
26268         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26269         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26270         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26271         (__ieee754_pow): Recompute overflowing and underflowing results in
26272         original rounding mode.
26273         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26274         (__powl_helper): Allow negative argument X and scale negated value
26275         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26276         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26277         overflowing or underflowing operations take place with sign of
26278         result.
26279         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26280         Include <math.h>.
26281         * math/auto-libm-test-in: Add more tests of pow.
26282         * math/auto-libm-test-out: Regenerated.
26283         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26284         (pow_tonearest_test_data): Remove.
26285         (pow_test_tonearest): Likewise.
26286         (pow_towardzero_test_data): Likewise.
26287         (pow_test_towardzero): Likewise.
26288         (pow_downward_test_data): Likewise.
26289         (pow_test_downward): Likewise.
26290         (pow_upward_test_data): Likewise.
26291         (pow_test_upward): Likewise.
26292         (main): Don't call removed functions.
26293         * sysdeps/i386/fpu/libm-test-ulps: Update.
26294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26299         Moved ...
26300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26302         Moved ...
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26305         Moved ...
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26308         Moved ...
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26311         File removed.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26313         File removed.
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26315         File removed.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26317         File removed.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26319         File removed.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26321         File removed.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26323         File removed.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26325         File removed.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26327         File removed.
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26329         File removed.
26330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26331         File removed.
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26333         File removed.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26335         Moved ...
26336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26338         Moved ...
26339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26340         ... here.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26342         Moved ...
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26345         Moved ...
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26348         Moved ...
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26351         Moved ...
26352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26354         Moved ...
26355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26357         Moved ...
26358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26360         Moved ...
26361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26364         ... here.
26365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26366         Moved ...
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26369         Moved ...
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26371         ... here.
26372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26373         Moved ...
26374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26375         ... here.
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26377         Moved ...
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26379         ... here.
26380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26381         Moved ...
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26384         Moved ...
26385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26391         ... here.
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26393         Moved ...
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26395         ... here.
26396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26397         Moved ...
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26400         Moved ...
26401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26403         Moved ...
26404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26406         Moved ...
26407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26409         Moved ...
26410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26411         ... here.
26412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26413         Moved ...
26414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26416         Moved ...
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26419         Moved ...
26420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26422         Moved ...
26423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26427         Moved ...
26428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26430         Moved ...
26431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26433         Moved ...
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26435         ... here.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26437         Moved ...
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26439         ... here.
26440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26441         Moved ...
26442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26443         ... here.
26444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26445         Moved ...
26446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26448         Moved ...
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26451         Moved ...
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26454         Moved ...
26455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26456         ... here.
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26458         Moved ...
26459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26460         ... here.
26461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26462         Moved ...
26463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26464         ... here.
26465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26466         Moved ...
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26469         Moved ...
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26472 2014-06-23  Will Newton  <will.newton@linaro.org>
26473             Wilco  <wdijkstr@arm.com>
26475         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26476         implementation.  Include get-rounding-mode.h.
26477         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26478         [!libc_feholdsetround_noex_ctx]: Define
26479         libc_feholdsetround_noex_ctx.
26480         [!libc_feholdsetround_noexf_ctx]: Define
26481         libc_feholdsetround_noexf_ctx.
26482         [!libc_feholdsetround_noexl_ctx]: Define
26483         libc_feholdsetround_noexl_ctx.
26484         (libc_feholdsetround_ctx): New function.
26485         (libc_feresetround_ctx): New function.
26486         (libc_feholdsetround_noex_ctx): New function.
26487         (libc_feresetround_noex_ctx): New function.
26489 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26491         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26492         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26493         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26494         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26495         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26496         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26498         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26499         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26500         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26501         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26502         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26503         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26505         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26507         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26509         Moved ...
26510         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26511         ... here.
26512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26513         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26515         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26517         Moved ...
26518         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26520         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26522         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26524         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26526         Moved ...
26527         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26529         Moved ...
26530         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26532         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26534         Moved ...
26535         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26537         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26539         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26540         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26541         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26543         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26545         Moved ...
26546         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26547         ... here.
26548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26549         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26551         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26553         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26555         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26557         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26559         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26561         Moved ...
26562         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26564         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26566         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26568         Moved ...
26569         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26571         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26572         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26573         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26575         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26576         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26577         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26578         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26579         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26580         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26581         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26582         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26584         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26585         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26586         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26587         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26588         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26589         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26590         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26591         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26592         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26593         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26594         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26595         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26596         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26597         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26598         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26599         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26600         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26601         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26602         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26604 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26606         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26607         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26608         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26609         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26610         (IPV6_PMTUDISC_INTERFACE): Likewise.
26611         (IPV6_PMTUDISC_OMIT): Likewise.
26613 2014-06-23  Andreas Schwab  <schwab@suse.de>
26615         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26616         Remove unused errout label.
26618 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26620         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26621         macro: hardware supports Vector Crypto instructions.
26623 2014-06-23  Will Newton  <will.newton@linaro.org>
26625         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26626         rather than __builtin_expect.
26628         * elf/dl-lookup.c (undefined_msg): Remove variable.
26629         (_dl_lookup_symbol_x): Replace undefined_msg with string
26630         literal.
26632         * elf/dl-lookup.c (do_lookup_unique): New function.
26633         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26634         to a separate function.
26636 2014-06-23  Andreas Schwab  <schwab@suse.de>
26638         [BZ #17079]
26639         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26640         before reading the next line.
26642 2014-06-23  Will Newton  <will.newton@linaro.org>
26644         * test-skeleton.c (signal_handler): Use printf and %m
26645         rather than perror.  Use printf rather than fprintf to
26646         stderr.  Use puts rather than fputs to stderr.
26647         (main): Likewise.
26649 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26651         * nscd/nscd.c (thread_info_t): Remove typedef.
26652         (thread_info): Remove variable.
26654 2014-06-21  Allan McRae  <allan@archlinux.org>
26656         * NEWS: Mention CVE-2014-4043.
26658 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26660         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26661         * nptl/smp.h: ... here.
26663         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26665         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26666         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26667         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26668         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26670         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26671         * nptl/stack-aliasing.h: New file.
26672         * sysdeps/i386/i686/stack-aliasing.h: New file.
26673         * sysdeps/i386/i686/nptl/Makefile: File removed.
26674         * sysdeps/x86_64/stack-aliasing.h: New file.
26675         * sysdeps/x86_64/nptl/Makefile
26676         (CFLAGS-pthread_create.c): Variable removed.
26678         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26679         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26680         old file.
26681         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26682         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26683         old file.
26685 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26688         (__ASSUME_SIGFRAME_V2): Remove macro.
26689         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26690         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26691         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26692         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26693         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26694         Declare as function.  Remove conditional macro definitions.
26695         (__default_rt_sa_restorer): Likewise.
26696         (__default_sa_restorer_v1): Remove declaration.
26697         (__default_sa_restorer_v2): Likewise.
26698         (__default_rt_sa_restorer_v1): Likewise.
26699         (__default_rt_sa_restorer_v2): Likewise.
26700         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26701         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26702         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26704 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26706         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26707         (libpthread-routines): Add sysdep.
26708         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26709         * sysdeps/unix/sysv/linux/sparc/Versions
26710         (libpthread: GLIBC_2.3.3): New version set.
26711         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26712         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26713         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26714         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26715         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26716         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26717         Moved ...
26718         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26719         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26720         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26721         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26722         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26723         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26724         * sysdeps/sparc/nptl/sem_init.c: ... here.
26725         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26726         * sysdeps/sparc/nptl/sem_post.c: ... here.
26727         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26728         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26729         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26730         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26731         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26733         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26734         (libpthread-routines): Add cpu_relax.
26735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26736         File removed.
26737         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26738         (librt: GLIBC_2.3.3): New version set.
26739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26740         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26741         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26742         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26745         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26747         Moved ...
26748         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26750         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26752         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26754         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26756         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26758         Moved ...
26759         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26760         Update #include.
26761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26762         Moved ...
26763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26764         Update #include.
26765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26766         Moved ...
26767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26768         Update #include.
26769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26770         Moved ...
26771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26772         Update #include.
26773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26774         Moved ...
26775         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26776         Update #include.
26777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26778         Moved ...
26779         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26780         Update #include.
26781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26782         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26788         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26790         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26792         Moved ...
26793         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26795         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26799 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26801         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26802         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26803         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26804         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26805         * nscd/nscd.c: Likewise.
26806         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26807         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26808         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26809         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26811         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26812         <kernel-features.h>.
26813         (init_mq_netlink): Remove conditional have_sock_cloexec
26814         definitions.  Remove code conditional on have_sock_cloexec < 0.
26815         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26816         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26817         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26818         <kernel-features.h>.
26819         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26820         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26822 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26825         Add tests for memset_chk and memset.
26827         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26828         with AVX2_Usable.
26830 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26832         [BZ #16046]
26833         * elf/tst-dl-iter-static.c: New file.
26834         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26836         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26837         error.
26839 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26841         * sysdeps/unix/sysv/linux/kernel-features.h
26842         (__ASSUME_F_GETOWN_EX): Remove macro.
26843         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26844         <kernel-features.h>.
26845         (miss_F_GETOWN_EX): Remove variable or macro.
26846         (do_fcntl): Do not check miss_F_GETOWN_EX.
26847         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26849         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26850         Remove macro.
26851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26852         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26853         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26855         * sysdeps/unix/sysv/linux/kernel-features.h
26856         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26857         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26858         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26859         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26861 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26863         [BZ #17075]
26864         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26865         Fix calculation of the symbol's value.
26866         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26867         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26868         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26869         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26870         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26871         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26872         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26873         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26874         (modules-names): Add `tst-armtlsdescmod',
26875         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26876         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26877         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26878         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26879         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26880         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26881         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26882         ($(objpfx)tst-armtlsdescloc): New dependency.
26883         ($(objpfx)tst-armtlsdescextnow): Likewise.
26884         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26885         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26886         TLS scheme support.
26887         * sysdeps/arm/configure: Regenerate.
26889 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26891         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26892         (__atfct_seterrno_2): Likewise.
26893         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26894         <kernel-features.h>.
26895         (__ASSUME_ATFCTS): Do not undefine and redefine.
26896         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26897         (__have_atfcts): Remove conditional definition.
26898         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26899         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26900         unreachable if [__ASSUME_ATFCTS].
26901         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26902         not undefine and redefine.
26903         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26904         <kernel-features.h>.
26905         (faccessat) [__NR_faccessat]: Make code unconditional.
26906         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26907         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26908         <kernel-features.h>.
26909         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26910         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26911         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26912         <kernel-features.h>.
26913         (fchownat) [__NR_fchownat]: Make code unconditional.
26914         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26915         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26916         <kernel-features.h>.
26917         (futimesat) [__NR_futimesat]: Make code unconditional.
26918         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26919         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26920         <kernel-features.h>.
26921         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26922         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26923         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26924         <kernel-features.h>.
26925         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26926         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26927         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26928         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26929         <kernel-features.h>.
26930         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26932         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26933         <kernel-features.h>.
26934         (linkat) [__NR_linkat]: Make code unconditional.
26935         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26936         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26937         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26938         <kernel-features.h>.
26939         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26940         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26941         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26942         <kernel-features.h>.
26943         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26944         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26945         * sysdeps/unix/sysv/linux/openat.c: Do not include
26946         <kernel-features.h>.
26947         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26948         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26949         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26950         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26951         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26952         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26953         <kernel-features.h>.
26954         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26955         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26956         result of INLINE_SYSCALL directly, not via int variable.
26957         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26958         <kernel-features.h>.
26959         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26960         (renameat) [__NR_renameat]: Make code unconditional.
26961         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26962         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26963         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26964         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26965         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26966         (__ASSUME_ATFCTS): Do not undefine and redefine.
26967         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26968         <kernel-features.h>.
26969         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26970         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26971         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26972         <kernel-features.h>.
26973         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26974         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26975         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26976         (__ASSUME_ATFCTS): Do not undefine and redefine.
26977         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26978         <kernel-features.h>.
26979         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26980         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26981         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26982         <kernel-features.h>.
26983         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26984         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26986 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26988         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26990 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26992         [BZ #17069]
26993         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26994         constructed tree before returning error.
26995         * posix/bug-regexp36.c: Expand test case.
26997 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26999         [BZ #6803]
27000         * math/libm-test.inc (scalbln_test_date):
27001         Add errno expectations.
27002         * math/w_scalblnf.c: New File.
27003         Add wrapper which checks for setting errno to ERANGE.
27004         Add weak_alias for corresponding scalbln function.
27005         * math/w_scalbln.c: Likewise.
27006         * math/w_scalblnl.c: Likewise.
27007         * math/Makefile (libm-calls): Add w_scalbln.
27008         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27009         Remove weak_alias for corresponding scalbln function.
27010         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27012         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27013         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27014         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27015         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27016         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27017         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27018         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27019         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27020         Remove long_double_symbol for scalblnl function in libm, libc.
27021         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27022         Add wrapper which checks for setting errno to ERANGE.
27023         Add long_double_symbol for scalblnl function in libm, libc.
27024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27025         Remove long_double_symbol for scalblnl in libm.
27026         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27027         Add wrapper which checks for setting errno to ERANGE.
27028         Add long_double_symbol for scalblnl function in libm.
27029         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27030         Do not use wrapper because of own implementation.
27032 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27034         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27035         3 bytes for __pad1 for x32.
27036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27038 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27039             H.J. Lu  <hongjiu.lu@intel.com>
27041         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27042         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27043         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27044         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27045         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27047 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27049         [BZ #17069]
27050         * posix/regcomp.c (parse_expression): Deallocate partially
27051         constructed tree before returning error.
27052         * posix/Makefile.c (tests): Add bug-regex36.
27053         (generated): Add bug-regex36.mtrace.
27054         (tests-special): Add $(objpfx)bug-regex36-mem.out
27055         (bug-regex36-ENV): New variable.
27056         ($(objpfx)bug-regex36-mem.out): New rule.
27057         * posix/bug-regex36.c: New file.
27059 2014-06-19  Will Newton  <will.newton@linaro.org>
27061         * malloc/malloc.c (systrim): If extra is zero then return
27062         early.
27064 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27066         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27068 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27070         * sysdeps/aarch64/strchr.S: New file.
27072 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27074         [BZ #17022]
27075         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27076         from arguments -2 or below.
27077         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27078         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27080 2014-06-18  Andreas Schwab  <schwab@suse.de>
27082         [BZ #17062]
27083         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27084         of a bracket expr not to run off the end of the string.
27085         * posix/Makefile (tests): Add tst-fnmatch3.
27086         * posix/tst-fnmatch3.c: New file.
27088 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27090         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27091         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27092         [$(cross-compiling) = no]: Likewise.
27093         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27094         [$(cross-compiling) = no]: Likewise.
27096 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27098         [BZ #17031]
27099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27100         double, adjusted for any remainder from the high double.
27101         * math/libm-test.inc (nearbyint): Add tests.
27102         (rint): Likewise.
27104 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27106         * nptl/sysdeps/powerpc/Makefile: Moved ...
27107         * sysdeps/powerpc/nptl/Makefile: ... here.
27108         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27109         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27110         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27111         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27112         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27113         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27114         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27115         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27116         * nptl/sysdeps/powerpc/tls.h: Moved ...
27117         * sysdeps/powerpc/nptl/tls.h: ... here.
27119 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27121         [BZ #16681]
27122         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27123         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27124         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27125         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27126         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27127         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27128         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27129         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27130         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27132 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27134         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27136 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27138         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27139         defined operator.
27141         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27142         $TIMEOUTFACTOR.
27144 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27146         [BZ #17058]
27147         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27148         non-executed part of the test.
27150 2014-06-16  Andreas Schwab  <schwab@suse.de>
27152         * string/bits/string2.h (strdup, strndup): Update feature guard.
27154 2014-06-14  David S. Miller  <davem@davemloft.net>
27156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27158 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27160         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27161         that was previously under [RESET_PID].
27162         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27164         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27165         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27166         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27167         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27168         (__libc_vfork): New strong alias.
27169         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27171 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27173         * sysdeps/generic/elide.h: New file.
27175 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27177         * Makefile (installed-headers): Adjust path of pthread.h header.
27179 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27181         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27182         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27183         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27184         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27186         * nptl/sysdeps/s390/Makefile: Moved ...
27187         * sysdeps/s390/nptl/Makefile: ... here.
27188         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27189         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27190         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27191         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27192         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27193         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27194         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27195         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27196         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27197         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27198         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27199         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27200         * nptl/sysdeps/s390/tls.h: Moved ...
27201         * sysdeps/s390/nptl/tls.h: ... here.
27203         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27204         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27206 2014-06-13  David S. Miller  <davem@davemloft.net>
27208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27211         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27215         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27216         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27217         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27218         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27219         Remove RESET_PID cpp guards.
27220         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27221         Remove RESET_PID cpp guards.
27222         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27224 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27226         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27227         __sp to uintptr_t.
27229 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27232         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27234         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27236         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27238         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27242         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27247         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27248         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27252         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27253         (pthread_rwlock_rdlock): Add elision.
27254         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27255         (pthread_rwlock_wrlock): Add elision.
27256         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27257         (pthread_rwlock_trywrlock): Add elision.
27258         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27259         (pthread_rwlock_tryrdlock): Add elision.
27260         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27261         (pthread_rwlock_tryrdlock): Add elision unlock.
27262         * nptl/sysdeps/pthread/pthread.h:
27263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27264         (PTHREAD_RWLOCK_INITIALIZER,
27265         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27266         Handle new elision field.
27267         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27268         * sysdeps/arm/nptl/bits/pthreadtypes.h
27269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27270         * sysdeps/sh/nptl/bits/pthreadtypes.h
27271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27272         * sysdeps/tile/nptl/bits/pthreadtypes.h
27273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27274         * sysdeps/a/nptl/bits/pthreadtypes.h
27275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27276         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27278         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27280         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27282         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27284         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27286         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27288         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27290         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27292         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27293         (elision_init): Set try_xbegin to zero when no RTM.
27294         * sysdeps/x86/nptl/bits/pthreadtypes.h
27295         (pthread_rwlock_t): Change __pad1 to __rwelision.
27296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27298 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27300         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27301         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27302         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27303         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27305 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27307         [BZ #16996]
27308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27309         that the cached result has been set before returning it.
27311 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27313         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27314         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27315         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27316         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27317         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27318         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27320         * nptl/sysdeps/sparc/Makefile: Moved ...
27321         * sysdeps/sparc/nptl/Makefile: ... here.
27322         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27323         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27324         * nptl/sysdeps/sparc/tls.h: Moved ...
27325         * sysdeps/sparc/nptl/tls.h: ... here.
27326         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27327         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27328         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27329         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27330         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27331         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27332         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27333         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27334         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27335         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27336         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27337         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27338         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27339         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27340         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27341         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27342         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27344         Update #include.
27345         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27347         Update #include.
27348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27350         Update #include.
27351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27353         Update #include.
27355         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27357         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27358         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27360         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27361         (struct list_links): Type removed.
27362         (struct thread_node, struct timer_node): Replace struct list_links
27363         with struct list_head.
27364         (list_unlink_ip): Likewise.
27365         * sysdeps/pthread/timer_routines.c
27366         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27367         (list_append, list_insbefore): Likewise.
27368         (list_init): Function removed.
27369         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27370         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27371         * sysdeps/pthread/Makefile: ... here, new file.
27373         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27374         * sysdeps/nptl/Implies: ... here.
27375         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27376         * nptl/sysdeps/pthread/list.h: Moved ...
27377         * include/list.h: ... here.
27378         * nptl/sysdeps/pthread/createthread.c: Moved ...
27379         * nptl/createthread.c: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27381         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27382         * nptl/pt-longjmp.c: ... here.
27383         * nptl/sysdeps/pthread/Makefile: Moved ...
27384         * sysdeps/nptl/Makefile: ... here.
27385         * nptl/sysdeps/pthread/Subdirs: Moved ...
27386         * sysdeps/nptl/Subdirs: ... here.
27387         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27388         * sysdeps/nptl/aio_misc.h: ... here.
27389         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27390         * sysdeps/nptl/bits/libc-lock.h: ... here.
27391         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27392         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27393         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27394         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27395         * nptl/sysdeps/pthread/configure: Moved ...
27396         * sysdeps/nptl/configure: ... here.
27397         * nptl/sysdeps/pthread/configure.ac: Moved ...
27398         * sysdeps/nptl/configure.ac: ... here.
27399         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27400         * sysdeps/nptl/gai_misc.h: ... here.
27401         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27402         * sysdeps/nptl/librt-cancellation.c: ... here.
27403         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27404         * sysdeps/nptl/malloc-machine.h: ... here.
27405         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27406         * sysdeps/nptl/pthread-functions.h: ... here.
27407         * nptl/sysdeps/pthread/pthread.h: Moved ...
27408         * sysdeps/nptl/pthread.h: ... here.
27409         * nptl/sysdeps/pthread/setxid.h: Moved ...
27410         * sysdeps/nptl/setxid.h: ... here.
27411         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27412         * sysdeps/nptl/sigfillset.c: ... here.
27413         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27414         * sysdeps/nptl/tcb-offsets.h: ... here.
27415         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27416         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27417         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27418         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27419         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27420         * sysdeps/pthread/allocalim.h: ... here.
27421         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27422         * sysdeps/pthread/bits/sigthread.h: ... here.
27423         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27424         * sysdeps/pthread/flockfile.c: ... here.
27425         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27426         * sysdeps/pthread/ftrylockfile.c: ... here.
27427         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27428         * sysdeps/pthread/funlockfile.c: ... here.
27429         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27430         * sysdeps/pthread/posix-timer.h: ... here.
27431         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27432         * sysdeps/pthread/timer_create.c: ... here.
27433         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27434         * sysdeps/pthread/timer_delete.c: ... here.
27435         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27436         * sysdeps/pthread/timer_getoverr.c: ... here.
27437         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27438         * sysdeps/pthread/timer_gettime.c: ... here.
27439         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27440         * sysdeps/pthread/timer_routines.c: ... here.
27441         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27442         * sysdeps/pthread/timer_settime.c: ... here.
27443         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27444         * sysdeps/pthread/tst-timer.c: ... here.
27445         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27446         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27448         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27449         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27451         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27452         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27453         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27454         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27455         Update #include target.
27456         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27457         * sysdeps/i386/i686/nptl/Makefile: ... here.
27458         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27459         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27460         Update #include target.
27461         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27462         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27463         * nptl/sysdeps/i386/Makefile: Moved ...
27464         * sysdeps/i386/nptl/Makefile: ... here.
27465         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27466         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27467         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27468         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27469         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27470         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27471         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27472         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27473         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27474         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27475         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27476         * nptl/sysdeps/i386/tls.h: Moved ...
27477         * sysdeps/i386/nptl/tls.h: ... here.
27479         * sysdeps/sh/Makefile [$(subdir) = csu]
27480         (gen-as-const-headers): Add tcb-offsets.sym.
27481         * nptl/sysdeps/sh/Makefile: File removed.
27482         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27483         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27484         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27485         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27486         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27487         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27488         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27489         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27490         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27491         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27492         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27493         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27494         * nptl/sysdeps/sh/tls.h: Moved ...
27495         * sysdeps/sh/nptl/tls.h: ... here.
27496         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27497         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27498         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27499         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27501         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27502         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27505         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27506         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27507         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27509         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27511         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27513         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27515         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27517         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27521         Moved ...
27522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27524         Moved ...
27525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27527         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27529         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27530         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27531         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27532         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27533         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27534         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27535         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27536         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27537         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27538         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27539         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27540         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27541         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27542         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27543         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27545 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27547         * posix/spawn_faction_addopen.c: Include string.h.
27549 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27551         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27552         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27553         * nptl/sysdeps/x86_64/Makefile: Moved ...
27554         * sysdeps/x86_64/nptl/Makefile: ... here.
27555         * nptl/sysdeps/x86_64/configure: Moved ...
27556         * sysdeps/x86_64/nptl/configure: ... here.
27557         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27558         * sysdeps/x86_64/nptl/configure.ac: ... here.
27559         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27560         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27561         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27562         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27563         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27564         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27565         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27566         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27567         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27568         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27569         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27570         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27571         * nptl/sysdeps/x86_64/tls.h: Moved ...
27572         * sysdeps/x86_64/nptl/tls.h: ... here.
27573         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27574         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27575         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27576         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27578         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27580 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27584 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27586         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27587         type.
27588         [POSIX] (off_t): Likewise.
27589         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27590         [POSIX] (S_ISBLK): Require macro.
27591         [POSIX] (S_ISCHR): Likewise.
27592         [POSIX] (S_ISDIR): Likewise.
27593         [POSIX] (S_ISFIFO): Likewise.
27594         [POSIX] (S_ISREG): Likewise.
27595         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27596         optional-macro.
27597         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27598         type.
27599         [POSIX] (time_t): Likewise.
27600         [POSIX] (timer_t): Likewise.
27602 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27604         [BZ #17048]
27605         * posix/spawn_int.h (struct __spawn_action): Make the path string
27606         non-const to support deallocation.
27607         * posix/spawn_faction_addopen.c
27608         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27609         * posix/spawn_faction_destroy.c
27610         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27611         path in all spawn_do_open actions.
27612         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27613         posix_spawn_file_actions_addopen.
27615 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27617         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27618         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27619         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27620         conditional code always true.
27621         (__libc_vfork): New alias.
27623 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27625         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27626         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27628         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27630         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27631         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27633         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27634         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27636         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27637         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27639 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27641         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27642         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27643         multiarch strcmp for PPC64.
27644         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27645         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27647         multiarch optimizations.
27648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27649         (__libc_ifunc_impl_list): Likewise.
27651 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653         * benchtests/scripts/validate_benchout.py: New script.
27654         * benchtests/Makefile (bench-func): Call it.
27655         * benchtests/scripts/benchout.schema.json: New file.
27657 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27659         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27660         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27661         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27662         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27663         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27664         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27665         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27666         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27667         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27668         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27669         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27670         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27671         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27672         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27673         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27676         Moved ...
27677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27678         ... here.
27679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27680         Moved ...
27681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27683         Moved ...
27684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27685         ... here.
27686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27687         Moved ...
27688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27689         ... here.
27690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27691         Moved ...
27692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27694         Moved ...
27695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27696         ... here.
27697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27698         Moved ...
27699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27700         ... here.
27701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27702         Moved ...
27703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27705         Moved ...
27706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27707         ... here.
27708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27709         Moved ...
27710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27711         ... here.
27712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27713         Moved ...
27714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27715         ... here.
27716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27717         Moved ...
27718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27720         Moved ...
27721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27722         ... here.
27723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27724         Moved ...
27725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27726         ... here.
27727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27728         Moved ...
27729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27730         ... here.
27731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27732         Moved ...
27733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27735         Moved ...
27736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27737         ... here.
27738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27739         Moved ...
27740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27741         ... here.
27742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27743         Moved ...
27744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27746         Moved ...
27747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27748         ... here.
27749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27750         Moved ...
27751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27753         Moved ...
27754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27756         Moved ...
27757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27758         ... here.
27759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27760         Moved ...
27761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27762         ... here.
27763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27764         Moved ...
27765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27766         ... here.
27767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27768         Moved ...
27769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27771         Moved ...
27772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27773         ... here.
27774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27775         Moved ...
27776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27777         ... here.
27778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27779         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27781         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27783         Moved ...
27784         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27785         ... here.
27786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27787         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27789         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27791         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27793         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27795         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27797         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27799         Moved ...
27800         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27802         Moved ...
27803         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27805         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27807         Moved ...
27808         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27810         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27811         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27812         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27813         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27814         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27816 2014-06-10  Wilco  <wdijkstr@arm.com>
27818         * math/test-fenv-return.c: New file.
27819         * math/Makefile: Add new test test-fenv-return.
27821 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27823         [BZ #17042]
27824         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27825         when x - 1 is zero.
27826         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27827         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27828         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27829         0.0L for an argument of 1.0L.
27830         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27831         Likewise.
27832         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27833         value when x - 1 is zero.
27834         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27835         * sysdeps/i386/fpu/libm-test-ulps: Update.
27836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27838 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27840         [BZ #15119]
27841         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27843 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27845         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27846         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27848 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27850         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27851         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27853         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27854         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27856         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27857         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27859         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27860         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27862         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27863         if not already defined.
27864         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27865         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27866         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27867         (TLS_INIT_TP): Use it.
27868         (TLS_DEFINE_INIT_TP): New macro.
27869         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27871 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27873         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27874         constant.
27875         [POSIX] (IXANY): Likewise.
27876         [POSIX] (OLCUC): Likewise.
27877         [POSIX || POSIX2008] (CBAUD): Do not allow.
27878         [POSIX || POSIX2008] (DEFECHO): Likewise.
27879         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27880         [POSIX || POSIX2008] (ECHOKE): Likewise.
27881         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27882         [POSIX || POSIX2008] (EXTA): Likewise.
27883         [POSIX || POSIX2008] (EXTB): Likewise.
27884         [POSIX || POSIX2008] (FLUSHO): Likewise.
27885         [POSIX || POSIX2008] (LOBLK): Likewise.
27886         [POSIX || POSIX2008] (PENDIN): Likewise.
27887         [POSIX || POSIX2008] (SWTCH): Likewise.
27888         [POSIX || POSIX2008] (VDISCARD): Likewise.
27889         [POSIX || POSIX2008] (VDSUSP): Likewise.
27890         [POSIX || POSIX2008] (VLNEXT): Likewise.
27891         [POSIX || POSIX2008] (VREPRINT): Likewise.
27892         [POSIX || POSIX2008] (VSTATUS): Likewise.
27893         [POSIX || POSIX2008] (VWERASE): Likewise.
27894         (B*): Change to B[0123456789]*.
27895         * conform/data/time.h-data [POSIX || UNIX98]
27896         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27897         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27898         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27899         [POSIX] (tm_*): Do not allow.
27901 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27903         * Makefile (install): Don't set LANGUAGE.
27904         * Makefile.in (install): Likewise.
27905         * assert/Makefile (test-assert-ENV): Remove variable.
27906         (test-assert-perr-ENV): Likewise.
27907         * elf/Makefile (neededtest4-ENV): Likewise.
27908         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27909         [$(cross-compiling) = no]: Don't set LANGUAGE.
27910         * io/ftwtest-sh (LANG): Remove variable.
27911         * libio/Makefile (tst-widetext-ENV): Likewise.
27912         * manual/install.texi (Running make install): Don't refer to
27913         environment settings for make install.
27914         * INSTALL: Regenerated.
27915         * nptl/tst-tls6.sh: Don't set LANG.
27916         * posix/globtest.sh (LANG): Remove variable.
27917         * string/Makefile (tester-ENV): Likewise.
27918         (inl-tester-ENV): Likewise.
27919         (noinl-tester-ENV): Likewise.
27920         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27921         [$(cross-compiling) = no]: Don't set LANGUAGE.
27922         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27923         without explicit environment settings.
27925 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27927         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27928         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27929         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27930         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27932 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27934         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27935         other files in the crypt directory.
27936         * crypt/crypt.c: Remove duplicate includes.
27937         * crypt/crypt-entry.c: Likewise.
27938         * crypt/crypt_util.c: Likewise.
27940 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27942         * Makeconfig (run-program-env): New variable.
27943         (run-program-prefix-before-env): Likewise.
27944         (run-program-prefix-after-env): Likewise.
27945         (run-program-prefix): Define in terms of new variables.
27946         (built-program-cmd-before-env): New variable.
27947         (built-program-cmd-after-env): Likewise.
27948         (built-program-cmd): Define in terms of new variables.
27949         (test-program-prefix-before-env): New variable.
27950         (test-program-prefix-after-env): Likewise.
27951         (test-program-prefix): Define in terms of new variables.
27952         (test-program-cmd-before-env): New variable.
27953         (test-program-cmd-after-env): Likewise.
27954         (test-program-cmd): Define in terms of new variables.
27955         * Rules (make-test-out): Use $(run-program-env).
27956         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27957         (help): Do not mention environment variables.  Mention
27958         --timeoutfactor option.
27959         (timeoutfactor): New variable.
27960         (blacklist_exports): Remove function.
27961         (exports): Remove variable.
27962         (command): Do not include ${exports}.
27963         * manual/install.texi (Configuring and compiling): Do not mention
27964         test wrappers preserving environment variables.  Mention that last
27965         assignment to a variable must take precedence.
27966         * INSTALL: Regenerated.
27967         * benchtests/Makefile (run-bench): Use $(run-program-env).
27968         * catgets/Makefile ($(objpfx)test1.cat): Use
27969         $(built-program-cmd-before-env), $(run-program-env) and
27970         $(built-program-cmd-after-env).
27971         ($(objpfx)test2.cat): Do not specify environment variables
27972         explicitly.
27973         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27974         $(run-program-env) and $(built-program-cmd-after-env).
27975         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27976         $(run-program-env) and $(test-program-cmd-after-env).
27977         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27978         explicitly.
27979         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27980         run_program_env and test_program_cmd_after_env arguments.
27981         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27982         * elf/tst-pathopt.sh: Use run_program_env argument.
27983         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27984         $(test-wrapper-env) and $(run-program-env).
27985         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27986         run_program_env arguments.
27987         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27988         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27989         $(test-program-prefix-before-env), $(run-program-env) and
27990         $(test-program-prefix-after-env).
27991         ($(objpfx)tst-gettext2.out): Likewise.
27992         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27993         run_program_env and test_program_prefix_after_env arguments.
27994         * intl/tst-gettext2.sh: Likewise.
27995         * intl/tst-gettext4.sh: Do not set environment variables
27996         explicitly.
27997         * intl/tst-gettext6.sh: Likewise.
27998         * intl/tst-translit.sh: Likewise.
27999         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28000         $(test-program-prefix-before-env), $(run-program-env) and
28001         $(test-program-prefix-after-env).
28002         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28003         run_program_env and test_program_prefix_after_env arguments.
28004         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28005         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28006         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28007         explicitly with each use of ${test_wrapper_env}.
28008         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28009         $(test-program-prefix-before-env), $(run-program-env) and
28010         $(test-program-prefix-after-env).
28011         * posix/tst-getconf.sh: Do not set environment variables
28012         explicitly.
28013         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28014         run_program_env and test_program_prefix_after_env arguments.
28015         * stdio-common/tst-printf.sh: Do not set environment variables
28016         explicitly.
28017         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28018         $(test-program-prefix-before-env), $(run-program-env) and
28019         $(test-program-prefix-after-env).
28020         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28021         run_program_env and test_program_prefix_after_env arguments.
28022         Split $test calls into $test_pre and $test.
28023         * timezone/Makefile (build-testdata): Use
28024         $(built-program-cmd-before-env), $(run-program-env) and
28025         $(built-program-cmd-after-env).
28027 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28029         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28030         strlen for non SHARED builds.
28032 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28034         * nptl/allocatestack.c (check_list): Inlined function...
28035         (__reclaim_stacks): ... here.
28037 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28039         [BZ #15698]
28040         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28041         memory overrun.
28043 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28045         * Rules (make-test-out): Include
28046         LOCPATH=$(common-objpfx)localedata in default environment.
28047         * debug/Makefile (tst-chk1-ENV): Remove variable.
28048         (tst-chk2-ENV): Likewise.
28049         (tst-chk3-ENV): Likewise.
28050         (tst-chk4-ENV): Likewise.
28051         (tst-chk5-ENV): Likewise.
28052         (tst-chk6-ENV): Likewise.
28053         (tst-lfschk1-ENV): Likewise.
28054         (tst-lfschk2-ENV): Likewise.
28055         (tst-lfschk3-ENV): Likewise.
28056         (tst-lfschk4-ENV): Likewise.
28057         (tst-lfschk5-ENV): Likewise.
28058         (tst-lfschk6-ENV): Likewise.
28059         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28060         (tst-iconv7-ENV): Likewise.
28061         * intl/Makefile (LOCPATH-ENV): Likewise.
28062         (tst-codeset-ENV): Likewise.
28063         (tst-gettext3-ENV): Likewise.
28064         (tst-gettext5-ENV): Likewise.
28065         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28066         (tst-fopenloc-ENV): Likewise.
28067         (tst-fgetws-ENV): Remove variable.
28068         (tst-ungetwc1-ENV): Likewise.
28069         (tst-ungetwc2-ENV): Likewise.
28070         (bug-ungetwc2-ENV): Likewise.
28071         (tst-swscanf-ENV): Likewise.
28072         (bug-ftell-ENV): Likewise.
28073         (tst-fgetwc-ENV): Likewise.
28074         (tst-fseek-ENV): Likewise.
28075         (tst-ftell-partial-wide-ENV): Likewise.
28076         (tst-ftell-active-handler-ENV): Likewise.
28077         (tst-ftell-append-ENV): Likewise.
28078         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28079         (tst-regexloc-ENV): Likewise.
28080         (bug-regex1-ENV): Likewise.
28081         (tst-regex-ENV): Likewise.
28082         (tst-regex2-ENV): Likewise.
28083         (bug-regex5-ENV): Likewise.
28084         (bug-regex6-ENV): Likewise.
28085         (bug-regex17-ENV): Likewise.
28086         (bug-regex18-ENV): Likewise.
28087         (bug-regex19-ENV): Likewise.
28088         (bug-regex20-ENV): Likewise.
28089         (bug-regex22-ENV): Likewise.
28090         (bug-regex23-ENV): Likewise.
28091         (bug-regex25-ENV): Likewise.
28092         (bug-regex26-ENV): Likewise.
28093         (bug-regex30-ENV): Likewise.
28094         (bug-regex32-ENV): Likewise.
28095         (bug-regex33-ENV): Likewise.
28096         (bug-regex34-ENV): Likewise.
28097         (bug-regex35-ENV): Likewise.
28098         (tst-rxspencer-ENV): Likewise.
28099         (tst-rxspencer-no-utf8-ENV): Likewise.
28100         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28101         (tst-sscanf-ENV): Likewise.
28102         (tst-swprintf-ENV): Likewise.
28103         (tst-swscanf-ENV): Likewise.
28104         (test-vfprintf-ENV): Likewise.
28105         (scanf13-ENV): Likewise.
28106         (bug14-ENV): Likewise.
28107         (tst-grouping-ENV): Likewise.
28108         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28109         (tst-strtod3-ENV): Likewise.
28110         (tst-strtod4-ENV): Likewise.
28111         (tst-strtod5-ENV): Likewise.
28112         (testmb2-ENV): Likewise./
28113         * string/Makefile (tst-strxfrm-ENV): Likewise.
28114         (tst-strxfrm2-ENV): Likewise.
28115         (bug-strcoll1-ENV): Likewise.
28116         (test-strcasecmp-ENV): Likewise.
28117         (test-strncasecmp-ENV): Likewise.
28118         * time/Makefile (tst-strptime-ENV): Likewise.
28119         (tst-ftime_l-ENV): Likewise.
28120         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28121         (tst-mbrtowc-ENV): Likewise.
28122         (tst-wcrtomb-ENV): Likewise.
28123         (tst-mbrtowc2-ENV): Likewise.
28124         (tst-c16c32-1-ENV): Likewise.
28125         (tst-mbsnrtowcs-ENV): Likewise.
28127 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28129         * manual/resource.texi (How to get information about the memory
28130         subsystem?): Fix typo.
28131         Reported by Peon de la Parra Ivan <peon@keba.com>
28133 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28135         [BZ #16882]
28136         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28137         (pthread_spin_lock): Branch out of spin loop to proper location.
28138         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28139         (pthread_spin_lock): Likewise.
28141         * nptl/tst-spin4.c: New test.
28142         * nptl/Makefile (tests): Add tst-spin4.
28144 2014-06-03  Andreas Schwab  <schwab@suse.de>
28146         [BZ #15946]
28147         * resolv/res_send.c (send_dg): Reload file descriptor after
28148         calling reopen.
28150 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28152         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28154 2014-06-03  Richard Henderson  <rth@redhat.com>
28156         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28157         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28158         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28159         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28160         in the SAVE_PID block.
28161         (__libc_vfork): New alias.
28162         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28164         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28165         child in registers, not on the stack.  Remove RESET_PID conditionals.
28166         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28168 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28172 2014-06-03  Wilco  <wdijkstr@arm.com>
28174         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28175         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28176         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28177         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28178         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28179         Likewise.
28181 2014-06-03  Wilco  <wdijkstr@arm.com>
28183         * sysdeps/aarch64/fpu/math_private.h
28184         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28185         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28186         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28187         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28188         Fix declarations.
28190 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28192         * crypt/crypt-private.h: Include ufc-crypt.h.
28193         (__b64_from_24bit): Declare extern.
28194         * crypt/crypt_util.c(__b64_from_24bit): New function.
28195         (b64t): New static const variable.
28196         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28197         (b64t): Remove variable.
28198         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28199         * crypt/sha256-crypt.c: Include crypt-private.h.
28200         (b64t): Remove variable.
28201         (__sha256_crypt_r): Remove b64_from_24bit and replace
28202         with __b64_from_24bit.
28203         * crypt/sha512-crypt.c: Likewise.
28205 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28207         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28208         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28209         Label the code __libc_vfork rather than __vfork.
28210         [!NOT_IN_libc] (vfork): Define as weak alias.
28211         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28212         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28213         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28215 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217         * malloc/malloc.c (malloc_info): Fix format specifier for
28218         n_mmaps.
28220 2014-06-02  Wilco  <wdijkstr@arm.com>
28222         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28223         FPCR write.
28225 2014-06-02  Wilco  <wdijkstr@arm.com>
28227         [BZ #17009]
28228         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28229         Rewrite to reduce FPCR/FPSR accesses.
28231 2014-06-01  David S. Miller  <davem@davemloft.net>
28233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28235 2014-05-31  David S. Miller  <davem@davemloft.net>
28237         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28238         to occur in round to nearest mode when |x| >= 2.0
28240 2014-05-30  Richard Henderson  <rth@twiddle.net>
28242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28243         (PSEUDO_RET_NOERRNO): Remove.
28244         (ret): Don't redefine.
28245         (ret_NOERRNO): Define in terms of ret.
28246         (ret_ERRVAL): Likewise.
28248         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28249         use of PSEUDO_RET; perform the error check directly.
28251 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28253         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28254         with __int128_t.
28256 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28258         * malloc/malloc (malloc_info): Fix formatting.
28260 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28261             Roland McGrath  <roland@hack.frob.com>
28263         * malloc/malloc (malloc_info): Also print mmapped statistics.
28265 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28267         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28268         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28270 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28272         * malloc/malloc.c (malloc_info): Inline mi_arena.
28274 2014-05-29  Richard Henderson  <rth@twiddle.net>
28276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28277         Remove comma before expanding ASM_ARGS_##nr.
28278         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28279         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28280         of ASM_ARGS_##nr.
28281         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28282         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28283         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28284         (ASM_ARGS_1): Add leading comma.
28286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28287         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28288         to __errno_location.
28289         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28290         Remove the expected plt for __errno_location.
28292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28293         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28294         call to __read_tp.
28296         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28297         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28298         it and break it down.
28299         (DOCARGS_0, DOCARGS_1): Do nothing.
28300         (DOCARGS_2): Update to store into the new stack frame.
28301         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28302         (UNDOCARGS_1): Update to restore from the new stack frame.
28303         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28304         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28307         (SINGLE_THREAD_P): New parameter for result regno.
28308         (PSEUDO): Update to match; use cbz instead of beq.
28310         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28311         Use ENTRY to define the _nocancel entry point.  Share the syscall
28312         and syscall error check paths with the cancel path.
28313         (PSEUDO_END): New.
28315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28316         whitespace; tabs before and after asm mnemonics.
28318 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28320         [BZ #15132]
28321         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28322         Call fstat64 or stat64 internally, depending on arguments passed.
28323         Replace stat buffer argument with file descriptor argument.
28324         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28325         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28326         Pass fd to __internal_statvfs instead of calling fstat64.
28327         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28328         Pass fd to __internal_statvfs64 instead of calling fstat64.
28329         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28330         Pass -1 to __internal_statvfs instead of calling stat64.
28331         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28332         Pass -1 to __internal_statvfs64 instead of calling stat64.
28334 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28336         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28337         that was previously under [RESET_PID].
28338         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28340         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28341         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28343 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28345         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28347         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28348         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28350 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28352         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28354 2014-05-27  Andreas Schwab  <schwab@suse.de>
28356         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28357         TLS_INIT_TP macro.
28358         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28359         * elf/rtld.c (init_tls, dl_main): Likewise.
28360         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28361         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28362         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28363         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28364         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28365         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28366         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28367         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28368         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28369         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28370         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28371         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28372         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28373         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28374         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28375         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28376         * sysdeps/generic/tls.h: Update description.
28378 2014-05-27  Will Newton  <will.newton@linaro.org>
28380         [BZ #16990]
28381         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28382         and restore r2 rather than just restoring.
28384 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28386         [BZ #16724]
28387         * libio/tst-ftell-append.c: New test case.
28388         * libio/Makefile (tests): Add test case.
28389         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28390         append mode.
28391         * libio/wfileops.c (do_ftell_wide): Likewise.
28393 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28397         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28398         ...
28399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28401         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28402         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28404         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28405         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28408         Moved ...
28409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28411         Moved ...
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28413         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28414         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28415         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28416         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28417         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28418         ...
28419         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28421         Moved ...
28422         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28423         here.
28424         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28425         ...
28426         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28427         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28428         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28431         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28432         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28433         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28436         merge into ...
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28439         ...
28440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28442         ...
28443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28445         Moved ...
28446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28447         here.
28448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28449         Moved ...
28450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28452         Moved ...
28453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28456         conditional [RESET_PID].
28457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28459         removed.
28460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28461         removed.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28464         <tcb-offsets.h>.
28465         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28466         (__libc_vfork): New strong alias.
28467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28468         removed.
28469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28470         Removed.
28472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28473         <tcb-offsets.h>.
28474         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28475         (__libc_vfork): New strong alias.
28476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28477         removed.
28478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28479         removed.
28481 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28483         * malloc/malloc.c (mi_arena): New function.
28484         (malloc_info): Remove nested function mi_arena. Call non-nosted
28485         function mi_arena.
28487 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28489         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28490         by insrwi.
28491         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28492         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28493         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28494         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28496         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28499 2014-05-26  Andreas Schwab  <schwab@suse.de>
28501         [BZ #16984]
28502         * locale/programs/repertoire.c (repertoire_read): Add slash
28503         between I18NPATH element and file name.
28504         * locale/programs/locfile.c (locfile_read): Likewise.
28506 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28508         * nptl/pthread_mutexattr_settype.c
28509         (__pthread_mutexattr_settype):
28510         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28512 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28514         * nptl/tst-mutex5 (do_test):
28515         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28517 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28519         * benchtests/README: Document 'init' directive.
28520         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28521         BENCH_INIT.
28522         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28523         (parse_file): Recognize 'init' directive.
28525 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28527         [BZ #16796]
28528         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28529         alignment of struct pthread.
28531 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28533         [BZ #16878]
28534         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28535         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28536         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28537         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28539 2014-05-25  Richard Henderson  <rth@twiddle.net>
28541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28542         (SINGLE_THREAD_P_PIC): Remove.
28543         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28544         (SINGLE_THREAD_P_PIC): Remove.
28546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28547         branch to syscall error ...
28548         (PSEUDO): ... here.
28549         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28550         from __local_syscall_error to .Lsyscall_error.
28551         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28552         (SYSCALL_ERROR): Update label name.
28554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28555         Do not use DOARGS/UNDOARGS.
28556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28557         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28558         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28559         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28560         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28563         block comment.
28565         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28566         define if !NOT_IN_libc.
28567         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28568         define with non-default symbol versions.
28570 2014-05-23  Richard Henderson  <rth@twiddle.net>
28572         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28573         (vfork, __vfork): Define via compat_symbol.
28575         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28576         [!HAVE_IFUNC] (vfork_compat): Remove.
28577         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28579 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28581         [BZ #16978]
28582         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28583         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28584         variable.
28586 2014-05-23  Richard Henderson  <rth@twiddle.net>
28588         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28589         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28590         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28591         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28593         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28594         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28595         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28596         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28598         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28599         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28600         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28601         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28602         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28603         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28604         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28605         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28608         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28610         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28612         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28613         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28614         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28615         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28616         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28617         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28618         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28619         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28620         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28621         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28622         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28623         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28624         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28626         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28627         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28628         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28629         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28630         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28631         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28632         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28633         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28635         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28636         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28637         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28638         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28639         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28640         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28641         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28642         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28643         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28644         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28646         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28648         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28650         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28651         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28652         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28653         before exiting on error.
28654         (__libc_vfork): New strong alias.
28655         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28656         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28658         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28659         that was previously under [RESET_PID].
28660         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28662         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28664 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28666         [BZ #16977]
28667         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28668         value when x - 1 is zero.
28669         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28670         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28671         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28672         0.0L for an argument of 1.0L.
28673         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28674         Likewise.
28675         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28676         value when x - 1 is zero.
28677         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28678         * sysdeps/i386/fpu/libm-test-ulps: Update.
28679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28683         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28684         alphasort and versionsort.
28686 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28688         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28689         macro.
28690         [copysignf]: Likewise.
28692 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28694         * crypt/md5-crypt.c: Fix formatting.
28696 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28698         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28699         (b64_from_24bit): New function.
28701 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28703         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28704         libc_hidden_builtin_def to ifunc.
28705         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28706         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28708 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28710         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28711         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28713 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28715         * nscd/Depend (linuxthreads): Remove.
28716         (nptl): Add.
28717         * resolv/Depend (linuxthreads): Remove.
28718         * rt/Depend (linuxthreads): Remove.
28720         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28721         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28722         $(common-objpfx)elf/.
28723         (link-libc-before-gnulib): Likewise.
28724         (elfobjdir): Remove variable.
28725         * Makefile (install): Use $(elf-objpfx) instead of
28726         $(common-objpfx)elf/.
28727         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28728         $(elfobjdir)/.
28729         (link-libc-deps): Likewise.
28730         ($(common-objpfx)libc.so): Likewise.
28731         ($(common-objpfx)linkobj/libc.so): Likewise.
28732         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28733         instead of $(common-objpfx)elf/.
28734         (symbolic-link-list): Likewise.
28735         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28736         [$(cross-compiling) = no]: Likewise.
28737         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28738         $(elfobjdir)/.
28739         (static-gnulib-arch): Likewise.
28740         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28741         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28742         $(common-objpfx)elf/.
28744 2014-05-21  Richard Henderson  <rth@redhat.com>
28746         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28747         (SINGLE_THREAD_P): Use the correct width load.  Fold
28748         into the ldr offset.
28750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28751         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28753 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28755         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28756         (libgcc_s_resume): Use __attribute_used__.
28757         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28758         Likewise.
28760 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28762         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28763         optimization when used with float constants.
28765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28767 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28769         [BZ #16915]
28770         * locale/nl_langinfo_l.c: Make direct reference to every
28771         _nl_current_CATEGORY symbol.
28772         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28773         (tests-static): Add tst-langinfo-static.
28774         (tests-special): Add tst-langinfo-static.out.
28775         ($(objpfx)tst-langinfo.out): Redirect output.
28776         ($(objpfx)tst-langinfo-static.out): New.
28777         * localedata/tst-langinfo.sh: Send output to stdout.
28778         * localedata/tst-langinfo-static.c: New file.
28780         [BZ #16965]
28781         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28782         when the shift amount is modulo the limb size.
28784 2014-05-20  Richard Henderson  <rth@redhat.com>
28786         [BZ #16967]
28787         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28788         Change type of sa_flags from unsigned int to int.
28790         [BZ #16966]
28791         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28793         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28795 2014-05-20  Will Newton  <will.newton@linaro.org>
28797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28798         Test the return value of the system call in the nocancel case.
28800 2014-05-20  Will Newton  <will.newton@linaro.org>
28801             Yvan Roux  <yvan.roux@linaro.org>
28803         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28804         #include of asm/ptrace.h.
28805         (PTRACE_GET_THREAD_AREA): Remove #undef.
28806         (PTRACE_GETHBPREGS): Likewise.
28807         (PTRACE_SETHBPREGS): Likewise.
28808         (struct user_regs_struct): New structure.
28809         (struct user_fpsimd_struct): New structure.
28810         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28811         #include of asm/ptrace.h and second #include of sys/user.h.
28812         (PTRACE_GET_THREAD_AREA): Remove #undef.
28813         (PTRACE_GETHBPREGS): Likewise.
28814         (PTRACE_SETHBPREGS): Likewise.
28815         (ELF_NGREG): Use new struct user_regs_struct.
28816         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28818 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28821         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28823 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28825         [BZ #16958]
28826         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28827         membar to avoid block loads/stores to overlap previous stores.
28829 2014-05-17  Richard Henderson  <rth@redhat.com>
28831         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28832         Create the __##syscall_name##_nocancel entry point.
28833         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28834         Remove; let the sysdep-cancel.h code create it.
28836 2014-05-17  David S. Miller  <davem@davemloft.net>
28838         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28839         Protect with __USE_GNU.
28840         (TIOCSET_TEMPT): Likewise.
28841         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28842         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28843         these are already provided in bits/ioctl-types.h
28845 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28847         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28848         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28850         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28851         Use wait4 regardless of [__NR_waitpid].
28853 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28855         PR libgcc/60166
28856         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28857         (_FP_NANSIGN_Q): Set the quiet bit.
28859 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28861         * benchtests/Makefile
28862         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28863         not $(common-objpfx)math/libm.so.
28864         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28865         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28866         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28867         $(common-objpfx)dlfcn/libdl.so.
28868         ($(objpfx)tst-audit8): Depend on $(libm), not
28869         $(common-objpfx)math/libm.so.
28870         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28871         not $(common-objpfx)dlfcn/libdl.so.
28872         * math/Makefile
28873         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28874         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28875         [$(build-shared) = yes].
28876         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28877         $(common-objpfx)nptl/libpthread.so.
28878         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28879         $(common-objpfx)math/libm.so$(libm.so-version) or
28880         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28881         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28882         $(common-objpfx)dlfcn/libdl.so.
28883         * setjmp/Makefile (link-libm): Remove variable.
28884         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28885         * stdio-common/Makefile (link-libm): Remove variable.
28886         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28887         * stdlib/Makefile (link-libm): Remove variable.
28888         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28889         ($(objpfx)tst-strtod-round): Likewise.
28890         ($(objpfx)tst-tininess): Likewise.
28891         ($(objpfx)tst-strtod-underflow): Likewise.
28892         ($(objpfx)tst-strtod6): Likewise.
28893         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28894         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28895         $(common-objpfx)dlfcn/libdl.so.
28897 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28899         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28900         BSD terminal modes definitions.
28902 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28904         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28905         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28907         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28908         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28909         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28910         Don't do #include_next.
28911         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28912         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28913         Don't do #include_next.
28914         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28915         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28916         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28917         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28919 2014-05-16  Allan McRae  <allan@archlinux.org>
28921         * po/sv.po: Update Swedish translation from translation project.
28923         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28924         in sed expression.
28926 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28928         [BZ #16917]
28929         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28930         errno if the TIOCGPTN ioctl fails with an error different than
28931         EINVAL.
28932         * login/tst-ptsname.c: New file.
28933         * login/Makefile (tests): Add tst-ptsname.
28935         [BZ #16943]
28936         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28937         and prlimit64.
28939 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28941         [BZ #16849]
28942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28943         herrno to return EAI_AGAIN.
28945 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28947         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28948         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28949         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28950         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28951         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28952         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28953         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28954         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28955         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28956         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28957         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28958         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28959         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28960         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28961         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28962         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28963         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28964         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28965         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28966         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28967         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28968         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28969         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28970         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28971         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28972         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28973         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28974         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28975         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28976         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28978         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28980         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28982         Moved ...
28983         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28985         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28987         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28989         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28995         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28999         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29001         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29003         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29005         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29007         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29009         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29011         Moved ...
29012         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29020         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29026         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29028         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29030         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29032         Moved ...
29033         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29035         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29037         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29038         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29039         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29040         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29041         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29043         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29044         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29045         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29046         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29047         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29048         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29049         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29050         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29051         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29052         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29053         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29054         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29055         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29056         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29057         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29058         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29059         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29060         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29061         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29062         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29063         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29064         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29065         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29069         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29070         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29072         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29073         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29074         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29075         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29076         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29078         Moved ...
29079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29081         Moved ...
29082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29084         Moved ...
29085         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29087         Moved ...
29088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29089         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29090         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29091         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29092         Moved ...
29093         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29094         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29095         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29098         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29099         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29101         Moved ...
29102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29104         Moved ...
29105         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29106         ... here.
29107         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29108         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29109         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29110         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29112         Moved ...
29113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29114         ... here.
29115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29116         Moved ...
29117         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29118         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29119         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29120         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29121         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29123         Moved ...
29124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29126         Moved ...
29127         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29129         Moved ...
29130         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29132         Moved ...
29133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29134         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29135         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29137         Moved ...
29138         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29139         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29140         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29143         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29144         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29146         Moved ...
29147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29149         Moved ...
29150         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29151         ... here.
29152         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29153         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29154         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29155         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29159         ... here.
29160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29161         Moved ...
29162         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29163         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29164         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29165         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29166         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29168         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29169         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29170         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29172         Moved ...
29173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29175         Moved ...
29176         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29178         Moved ...
29179         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29181         Moved ...
29182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29183         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29184         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29185         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29186         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29188         Moved ...
29189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29190         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29191         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29193         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29194         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29195         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29197         Moved ...
29198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29200         Moved ...
29201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29202         ... here.
29203         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29204         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29205         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29206         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29210         ... here.
29211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29214         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29215         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29216         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29217         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29218         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29219         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29221         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29223         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29225         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29226         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29228         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29229         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29231         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29232         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29233         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29235         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29237         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29239         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29241         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29245         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29247         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29249         Moved ...
29250         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29254         Moved ...
29255         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29259         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29266         Moved ...
29267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29273         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29274         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29275         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29276         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29277         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29278         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29279         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29281         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29282         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29283         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29285         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29286         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29287         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29288         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29289         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29291         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29292         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29293         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29294         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29295         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29296         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29297         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29298         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29299         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29300         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29305         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29306         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29307         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29308         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29309         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29310         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29311         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29312         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29313         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29314         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29316         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29318         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29320         Update #include.
29321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29322         Likewise.
29323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29324         Likewise.
29325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29326         Likewise.
29327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29328         Likewise.
29329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29330         Likewise.
29331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29332         Likewise.
29333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29334         Likewise.
29335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29336         Likewise.
29337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29338         Likewise.
29339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29341         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29344         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29346         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29350         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29352         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29355         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29356         that was previously under [RESET_PID].
29357         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29358         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29359         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29361         * sysdeps/i386/nptl/Implies: New file.
29362         * sysdeps/x86_64/nptl/Implies: New file.
29363         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29364         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29365         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29366         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29368         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29369         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29370         (__libc_vfork): New strong alias.
29371         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29372         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29374         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29375         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29376         (__libc_vfork): New strong alias.
29377         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29378         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29380         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29382         (__libc_vfork): New strong alias.
29383         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29384         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29385         * nptl/pt-vfork.c: New file.
29386         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29387         (libpthread: GLIBC_2.20): New version set (empty).
29389 2014-05-14  Will Newton  <will.newton@linaro.org>
29391         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29392         rather than #if.
29394 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29396         [BZ #16564]
29397         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29398         arguments with exponent 65 or above.
29399         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29400         arguments 0x1p113L or above.
29401         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29402         to arguments 0x1p107L or above.
29403         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29404         positive arguments with exponent 65 or above.
29405         * math/auto-libm-test-in: Add more tests of log1p.
29406         * math/auto-libm-test-out: Regenerated.
29408         [BZ #16928]
29409         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29410         non-finite arguments is +0.
29411         * math/s_cacosf.c (__cacosf): Likewise.
29412         * math/s_cacosl.c (__cacosl): Likewise.
29413         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29414         * sysdeps/i386/fpu/libm-test-ulps: Update.
29415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29417         [BZ #16927]
29418         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29419         value.
29420         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29421         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29422         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29423         for explicit high bit of mantissa when testing for argument equal
29424         to 1.
29425         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29426         * sysdeps/i386/fpu/libm-test-ulps: Update.
29427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29429         [BZ #16516]
29430         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29431         (__erf): Scale by 16 instead of 8 in potentially underflowing
29432         case.  Ensure exception if result actually underflows.
29433         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29434         (__erff): Scale by 16 instead of 8 in potentially underflowing
29435         case.  Ensure exception if result actually underflows.
29436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29437         (efx8): Remove variable.
29438         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29439         case.  Ensure exception if result actually underflows.
29440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29441         (efx8): Remove variable.
29442         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29443         case.  Ensure exception if result actually underflows.
29444         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29445         (efx8): Remove variable.
29446         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29447         case.  Ensure exception if result actually underflows.
29448         * math/auto-libm-test-in: Add more tests of erf.
29449         * math/auto-libm-test-out: Regenerated.
29451 2014-05-14  Andreas Schwab  <schwab@suse.de>
29453         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29454         Remove code conditionalized on USE___THREAD.
29456         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29457         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29458         not definedness.
29460 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29463         Define unconditionally.
29464         (__ASSUME_O_CLOEXEC): Likewise.
29465         (__ASSUME_SOCK_CLOEXEC): Likewise.
29466         (__ASSUME_IN_NONBLOCK): Likewise.
29467         (__ASSUME_PIPE2): Likewise.
29468         (__ASSUME_EVENTFD2): Likewise.
29469         (__ASSUME_SIGNALFD4): Likewise.
29470         (__ASSUME_DUP3): Likewise.
29471         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29472         (__ASSUME_DUP3): Do not define.
29473         (__ASSUME_EVENTFD2): Likewise.
29474         (__ASSUME_IN_NONBLOCK): Likewise.
29475         (__ASSUME_O_CLOEXEC): Likewise.
29476         (__ASSUME_PIPE2): Likewise.
29477         (__ASSUME_SIGNALFD4): Likewise.
29478         (__ASSUME_SOCK_CLOEXEC): Likewise.
29479         (__ASSUME_UTIMES): Undefine.
29480         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29481         (__ASSUME_UTIMES): Do not define.
29482         (__ASSUME_O_CLOEXEC): Likewise.
29483         (__ASSUME_SOCK_CLOEXEC): Likewise.
29484         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29485         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29486         0x020621].
29487         (__ASSUME_PIPE2): Likewise.
29488         (__ASSUME_EVENTFD2): Likewise.
29489         (__ASSUME_SIGNALFD4): Likewise.
29490         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29491         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29492         Do not define.
29493         (__ASSUME_EVENTFD2): Likewise.
29494         (__ASSUME_SIGNALFD4): Likewise.
29495         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29496         (__ASSUME_32BITUIDS): Likewise.
29497         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29498         (__ASSUME_IPC64): Likewise.
29499         (__ASSUME_ST_INO_64_BIT): Likewise.
29500         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29501         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29503         (__ASSUME_UTIMES): Do not define.
29504         (__ASSUME_PSELECT): Likewise.
29505         (__ASSUME_PPOLL): Likewise.
29506         (__ASSUME_O_CLOEXEC): Likewise.
29507         (__ASSUME_SOCK_CLOEXEC): Likewise.
29508         (__ASSUME_IN_NONBLOCK): Likewise.
29509         (__ASSUME_PIPE2): Likewise.
29510         (__ASSUME_EVENTFD2): Likewise.
29511         (__ASSUME_SIGNALFD4): Likewise.
29512         (__ASSUME_DUP3): Likewise.
29513         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29514         (__ASSUME_UTIMES): Likewise.
29515         (__ASSUME_O_CLOEXEC): Likewise.
29516         (__ASSUME_SOCK_CLOEXEC): Likewise.
29517         (__ASSUME_IN_NONBLOCK): Likewise.
29518         (__ASSUME_PIPE2): Likewise.
29519         (__ASSUME_EVENTFD2): Likewise.
29520         (__ASSUME_SIGNALFD4): Likewise.
29521         (__ASSUME_DUP3): Likewise.
29522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29523         (__ASSUME_UTIMES): Likewise.
29524         (__ASSUME_O_CLOEXEC): Likewise.
29525         (__ASSUME_SOCK_CLOEXEC): Likewise.
29526         (__ASSUME_IN_NONBLOCK): Likewise.
29527         (__ASSUME_PIPE2): Likewise.
29528         (__ASSUME_EVENTFD2): Likewise.
29529         (__ASSUME_SIGNALFD4): Likewise.
29530         (__ASSUME_DUP3): Likewise.
29531         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29532         Likewise.
29533         (__ASSUME_UTIMES): Likewise.
29534         (__ASSUME_EVENTFD2): Likewise.
29535         (__ASSUME_SIGNALFD4): Likewise.
29536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29537         (__ASSUME_O_CLOEXEC): Likewise.
29538         (__ASSUME_SOCK_CLOEXEC): Likewise.
29539         (__ASSUME_IN_NONBLOCK): Likewise.
29540         (__ASSUME_PIPE2): Likewise.
29541         (__ASSUME_EVENTFD2): Likewise.
29542         (__ASSUME_SIGNALFD4): Likewise.
29543         (__ASSUME_DUP3): Likewise.
29544         (__ASSUME_UTIMES): Undefine.
29546         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29547         feclearexcept.  Remove symbol versioning code.
29548         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29549         symbol versioning code.
29550         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29551         symbol versioning code.
29552         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29553         feupdateenv.  Remove symbol versioning code.
29554         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29555         fegetexceptflag.  Remove symbol versioning code.
29556         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29557         fesetexceptflag.  Remove symbol versioning code.
29558         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29559         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29560         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29561         (__posix_fadvise64_l32): Remove prototype.
29562         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29563         code.
29565 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29567         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29568         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29569         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29570         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29572 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29574         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29575         current working directory
29577 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29579         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29580         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29581         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29582         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29583         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29584         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29585         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29590         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29591         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29592         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29593         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29594         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29595         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29596         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29597         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29598         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29599         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29600         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29601         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29602         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29603         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29604         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29605         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29606         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29607         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29608         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29609         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29610         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29611         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29612         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29613         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29614         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29615         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29616         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29617         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29618         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29619         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29620         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29622         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29623         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29625         * sysdeps/unix/sysv/linux/arm/Makefile
29626         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29627         Add rt-aeabi_unwind_cpp_pr1.
29628         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29629         Add nptl-aeabi_unwind_cpp_pr1.
29630         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29631         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29632         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29633         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29634         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29635         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29637         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29638         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29639         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29640         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29642         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29643         Deconditionalize the code that was previously under [RESET_PID].
29644         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29646         * sysdeps/generic/exit-thread.h: New file.
29647         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29648         * include/unistd.h (__exit_thread): Remove declaration.
29649         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29650         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29651         * csu/libc-start.c: Include <exit-thread.h>.
29652         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29653         * nptl/pthread_create.c: Include <exit-thread.h>.
29654         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29655         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29656         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29657         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29658         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29659         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29660         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29661         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29662         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29663         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29664         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29665         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29666         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29667         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29668         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29669         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29670         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29672 2014-05-13  Andreas Schwab  <schwab@suse.de>
29674         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29676 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29678         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29679         (__ASSUME_UTIMES): Do not condition on kernel version.
29680         (__ASSUME_PSELECT): Define unconditionally.
29681         (__ASSUME_PPOLL): Likewise.
29682         (__ASSUME_ATFCTS): Likewise.
29683         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29684         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29685         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29686         (__ASSUME_UTIMENSAT): Define unconditionally.
29687         (__ASSUME_PRIVATE_FUTEX): Likewise.
29688         (__ASSUME_FALLOCATE): Likewise.
29689         (__ASSUME_O_CLOEXEC): Likewise.
29690         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29691         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29692         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29693         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29694         (__ASSUME_IN_NONBLOCK): Likewise.
29695         (__ASSUME_PIPE2): Likewise.
29696         (__ASSUME_EVENTFD2): Likewise.
29697         (__ASSUME_SIGNALFD4): Likewise.
29698         (__ASSUME_DUP3): Likewise.
29699         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29700         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29701         (__ASSUME_AT_RANDOM): Likewise.
29702         (__ASSUME_PREADV): Likewise.
29703         (__ASSUME_PWRITEV): Likewise.
29704         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29705         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29706         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29707         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29708         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29710         (__ASSUME_O_CLOEXEC): Define unconditionally.
29711         (__ASSUME_PSELECT): Do not undefine conditionally.
29712         (__ASSUME_PPOLL): Likewise.
29713         (__ASSUME_ATFCTS): Likewise.
29714         (__ASSUME_SET_ROBUST_LIST): Likewise.
29715         (__ASSUME_UTIMENSAT): Likewise.
29716         (__ASSUME_FDATASYNC): Define unconditionally.
29717         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29718         (__ASSUME_SIGFRAME_V2): Likewise.
29719         )__ASSUME_EVENTFD2): Likewise.
29720         (__ASSUME_SIGNALFD4): Likewise.
29721         (__ASSUME_PSELECT): Do not undefine conditionally.
29722         (__ASSUME_PPOLL): Likewise.
29723         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29724         (__ASSUME_PSELECT): Define unconditionally.
29725         (__ASSUME_PPOLL): Likewise.
29726         (__ASSUME_O_CLOEXEC): Likewise.
29727         (__ASSUME_SOCK_CLOEXEC): Likewise.
29728         (__ASSUME_IN_NONBLOCK): Likewise.
29729         (__ASSUME_PIPE2): Likewise.
29730         (__ASSUME_EVENTFD2): Likewise.
29731         (__ASSUME_SIGNALFD4): Likewise.
29732         (__ASSUME_DUP3): Likewise.
29733         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29734         (__ASSUME_O_CLOEXEC): Likewise.
29735         (__ASSUME_SOCK_CLOEXEC): Likewise.
29736         (__ASSUME_IN_NONBLOCK): Likewise.
29737         (__ASSUME_PIPE2): Likewise.
29738         (__ASSUME_EVENTFD2): Likewise.
29739         (__ASSUME_SIGNALFD4): Likewise.
29740         (__ASSUME_DUP3): Likewise.
29741         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29742         (__ASSUME_EVENTFD2): Likewise.
29743         (__ASSUME_SIGNALFD4): Likewise.
29744         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29746 2014-05-12  Andreas Schwab  <schwab@suse.de>
29748         [BZ #16932]
29749         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29750         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29751         than maximum RPC packet size.
29752         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29753         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29754         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29755         (_nss_nis_getservbyport_r): Likewise.
29757 2014-05-12  Will Newton  <will.newton@linaro.org>
29759         * malloc/Makefile (tests): Add tst-mallopt.
29760         * malloc/tst-mallopt.c: New file.
29762 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29764         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29765         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29767 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29769         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29770         (tst-tlsmod6.so): Likewise.
29772 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29774         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29776 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29778         [BZ #16064]
29779         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29780         and <dl-procinfo.h>.
29781         (__fegetenv): Save SSE state in envp->__eip if supported.
29782         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29783         envp->__eip if supported.
29784         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29785         and <dl-procinfo.h>.
29786         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29787         __data_offset and __data_selector in environment to 0.  Set SSE
29788         state if supported.
29789         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29790         test-fenv-sse.
29791         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29792         -mfpmath=sse.
29793         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29795 2014-05-09  Will Newton  <will.newton@linaro.org>
29797         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29798         and libc_relro_required for ARM.
29799         * sysdeps/arm/preconfigure: Regenerate.
29801 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29802             Stefan Liebler  <stli@linux.vnet.ibm.com>
29804         * config.make.in (enable-lock-elision): New Makefile variable.
29805         * configure.ac: Likewise.
29806         * configure: Regenerate.
29807         * sysdeps/s390/configure.ac:
29808         Add check for gcc transactions support.
29809         * sysdeps/s390/configure: Regenerate.
29810         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29811         Build elision files if enabled.
29812         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29813         Add lock elision support for s390.
29814         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29815         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29816         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29817         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29818         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29819         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29821         Likewise.
29822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29823         Likewise.
29824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29825         Likewise.
29826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29827         Likewise.
29828         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29829         (__lll_timedlock_elision, __lll_lock_elision)
29830         (__lll_unlock_elision, __lll_trylock_elision)
29831         (lll_timedlock_elision, lll_lock_elision)
29832         (lll_unlock_elision, lll_trylock_elision): Add.
29833         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29834         (pthread_mutex_t): Add lock elision support for s390.
29836 2014-05-14  Wilco  <wdijkstr@arm.com>
29838         * sysdeps/arm/fclrexcpt.c: Cleanup.
29839         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29840         * sysdeps/arm/feenablxcpt.c: Cleanup.
29841         * sysdeps/arm/fegetenv.c: Cleanup.
29842         * sysdeps/arm/fegetexcept.c: Cleanup.
29843         * sysdeps/arm/fegetround.c: Cleanup.
29844         * sysdeps/arm/feholdexcpt.c: Cleanup.
29845         * sysdeps/arm/fesetenv.c: Cleanup.
29846         * sysdeps/arm/fesetround.c: Cleanup.
29847         * sysdeps/arm/feupdateenv.c: Cleanup.
29848         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29849         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29850         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29851         * sysdeps/arm/ftestexcept.c: Cleanup.
29852         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29853         * sysdeps/arm/setfpucw.c: Cleanup.
29855 2014-05-09  Will Newton  <will.newton@linaro.org>
29857         * sysdeps/arm/armv7/strcmp.S: New file.
29858         * NEWS: Mention addition of ARMv7 optimized strcmp.
29860 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29862         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29863         look for %.ac rather than %.in.
29865         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29866         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29867         * sysdeps/mach/hurd/configure: Regenerated.
29868         * sysdeps/unix/sysv/linux/configure: Regenerated.
29870         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29872 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29874         [BZ# 16922]
29875         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29876         (LONG_SUB): Ditto.
29877         (PTR_SUB): Ditto.
29879 2014-05-07  Andreas Schwab  <schwab@suse.de>
29881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29882         when skipping over non-matching result from nscd.
29884 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29886         [BZ #16876]
29887         * nptl/sockperf.c (client): Check socket return value.
29889         [BZ #16877]
29890         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29891         nscd security class.
29893 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29895         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29896         * sysdeps/arm/unwind.h: ... here.
29898 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29900         [BZ# 16916]
29901         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29902         Define.
29904 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29906         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29907         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29908         multiarch strncpy for PPC64.
29909         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29910         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29912         multiarch optimizations.
29913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29914         (__libc_ifunc_impl_list): Likewise.
29915         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29916         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29917         multiarch stpncpy for PPC64.
29918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29919         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29921 2014-05-06  Andreas Schwab  <schwab@suse.de>
29923         [BZ #16912]
29924         * gmon/mcount.c (_MCOUNT_DECL): Use
29925         atomic_compare_and_exchange_bool_acq instead of
29926         catomic_compare_and_exchange_bool_acq.
29928 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29930         * elf/Makefile (others, install-bin): Remove pldd.
29931         (pldd-modules): Variable removed.
29932         ($(objpfx)pldd): Target removed.
29933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29934         (others, install-bin): Append pldd here.
29935         ($(objpfx)pldd): New target.
29937         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29938         to 0, so the first #if test emitted later doesn't see it undefined.
29939         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29940         * sysdeps/gnu/errlist.c: Regenerated.
29942 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29944         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29945         [libc_hidden_builtin_def]: Define to empty value.
29946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29947         [libc_hidden_builtin_def]: Likewise.
29948         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29949         [libc_hidden_builtin_def]: Likewise.
29950         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29951         [libc_hidden_builtin_def]: Likewise.
29952         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29953         __redirect_memcpy and define ifunc as default hidden symbol.
29954         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29955         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29957 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29959         * locale/iso-4217.def: Reintroduce XDR currency.
29961 2014-05-04  Allan McRae  <allan@archlinux.org>
29963         * po/eo.po: Update Esperanto translation from translation project.
29965 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29967         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29968         and FEATURE_INDEX_MAX to 1.
29969         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29971 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29973         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29974         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29975         * iconvdata/big5.c (ONE_DIRECTION): Define.
29976         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29977         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29978         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29979         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29980         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29981         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29982         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29983         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29984         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29985         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29986         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29987         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29988         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29989         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29990         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29991         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29992         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29993         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29994         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29995         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29996         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29997         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29998         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29999         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30000         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30001         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30002         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30003         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30004         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30005         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30006         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30007         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30008         * iconvdata/johab.c (ONE_DIRECTION): Define.
30009         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30010         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30011         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30012         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30013         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30014         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30015         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30016         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30017         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30018         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30020 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30022         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30023         (_IO_JUMPS_OFFSET): Define to 0.
30025         * nptl/sysdeps/pthread/bits/libc-lock.h
30026         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30027         (__libc_lock_define_initialized_recursive): Always define using
30028         initializer.  Modern compilers treat uninitialized (implicit zero) and
30029         explicit zero initializers the same (i.e. put the datum in bss).
30031 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30033         * nscd/nscd-client.h: Include <string.h>.
30035 2014-05-01  David S. Miller  <davem@davemloft.net>
30037         [BZ #16885]
30038         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30039         multiple zero bytes exist at the end of a string.
30040         Reported by Aurelien Jarno <aurelien@aurel32.net>
30042         * string/test-strcmp.c (check): Add explicit test for situations where
30043         there are multiple zero bytes after the first.
30045 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30047         [BZ #16890]
30048         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30049         when compiling wprintf.
30050         * stdio-common/tstdiomisc.c (t3): New function.
30051         (main): Call it.
30053 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30055         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30056         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30057         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30058         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30060 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30062         * stdlib/longlong.h: Updated from GCC.
30064 2014-05-01  Will Newton  <will.newton@linaro.org>
30065             Bernard Ogden  <bernie.ogden@linaro.org>
30067         * NEWS: Update fixed bug list.
30069         [BZ #15119]
30070         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30072 2014-04-30  David S. Miller  <davem@davemloft.net>
30074         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30075         (libc_feholdexcept_setround_sparc_ctx): New function.
30076         (libc_fesetenv_sparc_ctx): Likewise.
30077         (libc_feupdateenv_sparc_ctx): Likewise.
30078         (libc_feholdsetround_sparc_ctx): Likewise.
30079         (libc_feholdexcept_setround_ctx): Define.
30080         (libc_feholdexcept_setroundf_ctx): Likewise.
30081         (libc_feholdexcept_setroundl_ctx): Likewise.
30082         (libc_fesetenv_ctx): Likewise.
30083         (libc_fesetenvf_ctx): Likewise.
30084         (libc_fesetenvl_ctx): Likewise.
30085         (libc_feupdateenv_ctx): Likewise.
30086         (libc_feupdateenvf_ctx): Likewise.
30087         (libc_feupdateenvl_ctx): Likewise.
30088         (libc_feresetround_ctx): Likewise.
30089         (libc_feresetroundf_ctx): Likewise.
30090         (libc_feresetroundl_ctx): Likewise.
30091         (libc_feholdsetround_ctx): Likewise.
30092         (libc_feholdsetroundf_ctx): Likewise.
30093         (libc_feholdsetroundl_ctx): Likewise.
30095         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30096         with __USE_GNU instead of XOPEN cpp guards.
30098         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30099         0.
30101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30102         with XOPEN cpp guards.
30104 2014-04-30  Julian Brown  <julian@codesourcery.com>
30106         [BZ #16888]
30107         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30108         handling.
30110 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30112         [BZ #9894]
30113         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30114         Change to 2.6.32.
30115         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30116         * sysdeps/unix/sysv/linux/configure: Regenerated.
30117         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30118         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30119         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30120         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30121         * README: Update reference to required Linux kernel version.
30122         * manual/install.texi (Linux): Update reference to required Linux
30123         kernel headers version.
30124         * INSTALL: Regenerated.
30126         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30127         header inclusion.
30128         [POSIX] (limits.h): Likewise.
30129         [POSIX] (math.h): Likewise.
30130         [POSIX] (sys/wait.h): Likewise.
30131         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30132         function.
30133         [POSIX] (stddef.h): Do not allow header inclusion.
30135 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30137         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30139 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30141         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30142         Return immediately after lll_futex_wake.
30144 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30146         [BZ #16791]
30147         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30148         structure.
30149         (datahead_init_pos): Call datahead_init_common early.
30150         (datahead_init_neg): Likewise.
30152         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30153         datahead_init_neg): New functions.
30154         * nscd/aicache.c (addhstaiX): Use them.
30155         * nscd/grpcache.c (cache_addgr): Likewise.
30156         * nscd/hstcache.c (cache_addhst): Likewise.
30157         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30158         * nscd/netgroupcache.c (do_notfound): Likewise.
30159         (addgetnetgrentX): Likewise.
30160         (addinnetgrX): Likewise.
30161         * nscd/pwdcache.c (cache_addpw): Likewise.
30162         * nscd/servicescache.c (cache_addserv): Likewise.
30164 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30165             Atsushi Onoe  <atsushi@onoe.org>
30167         [BZ #14308]
30168         [BZ #12994]
30169         [BZ #13651]
30170         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30171         one response is valid.
30172         * resolv/res_send.c (send_dg): Check for validity of other
30173         response if the current response is a referral.
30175 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30177         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30179 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30181         [BZ #16823]
30182         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30183         Always divide by positive zero when computing -Inf result.
30184         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30185         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30187 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30189         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30190         FPSCR if value do not change.
30191         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30192         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30193         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30194         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30195         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30196         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30197         function.
30199 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30201         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30202         * sysdeps/unix/sysv/linux/hppa: Move directory from
30203         ports/systeps/unix/sysv/linux/hppa.
30204         * README: Update listing for hppa-*-linux-gnu.
30206 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30208         [BZ #16754]
30209         * manual/stdio.texi (Hook functions): Fix types of stream hook
30210         functions.
30211         [BZ #16854]
30212         * socket/sys/socket.h: Fix typo in comment.
30214 2014-04-28  Wilco  <wdijkstr@arm.com>
30216         * sysdeps/arm/fenv_private.h: New file.
30217         * sysdeps/arm/math_private.h: New file.
30218         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30220 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30222         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30223         with __int128_t.
30224         (La_x86_64_retval): Likewise.
30226 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30228         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30229         fpsr if value didn't change.
30230         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30231         to fpcr if value didn't change.
30232         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30233         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30234         fpsr or fpcr if value didn't change.
30235         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30236         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30237         fpcr if value didn't change.
30238         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30239         to fpsr if value didn't change.
30241 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30243         * nptl/tst-sem3.c: Use test-skeleton.c
30244         (main): Rename to do_test.  Use return instead of
30245         exit.
30246         * nptl/tst-sem4.c: Use test-skeleton.c
30247         (main): Rename to do_test.
30249 2014-04-22  David S. Miller  <davem@davemloft.net>
30251         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30252         (struct sigaction): New struct member __glibc_reserved0, change
30253         type of sa_flags to int.
30255 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30257         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30258         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30260 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30262         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30263         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30265 2014-04-22  Will Newton  <will.newton@linaro.org>
30266             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30268         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30269         (__longjmp): Add longjmp and longjmp_target SystemTap
30270         probes.
30271         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30272         (__sigsetjmp): Add setjmp SystemTap probe.
30274 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30276         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30277         match manual order.
30279 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30283         * sysdeps/powerpc/fpu/fenv_private.h
30284         (libc_feholdexcept_setroundl_ctx): Define to
30285         libc_feholdexcept_setround_ppc_ctx.
30286         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30287         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30288         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30289         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30291 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30293         * sysdeps/aarch64/math-tests.h: New file.
30295 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30297         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30298         New.
30299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30300         Check and set bit_AVX2_Usable.
30301         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30302         macro.
30303         (bit_AVX2): Likewise.
30304         (index_AVX2_Usable): Likewise.
30305         (CPUID_AVX2): Likewise.
30306         (HAS_AVX2): Likewise.
30308 2014-04-17  Will Newton  <will.newton@linaro.org>
30310         * manual/setjmp.texi (System V contexts): Add note that
30311         calling setcontext on a context created by a call to a
30312         signal handler is undefined.  Update text to note that
30313         setcontext from a signal handler is possible but not
30314         recommended.
30316         [BZ #16629]
30317         * stdlib/tst-setcontext.c: Include signal.h.
30318         (main): Check that the signal stack before and
30319         after swapcontext is the same.
30321         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30322         Re-implement to restore registers in user code and avoid
30323         rt_sigreturn system call.
30325 2014-04-17  Wilco  <wdijkstr@arm.com>
30327         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30328         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30329         * math/test-fenv.c: Skip exception trap tests on targets which only
30330         support non-stop mode.
30332 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30333             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30335         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30336         (libc_feholdsetround_aarch64_ctx)
30337         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30338         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30339         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30340         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30341         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30342         (libc_feresetround_noexl_ctx): Define.
30344 2014-04-16  Richard Henderson  <rth@redhat.com>
30346         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30348         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30349         unwind tables.
30351         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30352         const from the non-libc, non-ldso copy.
30354         * sysdeps/alpha/libm-test-ulps: Regenerate.
30356 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30357             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30359         * sysdeps/aarch64/fpu/math_private.h: New file.
30361 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30363         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30365 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30367         [BZ #16275]
30368         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30369         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30371         Intel MPX bound registers before _dl_profile_fixup.
30372         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30373         registers after _dl_profile_fixup.  Save and restore bound
30374         registers bnd0/bnd1 when calling _dl_call_pltexit.
30375         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30376         (LR_BND_OFFSET): Likewise.
30377         (LRV_BND0_OFFSET): Likewise.
30378         (LRV_BND1_OFFSET): Likewise.
30380 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30382         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30383         to...
30384         * sysdeps/mach/hurd/i386/tls.h: ... here.
30385         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30386         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30387         fields.
30389 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30391         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30393 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30397 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30399         [BZ #14770]
30400         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30401         * sysdeps/s390/configure: Regenerate.
30403         [BZ #16824]
30404         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30405         Set round-to-nearest internally to reduce error accumulation.
30407 2014-04-16  Alan Modra  <amodra@gmail.com>
30409         [BZ #16740]
30410         [BZ #16619]
30411         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30412         * math/libm-test.inc (frexp_test_data): Add tests.
30413         * NEWS: Update fixed bug list.
30415 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30417         * benchtests/Makefile: Depend on libraries in build directory.
30418         (bench-math): Separate out math tests.
30419         (bench-pthread): Separate out pthread tests.
30420         (bench): Include math and pthread tests.
30422 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30424         [BZ #16831]
30425         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30426         _dl_debug_initialize.
30428         * configure.ac: Remove SELinux header check.
30429         * configure: Regenerate.
30430         * nscd/selinux.c (perms): Array of const char* to permission names.
30431         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30432         default policy. Call string_to_security_class and string_to_av_perm to
30433         translate strings. Enforce default policy and call avs_has_perm with
30434         results of translated strings.
30436 2014-04-13  David S. Miller  <davem@davemloft.net>
30438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30440 2014-04-12  Allan McRae  <allan@archlinux.org>
30442         [BZ #16838]
30443         * manual/string.texi (Collation Functions): Fix qsort argument
30444         order in example.
30445         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30447 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30449         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30450         Make the test a no-op if there are no exceptions defined.
30452 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30454         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30455         enable-hardcoded-path-in-tests
30457 2014-04-11  Will Newton  <will.newton@linaro.org>
30459         * benchtests/Makefile (extra-objs): Add json-lib.o.
30460         (bench-func): Tidy up JSON output.
30461         * benchtests/bench-skeleton.c: Include json-lib.h.
30462         (main): Use JSON library functions to do output of
30463         benchmark results.
30464         * benchtests/bench-timing-type.c (main): Output the
30465         timing type simply, leaving formatting to the user.
30466         * benchtests/json-lib.c: New file.
30467         * benchtests/json-lib.h: Likewise.
30469 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30471         [BZ #15215]
30472         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30473         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30474         memory barriers.  Add comments.
30475         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30476         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30477         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30478         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30479         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30480         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30482 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30484         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30485         * sysdeps/s390/s390-64/configure.ac: ... this ...
30486         * sysdeps/s390/configure.ac: ... to here.
30487         * sysdeps/s390/s390-32/configure: Delete file.
30488         * sysdeps/s390/s390-64/configure: Delete file.
30489         * sysdeps/s390/configure: Regenerate.
30491 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30493         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30495 2014-04-11  Will Newton  <will.newton@linaro.org>
30497         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30498         to zero if it is not defined elsewhere.  (mtrim): Test
30499         the value of MALLOC_DEBUG with #if rather than #ifdef.
30501 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30503         * benchtests/pthread_once-inputs: New file.
30504         * benchtests/pthread_once-source.c: New file.
30505         * benchtests/README: Update documentation.
30507 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30508             H.J. Lu  <hongjiu.lu@intel.com>
30510         [BZ #16275]
30511         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30512         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30513         * sysdeps/x86_64/configure: Regenerated.
30514         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30515         macro.
30516         (REGISTER_SAVE_RAX): Likewise.
30517         (REGISTER_SAVE_RCX): Likewise.
30518         (REGISTER_SAVE_RDX): Likewise.
30519         (REGISTER_SAVE_RSI): Likewise.
30520         (REGISTER_SAVE_RDI): Likewise.
30521         (REGISTER_SAVE_R8): Likewise.
30522         (REGISTER_SAVE_R9): Likewise.
30523         (REGISTER_SAVE_BND0): Likewise.
30524         (REGISTER_SAVE_BND1): Likewise.
30525         (REGISTER_SAVE_BND2): Likewise.
30526         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30527         bound registers when calling _dl_fixup.
30529 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30531         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30532         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30533         of its definition.
30534         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30535         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30536         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30537         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30538         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30539         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30540         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30542 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30544         [BZ #15514]
30545         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30546         pathconf(_PC_NAME_MAX).
30548 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30550         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30551         Remove macro usage.
30552         (__PTHREAD_SPINS): Move definition to ...
30553         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30554         (__PTHREAD_SPINS): ... here.
30555         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30556         (__PTHREAD_SPIN): Likewise.
30557         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30558         (__PTHREAD_SPIN): Likewise.
30559         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30560         (__PTHREAD_SPIN): Likewise.
30561         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30562         (__PTHREAD_SPIN): Likewise.
30563         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30564         (__PTHREAD_SPIN): Likewise.
30565         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30566         (__PTHREAD_SPIN): Likewise.
30567         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30568         (__PTHREAD_SPIN): Likewise.
30569         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30570         (__PTHREAD_SPIN): Likewise.
30571         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30572         (__PTHREAD_SPIN): Likewise.
30573         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30574         (__PTHREAD_SPIN): Likewise.
30575         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30576         (__PTHREAD_SPIN): Likewise.
30577         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30578         (__PTHREAD_SPIN): Likewise.
30580         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30581         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30582         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30583         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30584         imply folder.
30585         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30586         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30587         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30588         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30589         correct imply path.
30590         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30591         strlen symbol for non multi-arch builds.
30592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30593         missing hidden_def and weak_alias.
30595 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30597         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30599 2014-04-07  Will Newton  <will.newton@linaro.org>
30601         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30602         and contents.  [!_LIBC] Remove #ifndef and contents.
30603         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30604         * string/memccpy.c (__memccpy): Use ANSI prototype.
30605         * string/memfrob.c (memfrob): Likewise.
30606         * string/strcoll.c (STRCOLL): Likewise.
30607         * string/strlen.c (strlen): Likewise.
30608         * string/strtok.c (STRTOK): Likewise.
30609         * string/strcat.c: Remove unused #include of memcopy.h.
30610         (strcat): Use ANSI prototype.
30611         * string/strchr.c: Remove unused #include of memcopy.h.
30612         (strchr): Use ANSI prototype.
30613         * string/strcmp.c: Remove unused #include of memcopy.h.
30614         (strcmp): Use ANSI prototype.
30615         * string/strcpy.c: Remove unused #include of memcopy.h.
30616         (strcpy): Use ANSI prototype.
30618 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30620         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30621         * config.make.in (config-extra-cppflags): Set it from
30622         libc_extra_cppflags.
30623         * configure.ac (libc_extra_cflags): Make it accumulate over
30624         configure fragments.
30625         (libc_extra_cppflags): New flag.
30626         * configure. Regenerate.
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30628         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30629         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30632         [BZ #16815]
30633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30634         result for FE_DOWNWARD rounding mode.
30635         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30636         Likewise.
30637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30639 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30641         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30642         in function argument name.
30644 2014-04-03  David Svoboda  <svoboda@cert.org>
30646         [BZ #5666]
30647         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30648         explicitly.
30650 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30652         * elf/dl-unmap-segments.h: New file.
30653         * sysdeps/generic/ldsodefs.h
30654         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30655         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30656         * elf/dl-fptr.c: Likewise.
30657         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30658         * sysdeps/aarch64/tlsdesc.c: Likewise.
30659         * sysdeps/arm/tlsdesc.c: Likewise.
30660         * sysdeps/i386/tlsdesc.c: Likewise.
30661         * sysdeps/tile/dl-runtime.c: Likewise.
30662         * sysdeps/x86_64/tlsdesc.c: Likewise.
30663         * elf/dl-load.h: New file.
30664         * elf/dl-load.c: Include it.
30665         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30666         Macros moved to dl-load.h.
30667         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30668         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30669         Use _dl_unmap_segments in place of __munmap.
30670         Break out segment-mapping loop into ...
30671         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30673 2014-04-03  Will Newton  <will.newton@linaro.org>
30675         * elf/dl-lookup.c (do_lookup_x): Remove comment
30676         referring to nested function and move variable
30677         declarations down to before first use.
30679 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30681         [BZ #16799]
30682         [BZ #16800]
30683         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30684         with 0 numerator.
30685         * math/s_catanf.c (__catanf): Likewise.
30686         * math/s_catanh.c (__catanh): Likewise.
30687         * math/s_catanhf.c (__catanhf): Likewise.
30688         * math/s_catanhl.c (__catanhl): Likewise.
30689         * math/s_catanl.c (__catanl): Likewise.
30690         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30691         by positive zero when computing -Inf result.
30692         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30693         (catanh_test): Likewise.
30694         * sysdeps/i386/fpu/libm-test-ulps: Update.
30695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30697         [BZ #16789]
30698         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30699         instead of using underflowing value in computing result.
30700         * math/s_clog10.c (__clog10): Likewise.
30701         * math/s_clog10f.c (__clog10f): Likewise.
30702         * math/s_clog10l.c (__clog10l): Likewise.
30703         * math/s_clogf.c (__clogf): Likewise.
30704         * math/s_clogl.c (__clogl): Likewise.
30705         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30706         (clog10_test): Likewise.
30707         * sysdeps/i386/fpu/libm-test-ulps: Update.
30708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30710 2014-04-02  Alan Modra  <amodra@gmail.com>
30712         [BZ #16739]
30713         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30714         output when value is near a power of two.  Use int64_t for lx and
30715         remove casts.  Use decimal rather than hex exponent constants.
30716         Don't use long double multiplication when double will suffice.
30717         * math/libm-test.inc (nextafter_test_data): Add tests.
30718         * NEWS: Add 16739 and 16786 to bug list.
30720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30722         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30724 2014-04-01  Will Newton  <will.newton@linaro.org>
30726         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30727         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30729 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30731         [BZ #13347]
30732         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30733         * nptl/tst-setuid2.c: New file.
30734         * nptl/Makefile (xtests): Add tst-setuid2.
30736 2014-04-01  Alan Modra  <amodra@gmail.com>
30738         [BZ #16786]
30739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30741 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30743         [BZ #6803]
30744         [BZ #6804]
30745         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30746         set errno as appropriate.
30747         * math/w_scalbf.c (__scalbf): Likewise.
30748         * math/w_scalbl.c (__scalbl): Likewise.
30749         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30750         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30751         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30752         Add more NaN tests.
30754         [BZ #16349]
30755         * math/w_atan2.c: Include <errno.h>.
30756         (__atan2): Set errno for result underflowing to zero.
30757         * math/w_atan2f.c: Include <errno.h>.
30758         (__atan2f): Set errno for result underflowing to zero.
30759         * math/w_atan2l.c: Include <errno.h>.
30760         (__atan2l): Set errno for result underflowing to zero.
30761         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30762         tests.
30763         * math/auto-libm-test-out: Regenerated.
30765 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30767         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30768         Encode instruction correctly in little endian.
30769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30770         Likewise.
30771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30772         Likewise.
30773         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30774         Likewise.
30775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30776         Likewise.
30778 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30780         [BZ #9894]
30781         * sysdeps/unix/sysv/linux/kernel-features.h
30782         [__sparc__ && !__arch64__ && !__sparc_v9__]
30783         (__ASSUME_SET_ROBUST_LIST): Do not define.
30784         [__sparc__ && !__arch64__ && !__sparc_v9__]
30785         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30786         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30787         Likewise.
30788         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30789         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30790         (__ASSUME_REQUEUE_PI): Likewise.
30791         (__ASSUME_SET_ROBUST_LIST): Likewise.
30792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30793         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30794         Undefine.
30795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30796         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30797         Likewise.
30798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30799         Likewise.
30800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30801         Likewise.
30802         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30803         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30804         Undefine.
30805         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30806         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30807         Likewise.
30809         [BZ #16648]
30810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30811         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30812         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30814 2014-03-31  Will Newton  <will.newton@linaro.org>
30816         * benchtests/Makefile (bench): Add ffs and ffsll to list
30817         of tests.
30818         * benchtests/ffs-inputs: New file.
30819         * benchtests/ffsll-inputs: Likewise.
30821 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #16770]
30824         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30825         too large before casting to int.
30826         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30827         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30828         * math/libm-test.inc (scalb_test_data): Add more tests.
30830 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30832         * benchtests/Makefile (DETAILED_OPT): New make option.
30833         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30834         set.
30835         * benchtests/bench-skeleton.c: Include stdbool.h.
30836         (main): Store and print timings per input.
30837         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30838         member to each argument value.
30839         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30840         (_print_arg_data): Initialize per-input timing to 0.
30842         * benchtests/Makefile (timing-type): New binary.
30843         (bench-clean): Also remove bench-timing-type.
30844         (bench): New target for timing-type.
30845         (bench-func): Print output in JSON format.
30846         * benchtests/bench-skeleton.c (main): Print output in JSON
30847         format.
30848         * benchtests/bench-timing-type.c: New file.
30849         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30850         (TIMING_PRINT_STATS): Remove.
30851         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30852         name separately.
30854         * benchtests/bench-modf.c: Remove.
30855         * benchtests/modf-inputs: New inputs file.
30857 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30859         [BZ #16362]
30860         * math/s_clog10.c (M_PI_LOG10E): New macro.
30861         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30862         imaginary parts are 0.
30863         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30864         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30865         imaginary parts are 0.
30866         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30867         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30868         imaginary parts are 0.
30869         * math/libm-test.inc (clog10_test_data): Update expected results
30870         for when real and imaginary parts are 0.
30872 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30874         * elf/dl-load.c: Finish conversion of __builtin_expect into
30875         __glibc_{un}likely.
30877 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30879         [BZ #16348]
30880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30881         1+x for argument with exponent below -67.
30882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30883         Likewise.
30884         * math/auto-libm-test-in: Add more tests of exp.
30885         * math/auto-libm-test-out: Regenerated.
30887 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30889         [BZ #16759]
30890         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30891         (nscd_getnetgrent): Use it.
30893         [BZ #16760]
30894         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30895         of stpcpy.
30897 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30899         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30900         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30901         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30902         (lll_robust_unlock): Remove out of line section. Use cfi
30903         intrinsics.
30904         (LLL_STUB_UNWIND_INFO*): Remove.
30905         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30906         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30907         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30908         (lll_robust_unlock): Remove out of line section. Use cfi
30909         intrinsics.
30910         (LLL_STUB_UNWIND_INFO*): Remove.
30912 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30914         [BZ #16758]
30915         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30916         blank values.
30918 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30920         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30922 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30924         [BZ #16198]
30925         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30926         fnstenv.
30927         * math/test-fenv-preserve.c: New file.
30928         * math/Makefile (tests): Add test-fenv-preserve.
30930 2014-03-26  Will Newton <will.newton@linaro.org>
30932         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30934 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30936         * scripts/versionlist.awk: Partition the version sets and emit all
30937         GLIBC_* (sorted) before all others (sorted).
30939 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30941         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30942         GLIBC_2.2.5 version.
30944 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30946         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30947         calls.
30949         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30950         previous change.
30952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30954 2014-03-25  Andreas Schwab  <schwab@suse.de>
30956         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30957         label to be used after in6ailist is initialized.
30959 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30962         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30964 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30966         [BZ #16357]
30967         [BZ #16599]
30968         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30969         min_plus_half.
30970         (fp_formats): Update initializers.
30971         (init_fp_formats): Initialize new field.
30972         (output_for_one_input_case): Allow underflow for results up to
30973         min_plus_half.
30974         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30975         * math/auto-libm-test-in: Don't mark some underflows from asin and
30976         atanh as spurious.
30977         * math/auto-libm-test-out: Regenerated.
30978         * sysdeps/i386/fpu/libm-test-ulps: Update.
30979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30981 2014-03-25  Andreas Schwab  <schwab@suse.de>
30983         * libio/Makefile (tst-ftell-partial-wide-ENV)
30984         (tst-ftell-active-handler-ENV): Define.
30986 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30988         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30990 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30992         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30994 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30996         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30997         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30998         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31000 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31002         [BZ #16634]
31003         * elf/dl-load.c (open_verify): Add mode parameter.
31004         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31005         (open_path): Change from boolean 'secure' to complete flag 'mode'
31006         (_dl_map_object): Adjust.
31007         * elf/Makefile (tests): Add tst-dlopen-aout.
31008         * elf/tst-dlopen-aout.c: New test.
31010 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31012         [BZ #16714]
31013         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31014         (struct stat): Rename member pad0 to __glibc_reserved0.
31016         [BZ #16712]
31017         * sysdeps/s390/s390-32/bits/wordsize.h
31018         (__WORDSIZE32_SIZE_ULONG): New define.
31019         * sysdeps/s390/s390-64/bits/wordsize.h
31020         (__WORDSIZE32_SIZE_ULONG): Likewise.
31021         * sysdeps/generic/stdint.h (SIZE_MAX):
31022         Define as UL if __WORDSIZE32_SIZE_ULONG.
31024         [BZ #16713]
31025         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31026         (__glibc_reserved0): New variable.
31027         (sa_flags): Change type to int.
31029         * posix/Makefile (before-compile): Use += before-compile instead
31030         of a :=.
31032         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31033         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31035 2014-03-20  Andreas Schwab  <schwab@suse.de>
31037         [BZ #16743]
31038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31039         non-matching result from nscd.
31041 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043         * scripts/bench.py: Moved to ...
31044         * benchtests/scripts/bench.py: ... here.
31045         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31047 2014-03-24  Andreas Schwab  <schwab@suse.de>
31049         [BZ #16002]
31050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31051         alloca_account and account alloca use for struct in6ailist.
31053 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31055         [BZ #16284]
31056         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31057         rounding mode to recompute results that overflow to infinity or
31058         underflow to zero.
31059         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31060         bug 16284.
31061         * math/auto-libm-test-out: Regenerated.
31062         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31063         (ccosh_test): Likewise.
31064         (csin_test_data): Use plus_oflow.
31065         (csin_test): Use ALL_RM_TEST.
31066         (csinh_test_data): Use plus_oflow.
31067         (csinh_test): Use ALL_RM_TEST.
31068         * sysdeps/i386/fpu/libm-test-ulps: Update.
31069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31071 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31073         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31074         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31075         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31077         [BZ #16731]
31078         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31079         when x - 1 is zero.
31080         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31081         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31082         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31083         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31084         argument is 1.
31085         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31086         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31087         zero.
31088         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31089         * sysdeps/i386/fpu/libm-test-ulps: Update.
31090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31092 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31094         * scripts/bench.pl: Remove file.
31095         * scripts/bench.py: New benchmark script.
31096         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31097         * benchtests/README: Mention python dependency.
31098         * scripts/pylintrc: New file.
31099         * scripts/pylint: New file.
31101         * bits/mathdef.h: Use #ifdef instead of #if.
31102         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31103         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31104         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31105         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31106         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31107         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31109 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31110             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31112         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31114         and strpbrk-ppc64 objects.
31115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31116         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31117         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31118         multiarch strpbrk for POWER7.
31119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31120         multiarch strpbrk for PPC64.
31121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31122         ifunc selector.
31123         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31124         strpbrk for POWER7.
31126 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31128         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31129         (atan_test): Likewise.
31130         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31131         (atanh_test): Use ALL_RM_TEST.
31132         (atan2_test_data): Likewise.
31133         (cabs_test): Likewise.
31134         (cacosh_test): Likewise.
31135         (carg_test): Likewise.
31136         (casin_test): Likewise.
31137         (casinh_test): Likewise.
31138         (cbrt_test): Likewise.
31139         (csqrt_test): Likewise.
31140         (erf_test): Likewise.
31141         (erfc_test): Likewise.
31142         (pow10_test): Likewise.
31143         (exp2_test): Likewise.
31144         (hypot_test): Likewise.
31145         (j0_test): Likewise.
31146         (j1_test): Likewise.
31147         (lgamma_test): Likewise.
31148         (gamma_test): Likewise.
31149         (sincos_test): Likewise.
31150         (tanh_test): Likewise.
31151         (y0_test): Likewise.
31152         (y1_test): Likewise.
31153         * sysdeps/i386/fpu/libm-test-ulps: Update.
31154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31156 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31158         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31160         and strcspn-ppc64 objects.
31161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31162         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31163         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31164         multiarch strcspn for POWER7.
31165         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31166         multiarch strcspn for PPC64.
31167         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31168         ifunc selector.
31169         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31170         strcspn for POWER7.
31172 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31174         * math/gen-libm-test.pl (generate_testfile): Expect only function
31175         name as argument to AUTO_TESTS_* and pass results for all rounding
31176         modes to parse_args.
31177         (parse_auto_input): Separate inputs of automatic tests from
31178         outputs before storing in %auto_tests.
31179         * math/libm-test.inc (acos_test_data): Update call to
31180         AUTO_TESTS_f_f.
31181         (acos_test): Use ALL_RM_TEST.
31182         (acos_tonearest_test_data): Remove.
31183         (acos_test_tonearest): Likewise.
31184         (acos_towardzero_test_data): Likewise.
31185         (acos_test_towardzero): Likewise.
31186         (acos_downward_test_data): Likewise.
31187         (acos_test_downward): Likewise.
31188         (acos_upward_test_data): Likewise.
31189         (acos_test_upward): Likewise.
31190         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31191         (asin_test_data): Likewise.
31192         (asin_test): Use ALL_RM_TEST.
31193         (asin_tonearest_test_data): Remove.
31194         (asin_test_tonearest): Likewise.
31195         (asin_towardzero_test_data): Likewise.
31196         (asin_test_towardzero): Likewise.
31197         (asin_downward_test_data): Likewise.
31198         (asin_test_downward): Likewise.
31199         (asin_upward_test_data): Likewise.
31200         (asin_test_upward): Likewise.
31201         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31202         (atan_test_data): Likewise.
31203         (atanh_test_data): Likewise.
31204         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31205         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31206         (carg_test_data): Likewise.
31207         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31208         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31209         (ccosh_test_data): Likewise.
31210         (cexp_test_data): Likewise.
31211         (clog_test_data): Likewise.
31212         (clog10_test_data): Likewise.
31213         (cos_test_data): Update call to AUTO_TESTS_f_f.
31214         (cos_test): Use ALL_RM_TEST.
31215         (cos_tonearest_test_data): Remove.
31216         (cos_test_tonearest): Likewise.
31217         (cos_towardzero_test_data): Likewise.
31218         (cos_test_towardzero): Likewise.
31219         (cos_downward_test_data): Likewise.
31220         (cos_test_downward): Likewise.
31221         (cos_upward_test_data): Likewise.
31222         (cos_test_upward): Likewise.
31223         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31224         (cosh_test): Use ALL_RM_TEST.
31225         (cosh_tonearest_test_data): Remove.
31226         (cosh_test_tonearest): Likewise.
31227         (cosh_towardzero_test_data): Likewise.
31228         (cosh_test_towardzero): Likewise.
31229         (cosh_downward_test_data): Likewise.
31230         (cosh_test_downward): Likewise.
31231         (cosh_upward_test_data): Likewise.
31232         (cosh_test_upward): Likewise.
31233         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31234         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31235         (ctan_test_data): Likewise.
31236         (ctan_test): Use ALL_RM_TEST.
31237         (ctan_tonearest_test_data): Remove.
31238         (ctan_test_tonearest): Likewise.
31239         (ctan_towardzero_test_data): Likewise.
31240         (ctan_test_towardzero): Likewise.
31241         (ctan_downward_test_data): Likewise.
31242         (ctan_test_downward): Likewise.
31243         (ctan_upward_test_data): Likewise.
31244         (ctan_test_upward): Likewise.
31245         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31246         (ctanh_test): Use ALL_RM_TEST.
31247         (ctanh_tonearest_test_data): Remove.
31248         (ctanh_test_tonearest): Likewise.
31249         (ctanh_towardzero_test_data): Likewise.
31250         (ctanh_test_towardzero): Likewise.
31251         (ctanh_downward_test_data): Likewise.
31252         (ctanh_test_downward): Likewise.
31253         (ctanh_upward_test_data): Likewise.
31254         (ctanh_test_upward): Likewise.
31255         (erf_test_data): Update call to AUTO_TESTS_f_f.
31256         (erfc_test_data): Likewise.
31257         (exp_test_data): Likewise.
31258         (exp_test): Use ALL_RM_TEST.
31259         (exp_tonearest_test_data): Remove.
31260         (exp_test_tonearest): Likewise.
31261         (exp_towardzero_test_data): Likewise.
31262         (exp_test_towardzero): Likewise.
31263         (exp_downward_test_data): Likewise.
31264         (exp_test_downward): Likewise.
31265         (exp_upward_test_data): Likewise.
31266         (exp_test_upward): Likewise.
31267         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31268         (exp10_test): Use ALL_RM_TEST.
31269         (exp10_tonearest_test_data): Remove.
31270         (exp10_test_tonearest): Likewise.
31271         (exp10_towardzero_test_data): Likewise.
31272         (exp10_test_towardzero): Likewise.
31273         (exp10_downward_test_data): Likewise.
31274         (exp10_test_downward): Likewise.
31275         (exp10_upward_test_data): Likewise.
31276         (exp10_test_upward): Likewise.
31277         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31278         (expm1_test_data): Likewise.
31279         (expm1_test): Use ALL_RM_TEST.
31280         (expm1_tonearest_test_data): Remove.
31281         (expm1_test_tonearest): Likewise.
31282         (expm1_towardzero_test_data): Likewise.
31283         (expm1_test_towardzero): Likewise.
31284         (expm1_downward_test_data): Likewise.
31285         (expm1_test_downward): Likewise.
31286         (expm1_upward_test_data): Likewise.
31287         (expm1_test_upward): Likewise.
31288         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31289         (fma_test): Use ALL_RM_TEST.
31290         (fma_towardzero_test_data): Remove.
31291         (fma_test_towardzero): Likewise.
31292         (fma_downward_test_data): Likewise.
31293         (fma_test_downward): Likewise.
31294         (fma_upward_test_data): Likewise.
31295         (fma_test_upward): Likewise.
31296         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31297         (j0_test_data): Update call to AUTO_TESTS_f_f.
31298         (j1_test_data): Likewise.
31299         (jn_test_data): Update call to AUTO_TESTS_if_f.
31300         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31301         (log_test_data): Update call to AUTO_TESTS_f_f.
31302         (log10_test_data): Likewise.
31303         (log1p_test_data): Likewise.
31304         (log2_test_data): Likewise.
31305         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31306         (pow_tonearest_test_data): Likewise.
31307         (sin_test_data): Update call to AUTO_TESTS_f_f.
31308         (sin_test): Use ALL_RM_TEST.
31309         (sin_tonearest_test_data): Remove.
31310         (sin_test_tonearest): Likewise.
31311         (sin_towardzero_test_data): Likewise.
31312         (sin_test_towardzero): Likewise.
31313         (sin_downward_test_data): Likewise.
31314         (sin_test_downward): Likewise.
31315         (sin_upward_test_data): Likewise.
31316         (sin_test_upward): Likewise.
31317         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31318         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31319         (sinh_test): Use ALL_RM_TEST.
31320         (sinh_tonearest_test_data): Remove.
31321         (sinh_test_tonearest): Likewise.
31322         (sinh_towardzero_test_data): Likewise.
31323         (sinh_test_towardzero): Likewise.
31324         (sinh_downward_test_data): Likewise.
31325         (sinh_test_downward): Likewise.
31326         (sinh_upward_test_data): Likewise.
31327         (sinh_test_upward): Likewise.
31328         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31329         (sqrt_test): Use ALL_RM_TEST.
31330         (sqrt_tonearest_test_data): Remove.
31331         (sqrt_test_tonearest): Likewise.
31332         (sqrt_towardzero_test_data): Likewise.
31333         (sqrt_test_towardzero): Likewise.
31334         (sqrt_downward_test_data): Likewise.
31335         (sqrt_test_downward): Likewise.
31336         (sqrt_upward_test_data): Likewise.
31337         (sqrt_test_upward): Likewise.
31338         (tan_test_data): Update call to AUTO_TESTS_f_f.
31339         (tan_test): Use ALL_RM_TEST.
31340         (tan_tonearest_test_data): Remove.
31341         (tan_test_tonearest): Likewise.
31342         (tan_towardzero_test_data): Likewise.
31343         (tan_test_towardzero): Likewise.
31344         (tan_downward_test_data): Likewise.
31345         (tan_test_downward): Likewise.
31346         (tan_upward_test_data): Likewise.
31347         (tan_test_upward): Likewise.
31348         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31349         (tgamma_test_data): Likewise.
31350         (y0_test_data): Likewise.
31351         (y1_test_data): Likewise.
31352         (yn_test_data): Update call to AUTO_TESTS_if_f.
31353         (main): Do not call removed functions.
31355 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31357         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31358         (ldexp_test_data): Remove.
31359         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31360         scalbn_test_data.
31361         (scalb_test): Use ALL_RM_TEST.
31363 2014-03-19  Andreas Schwab  <schwab@suse.de>
31365         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31367 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31369         [BZ #16649]
31370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31371         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31374         (__ASSUME_PREADV): Undefine.
31375         (__ASSUME_PWRITEV): Likewise.
31377 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31379         * bits/mman-linux.h: Add comment about non-Linux use.
31380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31381         bits/mman-linux.h resting place.
31383         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31384         * bits/mman-linux.h: ... here.
31386 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31388         * conform/conformtest.pl: Add standard definition when calling C
31389         preprocessor on data files.
31390         (checknamespace): Remove unused variable.
31392 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31394         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31395         minus_oflow, plus_uflow and minus_uflow in expected results.
31396         * math/libm-test.inc (scalbn_test_data): Add more tests of
31397         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31398         minus_uflow.
31399         (scalbn_test): Use ALL_RM_TEST.
31400         (scalbln_test_data): Add more tests of negative arguments.  Use
31401         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31402         (scalbln_test): Use ALL_RM_TEST.
31404 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31406         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31408 2014-03-18  Will Newton  <will.newton@linaro.org>
31410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31411         inaccurate comment.
31413 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31415         * Makerules [!subdir] (check-abi): Exit with error status if a
31416         test failed.
31418 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31420         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31421         for rint.  Include results for all rounding modes.
31422         (nearbyint_test): Use ALL_RM_TEST.
31423         (rint_test_data): Include all tests used for nearbyint.
31425 2014-03-17  Will Newton  <will.newton@linaro.org>
31427         * nptl/sysdeps/pthread/pthread.h: Revert previous
31428         change.
31430         * sysdeps/generic/ldsodefs.h: Revert previous
31431         change.
31433         * libio/genops.c: Revert previous change.
31434         * libio/libioP.h: Likewise.
31435         * stdio-common/vfprintf.c: Likewise.
31437         * sysdeps/generic/math_private.h: Revert previous
31438         change.
31440         * sysdeps/generic/math_private.h: Check whether
31441         HAVE_RM_CTX is defined with #ifdef rather
31442         than #if.
31444         * argp/argp-fmtstream.h: Check whether
31445         __STRICT_ANSI__ is defined with #ifdef rather
31446         than #if.
31447         * argp/argp.h: Likewise.
31449         * libio/genops.c: Check whether
31450         _IO_JUMPS_OFFSET is defined with #ifdef rather
31451         than #if.
31452         * libio/libioP.h: Likewise.
31453         * stdio-common/vfprintf.c: Likewise.
31455         * sysdeps/generic/ldsodefs.h: Check whether
31456         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31457         than #if.
31459         * nptl/sysdeps/pthread/pthread.h: Check
31460         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31461         its value.
31463 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31465         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31466         setting O_APPEND.
31467         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31468         test case.
31470         [BZ #16680]
31471         * libio/fileops.c (_IO_file_open): Seek to end of file but
31472         don't cache the offset.
31473         (get_file_offset): Remove function.
31474         (do_ftell): Use cached offset when available.
31475         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31476         don't cache the offset.
31477         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31478         case.
31479         (do_one_test): Call it.
31480         (do_ftell_test): Fix up expected old offset for a+ mode.
31481         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31482         available.
31484         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31485         up test status with function return status.
31486         (do_write_test): Likewise.
31487         (do_append_test): Likewise.
31489         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31490         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31491         Remove.
31493 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31495         * math/gen-libm-test.pl (parse_args): Handle results specified for
31496         each rounding mode separately.
31497         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31498         tests and results from lrint_tonearest_test_data,
31499         lrint_towardzero_test_data, lrint_downward_test_data and
31500         lrint_upward_test_data.
31501         (lrint_test): Use ALL_RM_TEST.
31502         (lrint_tonearest_test_data): Remove.
31503         (lrint_test_tonearest): Likewise.
31504         (lrint_towardzero_test_data): Likewise.
31505         (lrint_test_towardzero): Likewise.
31506         (lrint_downward_test_data): Likewise.
31507         (lrint_test_downward): Likewise.
31508         (lrint_upward_test_data): Likewise.
31509         (lrint_test_upward): Likewise.
31510         (llrint_test_data): Merge in per-rounding-mode tests and results
31511         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31512         llrint_downward_test_data and llrint_upward_test_data.
31513         (llrint_test): Use ALL_RM_TEST.
31514         (llrint_tonearest_test_data): Remove.
31515         (llrint_test_tonearest): Likewise.
31516         (llrint_towardzero_test_data): Likewise.
31517         (llrint_test_towardzero): Likewise.
31518         (llrint_downward_test_data): Likewise.
31519         (llrint_test_downward): Likewise.
31520         (llrint_upward_test_data): Likewise.
31521         (llrint_test_upward): Likewise.
31522         (rint_test_data): Merge in per-rounding-mode tests and results
31523         from rint_tonearest_test_data, rint_towardzero_test_data,
31524         rint_downward_test_data and rint_upward_test_data.  Add
31525         per-rounding-mode results for tests not in those arrays.
31526         (rint_test): Use ALL_RM_TEST.
31527         (rint_tonearest_test_data): Remove.
31528         (rint_test_tonearest): Likewise.
31529         (rint_towardzero_test_data): Likewise.
31530         (rint_test_towardzero): Likewise.
31531         (rint_downward_test_data): Likewise.
31532         (rint_test_downward): Likewise.
31533         (rint_upward_test_data): Likewise.
31534         (rint_test_upward): Likewise.
31535         (main): Don't call removed functions.
31537 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31539         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31540         "Compiled on ..." crapola.  It is anti-useful.
31542 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31544         * scripts/evaluate-test.sh: Handle fourth argument to determine
31545         whether test run should stop on failure.
31546         * Makeconfig (stop-on-test-failure): New variable.
31547         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31548         $(stop-on-test-failure).
31549         * Makefile (tests): Give a summary of results from testing and
31550         exit with failure status if they include an ERROR or FAIL.
31551         (xtests): Likewise.
31552         * manual/install.texi (Configuring and compiling): Mention
31553         stop-on-test-failure=y.
31554         * INSTALL: Regenerated.
31556 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31558         * scripts/versionlist.awk: New file.
31559         * Makerules [$(build-shared) = yes]
31560         (postclean-generated): Add Versions.def, not Versions.def.v and
31561         Versions.def.v.i.
31562         ($(common-objpfx)Versions.def.v.i): Target removed.
31563         ($(common-objpfx)Versions.def): New target.
31564         ($(common-objpfx)Versions.all): Depend on that rather that
31565         $(common-objpfx)Versions.def.v.
31566         * Versions.def: File removed.
31568         * Makeconfig (+gccwarn): Add -Wundef.
31569         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31570         a dl-sysdep.h breaking its contract.
31571         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31572         * include/stackinfo.h: New file.
31573         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31574         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31575         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31576         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31577         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31578         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31579         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31580         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31581         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31582         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31583         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31584         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31585         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31586         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31587         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31589 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31591         [BZ #16707]
31592         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31593         implementation.
31594         * math/libm-test.inc (round_test_data): Add more tests.
31596         [BZ #16706]
31597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31598         implementation.
31599         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31601         [BZ #16701]
31602         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31603         implementation.
31604         * math/libm-test.inc (ceil_test_data): Add more tests.
31606         * math/libm-test.inc (trunc_test_data): Add more tests related to
31607         BZ#16414.
31609 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31611         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31612         with #if rather than #ifdef.
31613         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31615 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31617         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31618         first.  Disable AVX-512 GCC support if assembler doesn't support
31619         it.
31620         * sysdeps/x86_64/configure: Regenerated.
31622 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31624         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31625         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31626         (__old_pthread_attr_setstack): Likewise.
31627         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31628         [!_STACK_GROWS_DOWN]: Likewise.
31630 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31632         * config.make.in (have-bash2): Delete.
31633         * configure.ac (libc_cv_have_bash2): Delete.
31634         * configure: Regenerate.
31635         * elf/Makefile (common-ldd-rewrite): Rename to ...
31636         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31637         (sh-ldd-rewrite): Delete.
31638         (bash-ldd-rewrite): Delete.
31639         (have-bash2): Delete checks.
31640         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31641         ldd-rewrite.
31643         * config.make.in (have-ksh): Delete.
31644         (KSH): Delete.
31645         * configure.ac (libc_cv_have_ksh): Delete.
31646         * configure: Regenerate.
31648         * elf/Makefile: Delete $(have-ksh) check.
31649         ($(objpfx)sotruss): Change KSH to BASH.
31650         * elf/sotruss.ksh: Rename to ...
31651         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31652         function style to match POSIX.  Drop ksh vim mode setting.
31654         * manual/time.texi (Specifying the Time Zone with TZ): Change
31655         Tuesday to Thursday.
31657         * debug/tst-longjmp_chk2.c: Update header comment.
31658         (stackoverflow_handler): Add comment.  Call assert on pass value.
31660 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31662         [BZ #16194]
31663         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31664         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31665         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31666         (La_x86_64_vector): Add zmm.
31667         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31668         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31669         ($(objpfx)tst-audit10): New target.
31670         ($(objpfx)tst-audit10.out): Likewise.
31671         (tst-audit10-ENV): New.
31672         (AVX512-CFLAGS): Likewise.
31673         (CFLAGS-tst-audit10.c): Likewise.
31674         (CFLAGS-tst-auditmod10a.c): Likewise.
31675         (CFLAGS-tst-auditmod10b.c): Likewise.
31676         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31677         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31678         * sysdeps/x86_64/configure: Regenerated.
31679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31680         AVX-512 zmm register support.
31681         (_dl_x86_64_save_sse): Likewise.
31682         (_dl_x86_64_restore_sse): Likewise.
31683         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31684         size vector registers.
31685         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31686         (ZMM_SIZE): Likewise.
31687         * sysdeps/x86_64/tst-audit10.c: New file.
31688         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31689         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31691 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31693         * configure.ac (HAVE_EHDR_START): New check.
31694         * configure: Regenerated.
31695         * config.h.in (HAVE_EHDR_START): New #undef.
31696         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31697         assuming the lowest-addressed segment maps the start of the file.
31699 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31701         * INSTALL: Regenerated.
31703 2014-03-13  Will Newton  <will.newton@linaro.org>
31705         * manual/setjmp.texi (System V contexts): Improve
31706         clarity and grammar of documentation.
31708 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31710         [BZ #16381]
31711         * elf/Makefile (tests): Add tst-pie2.
31712         (tests-pie): Add tst-pie2.
31713         * elf/tst-pie2.c: New file.
31714         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31715         for ET_EXEC.
31716         * elf/rtld.c (map_doit): Load executable as lt_executable.
31717         (dl_main): Likewise.
31719 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31721         [BZ #16642]
31722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31723         (__ASSUME_PSELECT): Undefine.
31725 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31727         [BZ #16689]
31728         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31729         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31730         static build.
31731         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31732         selector for static builds.
31734 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31736         [BZ #16695]
31737         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31738         key in the buffer.
31740 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31742         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31743         IFUNC selector for static builds.
31745 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31747         * sysdeps/mips/math_private.h [__mips_hard_float]
31748         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31749         libc_feresetround_mips_ctx.
31750         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31751         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31752         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31754         [BZ #16677]
31755         * math/s_nextafter.c (__nextafter): Do not return value from
31756         overflowing computation.
31757         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31758         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31759         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31760         Likewise.
31761         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31762         Likewise.
31763         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31764         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31766 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31768         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31769         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31770         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31771         the new mov targetting sp.
31773 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31775         [BZ #16683]
31776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31777         Define it for static builds as well.
31778         (NO_BZERO_IMPL): Likewise.
31780 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31782         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31783         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31784         multiarch strspn for PPC64.
31785         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31786         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31788         (__libc_ifunc_impl_list): Likewise.
31789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31790         multiarch optimizations
31791         * string/strspn.c (strspn): Using macro to redefine symbol name.
31793 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31794             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31796         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31797         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31798         multiarch strncat for PPC64.
31799         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31800         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31802         (__libc_ifunc_impl_list): Likewise.
31803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31804         multiarch optimizations
31806 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31808         [BZ #16639]
31809         * nscd/nscd.service: Make service type forking.
31811 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31813         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31814         sign in non default rounding modes.
31815         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31817 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31819         * math/libm-test.inc (ALL_RM_TEST): New macro.
31820         (ceil_test): Use ALL_RM_TEST.
31821         (cimag_test): Likewise.
31822         (conj_test): Likewise.
31823         (copysign_test): Likewise.
31824         (cproj_test): Likewise.
31825         (creal_test): Likewise.
31826         (fabs_test): Likewise.
31827         (floor_test): Likewise.
31828         (fmax_test): Likewise.
31829         (fmin_test): Likewise.
31830         (fmod_test): Likewise.
31831         (fpclassify_test): Likewise.
31832         (frexp_test): Likewise.
31833         (ilogb_test): Likewise.
31834         (isfinite_test): Likewise.
31835         (finite_test): Likewise.
31836         (isgreater_test): Likewise.
31837         (isgreaterequal_test): Likewise.
31838         (isinf_test): Likewise.
31839         (isless_test): Likewise.
31840         (islessequal_test): Likewise.
31841         (islessgreater_test): Likewise.
31842         (isnan_test): Likewise.
31843         (isnormal_test): Likewise.
31844         (issignaling_test): Likewise.
31845         (isunordered_test): Likewise.
31846         (logb_test): Likewise.
31847         (logb_downward_test_data): Remove.
31848         (logb_test_downward): Likewise.
31849         (lround_test): Use ALL_RM_TEST.
31850         (llround_test): Likewise.
31851         (modf_test): Likewise.
31852         (nexttoward_test): Likewise.
31853         (remainder_test): Likewise.
31854         (drem_test): Likewise.
31855         (remainder_tonearest_test_data): Likewise.
31856         (remainder_test_tonearest): Likewise.
31857         (drem_test_tonearest): Likewise.
31858         (remainder_towardzero_test_data): Likewise.
31859         (remainder_test_towardzero): Likewise.
31860         (drem_test_towardzero): Likewise.
31861         (remainder_downward_test_data): Likewise.
31862         (remainder_test_downward): Likewise.
31863         (drem_test_downward): Likewise.
31864         (remainder_upward_test_data): Likewise.
31865         (remainder_test_upward): Likewise.
31866         (drem_test_upward): Likewise.
31867         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31868         (round_test): Use ALL_RM_TEST.
31869         (signbit_test): Likewise.
31870         (trunc_test): Likewise.
31871         (significand_test): Likewise.
31872         (main): Don't call removed functions.
31874 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31876         [BZ #16674]
31877         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31878         || __USE_XOPEN2K8].
31879         (ILL_ILLOPN): Likewise.
31880         (ILL_ILLADR): Likewise.
31881         (ILL_ILLTRP): Likewise.
31882         (ILL_PRVOPC): Likewise.
31883         (ILL_PRVREG): Likewise.
31884         (ILL_COPROC): Likewise.
31885         (ILL_BADSTK): Likewise.
31886         (FPE_INTDIV): Likewise.
31887         (FPE_INTOVF): Likewise.
31888         (FPE_FLTDIV): Likewise.
31889         (FPE_FLTOVF): Likewise.
31890         (FPE_FLTUND): Likewise.
31891         (FPE_FLTRES): Likewise.
31892         (FPE_FLTINV): Likewise.
31893         (FPE_FLTSUB): Likewise.
31894         (SEGV_MAPERR): Likewise.
31895         (SEGV_ACCERR): Likewise.
31896         (BUS_ADRALN): Likewise.
31897         (BUS_ADRERR): Likewise.
31898         (BUS_OBJERR): Likewise.
31899         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31900         (TRAP_TRACE): Likewise.
31901         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31902         __USE_XOPEN2K8].
31903         (CLD_KILLED): Likewise.
31904         (CLD_DUMPED): Likewise.
31905         (CLD_TRAPPED): Likewise.
31906         (CLD_STOPPED): Likewise.
31907         (CLD_CONTINUED): Likewise.
31908         (POLL_IN): Likewise.
31909         (POLL_OUT): Likewise.
31910         (POLL_MSG): Likewise.
31911         (POLL_ERR): Likewise.
31912         (POLL_PRI): Likewise.
31913         (POLL_HUP): Likewise.
31914         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31915         Likewise.
31916         (ILL_ILLOPN): Likewise.
31917         (ILL_ILLADR): Likewise.
31918         (ILL_ILLTRP): Likewise.
31919         (ILL_PRVOPC): Likewise.
31920         (ILL_PRVREG): Likewise.
31921         (ILL_COPROC): Likewise.
31922         (ILL_BADSTK): Likewise.
31923         (FPE_INTDIV): Likewise.
31924         (FPE_INTOVF): Likewise.
31925         (FPE_FLTDIV): Likewise.
31926         (FPE_FLTOVF): Likewise.
31927         (FPE_FLTUND): Likewise.
31928         (FPE_FLTRES): Likewise.
31929         (FPE_FLTINV): Likewise.
31930         (FPE_FLTSUB): Likewise.
31931         (SEGV_MAPERR): Likewise.
31932         (SEGV_ACCERR): Likewise.
31933         (BUS_ADRALN): Likewise.
31934         (BUS_ADRERR): Likewise.
31935         (BUS_OBJERR): Likewise.
31936         (BUS_MCEERR_AR): Likewise.
31937         (BUS_MCEERR_AO): Likewise.
31938         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31939         (TRAP_TRACE): Likewise.
31940         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31941         __USE_XOPEN2K8].
31942         (CLD_KILLED): Likewise.
31943         (CLD_DUMPED): Likewise.
31944         (CLD_TRAPPED): Likewise.
31945         (CLD_STOPPED): Likewise.
31946         (CLD_CONTINUED): Likewise.
31947         (POLL_IN): Likewise.
31948         (POLL_OUT): Likewise.
31949         (POLL_MSG): Likewise.
31950         (POLL_ERR): Likewise.
31951         (POLL_PRI): Likewise.
31952         (POLL_HUP): Likewise.
31953         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31954         (ILL_ILLOPN): Likewise.
31955         (ILL_ILLADR): Likewise.
31956         (ILL_ILLTRP): Likewise.
31957         (ILL_PRVOPC): Likewise.
31958         (ILL_PRVREG): Likewise.
31959         (ILL_COPROC): Likewise.
31960         (ILL_BADSTK): Likewise.
31961         (FPE_INTDIV): Likewise.
31962         (FPE_INTOVF): Likewise.
31963         (FPE_FLTDIV): Likewise.
31964         (FPE_FLTOVF): Likewise.
31965         (FPE_FLTUND): Likewise.
31966         (FPE_FLTRES): Likewise.
31967         (FPE_FLTINV): Likewise.
31968         (FPE_FLTSUB): Likewise.
31969         (SEGV_MAPERR): Likewise.
31970         (SEGV_ACCERR): Likewise.
31971         (BUS_ADRALN): Likewise.
31972         (BUS_ADRERR): Likewise.
31973         (BUS_OBJERR): Likewise.
31974         (BUS_MCEERR_AR): Likewise.
31975         (BUS_MCEERR_AO): Likewise.
31976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31977         (TRAP_TRACE): Likewise.
31978         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31979         __USE_XOPEN2K8].
31980         (CLD_KILLED): Likewise.
31981         (CLD_DUMPED): Likewise.
31982         (CLD_TRAPPED): Likewise.
31983         (CLD_STOPPED): Likewise.
31984         (CLD_CONTINUED): Likewise.
31985         (POLL_IN): Likewise.
31986         (POLL_OUT): Likewise.
31987         (POLL_MSG): Likewise.
31988         (POLL_ERR): Likewise.
31989         (POLL_PRI): Likewise.
31990         (POLL_HUP): Likewise.
31991         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31992         Likewise.
31993         (ILL_ILLOPN): Likewise.
31994         (ILL_ILLADR): Likewise.
31995         (ILL_ILLTRP): Likewise.
31996         (ILL_PRVOPC): Likewise.
31997         (ILL_PRVREG): Likewise.
31998         (ILL_COPROC): Likewise.
31999         (ILL_BADSTK): Likewise.
32000         (ILL_BADIADDR): Likewise.
32001         (ILL_BREAK): Likewise.
32002         (FPE_INTDIV): Likewise.
32003         (FPE_INTOVF): Likewise.
32004         (FPE_FLTDIV): Likewise.
32005         (FPE_FLTOVF): Likewise.
32006         (FPE_FLTUND): Likewise.
32007         (FPE_FLTRES): Likewise.
32008         (FPE_FLTINV): Likewise.
32009         (FPE_FLTSUB): Likewise.
32010         (FPE_DECOVF): Likewise.
32011         (FPE_DECDIV): Likewise.
32012         (FPE_DECERR): Likewise.
32013         (FPE_INVASC): Likewise.
32014         (FPE_INVDEC): Likewise.
32015         (SEGV_MAPERR): Likewise.
32016         (SEGV_ACCERR): Likewise.
32017         (SEGV_PSTKOVF): Likewise.
32018         (BUS_ADRALN): Likewise.
32019         (BUS_ADRERR): Likewise.
32020         (BUS_OBJERR): Likewise.
32021         (BUS_MCEERR_AR): Likewise.
32022         (BUS_MCEERR_AO): Likewise.
32023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32024         (TRAP_TRACE): Likewise.
32025         (TRAP_BRANCH): Likewise.
32026         (TRAP_HWBKPT): Likewise.
32027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32028         __USE_XOPEN2K8].
32029         (CLD_KILLED): Likewise.
32030         (CLD_DUMPED): Likewise.
32031         (CLD_TRAPPED): Likewise.
32032         (CLD_STOPPED): Likewise.
32033         (CLD_CONTINUED): Likewise.
32034         (POLL_IN): Likewise.
32035         (POLL_OUT): Likewise.
32036         (POLL_MSG): Likewise.
32037         (POLL_ERR): Likewise.
32038         (POLL_PRI): Likewise.
32039         (POLL_HUP): Likewise.
32040         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32041         (ILL_ILLOPN): Likewise.
32042         (ILL_ILLADR): Likewise.
32043         (ILL_ILLTRP): Likewise.
32044         (ILL_PRVOPC): Likewise.
32045         (ILL_PRVREG): Likewise.
32046         (ILL_COPROC): Likewise.
32047         (ILL_BADSTK): Likewise.
32048         (FPE_INTDIV): Likewise.
32049         (FPE_INTOVF): Likewise.
32050         (FPE_FLTDIV): Likewise.
32051         (FPE_FLTOVF): Likewise.
32052         (FPE_FLTUND): Likewise.
32053         (FPE_FLTRES): Likewise.
32054         (FPE_FLTINV): Likewise.
32055         (FPE_FLTSUB): Likewise.
32056         (SEGV_MAPERR): Likewise.
32057         (SEGV_ACCERR): Likewise.
32058         (BUS_ADRALN): Likewise.
32059         (BUS_ADRERR): Likewise.
32060         (BUS_OBJERR): Likewise.
32061         (BUS_MCEERR_AR): Likewise.
32062         (BUS_MCEERR_AO): Likewise.
32063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32064         (TRAP_TRACE): Likewise.
32065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32066         __USE_XOPEN2K8].
32067         (CLD_KILLED): Likewise.
32068         (CLD_DUMPED): Likewise.
32069         (CLD_TRAPPED): Likewise.
32070         (CLD_STOPPED): Likewise.
32071         (CLD_CONTINUED): Likewise.
32072         (POLL_IN): Likewise.
32073         (POLL_OUT): Likewise.
32074         (POLL_MSG): Likewise.
32075         (POLL_ERR): Likewise.
32076         (POLL_PRI): Likewise.
32077         (POLL_HUP): Likewise.
32078         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32079         (ILL_ILLOPN): Likewise.
32080         (ILL_ILLADR): Likewise.
32081         (ILL_ILLTRP): Likewise.
32082         (ILL_PRVOPC): Likewise.
32083         (ILL_PRVREG): Likewise.
32084         (ILL_COPROC): Likewise.
32085         (ILL_BADSTK): Likewise.
32086         (FPE_INTDIV): Likewise.
32087         (FPE_INTOVF): Likewise.
32088         (FPE_FLTDIV): Likewise.
32089         (FPE_FLTOVF): Likewise.
32090         (FPE_FLTUND): Likewise.
32091         (FPE_FLTRES): Likewise.
32092         (FPE_FLTINV): Likewise.
32093         (FPE_FLTSUB): Likewise.
32094         (SEGV_MAPERR): Likewise.
32095         (SEGV_ACCERR): Likewise.
32096         (BUS_ADRALN): Likewise.
32097         (BUS_ADRERR): Likewise.
32098         (BUS_OBJERR): Likewise.
32099         (BUS_MCEERR_AR): Likewise.
32100         (BUS_MCEERR_AO): Likewise.
32101         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32102         (TRAP_TRACE): Likewise.
32103         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32104         __USE_XOPEN2K8].
32105         (CLD_KILLED): Likewise.
32106         (CLD_DUMPED): Likewise.
32107         (CLD_TRAPPED): Likewise.
32108         (CLD_STOPPED): Likewise.
32109         (CLD_CONTINUED): Likewise.
32110         (POLL_IN): Likewise.
32111         (POLL_OUT): Likewise.
32112         (POLL_MSG): Likewise.
32113         (POLL_ERR): Likewise.
32114         (POLL_PRI): Likewise.
32115         (POLL_HUP): Likewise.
32116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32117         (ILL_ILLOPN): Likewise.
32118         (ILL_ILLADR): Likewise.
32119         (ILL_ILLTRP): Likewise.
32120         (ILL_PRVOPC): Likewise.
32121         (ILL_PRVREG): Likewise.
32122         (ILL_COPROC): Likewise.
32123         (ILL_BADSTK): Likewise.
32124         (FPE_INTDIV): Likewise.
32125         (FPE_INTOVF): Likewise.
32126         (FPE_FLTDIV): Likewise.
32127         (FPE_FLTOVF): Likewise.
32128         (FPE_FLTUND): Likewise.
32129         (FPE_FLTRES): Likewise.
32130         (FPE_FLTINV): Likewise.
32131         (FPE_FLTSUB): Likewise.
32132         (SEGV_MAPERR): Likewise.
32133         (SEGV_ACCERR): Likewise.
32134         (BUS_ADRALN): Likewise.
32135         (BUS_ADRERR): Likewise.
32136         (BUS_OBJERR): Likewise.
32137         (BUS_MCEERR_AR): Likewise.
32138         (BUS_MCEERR_AO): Likewise.
32139         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32140         (TRAP_TRACE): Likewise.
32141         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32142         __USE_XOPEN2K8].
32143         (CLD_KILLED): Likewise.
32144         (CLD_DUMPED): Likewise.
32145         (CLD_TRAPPED): Likewise.
32146         (CLD_STOPPED): Likewise.
32147         (CLD_CONTINUED): Likewise.
32148         (POLL_IN): Likewise.
32149         (POLL_OUT): Likewise.
32150         (POLL_MSG): Likewise.
32151         (POLL_ERR): Likewise.
32152         (POLL_PRI): Likewise.
32153         (POLL_HUP): Likewise.
32154         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32155         (ILL_ILLOPN): Likewise.
32156         (ILL_ILLADR): Likewise.
32157         (ILL_ILLTRP): Likewise.
32158         (ILL_PRVOPC): Likewise.
32159         (ILL_PRVREG): Likewise.
32160         (ILL_COPROC): Likewise.
32161         (ILL_BADSTK): Likewise.
32162         (ILL_DBLFLT): Likewise.
32163         (ILL_HARDWALL): Likewise.
32164         (FPE_INTDIV): Likewise.
32165         (FPE_INTOVF): Likewise.
32166         (FPE_FLTDIV): Likewise.
32167         (FPE_FLTOVF): Likewise.
32168         (FPE_FLTUND): Likewise.
32169         (FPE_FLTRES): Likewise.
32170         (FPE_FLTINV): Likewise.
32171         (FPE_FLTSUB): Likewise.
32172         (SEGV_MAPERR): Likewise.
32173         (SEGV_ACCERR): Likewise.
32174         (BUS_ADRALN): Likewise.
32175         (BUS_ADRERR): Likewise.
32176         (BUS_OBJERR): Likewise.
32177         (BUS_MCEERR_AR): Likewise.
32178         (BUS_MCEERR_AO): Likewise.
32179         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32180         (TRAP_TRACE): Likewise.
32181         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32182         __USE_XOPEN2K8].
32183         (CLD_KILLED): Likewise.
32184         (CLD_DUMPED): Likewise.
32185         (CLD_TRAPPED): Likewise.
32186         (CLD_STOPPED): Likewise.
32187         (CLD_CONTINUED): Likewise.
32188         (POLL_IN): Likewise.
32189         (POLL_OUT): Likewise.
32190         (POLL_MSG): Likewise.
32191         (POLL_ERR): Likewise.
32192         (POLL_PRI): Likewise.
32193         (POLL_HUP): Likewise.
32194         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32195         (ILL_ILLOPN): Likewise.
32196         (ILL_ILLADR): Likewise.
32197         (ILL_ILLTRP): Likewise.
32198         (ILL_PRVOPC): Likewise.
32199         (ILL_PRVREG): Likewise.
32200         (ILL_COPROC): Likewise.
32201         (ILL_BADSTK): Likewise.
32202         (FPE_INTDIV): Likewise.
32203         (FPE_INTOVF): Likewise.
32204         (FPE_FLTDIV): Likewise.
32205         (FPE_FLTOVF): Likewise.
32206         (FPE_FLTUND): Likewise.
32207         (FPE_FLTRES): Likewise.
32208         (FPE_FLTINV): Likewise.
32209         (FPE_FLTSUB): Likewise.
32210         (SEGV_MAPERR): Likewise.
32211         (SEGV_ACCERR): Likewise.
32212         (BUS_ADRALN): Likewise.
32213         (BUS_ADRERR): Likewise.
32214         (BUS_OBJERR): Likewise.
32215         (BUS_MCEERR_AR): Likewise.
32216         (BUS_MCEERR_AO): Likewise.
32217         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32218         (TRAP_TRACE): Likewise.
32219         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32220         __USE_XOPEN2K8].
32221         (CLD_KILLED): Likewise.
32222         (CLD_DUMPED): Likewise.
32223         (CLD_TRAPPED): Likewise.
32224         (CLD_STOPPED): Likewise.
32225         (CLD_CONTINUED): Likewise.
32226         (POLL_IN): Likewise.
32227         (POLL_OUT): Likewise.
32228         (POLL_MSG): Likewise.
32229         (POLL_ERR): Likewise.
32230         (POLL_PRI): Likewise.
32231         (POLL_HUP): Likewise.
32232         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32233         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32235         [BZ #16670]
32236         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32237         before #include of <time.h>.
32238         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32239         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32240         (test-xfail-UNIX98/sched.h/conform): Likewise.
32242 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32244         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32245         error absence of trapping exception support.
32246         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32248 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32250         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32251         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32252         * timezone/Makefile (testdata): Move definition above include of
32253         Rules.
32254         (test-zones): New variable.
32255         (tests-special): Add zone files.
32256         (build-testdata): Use $(evaluate-test).
32258         * elf/Makefile (tests-special): Rename tests to end with .out.
32259         ($(objpfx)noload-mem): Likewise.
32260         ($(objpfx)tst-leaks1-mem): Likewise.
32261         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32262         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32263         $(objpfx)test-iconvconfig.out.
32264         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32265         set -e inside subshell and redirect output to file.
32266         * iconvdata/Makefile (generated): Rename tests to end with .out.
32267         Correct type.
32268         (tests-special): Rename tests to end with .out.
32269         ($(objpfx)mtrace-tst-loading): Likewise.
32270         * intl/Makefile (generated): Likewise.
32271         (tests-special): Likewise.
32272         ($(objpfx)mtrace-tst-gettext): Likewise.
32273         * misc/Makefile (generated): Likewise.
32274         (tests-special): Likewise.
32275         ($(objpfx)tst-error1-mem): Likewise.
32276         * nptl/Makefile (tests-special): Likewise.
32277         ($(objpfx)tst-stack3-mem): Likewise.
32278         (generated): Likewise.
32279         * posix/Makefile (generated): Likewise.
32280         (tests-special): Likewise.
32281         (xtests-special): Likewise.
32282         ($(objpfx)tst-fnmatch-mem): Likewise.
32283         ($(objpfx)bug-regex2-mem): Likewise.
32284         ($(objpfx)bug-regex14-mem): Likewise.
32285         ($(objpfx)bug-regex21-mem): Likewise.
32286         ($(objpfx)bug-regex31-mem): Likewise.
32287         ($(objpfx)tst-vfork3-mem): Likewise.
32288         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32289         ($(objpfx)tst-pcre-mem): Likewise.
32290         ($(objpfx)tst-boost-mem): Likewise.
32291         ($(objpfx)bug-ga2-mem): Likewise.
32292         ($(objpfx)bug-glob2-mem): Likewise.
32293         * resolv/Makefile (generate): Likewise.
32294         (tests-special): Likewise.
32295         (xtests-special): Likewise.
32296         (generated): Likewise.
32297         ($(objpfx)mtrace-tst-leaks): Likewise.
32298         ($(objpfx)mtrace-tst-leaks2): Likewise.
32300         * scripts/merge-test-results.sh: New file.
32301         * Makefile (tests-special-notdir): New variable.
32302         (tests): Run merge-test-results.sh.
32303         (xtests): Likewise.
32304         * Rules (tests-special-notdir): New variable.
32305         (xtests-special-notdir): Likewise.
32306         (tests): Run merge-test-results.sh
32307         (xtests): Likewise.
32309         * Makeconfig (test-xfail-name): New variable.
32310         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32311         compute variable name for expected failures.
32312         * conform/Makefile (conformtest-headers-data): New variable.
32313         (conformtest-standards): Likewise.
32314         (conformtest-headers-ISO): Likewise.
32315         (conformtest-headers-ISO99): Likewise.
32316         (conformtest-headers-ISO11): Likewise.
32317         (conformtest-headers-POSIX): Likewise.
32318         (conformtest-headers-XPG3): Likewise.
32319         (conformtest-headers-XPG4): Likewise.
32320         (conformtest-headers-UNIX98): Likewise.
32321         (conformtest-headers-XOPEN2K): Likewise.
32322         (conformtest-headers-POSIX2008): Likewise.
32323         (conformtest-headers-XOPEN2K8): Likewise.
32324         (conformtest-header-list-base): Likewise.
32325         (conformtest-header-list-tests): Likewise.
32326         (conformtest-header-base): Likewise.
32327         (conformtest-header-tests): Likewise.
32328         (tests-special): Add $(conformtest-header-list-tests).  If
32329         [$(fast-check) && !$(cross-compiling)], add
32330         $(conformtest-header-tests) instead of
32331         $(objpfx)run-conformtest.out.
32332         (generated): Add $(conformtest-header-list-base).  If
32333         [$(fast-check) && !$(cross-compiling)], add
32334         $(conformtest-header-base).  Remove previous setting.
32335         ($(conformtest-header-list-tests)): New target.
32336         (test-xfail-run-conformtest): Remove variable.
32337         ($(objpfx)run-conformtest.out): Remove target.
32338         (test-xfail-ISO11/complex.h/conform): New variable.
32339         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32340         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32341         (test-xfail-XPG3/varargs.h/conform): Likewise.
32342         (test-xfail-XPG4/varargs.h/conform): Likewise.
32343         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32344         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32345         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32346         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32347         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32348         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32349         (test-xfail-XPG3/ftw.h/conform): Likewise.
32350         (test-xfail-XPG3/grp.h/conform): Likewise.
32351         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32352         (test-xfail-XPG3/limits.h/conform): Likewise.
32353         (test-xfail-XPG3/pwd.h/conform): Likewise.
32354         (test-xfail-XPG3/search.h/conform): Likewise.
32355         (test-xfail-XPG3/signal.h/conform): Likewise.
32356         (test-xfail-XPG3/stdio.h/conform): Likewise.
32357         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32358         (test-xfail-XPG3/string.h/conform): Likewise.
32359         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32360         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32361         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32362         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32363         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32364         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32365         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32366         (test-xfail-XPG3/termios.h/conform): Likewise.
32367         (test-xfail-XPG3/time.h/conform): Likewise.
32368         (test-xfail-XPG3/unistd.h/conform): Likewise.
32369         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32370         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32371         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32372         (test-xfail-XPG4/netdb.h/conform): Likewise.
32373         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32374         (test-xfail-XPG4/signal.h/conform): Likewise.
32375         (test-xfail-XPG4/stdio.h/conform): Likewise.
32376         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32377         (test-xfail-XPG4/stropts.h/conform): Likewise.
32378         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32379         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32380         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32381         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32382         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32383         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32384         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32385         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32386         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32387         (test-xfail-XPG4/termios.h/conform): Likewise.
32388         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32389         (test-xfail-XPG4/unistd.h/conform): Likewise.
32390         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32391         (test-xfail-POSIX/sched.h/conform): Likewise.
32392         (test-xfail-POSIX/signal.h/conform): Likewise.
32393         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32394         (test-xfail-POSIX/tar.h/conform): Likewise.
32395         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32396         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32397         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32398         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32399         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32400         (test-xfail-UNIX98/sched.h/conform): Likewise.
32401         (test-xfail-UNIX98/signal.h/conform): Likewise.
32402         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32403         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32404         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32405         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32406         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32407         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32408         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32409         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32410         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32411         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32412         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32413         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32414         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32415         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32416         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32417         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32418         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32419         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32420         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32421         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32422         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32423         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32424         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32425         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32426         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32427         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32428         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32429         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32430         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32431         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32432         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32433         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32434         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32435         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32436         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32437         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32438         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32439         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32440         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32441         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32442         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32443         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32444         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32445         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32446         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32447         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32448         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32449         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32450         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32451         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32452         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32453         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32454         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32455         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32456         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32457         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32458         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32459         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32460         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32461         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32462         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32463         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32464         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32465         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32466         (conformtest-cc-flags): Likewise.
32467         ($(conformtest-header-tests): New target.
32468         * conform/check-header-lists.sh: New file.
32469         * conform/run-conformtest.sh: Remove.
32471         * conform/conformtest.pl: Allow ' and \ in values given for
32472         constants.
32473         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32474         inclusion.
32475         [POSIX] (sys/types.h): Likewise.
32476         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32477         inclusion.
32478         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32479         inclusion.
32480         * conform/data/signal.h-data (SIGIO): Remove expectation.
32481         [XPG3] (SIGBUS): Do not expect.
32482         [POSIX || XPG3] (SIGPOLL): Likewise.
32483         [POSIX || XPG3] (SIGPROF): Likewise.
32484         [POSIX || XPG3] (SIGSYS): Likewise.
32485         [XPG3] (SIGTRAP): Likewise.
32486         [POSIX || XPG3] (SIGURG): Likewise.
32487         [POSIX || XPG3] (SIGVTALRM): Likewise.
32488         [POSIX || XPG3] (SIGXCPU): Likewise.
32489         [POSIX || XPG3] (SIGXFSZ): Likewise.
32490         [POSIX] (SA_SIGINFO): Expect.
32491         [XPG3] (siginfo_t): Do not expect type or contents.
32492         [POSIX] (si_pid): Do not expect element.
32493         [POSIX] (si_uid): Likewise.
32494         [POSIX] (si_addr): Likewise.
32495         [POSIX] (si_status): Likewise.
32496         [POSIX] (si_band): Likewise.
32497         [XPG4] (si_value): Likewise.
32498         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32499         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32500         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32501         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32502         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32503         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32504         [POSIX || XPG3] (ILL_COPROC): Likewise.
32505         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32506         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32507         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32508         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32509         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32510         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32511         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32512         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32513         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32514         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32515         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32516         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32517         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32518         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32519         [POSIX || XPG3] (CLD_EXITED): Likewise.
32520         [POSIX || XPG3] (CLD_KILLED): Likewise.
32521         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32522         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32523         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32524         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32525         [POSIX || XPG3] (POLL_IN): Likewise.
32526         [POSIX || XPG3] (POLL_OUT): Likewise.
32527         [POSIX || XPG3] (POLL_MSG): Likewise.
32528         [POSIX || XPG3] (POLL_ERR): Likewise.
32529         [POSIX || XPG3] (POLL_PRI): Likewise.
32530         [POSIX || XPG3] (POLL_HUP): Likewise.
32531         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32532         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32533         (SIG*): Do not allow.
32534         [XPG3] (si_*): Likewise.
32535         [XPG3] (SI_*): Likewise.
32536         [XPG3 || XPG4] (sigev_*): Likewise.
32537         [XPG3 || XPG4] (SIGEV_*): Likewise.
32538         [XPG3 || XPG4] (sival_*): Likewise.
32539         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32540         [POSIX || XPG3] (BUS_*): Likewise.
32541         [POSIX || XPG3] (CLD_*): Likewise.
32542         [POSIX || XPG3] (FPE_*): Likewise.
32543         [POSIX || XPG3] (ILL_*): Likewise.
32544         [POSIX || XPG3] (POLL_*): Likewise.
32545         [POSIX || XPG3] (SEGV_*): Likewise.
32546         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32547         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32548         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32549         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32550         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32551         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32552         Specify type and value.
32553         (TVERSLEN): Likewise.
32554         (REGTYPE): Likewise.
32555         (AREGTYPE): Likewise.
32556         (LNKTYPE): Likewise.
32557         (SYMTYPE): Likewise.
32558         (CHRTYPE): Likewise.
32559         (BLKTYPE): Likewise.
32560         (DIRTYPE): Likewise.
32561         (FIFOTYPE): Likewise.
32562         (CONTTYPE): Likewise.
32563         (TSUID): Likewise.
32564         (TSGID): Likewise.
32565         (TSVTX): Likewise.
32566         (TUREAD): Likewise.
32567         (TUWRITE): Likewise.
32568         (TUEXEC): Likewise.
32569         (TGREAD): Likewise.
32570         (TGWRITE): Likewise.
32571         (TGEXEC): Likewise.
32572         (TOREAD): Likewise.
32573         (TOWRITE): Likewise.
32574         (TOEXEC): Likewise.
32575         [POSIX] (TSVTX): Expect constant.
32577 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32579         * Makefile (tests): Change dependencies to ....
32580         (tests-special): ... additions to this variable.
32581         (tests): Depend on $(tests-special).
32582         * Makerules (check-abi-list): New variable.
32583         (check-abi): Depend on $(check-abi-list).
32584         [$(subdir) = elf] (tests-special): Add
32585         $(objpfx)check-abi-libc.out.
32586         [$(build-shared) = yes && subdir] (tests-special): Add
32587         $(check-abi-list).
32588         [$(build-shared) = yes && subdir] (tests): Do not depend on
32589         check-abi.
32590         * Rules (tests): Depend on $(tests-special).
32591         (xtests): Depend on $(xtests-special).
32592         * catgets/Makefile (tests): Change dependencies to ....
32593         (tests-special): ... additions to this variable.
32594         * conform/Makefile (tests): Change dependencies to ....
32595         (tests-special): ... additions to this variable.
32596         * elf/Makefile (tests): Change dependencies to ....
32597         (tests-special): ... additions to this variable.
32598         * grp/Makefile (tests): Change dependencies to ....
32599         (tests-special): ... additions to this variable.
32600         * iconv/Makefile (xtests): Change dependencies to ....
32601         (xtests-special): ... additions to this variable.
32602         * iconvdata/Makefile (tests): Change dependencies to ....
32603         (tests-special): ... additions to this variable.
32604         * intl/Makefile (tests): Change dependencies to ....
32605         (tests-special): ... additions to this variable.  Also add
32606         $(objpfx)tst-gettext.out.
32607         * io/Makefile (tests): Change dependencies to ....
32608         (tests-special): ... additions to this variable.
32609         * libio/Makefile (tests): Change dependencies to ....
32610         (tests-special): ... additions to this variable.
32611         * malloc/Makefile (tests): Change dependencies to ....
32612         (tests-special): ... additions to this variable.
32613         * misc/Makefile (tests): Change dependencies to ....
32614         (tests-special): ... additions to this variable.
32615         * nptl/Makefile (tests): Change dependencies to ....
32616         (tests-special): ... additions to this variable.
32617         * nptl_db/Makefile (tests): Change dependencies to ....
32618         (tests-special): ... additions to this variable.
32619         * posix/Makefile (tests): Change dependencies to ....
32620         (tests-special): ... additions to this variable.
32621         (xtests): Change dependencies to ....
32622         (xtests-special): ... additions to this variable.
32623         * resolv/Makefile (tests): Change dependencies to ....
32624         (tests-special): ... additions to this variable.
32625         (xtests): Change dependencies to ....
32626         (xtests-special): ... additions to this variable.
32627         * stdio-common/Makefile (tests): Change dependencies to ....
32628         (tests-special): ... additions to this variable.
32629         (do-tst-unbputc): Remove target.
32630         (do-tst-printf): Likewise.
32631         * stdlib/Makefile (tests): Change dependencies to ....
32632         (tests-special): ... additions to this variable.
32633         * string/Makefile (tests): Change dependencies to ....
32634         (tests-special): ... additions to this variable.
32635         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32636         (tests-special): ... additions to this variable.
32638         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32639         whole file.
32640         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32641         whole file.
32642         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32643         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32645         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32646         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32647         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32648         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32649         * conform/data/libgen.h-data [XPG3]: Likewise.
32650         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32651         * conform/data/ndbm.h-data [XPG3]: Likewise.
32652         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32653         * conform/data/netdb.h-data [XPG3]: Likewise.
32654         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32655         * conform/data/poll.h-data [XPG3]: Likewise.
32656         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32657         * conform/data/strings.h-data [XPG3]: Likewise.
32658         * conform/data/stropts.h-data [XPG3]: Likewise.
32659         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32660         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32661         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32662         Likewise.
32663         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32664         * conform/data/sys/time.h-data [XPG3]: Likewise.
32665         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32666         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32667         * conform/data/sys/un.h-data [XPG3]: Likewise.
32668         * conform/data/syslog.h-data [XPG3]: Likewise.
32669         * conform/data/ucontext.h-data [XPG3]: Likewise.
32670         * conform/data/utmpx.h-data [XPG3]: Likewise.
32671         * conform/data/varargs.h-data [UNIX98]: Enable file.
32673         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32675         * math/libm-test.inc (struct test_f_f_data): Move expected results
32676         into structure for each rounding mode.
32677         (struct test_ff_f_data): Likewise.
32678         (struct test_ff_f_data_nexttoward): Likewise.
32679         (struct test_fi_f_data): Likewise.
32680         (struct test_fl_f_data): Likewise.
32681         (struct test_if_f_data): Likewise.
32682         (struct test_fff_f_data): Likewise.
32683         (struct test_c_f_data): Likewise.
32684         (struct test_f_f1_data): Likewise.
32685         (struct test_fF_f1_data): Likewise.
32686         (struct test_ffI_f1_data): Likewise.
32687         (struct test_c_c_data): Likewise.
32688         (struct test_cc_c_data): Likewise.
32689         (struct test_f_i_data): Likewise.
32690         (struct test_ff_i_data): Likewise.
32691         (struct test_f_l_data): Likewise.
32692         (struct test_f_L_data): Likewise.
32693         (struct test_fFF_11_data): Likewise.
32694         (RM_): New macro.
32695         (RM_FE_DOWNWARD): Likewise.
32696         (RM_FE_TONEAREST): Likewise.
32697         (RM_FE_TOWARDZERO): Likewise.
32698         (RM_FE_UPWARD): Likewise.
32699         (RUN_TEST_LOOP_f_f): Update references to expected results.
32700         (RUN_TEST_LOOP_2_f): Likewise.
32701         (RUN_TEST_LOOP_fff_f): Likewise.
32702         (RUN_TEST_LOOP_c_f): Likewise.
32703         (RUN_TEST_LOOP_f_f1): Likewise.
32704         (RUN_TEST_LOOP_fF_f1): Likewise.
32705         (RUN_TEST_LOOP_fI_f1): Likewise.
32706         (RUN_TEST_LOOP_ffI_f1): Likewise.
32707         (RUN_TEST_LOOP_c_c): Likewise.
32708         (RUN_TEST_LOOP_cc_c): Likewise.
32709         (RUN_TEST_LOOP_f_i): Likewise.
32710         (RUN_TEST_LOOP_f_i_tg): Likewise.
32711         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32712         (RUN_TEST_LOOP_f_b): Likewise.
32713         (RUN_TEST_LOOP_f_b_tg): Likewise.
32714         (RUN_TEST_LOOP_f_l): Likewise.
32715         (RUN_TEST_LOOP_f_L): Likewise.
32716         (RUN_TEST_LOOP_fFF_11): Likewise.
32717         * math/gen-libm-test.pl (parse_args): Output four copies of
32718         expected results for each test.
32720         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32721         (__ASSUME_UTIMES): Remove.
32722         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32723         (__ASSUME_UTIMES): Likewise.
32725         * math/gen-auto-libm-tests.c: Update comment on output format.
32726         (output_for_one_input_case): Generate before-rounding and
32727         after-rounding information as conditions on output flags not
32728         floating-point format.
32729         * math/auto-libm-test-out: Regenerated.
32730         * math/gen-libm-test.pl (cond_value): New function.
32731         (or_cond_value): Use cond_value.
32732         (generate_testfile): Handle conditional exceptions.
32734 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32736         * math/libm-test.inc (max_valid_error): New variable.
32737         (init_max_error): Take new argument specifying whether function
32738         results are exactly determined.  Set max_valid_error and bound
32739         other variables for errors based on this argument.
32740         (set_max_error): Do not record results above max_valid_error.
32741         (check_float_internal): Only accept errors of up to 0.5ulps if
32742         also at most max_valid_error.
32743         (START): Take new argument EXACT and pass it to init_max_error.
32744         (acos_test): Update call to START.
32745         (acos_test_tonearest): Likewise.
32746         (acos_test_towardzero): Likewise.
32747         (acos_test_downward): Likewise.
32748         (acos_test_upward): Likewise.
32749         (acosh_test): Likewise.
32750         (asin_test): Likewise.
32751         (asin_test_tonearest): Likewise.
32752         (asin_test_towardzero): Likewise.
32753         (asin_test_downward): Likewise.
32754         (asin_test_upward): Likewise.
32755         (asinh_test): Likewise.
32756         (atan_test): Likewise.
32757         (atanh_test): Likewise.
32758         (atan2_test): Likewise.
32759         (cabs_test): Likewise.
32760         (cacos_test): Likewise.
32761         (cacosh_test): Likewise.
32762         (carg_test): Likewise.
32763         (casin_test): Likewise.
32764         (casinh_test): Likewise.
32765         (catan_test): Likewise.
32766         (catanh_test): Likewise.
32767         (cbrt_test): Likewise.
32768         (ccos_test): Likewise.
32769         (ccosh_test): Likewise.
32770         (ceil_test): Likewise.
32771         (cexp_test): Likewise.
32772         (cimag_test): Likewise.
32773         (clog_test): Likewise.
32774         (clog10_test): Likewise.
32775         (conj_test): Likewise.
32776         (copysign_test): Likewise.
32777         (cos_test): Likewise.
32778         (cos_test_tonearest): Likewise.
32779         (cos_test_towardzero): Likewise.
32780         (cos_test_downward): Likewise.
32781         (cos_test_upward): Likewise.
32782         (cosh_test): Likewise.
32783         (cosh_test_tonearest): Likewise.
32784         (cosh_test_towardzero): Likewise.
32785         (cosh_test_downward): Likewise.
32786         (cosh_test_upward): Likewise.
32787         (cpow_test): Likewise.
32788         (cproj_test): Likewise.
32789         (creal_test): Likewise.
32790         (csin_test): Likewise.
32791         (csinh_test): Likewise.
32792         (csqrt_test): Likewise.
32793         (ctan_test): Likewise.
32794         (ctan_test_tonearest): Likewise.
32795         (ctan_test_towardzero): Likewise.
32796         (ctan_test_downward): Likewise.
32797         (ctan_test_upward): Likewise.
32798         (ctanh_test): Likewise.
32799         (ctanh_test_tonearest): Likewise.
32800         (ctanh_test_towardzero): Likewise.
32801         (ctanh_test_downward): Likewise.
32802         (ctanh_test_upward): Likewise.
32803         (erf_test): Likewise.
32804         (erfc_test): Likewise.
32805         (exp_test): Likewise.
32806         (exp_test_tonearest): Likewise.
32807         (exp_test_towardzero): Likewise.
32808         (exp_test_downward): Likewise.
32809         (exp_test_upward): Likewise.
32810         (exp10_test): Likewise.
32811         (exp10_test_tonearest): Likewise.
32812         (exp10_test_towardzero): Likewise.
32813         (exp10_test_downward): Likewise.
32814         (exp10_test_upward): Likewise.
32815         (pow10_test): Likewise.
32816         (exp2_test): Likewise.
32817         (expm1_test): Likewise.
32818         (expm1_test_tonearest): Likewise.
32819         (expm1_test_towardzero): Likewise.
32820         (expm1_test_downward): Likewise.
32821         (expm1_test_upward): Likewise.
32822         (fabs_test): Likewise.
32823         (fdim_test): Likewise.
32824         (floor_test): Likewise.
32825         (fma_test): Likewise.
32826         (fma_test_towardzero): Likewise.
32827         (fma_test_downward): Likewise.
32828         (fma_test_upward): Likewise.
32829         (fmax_test): Likewise.
32830         (fmin_test): Likewise.
32831         (fmod_test): Likewise.
32832         (fpclassify_test): Likewise.
32833         (frexp_test): Likewise.
32834         (hypot_test): Likewise.
32835         (ilogb_test): Likewise.
32836         (isfinite_test): Likewise.
32837         (finite_test): Likewise.
32838         (isgreater_test): Likewise.
32839         (isgreaterequal_test): Likewise.
32840         (isinf_test): Likewise.
32841         (isless_test): Likewise.
32842         (islessequal_test): Likewise.
32843         (islessgreater_test): Likewise.
32844         (isnan_test): Likewise.
32845         (isnormal_test): Likewise.
32846         (issignaling_test): Likewise.
32847         (isunordered_test): Likewise.
32848         (j0_test): Likewise.
32849         (j1_test): Likewise.
32850         (jn_test): Likewise.
32851         (ldexp_test): Likewise.
32852         (lgamma_test): Likewise.
32853         (gamma_test): Likewise.
32854         (lrint_test): Likewise.
32855         (lrint_test_tonearest): Likewise.
32856         (lrint_test_towardzero): Likewise.
32857         (lrint_test_downward): Likewise.
32858         (lrint_test_upward): Likewise.
32859         (llrint_test): Likewise.
32860         (llrint_test_tonearest): Likewise.
32861         (llrint_test_towardzero): Likewise.
32862         (llrint_test_downward): Likewise.
32863         (llrint_test_upward): Likewise.
32864         (log_test): Likewise.
32865         (log10_test): Likewise.
32866         (log1p_test): Likewise.
32867         (log2_test): Likewise.
32868         (logb_test): Likewise.
32869         (logb_test_downward): Likewise.
32870         (lround_test): Likewise.
32871         (llround_test): Likewise.
32872         (modf_test): Likewise.
32873         (nearbyint_test): Likewise.
32874         (nextafter_test): Likewise.
32875         (nexttoward_test): Likewise.
32876         (pow_test): Likewise.
32877         (pow_test_tonearest): Likewise.
32878         (pow_test_towardzero): Likewise.
32879         (pow_test_downward): Likewise.
32880         (pow_test_upward): Likewise.
32881         (remainder_test): Likewise.
32882         (drem_test): Likewise.
32883         (remainder_test_tonearest): Likewise.
32884         (drem_test_tonearest): Likewise.
32885         (remainder_test_towardzero): Likewise.
32886         (drem_test_towardzero): Likewise.
32887         (remainder_test_downward): Likewise.
32888         (drem_test_downward): Likewise.
32889         (remainder_test_upward): Likewise.
32890         (drem_test_upward): Likewise.
32891         (remquo_test): Likewise.
32892         (rint_test): Likewise.
32893         (rint_test_tonearest): Likewise.
32894         (rint_test_towardzero): Likewise.
32895         (rint_test_downward): Likewise.
32896         (rint_test_upward): Likewise.
32897         (round_test): Likewise.
32898         (scalb_test): Likewise.
32899         (scalbn_test): Likewise.
32900         (scalbln_test): Likewise.
32901         (signbit_test): Likewise.
32902         (sin_test): Likewise.
32903         (sin_test_tonearest): Likewise.
32904         (sin_test_towardzero): Likewise.
32905         (sin_test_downward): Likewise.
32906         (sin_test_upward): Likewise.
32907         (sincos_test): Likewise.
32908         (sinh_test): Likewise.
32909         (sinh_test_tonearest): Likewise.
32910         (sinh_test_towardzero): Likewise.
32911         (sinh_test_downward): Likewise.
32912         (sinh_test_upward): Likewise.
32913         (sqrt_test): Likewise.
32914         (sqrt_test_tonearest): Likewise.
32915         (sqrt_test_towardzero): Likewise.
32916         (sqrt_test_downward): Likewise.
32917         (sqrt_test_upward): Likewise.
32918         (tan_test): Likewise.
32919         (tan_test_tonearest): Likewise.
32920         (tan_test_towardzero): Likewise.
32921         (tan_test_downward): Likewise.
32922         (tan_test_upward): Likewise.
32923         (tanh_test): Likewise.
32924         (tgamma_test): Likewise.
32925         (trunc_test): Likewise.
32926         (y0_test): Likewise.
32927         (y1_test): Likewise.
32928         (yn_test): Likewise.
32929         (significand_test): Likewise.
32931         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32932         individual tests in comment.
32933         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32934         (prev_max_error): New variable.
32935         (prev_real_max_error): Likewise.
32936         (prev_imag_max_error): Likewise.
32937         (compare_ulp_data): Don't refer to test names in comment.
32938         (find_test_ulps): Remove function.
32939         (find_function_ulps): Likewise.
32940         (find_complex_function_ulps): Likewise.
32941         (init_max_error): Take function name as argument.  Look up ulps
32942         for that function.
32943         (print_ulps): Remove function.
32944         (print_max_error): Use prev_max_error instead of calling
32945         find_function_ulps.
32946         (print_complex_max_error): Use prev_real_max_error and
32947         prev_imag_max_error instead of calling find_complex_function_ulps.
32948         (check_float_internal): Take max_ulp parameter instead of calling
32949         find_test_ulps.  Don't call print_ulps.
32950         (check_float): Update call to check_float_internal.
32951         (check_complex): Update calls to check_float_internal.
32952         (START): Pass argument to init_max_error.
32953         * math/gen-libm-test.pl (%results): Don't include "kind"
32954         information.
32955         (parse_ulps): Don't handle ulps of individual tests.
32956         (print_ulps_file): Likewise.
32957         (output_ulps): Likewise.
32958         * math/README.libm-test: Update.
32959         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32960         individual tests.
32961         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32962         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32963         * sysdeps/arm/libm-test-ulps: Likewise.
32964         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32965         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32966         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32967         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32968         * sysdeps/microblaze/libm-test-ulps: Likewise.
32969         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32970         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32971         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32972         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32973         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32974         * sysdeps/sh/libm-test-ulps: Likewise.
32975         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32976         * sysdeps/tile/libm-test-ulps: Likewise.
32977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32981         * math/libm-test.inc (print_complex_max_error): Check separately
32982         whether real and imaginary errors are within allowed range and
32983         pass 0 to print_complex_function_ulps instead of value within
32984         allowed range.
32986 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32988         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32989         formatting.
32990         (get_handles_fopen): Likewise.
32991         (do_write_test): Likewise.
32993         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32995         * libio/fileops.c (do_ftell): Use cached offset when
32996         available.
32997         * libio/iofwide.c (do_ftell_wide): Likewise.
32998         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32999         _IO_file_attach.
33000         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33002         [BZ #16532]
33003         * libio/libioP.h (get_file_offset): New function.
33004         * libio/fileops.c (get_file_offset): Likewise.
33005         (do_ftell): Likewise.
33006         (_IO_new_file_seekoff): Split out ftell logic.
33007         * libio/wfileops.c (do_ftell_wide): Likewise.
33008         (_IO_wfile_seekoff): Split out ftell logic.
33009         * libio/tst-ftell-active-handler.c: New test case.
33010         * libio/Makefile (tests): Add it.
33012 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33014         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33015         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33017 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33019         [BZ #16639]
33020         * nscd/connections.c (nscd_init): Call do_exit.
33021         (start_threads): Call do_exit and notify_parent.
33022         (begin_drop_privileges): Call do_exit.
33023         (finish_drop_privileges): Likewise.
33024         * nscd/selinux.c (preserve_capabilities): Likewise.
33025         (install_real_capabilities): Likewise.
33026         (nscd_selinux_enabled): Likewise.
33027         (avc_create_thread): Likewise.
33028         (avc_alloc_lock): Likewise.
33029         (nscd_avc_init): Likewise.
33030         * nscd/nscd.c (parent_fd): New static variable.
33031         (main): Create a pipe between parent and child processes.
33032         Skip closing parent_fd.
33033         (monitor_child): New function.
33034         (do_exit): Likewise.
33035         (notify_parent): Likewise.
33036         * nscd/nscd.h (notify_parent): Likewise.
33037         (do_exit): Likewise.
33039 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33041         * malloc/malloc.c (__libc_calloc): Revert last change.
33043 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33047 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33049         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33051         implementation.
33052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33053         (__libc_ifunc_impl_list): Likewise.
33054         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33055         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33056         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33057         * string/strrchr.c: Define STRRCHR.
33059 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33061         * benchtest/bench-strtok.c (simple_strtok): Delete.
33062         (strtok_string): Use as benchmark.
33063         * string/strtok (STRTOK): New macro.
33065 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33067         * manual/threads.texi: Add header and standard comments to all
33068         functions.
33070         * elf/dl-lookup.c (check_match): New function.
33071         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33072         (do_lookup_x): Remove nested function check_match. Use non-nested
33073         function check_match.
33075 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33077         * csu/Makefile (generated, before-compile): Use += rather than =.
33078         * catgets/Makefile (generated, generated-dirs): Likewise.
33079         * debug/Makefile (generated): Likewise.
33080         * dlfcn/Makefile (generated): Likewise.
33081         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33082         * iconvdata/Makefile (before-compile, generated): Likewise.
33083         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33084         * libio/Makefile (generated): Likewise.
33085         * malloc/Makefile (generated): Likewise.
33086         * manual/Makefile (generated, generated-dirs): Likewise.
33087         * misc/Makefile (generated): Likewise.
33088         * posix/Makefile (generated): Likewise.
33089         * resolv/Makefile (generated): Likewise.
33090         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33091         * timezone/Makefile (generated, generated-dirs): Likewise.
33093         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33095 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33098         power8 implementation.
33099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33100         file: POWER8 llround ifunc implementation.
33101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33102         (__lllround): Add POWER8 implementation.
33103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33104         POWER8 llround implementation.
33106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33107         power8 implementation.
33108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33109         file: POWER8 llrint ifunc implementation.
33110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33111         Add POWER8 implementation.
33112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33113         POWER8 llrint implementation.
33115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33116         power8 implementation.
33117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33118         file: POWER8 finite ifunc implementation.
33119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33120         Add POWER8 implementation.
33121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33122         Likewise.
33123         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33124         POWER8 finite implementation.
33125         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33128         power8 implementation.
33129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33130         file: POWER8 isinf ifunc implementation.
33131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33132         POWER8 implementation.
33133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33134         Likewise.
33135         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33136         isinf implementation.
33137         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33139         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33140         (INIT_ARCH): Add hwcap2 initialization.
33141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33142         power8 implementation.
33143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33144         file: POWER8 isnan ifunc implementation.
33145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33146         POWER8 implementation.
33147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33148         Likewise.
33149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33150         isnan implementation.
33151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33153 2014-02-27  Joey Ye  <joey.ye@arm.com>
33155         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33156         (_FP_NANFRAC_Q): Set to zero.
33158 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33160         [BZ #16623]
33161         * math/auto-libm-test-in: New test inputs.
33162         * math/auto-libm-test-out: Regenerate.
33163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33164         and DA.
33165         (__cos): Likewise.
33166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33168 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33170         * scripts/evaluate-test.sh: Take new argument indicating whether
33171         failure is expected.
33172         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33173         indicating whether failure is expected.
33174         * conform/Makefile (test-xfail-run-conformtest): New variable.
33175         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33176         level.
33177         * posix/Makefile (test-xfail-annexc): New variable.
33178         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33180 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33182         * argp/Makefile: Include Makeconfig immediately after defining
33183         subdir.
33184         * assert/Makefile: Likewise.
33185         * benchtests/Makefile: Likewise.
33186         * catgets/Makefile: Likewise.
33187         * conform/Makefile: Likewise.
33188         * crypt/Makefile: Likewise.
33189         * csu/Makefile: Likewise.
33190         (all): Remove target.
33191         * ctype/Makefile: Include Makeconfig immediately after defining
33192         subdir.
33193         * debug/Makefile: Likewise.
33194         * dirent/Makefile: Likewise.
33195         * dlfcn/Makefile: Likewise.
33196         * gmon/Makefile: Likewise.
33197         * gnulib/Makefile: Likewise.
33198         * grp/Makefile: Likewise.
33199         * gshadow/Makefile: Likewise.
33200         * hesiod/Makefile: Likewise.
33201         * hurd/Makefile: Likewise.
33202         (all): Remove target.
33203         * iconvdata/Makefile: Include Makeconfig immediately after
33204         defining subdir.
33205         * inet/Makefile: Likewise.
33206         * intl/Makefile: Likewise.
33207         * io/Makefile: Likewise.
33208         * libio/Makefile: Likewise.
33209         (all): Remove target.
33210         * locale/Makefile: Include Makeconfig immediately after defining
33211         subdir.
33212         * login/Makefile: Likewise.
33213         * mach/Makefile: Likewise.
33214         (all): Remove target.
33215         * malloc/Makefile: Include Makeconfig immediately after defining
33216         subdir.
33217         (all): Remove target.
33218         * manual/Makefile: Include Makeconfig immediately after defining
33219         subdir.
33220         * math/Makefile: Likewise.
33221         * misc/Makefile: Likewise.
33222         * nis/Makefile: Likewise.
33223         * nss/Makefile: Likewise.
33224         * po/Makefile: Likewise.
33225         (all): Remove target.
33226         * posix/Makefile: Include Makeconfig immediately after defining
33227         subdir.
33228         * pwd/Makefile: Likewise.
33229         * resolv/Makefile: Likewise.
33230         * resource/Makefile: Likewise.
33231         * rt/Makefile: Likewise.
33232         * setjmp/Makefile: Likewise.
33233         * shadow/Makefile: Likewise.
33234         * signal/Makefile: Likewise.
33235         * socket/Makefile: Likewise.
33236         * soft-fp/Makefile: Likewise.
33237         * stdio-common/Makefile: Likewise.
33238         * stdlib/Makefile: Likewise.
33239         * streams/Makefile: Likewise.
33240         * string/Makefile: Likewise.
33241         * sunrpc/Makefile: Likewise.
33242         (all): Remove target.
33243         * sysvipc/Makefile: Include Makeconfig immediately after defining
33244         subdir.
33245         * termios/Makefile: Likewise.
33246         * time/Makefile: Likewise.
33247         * timezone/Makefile: Likewise.
33248         (all): Remove target.
33249         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33250         subdir.
33251         * wctype/Makefile: Likewise.
33253 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33255         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33256         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33257         (libc_feholdexcept_setround_mips): Ditto.
33258         (libc_feholdsetround): New.
33259         (libc_feholdsetroundf): New.
33260         (libc_feholdsetroundl): New.
33261         (libc_feupdateenv_test_mips): New.
33262         (libc_feupdateenv_test): New.
33263         (libc_feupdateenv_testf): New.
33264         (libc_feupdateenv_testl): New.
33265         (libc_feresetround): New.
33266         (libc_feresetroundf): New.
33267         (libc_feresetroundl): New.
33268         (libc_fetestexcept_mips): New.
33269         (libc_fetestexcept): New.
33270         (libc_fetestexceptf): New.
33271         (libc_fetestexceptl): New.
33272         (HAVE_RM_CTX): New.
33273         (libc_feholdexcept_setround_mips_ctx): New.
33274         (libc_feholdexcept_setround_ctx): New.
33275         (libc_feholdexcept_setroundf_ctx): New.
33276         (libc_feholdexcept_setroundl_ctx): New.
33277         (libc_fesetenv_mips_ctx): New.
33278         (libc_fesetenv_ctx): New.
33279         (libc_fesetenv_ctxf): New.
33280         (libc_fesetenv_ctxl): New.
33281         (libc_feupdateenv_mips_ctx): New.
33282         (libc_feupdateenv_ctx): New.
33283         (libc_feupdateenvf_ctx): New.
33284         (libc_feupdateenvl_ctx): New.
33285         (libc_feholdsetround_mips_ctx): New.
33286         (libc_feholdsetround_ctx): New.
33287         (libc_feholdsetroundf_ctx): New.
33288         (libc_feholdsetroundl_ctx): New.
33289         (libc_feresetround_mips_ctx): New.
33290         (libc_feresetround_ctx): New.
33291         (libc_feresetroundf_ctx): New.
33292         (libc_feresetroundl_ctx): New.
33294 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33296         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33298         * manual/ipc.texi: New file.
33299         * manual/Makefile (chapters): Add ipc.
33300         * manual/job.texi: Add "Inter-Process Communication" to next.
33301         * manual/process.texi: Add "Inter-Process Communication" to prev.
33303 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33307 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33309         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33311         * manual/arith.texi: Fix spaces after sentences.
33312         * manual/charset.texi: Likewise.
33313         * manual/errno.texi: Likewise.
33314         * manual/install.texi: Likewise.
33315         * manual/llio.texi: Likewise.
33316         * manual/locale.texi: Likewise.
33317         * manual/maint.texi: Likewise.
33318         * manual/math.texi: Likewise.
33319         * manual/memory.texi: Likewise.
33320         * manual/message.texi: Likewise.
33321         * manual/probes.texi: Likewise.
33322         * manual/resource.texi: Likewise.
33323         * manual/signal.texi: Likewise.
33324         * manual/socket.texi: Likewise.
33325         * manual/stdio.texi: Likewise.
33326         * manual/string.texi: Likewise.
33327         * manual/time.texi: Likewise.
33328         * manual/users.texi: Likewise.
33330 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33332         [BZ #16632]
33333         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33334         _DEFAULT_SOURCE is defined.
33336 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33337             Carlos O'Donell  <carlos@redhat.com>
33339         [BZ #16613]
33340         * elf/dl-tls.c (_dl_count_modids): New function.
33341         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33342         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33343         audit library and increment generation counter.
33344         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33345         * elf/tst-audit9.c: New file.
33346         * elf/tst-auditmod9a.c: New file.
33347         * elf/tst-auditmod9b.c: New file.
33348         * elf/Makefile: Add rules to build and run tst-audit9.
33350 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33352         [BZ #15347]
33353         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33355 2014-02-25  Will Newton  <will.newton@linaro.org>
33357         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33358         (__longjmp): Restore sp and lr before restoring callee
33359         saved registers.  Add longjmp and longjmp_target
33360         SystemTap probe point.
33361         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33362         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33363         Define to zero to match jmpbuf layout.
33364         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33365         (__sigsetjmp): Save sp and lr before saving callee
33366         saved registers.  Add setjmp SystemTap probe point.
33368 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33370         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33372 2014-02-24  Andreas Schwab  <schwab@suse.de>
33374         [BZ #15804]
33375         * elf/pldd.c (wait_for_ptrace_stop): New function.
33376         (main): Call it after attaching.
33378 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33380         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33381         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33382         Versions files is now verboten.
33383         * hurd/Versions (libc: GLIBC_2.0):
33384         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33385         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33386         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33387         * mach/Versions: Likewise.
33389         * csu/Versions: Remove unused %include.
33390         * resolv/Versions: Likewise.
33392 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33394         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33395         ($(objpfx)check-local-headers.out): Likewise.
33396         ($(objpfx)begin-end-check.out): Likewise.
33397         * Makerules (check-abi-%.out): Likewise.
33398         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33399         ($(objpfx)test2.cat): Likewise.
33400         ($(objpfx)de/libc.cat): Likewise.
33401         ($(objpfx)test-gencat.out): Likewise.
33402         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33403         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33404         ($(objpfx)noload-mem): Likewise.
33405         ($(objpfx)tst-pathopt.out): Likewise.
33406         ($(objpfx)tst-rtld-load-self.out): Likewise.
33407         ($(objpfx)tst-array1-cmp.out): Likewise.
33408         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33409         ($(objpfx)tst-array2-cmp.out): Likewise.
33410         ($(objpfx)tst-array3-cmp.out): Likewise.
33411         ($(objpfx)tst-array4-cmp.out): Likewise.
33412         ($(objpfx)tst-array5-cmp.out): Likewise.
33413         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33414         ($(objpfx)check-textrel.out): Likewise.
33415         ($(objpfx)check-execstack.out): Likewise.
33416         ($(objpfx)check-localplt.out): Likewise.
33417         ($(objpfx)order2-cmp.out): Likewise.
33418         ($(objpfx)tst-leaks1-mem): Likewise.
33419         ($(objpfx)tst-leaks1-static-mem): Likewise.
33420         ($(objpfx)tst-initorder-cmp.out): Likewise.
33421         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33422         ($(objpfx)tst-unused-dep.out): Likewise.
33423         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33424         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33425         * iconv/Makefile (test-iconvconfig): Likewise.
33426         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33427         ($(objpfx)iconv-test.out): Likewise.
33428         ($(objpfx)tst-tables.out): Likewise.
33429         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33430         ($(objpfx)tst-gettext.out): Likewise.
33431         ($(objpfx)tst-translit.out): Likewise.
33432         ($(objpfx)tst-gettext2.out): Likewise.
33433         ($(objpfx)tst-gettext4.out): Likewise.
33434         ($(objpfx)tst-gettext6.out): Likewise.
33435         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33436         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33437         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33438         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33439         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33440         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33441         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33442         ($(objpfx)wordexp-tst.out): Likewise.
33443         ($(objpfx)annexc.out): Likewise.
33444         ($(objpfx)tst-fnmatch-mem): Likewise.
33445         ($(objpfx)bug-regex2-mem): Likewise.
33446         ($(objpfx)bug-regex14-mem): Likewise.
33447         ($(objpfx)bug-regex21-mem): Likewise.
33448         ($(objpfx)bug-regex31-mem): Likewise.
33449         ($(objpfx)tst-vfork3-mem): Likewise.
33450         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33451         ($(objpfx)tst-pcre-mem): Likewise.
33452         ($(objpfx)tst-boost-mem): Likewise.
33453         ($(objpfx)tst-getconf.out): Likewise.
33454         ($(objpfx)bug-ga2-mem): Likewise.
33455         ($(objpfx)bug-glob2-mem): Likewise.
33456         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33457         ($(objpfx)mtrace-tst-leaks2): Likewise.
33458         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33459         ($(objpfx)tst-printf.out): Likewise.
33460         ($(objpfx)tst-setvbuf1.out): Likewise.
33461         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33462         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33463         ($(objpfx)tst-fmtmsg.out): Likewise.
33464         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33465         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33467         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33468         * bits/sigaction.h [__USE_MISC]: Likewise.
33469         * bits/waitstatus.h: Update #endif comments.
33470         * ctype/ctype.h: Likewise.
33471         * dirent/dirent.h: Likewise.
33472         [__USE_MISC]: Remove redundant conditionals.
33473         * grp/grp.h: Update #endif comments.
33474         [__USE_GNU]: Remove redundant conditionals.
33475         [__USE_MISC]: Likewise.
33476         * inet/netinet/in.h [__USE_GNU]: Likewise.
33477         * io/sys/stat.h [__USE_MISC]: Likewise.
33478         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33479         * libio/bits/stdio.h: Update #endif comments.
33480         [__USE_MISC]: Remove redundant conditionals.
33481         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33482         * libio/stdio.h: Update #endif comments.
33483         [__USE_MISC]: Remove redundant conditionals.
33484         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33485         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33486         * math/math.h: Update #else and #endif comments.
33487         [__USE_MISC]: Remove redundant conditionals.
33488         * misc/sys/uio.h: Update #endif comments.
33489         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33490         * posix/glob.h [__USE_MISC]: Likewise.
33491         * posix/sys/types.h: Update #endif comments.
33492         [__USE_MISC]: Remove redundant conditionals.
33493         * posix/sys/wait.h: Update #endif comments.
33494         [__USE_MISC]: Remove redundant conditionals.
33495         * posix/unistd.h: Update #endif comments.
33496         [__USE_MISC]: Remove redundant conditionals.
33497         * pwd/pwd.h [__USE_GNU]: Likewise.
33498         [__USE_MISC]: Likewise.
33499         * resolv/netdb.h [__USE_GNU]: Likewise.
33500         * signal/signal.h: Update #endif comments.
33501         [__USE_MISC]: Remove redundant conditionals.
33502         * stdlib/stdlib.h: Update #else and #endif comments.
33503         [__USE_MISC]: Remove redundant conditionals.
33504         [__USE_GNU]: Likewise.
33505         * string/bits/string2.h [__USE_MISC]: Likewise.
33506         * string/string.h: Update #endif comments.
33507         [__USE_MISC]: Remove redundant conditionals.
33508         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33509         Likewise.
33510         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33511         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33512         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33513         Likewise.
33514         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33515         Likewise.
33516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33517         comments.
33518         [__USE_MISC]: Remove redundant conditionals.
33519         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33520         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33521         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33522         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33523         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33524         Likewise.
33525         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33526         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33527         Likewise.
33528         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33529         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33530         Likewise.
33531         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33532         Likewise.
33533         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33534         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33535         Likewise.
33536         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33537         Likewise.
33538         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33539         * sysdeps/x86/bits/string.h: Update #endif comments.
33540         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33541         conditionals.
33542         * time/sys/time.h: Update #endif comments.
33543         * time/time.h: Likewise.
33544         [__USE_MISC]: Remove redundant conditionals.
33546 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33548         [BZ #16600]
33549         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33551 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33553         * Versions.def (librt): Add GLIBC_2.17.
33555 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33557         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33558         synonym for _SYS_AUXV_H to allow direct inclusion.
33559         * sysdeps/sparc/bits/hwcap.h: Likewise.
33560         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33561         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33562         * sysdeps/sparc/sysdep.h: Likewise.
33564 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33566         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33568 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33570         * benchtests/bench-strrchr.c: Print length instead of position.
33572 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33574         [BZ #16611]
33575         * sysdeps/unix/sysv/linux/kernel-features.h
33576         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33577         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33578         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33579         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33580         Likewise.
33581         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33582         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33583         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33584         (__ASSUME_SENDMMSG): Define instead of using previous
33585         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33586         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33587         (__ASSUME_SENDMMSG_SYSCALL): Define.
33588         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33589         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33590         Likewise.
33591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33592         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33593         Likewise.
33594         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33595         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33596         Likewise.
33597         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33598         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33599         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33600         [__ASSUME_SENDMMSG]: Change conditionals to
33601         [__ASSUME_SENDMMSG_SOCKETCALL].
33602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33603         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33604         Define.
33605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33606         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33607         Likewise.
33608         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33609         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33610         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33611         [!__ASSUME_SENDMMSG]: Change conditional to
33612         [!__ASSUME_SENDMMSG_SOCKETCALL].
33613         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33614         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33615         Define.
33617         [BZ #16610]
33618         * sysdeps/unix/sysv/linux/kernel-features.h
33619         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33620         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33621         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33622         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33623         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33624         [__i386__ || __sparc__]
33625         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33626         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33627         (__ASSUME_RECVMMSG): Define instead of using previous
33628         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33630         (__ASSUME_RECVMMSG_SYSCALL): Define.
33631         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33633         Likewise.
33634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33636         Likewise.
33637         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33639         Likewise.
33640         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33641         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33642         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33643         [__ASSUME_RECVMMSG]: Change condition to
33644         [__ASSUME_RECVMMSG_SOCKETCALL].
33645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33647         Define.
33648         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33649         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33651         Likewise.
33652         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33653         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33654         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33655         [!__ASSUME_RECVMMSG]: Change condition to
33656         [!__ASSUME_RECVMMSG_SOCKETCALL].
33657         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33658         (__ASSUME_RECVMMSG_SYSCALL): Define.
33660         [BZ #16609]
33661         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33662         __powerpc__ || __s390__ || __sh__ || __sparc__]
33663         (__ASSUME_SOCKETCALL): Define.
33664         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33665         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33666         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33667         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33668         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33669         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33670         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33671         (__ASSUME_ACCEPT4): Define instead of using previous
33672         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33673         __powerpc__ || __sparc__ || __s390__)] condition.
33674         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33675         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33676         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33677         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33678         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33679         [!__ASSUME_ACCEPT4]: Change condition to
33680         [!__ASSUME_ACCEPT4_SOCKETCALL].
33681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33682         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33683         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33685         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33686         __ASSUME_ACCEPT4_SYSCALL.
33687         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33688         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33690         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33691         __ASSUME_ACCEPT4_SYSCALL.
33692         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33693         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33694         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33695         [__ASSUME_ACCEPT4]: Change condition to
33696         [__ASSUME_ACCEPT4_SOCKETCALL].
33697         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33698         (__ASSUME_SOCKETCALL): Define.
33699         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33701         (__ASSUME_SOCKETCALL): Define.
33702         (__ASSUME_ACCEPT4): Remove.
33703         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33704         Define.
33705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33706         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33707         Likewise.
33708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33709         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33711         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33712         macro.
33713         (HWCAP_ARM_LPAE): Likewise.
33714         (HWCAP_ARM_EVTSTRM): Likewise.
33715         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33716         Add vpfd32, lpae and evtstrm.
33717         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33718         Increase to 22.
33720 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33722         * math/auto-libm-test-in: Add tests of clog10.
33723         * math/auto-libm-test-out: Regenerated.
33724         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728 2014-02-18  Andreas Schwab  <schwab@suse.de>
33730         [BZ #16574]
33731         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33732         Store non-zero if the second buffer was newly allocated.
33733         (send_dg): Likewise.
33734         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33735         to send_vc and send_dg.
33736         (res_nsend): Pass NULL for ansp2_malloced.
33737         * resolv/res_query.c (__libc_res_nquery): Add parameter
33738         answerp2_malloced and pass it down to __libc_res_nsend.
33739         (res_nquery): Pass additional NULL to __libc_res_nquery.
33740         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33741         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33742         second answer buffer if answerp2_malloced was set.
33743         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33744         (__libc_res_nquerydomain): Add parameter
33745         answerp2_malloced and pass it down to __libc_res_nquery.
33746         (res_nquerydomain): Pass additional NULL to
33747         __libc_res_nquerydomain.
33748         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33749         additional NULL to __libc_res_nsend and __libc_res_nquery.
33750         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33751         additional NULL to __libc_res_nsearch.
33752         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33753         parameter of __libc_res_nsearch to check for separately allocated
33754         second buffer.
33755         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33756         __libc_res_nquery.
33757         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33758         additional NULL to __libc_res_nquery.
33759         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33760         __libc_res_nsearch.
33761         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33762         * include/resolv.h: Update prototypes of __libc_res_nquery,
33763         __libc_res_nsearch, __libc_res_nsend.
33765 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33767         * math/auto-libm-test-in: Add tests of fma.
33768         * math/auto-libm-test-out: Regenerated.
33769         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33770         (fma_towardzero_test_data): Likewise.
33771         (fma_downward_test_data): Likewise.
33772         (fma_upward_test_data): Likewise.
33773         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33774         mpc_mode.
33775         (rounding_modes): Add values for new field.
33776         (func_calc_method): Add value mpfr_fff_f.
33777         (func_calc_desc): Add mpfr_fff_f union field.
33778         (test_function): Add field exact_args.
33779         (FUNC): Add macro argument EXACT_ARGS.
33780         (FUNC_mpfr_f_f): Update call to FUNC.
33781         (FUNC_mpfr_f_f): Likewise.
33782         (FUNC_mpfr_ff_f): Likewise.
33783         (FUNC_mpfr_if_f): Likewise.
33784         (FUNC_mpc_c_f): Likewise.
33785         (FUNC_mpc_c_c): Likewise.
33786         (test_functions): Add fma.  Update calls to FUNC.
33787         (handle_input_arg): Add argument exact_args.
33788         (add_test): Update call to handle_input_arg.
33789         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33790         (output_for_one_input_case): Update call to calc_generic_results.
33791         Recalculate exact zero results in each rounding mode.
33793         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33794         non-negative before setting low bit.
33795         * math/auto-libm-test-in: Mark one asin test possibly having
33796         spurious underflow.
33797         * math/auto-libm-test-out: Regenerated.
33798         * sysdeps/i386/fpu/libm-test-ulps: Update.
33799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33801 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33803         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33804         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33805         ports/sysdeps/unix/sysv/linux/microblaze.
33806         * README: Add missing listing for microblaze*-*-linux-gnu.
33808 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33810         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33811         duplicate code
33813 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33815         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33816         * sysdeps/unix/sysv/linux/ia64: Move directory from
33817         ports/sysdeps/unix/sysv/linux/ia64.
33818         * README: Update listing for ia64-*-linux-gnu.
33820 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33821             Joseph Myers  <joseph@codesourcery.com>
33823         * Makeconfig (test-name): New variable.
33824         (evaluate-test): Likewise.
33825         * Makerules (do-test-clean): Remove .test-result files.
33826         (common-mostlyclean): Likewise.
33827         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33828         * scripts/evaluate-test.sh: New file.
33830 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33832         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33833         separate $(objpfx)tst-fopenloc-cmp.out and
33834         $(objpfx)tst-fopenloc-mem.out targets.
33835         (tests): Update dependencies.
33836         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33837         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33838         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33839         (tst-rxspencer-no-utf8-ARGS): New variable.
33840         (tst-rxspencer-no-utf8-ENV): Likewise.
33841         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33842         instead of $(objpfx)tst-rxspencer-mem.
33843         ($(objpfx)tst-rxspencer-mem): Change target to
33844         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33845         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33846         * posix/tst-rxspencer-no-utf8.c: New file.
33848         * elf/Makefile ($(objpfx)order.out): Remove rule.
33849         [$(run-built-tests) = yes] (tests): Depend on
33850         $(objpfx)order-cmp.out.
33851         ($(objpfx)order-cmp.out): New rule.
33852         [$(run-built-tests) = yes] (tests): Depend on
33853         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33854         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33855         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33856         $(objpfx)tst-array5-static-cmp.out.
33857         ($(objpfx)tst-array1.out): Remove rule.
33858         ($(objpfx)tst-array1-cmp.out): New rule.
33859         ($(objpfx)tst-array1-static.out): Remove rule.
33860         ($(objpfx)tst-array1-static-cmp.out): New rule.
33861         ($(objpfx)tst-array2.out): Remove rule.
33862         ($(objpfx)tst-array2-cmp.out): New rule.
33863         ($(objpfx)tst-array3.out): Remove rule.
33864         ($(objpfx)tst-array3-cmp.out): New rule.
33865         ($(objpfx)tst-array4.out): Remove rule.
33866         ($(objpfx)tst-array4-cmp.out): New rule.
33867         ($(objpfx)tst-array5.out): Remove rule.
33868         ($(objpfx)tst-array5-cmp.out): New rule.
33869         ($(objpfx)tst-array5-static.out): Remove rule.
33870         ($(objpfx)tst-array5-static-cmp.out): New rule.
33871         [$(run-built-tests) = yes] (tests): Depend on
33872         $(objpfx)order2-cmp.out.
33873         ($(objpfx)order2.out): Remove rule.
33874         ($(objpfx)order2-cmp.out): New rule.
33875         ($(objpfx)tst-initorder.out): Remove rule.
33876         [$(run-built-tests) = yes] (tests): Depend on
33877         $(objpfx)tst-initorder-cmp.out.
33878         ($(objpfx)tst-initorder-cmp.out): New rule.
33879         ($(objpfx)tst-initorder2.out): Remove rule.
33880         [$(run-built-tests) = yes] (tests): Depend on
33881         $(objpfx)tst-initorder2-cmp.out.
33882         ($(objpfx)tst-initorder2-cmp.out): New rule.
33883         [$(run-built-tests) = yes] (tests): Depend on
33884         $(objpfx)tst-unused-dep-cmp.out.
33885         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33886         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33887         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33888         on $(objpfx)tst-setvbuf1-cmp.out.
33889         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33890         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33891         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33892         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33893         ($(objpfx)tst-svc.out): Remove rule.
33894         ($(objpfx)tst-svc-cmp.out): New rule.
33896 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33898         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33899         * ctype/ctype.h [__USE_MISC]: Likewise.
33900         * dirent/dirent.h [__USE_MISC]: Likewise.
33901         * grp/grp.h [__USE_MISC]: Likewise.
33902         * io/fcntl.h [__USE_MISC]: Likewise.
33903         * io/sys/stat.h [__USE_MISC]: Likewise.
33904         * libio/stdio.h [__USE_MISC]: Likewise.
33905         * posix/unistd.h [__USE_MISC]: Likewise.
33906         * pwd/pwd.h [__USE_MISC]: Likewise.
33907         * stdlib.h [__USE_MISC]: Likewise.
33908         * string/bits/string2.h [__USE_MISC]: Likewise.
33909         * string/string.h [__USE_MISC]: Likewise.
33910         * time/time.h [__USE_MISC]: Likewise.
33912 2014-02-13  Andreas Schwab  <schwab@suse.de>
33914         [BZ #16574]
33915         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33916         second answer buffer if it was separately allocated.
33918 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33920         * sysdeps/mips/math-tests.h: Include <features.h>.
33921         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33922         (ROUNDING_TESTS_long_double): Do not define.
33923         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33924         (EXCEPTION_TESTS_long_double): Likewise.
33925         * sysdeps/mips/mips64/libm-test-ulps: Update.
33927         * include/features.h (__USE_BSD): Remove macro definitions.
33928         (__USE_SVID): Likewise.
33929         (_BSD_SOURCE): Likewise.
33930         (_SVID_SOURCE): Likewise.
33931         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33932         from definition of _DEFAULT_SOURCE.
33933         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33934         [_DEFAULT_SOURCE].
33935         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33936         * bits/mman.h [__USE_BSD]: Likewise.
33937         * bits/termios.h [__USE_BSD]: Likewise.
33938         * bits/waitstatus.h [__USE_BSD]: Likewise.
33939         * ctype/ctype.h [__USE_SVID]: Likewise.
33940         * dirent/dirent.h [__USE_BSD]: Likewise.
33941         * grp/grp.h [__USE_SVID]: Likewise.
33942         [__USE_BSD]: Likewise.
33943         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33944         * io/fcntl.h [__USE_BSD]: Likewise.
33945         * io/ftw.h [__USE_BSD]: Likewise.
33946         * io/sys/stat.h [__USE_BSD]: Likewise.
33947         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33948         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33949         * libio/stdio.h [__USE_SVID]: Likewise.
33950         [__USE_BSD]: Likewise.
33951         * math/math.h [__USE_SVID]: Likewise.
33952         [__USE_BSD]: Likewise.
33953         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33954         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33955         * misc/search.h [__USE_SVID]: Likewise.
33956         * misc/sys/mman.h [__USE_BSD]: Likewise.
33957         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33958         * misc/sys/uio.h [__USE_BSD]: Likewise.
33959         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33960         * posix/glob.h [__USE_BSD]: Likewise.
33961         * posix/regex.h [__USE_BSD]: Likewise.
33962         * posix/sys/types.h [__USE_BSD]: Likewise.
33963         [__USE_SVID]: Likewise.
33964         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33965         * posix/sys/wait.h [__USE_BSD]: Likewise.
33966         [__USE_SVID]: Likewise.
33967         * posix/unistd.h [__USE_BSD]: Likewise.
33968         [__USE_SVID]: Likewise.
33969         * pwd/pwd.h [__USE_SVID]: Likewise.
33970         * resolv/netdb.h [__USE_BSD]: Likewise.
33971         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33972         * signal/signal.h [__USE_BSD]: Likewise.
33973         [__USE_SVID]: Likewise.
33974         * socket/sys/socket.h [__USE_BSD]: Likewise.
33975         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33976         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33977         [__USE_SVID]: Likewise.
33978         * string/bits/string2.h [__USE_BSD]: Likewise.
33979         [__USE_SVID]: Likewise.
33980         * string/bits/string3.h [__USE_BSD]: Likewise.
33981         * string/endian.h [__USE_BSD]: Likewise.
33982         * string/string.h [__USE_SVID]: Likewise.
33983         [__USE_BSD]: Likewise.
33984         * string/strings.h [__USE_BSD]: Likewise.
33985         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33986         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33987         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33988         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33989         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33990         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33991         Likewise.
33992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33993         Likewise.
33994         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33995         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33996         Likewise.
33997         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33998         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33999         Likewise.
34000         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34001         Likewise.
34002         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34003         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34004         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34005         Likewise.
34006         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34007         Likewise.
34008         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34009         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34010         * termios/termios.h [__USE_BSD]: Likewise.
34011         * time/sys/time.h [__USE_BSD]: Likewise.
34012         * time/time.h [__USE_BSD]: Likewise.
34013         [__USE_SVID]: Likewise.
34015         * Makefile (subdir_targets): Remove subdir_lint.out.
34017         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34018         (do-tst-printf): Likewise.
34019         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34020         $(objpfx)tst-printf.out.
34022         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34024         * Makerules (check-abi-%): Change target to
34025         $(objpfx)check-abi-%.out.
34026         (check-abi target): Update dependencies.
34027         (check-abi-pattern variable): Redirect output of diff to $@.
34028         (check-abi variable): Likewise.
34029         * elf/Makefile (check-abi): Update dependencies.
34031         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34032         unused.
34033         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34034         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34035         subnormal range.
34036         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34037         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34038         value has largest subnormal exponent.
34039         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34040         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34041         * sysdeps/aarch64/soft-fp/sfp-machine.h
34042         (_FP_TININESS_AFTER_ROUNDING): New macro.
34043         * sysdeps/alpha/soft-fp/sfp-machine.h
34044         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34045         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34046         Likewise.
34047         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34048         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34049         * sysdeps/mips/soft-fp/sfp-machine.h
34050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34051         * sysdeps/powerpc/soft-fp/sfp-machine.h
34052         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34053         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34054         Likewise.
34055         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34056         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34058         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34059         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34060         Likewise.
34062 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34064         [BZ #16545]
34065         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34066         model 1.
34068 2014-02-12  Richard Henderson  <rth@redhat.com>
34070         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34071         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34072         * sysdeps/unix/sysv/linux/alpha: Move directory from
34073         ports/sysdeps/unix/sysv/linux/alpha.
34074         * README: Update listing for alpha-*-linux-gnu.
34076 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34078         * include/features.h: Update comment documenting feature test
34079         macros.
34080         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34081         _DEFAULT_SOURCE.
34082         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34083         (_SVID_SOURCE): Likewise.
34084         (_DEFAULT_SOURCE): Update description of default features.
34085         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34086         with _GNU_SOURCE.
34087         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34088         (S_ISVTX): Likewise.
34089         * manual/math.texi (Mathematical Constants): Likewise.
34090         * manual/signal.texi (Interrupted Primitives): Likewise.
34091         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34092         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34093         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34094         Don't refer to _SVID_SOURCE in warning text.
34096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34098         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34099         already defined.
34100         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34101         * sysdeps/mips/dl-lookup.c: Remove.
34102         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34104 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34106         [BZ #16447]
34107         * math/auto-libm-test-in: Add testcase for expl.
34108         * math/auto-libm-test-out: Regenerate.
34109         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34110         calculation of unsafe.
34111         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34113 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34115         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34116         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34117         ports/sysdeps/unix/sysv/linux/aarch64.
34118         * README: Update listing for aarch64*-*-linux-gnu.
34120 2014-02-11  Will Newton  <will.newton@linaro.org>
34122         * manual/probes.texi (Mathematical Function Probes): Use
34123         "triggered" instead of "hit".
34125         * manual/probes.texi (Internal Probes): Add documentation
34126         of setjmp, longjmp and longjmp_target probes.
34128         * include/stap-probe.h: Add comment about probe argument
34129         format.
34131         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34132         definition.  (tr_where, tr_freehook, tr_mallochook,
34133         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34135 2014-02-11  David S. Miller  <davem@davemloft.net>
34137         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34138         processing int_tests.
34140 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34142         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34143         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34144         * sysdeps/unix/sysv/linux/mips: Move directory from
34145         ports/sysdeps/unix/sysv/linux/mips.
34146         * README: Update listing for mips-*-linux-gnu and
34147         mips64-*-linux-gnu.
34149 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34151         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34152         * sysdeps/unix/sysv/linux/m68k: Move directory from
34153         ports/sysdeps/unix/sysv/linux/m68k.
34154         * README: Update listing for m68k-*-linux-gnu.
34156 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34158         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34159         * sysdeps/unix/sysv/linux/generic: Move directory from
34160         ports/sysdeps/unix/sysv/linux/generic.
34161         * sysdeps/unix/sysv/linux/tile: Move directory from
34162         ports/sysdeps/unix/sysv/linux/tile.
34163         * README: Update listing for tile*-*-linux-gnu.
34165 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34167         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34168         __builtin_expect.
34169         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34170         * catgets/open_catalog.c (__open_catalog): Likewise.
34171         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34172         * debug/confstr_chk.c: Likewise.
34173         * debug/fread_chk.c (__fread_chk): Likewise.
34174         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34175         * debug/getgroups_chk.c: Likewise.
34176         * debug/mbsnrtowcs_chk.c: Likewise.
34177         * debug/mbsrtowcs_chk.c: Likewise.
34178         * debug/mbstowcs_chk.c: Likewise.
34179         * debug/memcpy_chk.c: Likewise.
34180         * debug/memmove_chk.c: Likewise.
34181         * debug/mempcpy_chk.c: Likewise.
34182         * debug/memset_chk.c: Likewise.
34183         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34184         * debug/strcat_chk.c (__strcat_chk): Likewise.
34185         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34186         * debug/strncat_chk.c (__strncat_chk): Likewise.
34187         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34188         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34189         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34190         * debug/wcpncpy_chk.c: Likewise.
34191         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34192         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34193         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34194         * debug/wcsncpy_chk.c: Likewise.
34195         * debug/wcsnrtombs_chk.c: Likewise.
34196         * debug/wcsrtombs_chk.c: Likewise.
34197         * debug/wcstombs_chk.c: Likewise.
34198         * debug/wmemcpy_chk.c: Likewise.
34199         * debug/wmemmove_chk.c: Likewise.
34200         * debug/wmempcpy_chk.c: Likewise.
34201         * debug/wmemset_chk.c: Likewise.
34202         * dirent/scandirat.c (SCANDIRAT): Likewise.
34203         * dlfcn/dladdr1.c (dladdr1): Likewise.
34204         * dlfcn/dladdr.c (dladdr): Likewise.
34205         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34206         * dlfcn/dlerror.c (__dlerror): Likewise.
34207         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34208         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34209         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34210         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34211         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34212         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34213         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34214         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34215         Likewise.
34216         * elf/dl-conflict.c: Likewise.
34217         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34218         * elf/dl-dst.h: Likewise.
34219         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34220         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34221         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34222         * elf/dl-init.c (call_init, _dl_init): Likewise.
34223         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34224         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34225         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34226         Likewise.
34227         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34228         Likewise.
34229         * elf/dl-minimal.c (__libc_memalign): Likewise.
34230         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34231         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34232         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34233         * elf/dl-sym.c (do_sym): Likewise.
34234         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34235         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34236         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34237         * elf/dl-writev.h (_dl_writev): Likewise.
34238         * elf/ldconfig.c (search_dir): Likewise.
34239         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34240         (dl_main): Likewise.
34241         * elf/setup-vdso.h (setup_vdso): Likewise.
34242         * grp/compat-initgroups.c (compat_call): Likewise.
34243         * grp/fgetgrent.c (fgetgrent): Likewise.
34244         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34245         * grp/putgrent.c (putgrent): Likewise.
34246         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34247         Likewise.
34248         * hurd/hurdinit.c: Likewise.
34249         * iconvdata/8bit-gap.c (struct): Likewise.
34250         * iconvdata/ansi_x3.110.c : Likewise.
34251         * iconvdata/big5.c : Likewise.
34252         * iconvdata/big5hkscs.c : Likewise.
34253         * iconvdata/cp1255.c: Likewise.
34254         * iconvdata/cp1258.c : Likewise.
34255         * iconvdata/cp932.c : Likewise.
34256         * iconvdata/euc-cn.c: Likewise.
34257         * iconvdata/euc-jisx0213.c : Likewise.
34258         * iconvdata/euc-jp.c: Likewise.
34259         * iconvdata/euc-jp-ms.c : Likewise.
34260         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34261         * iconvdata/gb18030.c : Likewise.
34262         * iconvdata/gbbig5.c (const): Likewise.
34263         * iconvdata/gbgbk.c: Likewise.
34264         * iconvdata/gbk.c : Likewise.
34265         * iconvdata/ibm1364.c : Likewise.
34266         * iconvdata/ibm930.c : Likewise.
34267         * iconvdata/ibm932.c: Likewise.
34268         * iconvdata/ibm933.c : Likewise.
34269         * iconvdata/ibm935.c : Likewise.
34270         * iconvdata/ibm937.c : Likewise.
34271         * iconvdata/ibm939.c : Likewise.
34272         * iconvdata/ibm943.c: Likewise.
34273         * iconvdata/iso_11548-1.c: Likewise.
34274         * iconvdata/iso-2022-cn.c : Likewise.
34275         * iconvdata/iso-2022-cn-ext.c : Likewise.
34276         * iconvdata/iso-2022-jp-3.c: Likewise.
34277         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34278         * iconvdata/iso-2022-kr.c : Likewise.
34279         * iconvdata/iso646.c (gconv_end): Likewise.
34280         * iconvdata/iso_6937-2.c : Likewise.
34281         * iconvdata/iso_6937.c : Likewise.
34282         * iconvdata/iso8859-1.c: Likewise.
34283         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34284         * iconvdata/shift_jisx0213.c : Likewise.
34285         * iconvdata/sjis.c : Likewise.
34286         * iconvdata/t.61.c : Likewise.
34287         * iconvdata/tcvn5712-1.c : Likewise.
34288         * iconvdata/tscii.c: Likewise.
34289         * iconvdata/uhc.c : Likewise.
34290         * iconvdata/unicode.c (gconv_end): Likewise.
34291         * iconvdata/utf-16.c (gconv_end): Likewise.
34292         * iconvdata/utf-32.c (gconv_end): Likewise.
34293         * iconvdata/utf-7.c (base64): Likewise.
34294         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34295         * iconv/gconv_close.c (__gconv_close): Likewise.
34296         * iconv/gconv_open.c (__gconv_open): Likewise.
34297         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34298         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34299         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34300         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34301         (ucs4le_internal_loop_single): Likewise.
34302         * iconv/iconv.c (iconv): Likewise.
34303         * iconv/iconv_close.c: Likewise.
34304         * iconv/loop.c (SINGLE): Likewise.
34305         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34306         * include/atomic.h: Likewise.
34307         * inet/inet6_option.c (option_alloc): Likewise.
34308         * intl/bindtextdom.c (set_binding_values): Likewise.
34309         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34310         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34311         * intl/localealias.c (read_alias_file): Likewise.
34312         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34313         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34314         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34315         * libio/fmemopen.c (fmemopen): Likewise.
34316         * libio/iofgets.c (_IO_fgets): Likewise.
34317         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34318         * libio/iofgetws.c (fgetws): Likewise.
34319         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34320         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34321         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34322         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34323         * locale/findlocale.c (_nl_find_locale): Likewise.
34324         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34325         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34326         Likewise.
34327         * locale/setlocale.c (setlocale): Likewise.
34328         * login/programs/pt_chown.c (main): Likewise.
34329         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34330         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34331         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34332         (mmap, mmap64, mremap, munmap): Likewise.
34333         * math/e_exp2l.c: Likewise.
34334         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34335         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34336         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34337         * math/s_catan.c (__catan): Likewise.
34338         * math/s_catanf.c (__catanf): Likewise.
34339         * math/s_catanh.c (__catanh): Likewise.
34340         * math/s_catanhf.c (__catanhf): Likewise.
34341         * math/s_catanhl.c (__catanhl): Likewise.
34342         * math/s_catanl.c (__catanl): Likewise.
34343         * math/s_ccosh.c (__ccosh): Likewise.
34344         * math/s_ccoshf.c (__ccoshf): Likewise.
34345         * math/s_ccoshl.c (__ccoshl): Likewise.
34346         * math/s_cexp.c (__cexp): Likewise.
34347         * math/s_cexpf.c (__cexpf): Likewise.
34348         * math/s_cexpl.c (__cexpl): Likewise.
34349         * math/s_clog10.c (__clog10): Likewise.
34350         * math/s_clog10f.c (__clog10f): Likewise.
34351         * math/s_clog10l.c (__clog10l): Likewise.
34352         * math/s_clog.c (__clog): Likewise.
34353         * math/s_clogf.c (__clogf): Likewise.
34354         * math/s_clogl.c (__clogl): Likewise.
34355         * math/s_csin.c (__csin): Likewise.
34356         * math/s_csinf.c (__csinf): Likewise.
34357         * math/s_csinh.c (__csinh): Likewise.
34358         * math/s_csinhf.c (__csinhf): Likewise.
34359         * math/s_csinhl.c (__csinhl): Likewise.
34360         * math/s_csinl.c (__csinl): Likewise.
34361         * math/s_csqrt.c (__csqrt): Likewise.
34362         * math/s_csqrtf.c (__csqrtf): Likewise.
34363         * math/s_csqrtl.c (__csqrtl): Likewise.
34364         * math/s_ctan.c (__ctan): Likewise.
34365         * math/s_ctanf.c (__ctanf): Likewise.
34366         * math/s_ctanh.c (__ctanh): Likewise.
34367         * math/s_ctanhf.c (__ctanhf): Likewise.
34368         * math/s_ctanhl.c (__ctanhl): Likewise.
34369         * math/s_ctanl.c (__ctanl): Likewise.
34370         * math/w_pow.c: Likewise.
34371         * math/w_powf.c: Likewise.
34372         * math/w_powl.c: Likewise.
34373         * math/w_scalb.c (sysv_scalb): Likewise.
34374         * math/w_scalbf.c (sysv_scalbf): Likewise.
34375         * math/w_scalbl.c (sysv_scalbl): Likewise.
34376         * misc/error.c (error_tail): Likewise.
34377         * misc/pselect.c (__pselect): Likewise.
34378         * nis/nis_callback.c (__nis_create_callback): Likewise.
34379         * nis/nis_call.c (__nisfind_server): Likewise.
34380         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34381         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34382         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34383         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34384         * nis/nis_lookup.c (nis_lookup): Likewise.
34385         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34386         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34387         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34388         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34389         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34390         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34391         * nis/nss_compat/compat-initgroups.c (add_group)
34392         (internal_getgrent_r): Likewise.
34393         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34394         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34395         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34396         (internal_getspnam_r): Likewise.
34397         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34398         (_nss_nis_getaliasbyname_r): Likewise.
34399         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34400         (_nss_nis_getntohost_r): Likewise.
34401         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34402         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34403         (_nss_nis_getgrgid_r): Likewise.
34404         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34405         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34406         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34407         (_nss_nis_gethostbyname4_r): Likewise.
34408         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34409         (initgroups_netid): Likewise.
34410         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34411         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34412         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34413         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34414         (_nss_nis_getprotobynumber_r): Likewise.
34415         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34416         (_nss_nis_getsecretkey): Likewise.
34417         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34418         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34419         (_nss_nis_getpwuid_r): Likewise.
34420         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34421         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34422         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34423         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34424         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34425         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34426         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34427         Likewise.
34428         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34429         (_nss_nisplus_getntohost_r): Likewise.
34430         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34431         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34432         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34433         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34434         Likewise.
34435         * nis/nss_nisplus/nisplus-initgroups.c
34436         (_nss_nisplus_initgroups_dyn): Likewise.
34437         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34438         (_nss_nisplus_getnetbyaddr_r): Likewise.
34439         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34440         (_nss_nisplus_getprotobynumber_r): Likewise.
34441         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34442         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34443         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34444         Likewise.
34445         * nis/nss_nisplus/nisplus-service.c
34446         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34447         (_nss_nisplus_getservbyport_r): Likewise.
34448         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34449         (_nss_nisplus_getspnam_r): Likewise.
34450         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34451         Likewise.
34452         * nscd/aicache.c (addhstaiX): Likewise.
34453         * nscd/cache.c (cache_search, prune_cache): Likewise.
34454         * nscd/connections.c (register_traced_file, send_ro_fd)
34455         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34456         (main_loop_epoll): Likewise.
34457         * nscd/grpcache.c (addgrbyX): Likewise.
34458         * nscd/hstcache.c (addhstbyX): Likewise.
34459         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34460         * nscd/mem.c (gc, mempool_alloc): Likewise.
34461         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34462         (addinnetgrX): Likewise.
34463         * nscd/nscd-client.h (__nscd_acquire_maplock)
34464         (__nscd_drop_map_ref): Likewise.
34465         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34466         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34467         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34468         Likewise.
34469         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34470         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34471         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34472         (__nscd_get_map_ref): Likewise.
34473         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34474         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34475         Likewise.
34476         * nscd/pwdcache.c (addpwbyX): Likewise.
34477         * nscd/selinux.c (preserve_capabilities): Likewise.
34478         * nscd/servicescache.c (addservbyX): Likewise.
34479         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34480         * posix/fnmatch.c (fnmatch): Likewise.
34481         * posix/getopt.c (_getopt_internal_r): Likewise.
34482         * posix/glob.c (glob, glob_in_dir): Likewise.
34483         * posix/wordexp.c (exec_comm_child): Likewise.
34484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34485         (getanswer_r, gaih_getanswer_slice): Likewise.
34486         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34487         * resolv/res_init.c: Likewise.
34488         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34489         * resolv/res_query.c (__libc_res_nquery): Likewise.
34490         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34491         Likewise.
34492         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34493         * stdio-common/perror.c (perror): Likewise.
34494         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34495         * stdio-common/tmpnam.c (tmpnam): Likewise.
34496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34497         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34498         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34499         Likewise.
34500         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34501         * stdlib/putenv.c (putenv): Likewise.
34502         * stdlib/setenv.c (__add_to_environ): Likewise.
34503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34504         * stdlib/strtol_l.c (INTERNAL): Likewise.
34505         * string/memmem.c (memmem): Likewise.
34506         * string/strerror.c (strerror): Likewise.
34507         * string/strnlen.c (__strnlen): Likewise.
34508         * string/test-memmem.c (simple_memmem): Likewise.
34509         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34510         * sunrpc/pm_getport.c (__get_socket): Likewise.
34511         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34512         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34513         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34514         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34515         Likewise.
34516         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34517         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34518         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34519         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34520         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34521         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34522         Likewise.
34523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34524         Likewise.
34525         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34526         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34528         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34529         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34531         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34532         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34533         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34534         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34535         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34536         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34537         Likewise.
34538         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34539         Likewise.
34540         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34541         Likewise.
34542         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34545         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34546         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34547         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34548         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34551         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34552         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34554         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34555         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34557         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34558         Likewise.
34559         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34560         Likewise.
34561         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34562         Likewise.
34563         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34564         Likewise.
34565         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34567         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34568         Likewise.
34569         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34570         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34571         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34572         * sysdeps/posix/sleep.c: Likewise.
34573         * sysdeps/posix/tempname.c: Likewise.
34574         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34575         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34576         Likewise.
34577         * sysdeps/powerpc/powerpc32/dl-machine.h
34578         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34579         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34581         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34582         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34583         Likewise.
34584         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34585         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34586         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34588         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34589         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34590         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34591         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34592         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34593         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34595         (elf_machine_lazy_rel): Likewise.
34596         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34597         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34598         (elf_machine_lazy_rel): Likewise.
34599         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34600         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34601         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34602         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34603         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34604         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34605         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34607         Likewise.
34608         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34609         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34610         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34611         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34612         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34613         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34614         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34615         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34616         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34617         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34618         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34619         Likewise.
34620         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34621         (__posix_fallocate64_l64): Likewise.
34622         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34623         (posix_fallocate): Likewise.
34624         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34625         Likewise.
34626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34627         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34628         (getifaddrs_internal): Likewise.
34629         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34630         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34631         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34632         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34633         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34634         (__posix_fallocate64_l64): Likewise.
34635         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34636         Likewise.
34637         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34638         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34639         (__get_clockfreq): Likewise.
34640         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34641         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34642         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34645         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34646         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34647         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34648         Likewise.
34649         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34650         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34651         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34652         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34653         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34654         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34655         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34656         Likewise.
34657         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34658         (posix_fallocate): Likewise.
34659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34660         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34661         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34662         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34663         (elf_machine_rela, elf_machine_rela_relative)
34664         (elf_machine_lazy_rel): Likewise.
34665         * time/asctime.c (asctime_internal): Likewise.
34666         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34667         * time/tzset.c (__tzset_parse_tz): Likewise.
34668         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34669         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34670         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34671         * wcsmbs/wcsmbsload.h: Likewise.
34673         [BZ #15894]
34674         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34676         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34677         (arena_get2): Remove THREAD_STATS conditionals.
34678         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34679         (__malloc_stats, int): Likewise.
34681 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34683         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34684         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34686         * manual/setjmp.texi: Fix typos/grammar errors.
34688         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34689         Only return early when n is <= 0.  Delete unused return statement.
34691         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34692         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34693         * debug/tst-longjmp_chk3.c: New file.
34695         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34696         (test_main): Replace code with set_fortify_handler call.
34697         * debug/test-strcpy_chk.c: Likewise.
34698         * debug/tst-chk1.c: Likewise.
34699         * debug/tst-longjmp_chk.c: Likewise.
34700         * test-skeleton.c: Include fcntl.h & paths.h
34701         (set_fortify_handler): Define.
34703         * debug/tst-longjmp_chk.c: Add header comment and include
34704         ../test-skeleton.c.
34705         (do_test): Mark static.
34706         (TEST_FUNCTION): Define.
34708         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34709         (IP_PMTUDISC_INTERFACE): Likewise.
34710         (IP_MULTICAST_IF): Likewise.
34711         (IP_MULTICAST_TTL): Likewise.
34712         (IP_MULTICAST_LOOP): Likewise.
34713         (IP_ADD_MEMBERSHIP): Likewise.
34714         (IP_DROP_MEMBERSHIP): Likewise.
34715         (IP_UNBLOCK_SOURCE): Likewise.
34716         (IP_BLOCK_SOURCE): Likewise.
34717         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34718         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34719         (IP_MSFILTER): Likewise.
34720         (MCAST_JOIN_GROUP): Likewise.
34721         (MCAST_BLOCK_SOURCE): Likewise.
34722         (MCAST_UNBLOCK_SOURCE): Likewise.
34723         (MCAST_LEAVE_GROUP): Likewise.
34724         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34725         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34726         (MCAST_MSFILTER): Likewise.
34727         (IP_MULTICAST_ALL): Likewise.
34728         (IP_UNICAST_IF): Likewise.
34730         * timezone/Makefile: Delete $(have-ksh) check.
34731         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34732         * timezone/tzselect.ksh: Add +x mode bits.
34734         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34735         (ANON_INODE_FS_MAGIC): Likewise.
34736         (BDEVFS_MAGIC): Likewise.
34737         (BINFMTFS_MAGIC): Likewise.
34738         (BTRFS_TEST_MAGIC): Likewise.
34739         (CRAMFS_MAGIC_WEND): Likewise.
34740         (DEBUGFS_MAGIC): Likewise.
34741         (ECRYPTFS_SUPER_MAGIC): Likewise.
34742         (EXT3_SUPER_MAGIC): Likewise.
34743         (EXT4_SUPER_MAGIC): Likewise.
34744         (FUTEXFS_SUPER_MAGIC): Likewise.
34745         (HOSTFS_SUPER_MAGIC): Likewise.
34746         (HUGETLBFS_MAGIC): Likewise.
34747         (MINIX3_SUPER_MAGIC): Likewise.
34748         (MTD_INODE_FS_MAGIC): Likewise.
34749         (NILFS_SUPER_MAGIC): Likewise.
34750         (OPENPROM_SUPER_MAGIC): Likewise.
34751         (PIPEFS_MAGIC): Likewise.
34752         (PSTOREFS_MAGIC): Likewise.
34753         (QNX6_SUPER_MAGIC): Likewise.
34754         (RAMFS_MAGIC): Likewise.
34755         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34756         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34757         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34758         (SECURITYFS_MAGIC): Likewise.
34759         (SELINUX_MAGIC): Likewise.
34760         (SMACK_MAGIC): Likewise.
34761         (SOCKFS_MAGIC): Likewise.
34762         (SQUASHFS_MAGIC): Likewise.
34763         (STACK_END_MAGIC): Likewise.
34764         (TMPFS_MAGIC): Likewise.
34765         (USBDEVICE_SUPER_MAGIC): Likewise.
34766         (V9FS_MAGIC): Likewise.
34767         (XENFS_SUPER_MAGIC): Likewise.
34768         (CRAMFS_MAGIC): Fix typo in comment.
34769         (EXT2_SUPER_MAGIC): Update comment.
34770         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34772 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34774         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34775         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34776         * sysdeps/unix/sysv/linux/arm: Move directory from
34777         ports/sysdeps/unix/sysv/linux/arm.
34778         * README: Update listing for arm-*-linux-gnueabi.
34780         * README: Remove mention of am33.
34782 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34784         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34785         than the comma operator, to avoid "rhs of comma has no effect"
34786         compiler warnings.
34787         (__sigfillset, __sigandset, __sigorset): Likewise.
34788         * include/signal.h (__sigemptyset): Likewise.
34789         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34791 2014-02-07  Allan McRae  <allan@archlinux.org>
34793         * version.h (RELEASE): Set to "development".
34794         (VERSION): Set to "2.19.90"
34795         * NEWS: Add 2.20 section.
34797 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34799         [BZ #16529]
34800         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34802 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34804         * manual/contrib.texi: Update entry for Carlos O'Donell,
34805         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34807 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34809         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34811         * sysdeps/unix/sysv/linux/kernel-features.h
34812         [__LINUX_KERNEL_VERSION >= 0x020621]
34813         (__ASSUME_PROC_PID_TASK_COMM): Define.
34815 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34817         [BZ #16398]
34818         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34819         conversion when destination buffer does not have enough space.
34820         * libio/tst-ftell-partial-wide.c: New test case.
34821         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34823         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34824         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34825         Leonard and Allan McRae.
34827 2014-02-04  David S. Miller  <davem@davemloft.net>
34829         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34830         32-bit.
34832 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34835         New file
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34837         New file
34838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34839         New file.
34840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34841         New file.
34842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34843         New file.
34844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34845         New file.
34846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34847         New file.
34848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34849         New file.
34850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34851         New file.
34852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34853         New file.
34854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34855         New file.
34856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34857         New file.
34858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34859         New file.
34861 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34863         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34864         * shlib-versions: Likewise.
34866 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34867             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34869         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34870         (abilist-pattern): New variable, set to %-le.abilist.
34872         * Makerules (abilist-pattern): New variable.
34873         (vpath): Use $(abilist-pattern) in place of %.abilist.
34874         (check-abi-% pattern rule): Likewise.
34875         (check-abi, update-abi): Likewise.
34877 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34881 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34883         * manual/startup.texi: Add next, previous, and top entries for
34884         the `Program Arguments' and `Environment Variables' nodes.
34886 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34888         * manual/macros.texi: Add comments before MTASC-safety macros.
34890         * manual/users.texi: Document MTASC-safety properties.
34892         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34893         (pthread_getspecific, pthread_setspecific): Format with
34894         @deftypefun, and add @safety note.
34895         * manual/signal.texi: Move comments that analyze the above
34896         functions to their home place.
34898 2014-02-03  Allan McRae  <allan@archlinux.org>
34900         * po/sl.po: Update Slovenian translation from translation project.
34902 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34904         * manual/time.texi (timegm): Add missing blank after @c.
34905         Reported by Joseph Myers <joseph@codesourcery.com>.
34907 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34909         * manual/check-safety.sh: New.
34910         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34912         * manual/terminal.texi: Document MTASC-safety properties.
34914         * manual/filesys.texi: Document MTASC-safety properties.
34916         * manual/errno.texi: Document MTASC-safety properties.
34918         * manual/intro.texi: Document safety identifiers and
34919         conditionals.
34921         * manual/string.texi (wcstok): Fix prototype.
34922         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34924         * manual/time.texi: Document MTASC-safety properties.
34926         * manual/string.texi: Document MTASC-safety properties.
34928         * manual/threads.texi: Document MTASC-safety properties.
34930         * manual/stdio.texi: Document MTASC-safety properties.
34932         * manual/syslog.texi: Document MTASC-safety properties.
34934         * manual/sysinfo.texi: Document MTASC-safety properties.
34936         * manual/startup.texi: Document MTASC-safety properties.
34938         * manual/socket.texi: Document MTASC-safety properties.
34940         * manual/signal.texi: Document MTASC-safety properties.
34942 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34944         * manual/setjmp.texi: Document MTASC-safety properties.
34946         * manual/search.texi: Document MTASC-safety properties.
34948         * manual/resource.texi: Document MTASC-safety properties.
34950         * manual/process.texi: Document MTASC-safety properties.
34952         * manual/platform.texi: Document MTASC-safety properties.
34954         * manual/pipe.texi: Document MTASC-safety properties.
34956         * manual/pattern.texi: Document MTASC-safety properties.
34958         * manual/message.texi: Document MTASC-safety properties.
34960         [BZ #12751]
34961         * manual/memory.texi: Document MTASC-safety properties.
34963         * manual/math.texi: Document MTASC-safety properties.
34965         * manual/locale.texi: Document MTASC-safety properties.
34967         * manual/llio.texi: Document MTASC-safety properties.
34969         * manual/libdl.texi: New.
34971         * manual/lang.texi: Document MTASC-safety properties.
34973         * manual/job.texi: Document MTASC-safety properties.
34975         * manual/getopt.texi: Document MTASC-safety properties.
34977         * manual/ctype.texi: Document MTASC-safety properties.
34979 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34981         [BZ #16046]
34982         * csu/libc-tls.c (static_map): Remove variable.
34983         (__libc_setup_tls): Use main executable's link map for TLS data.
34984         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34985         casing for LM_ID_BASE and GL(dl_nns).
34986         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34987         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34988         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34989         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34990         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34991         member.
34992         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34993         l_phnum members.
34995 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34997         * manual/debug.texi: Document MTASC-safety properties.
34999 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35001         [BZ #16510]
35002         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35003         of __x86_64__ when disabling x87 inline functions.
35005 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35007         * manual/charset.texi: Document MTASC-safety properties.
35009         * manual/crypt.texi: Document MTASC-safety properties.
35011         * manual/conf.texi: Document MTASC-safety properties.
35013         * manual/arith.texi: Document MTASC-safety properties.
35015         * manual/argp.texi: Document MTASC-safety properties.
35017         * manual/macros.texi: Introduce macros to document multi
35018         thread, asynchronous signal and asynchronous cancellation
35019         safety properties.
35020         * manual/intro.texi: Introduce the properties themselves.
35022 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35024         * sysdeps/sh/sh4/Makefile: New file.
35026 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35028         * math/gen-libm-test.pl ($srcdir): New variable.
35029         ($auto_input): Use it.
35031 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35033         [BZ #16506]
35034         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35035         access beyond array bounds when parsing netgroups file.
35037         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35038         the old buffer before realloc.
35040 2014-01-27  Allan McRae  <allan@archlinux.org>
35042         * po/fr.po: Update French translation from translation project.
35044 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35046         * sysdeps/sh/libm-test-ulps: Regenerate.
35048 2014-01-24  David S. Miller  <davem@davemloft.net>
35050         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35052 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35054         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35055         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35057 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35059         [BZ #16474]
35060         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35061         string pointers after reallocation.
35063 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35065         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35066         __SH4A__ instead of __SH_FPU_ANY__.
35068 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35070         * sysdeps/sh/fpu_control.h: New file.
35071         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35072         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35073         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35074         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35075         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35076         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35077         * sysdeps/sh/sys/ucontext.h: Remove.
35078         * sysdeps/sh/sys: Remove directory.
35080 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35082         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35083         s390/sys/ucontext.h.
35084         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35087 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35089         [BZ #15605]
35090         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35092 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35094         [BZ#16431]
35095         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35096         Adjust the vDSO correctly for internal calls.
35097         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35099 2014-01-20  Allan McRae  <allan@archlinux.org>
35101         * po/ca.po: Update Catalan translation from translation project.
35103 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35105         * sysdeps/s390/sotruss-lib.c: New file.
35107 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35109         [BZ#16430]
35110         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35111         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35112         local calls issues by not having a PLT stub required for IFUNC calls.
35113         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35115 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35117         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35118         * math/test-fpucw-static.c: Likewise.
35120 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35122         [BZ #16453]
35123         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35125 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35127         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35128         implementation for powerpc.
35130 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35132         [BZ #14782]
35133         * sysdeps/posix/system.c (__libc_system): Do not enable
35134         asynchronous cancellation.
35136 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35138         [BZ #16427]
35139         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35140         handling only for numbers special also in the IEEE case.
35142 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35144         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35146 2014-01-11  Allan McRae  <allan@archlinux.org>
35148         * po/bg.po: Update Bulgarian translation from translation project.
35150         * po/de.po: Update German translation from translation project.
35152 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35154         * sysdeps/generic/gcc-compat.h: New file.
35156 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35158         * benchtests/asin-inputs: Correct slow inputs.
35159         * benchtests/acos-inputs: Likewise.
35161 2014-01-10  Allan McRae  <allan@archlinux.org>
35163         * po:sv.po: Update Swedish translation from translation project.
35165         * po/vi.po: Update Vietnamese translation from translation project.
35167         * po/eo.po: Update Esperanto translation from translation project.
35169         * po/cs.po: Update Czech translation from translation project.
35171         * po/nl.po: Update Dutch translation from translation project.
35173         * po/pl.po: Update Polish translation from translation project.
35175         * po/ru.po: Update Russian translation from translation project.
35177         * po/uk.po: Update Ukrainian translation from translation project.
35179 2014-01-08  Brooks Moses  <bmoses@google.com>
35181         * elf/dl-load.c: Fix comment typo.
35183 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35185         * po/header.pot: Rename to...
35186         * po/pot.header: ... this.
35187         * po/Makefile: Use pot.header.
35189 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35190             Maxim Kuvyrkov  <maxim@kugelworks.com>
35192         [BZ #16394]
35193         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35194         SRC and DEST against LEN.
35196 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35198         [BZ #16414]
35199         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35200         implementation.
35201         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35203 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35207 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35209         [BZ #16408]
35210         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35211         for large positive arguments.
35213 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35215         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35217         * math/auto-libm-test-in: Mark various tests with
35218         xfail-rounding:ldbl-128ibm.
35219         * math/auto-libm-test-out: Regenerated.
35221         [BZ #16407]
35222         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35223         Increase overflow threshold.
35225 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35227         [BZ #14286]
35228         * stdio-common/vfprintf.c: Check for integer overflow.
35230 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35232         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35233         the first argument and return value of __tls_get_addr_internal.
35235 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35237         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35238         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35240 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35242         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35243         * sysdeps/s390/rtld-global-offsets.sym: New file.
35244         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35245         GLIBC_2.19 symbol.
35246         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35247         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35248         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35249         ... this.
35250         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35251         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35252         ... this.
35253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35254         Regenerate.
35255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35256         Regenerate.
35257         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35258         halfs of GPRs for high_gprs contexts.
35259         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35260         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35261         field.
35262         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35263         uc_flags field.
35264         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35265         64 bit versions:
35266         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35267         for high GPRs (uc_high_gprs) and for future extensions
35268         (__reserved).
35269         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35270         for future extensions (__reserved).
35271         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35272         64 bit versions:
35273         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35274         SC_HIGHGPRS offset definition.
35275         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35276         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35278         * Versions.def: Add GLIBC_2.19 for libpthread.
35279         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35280         siglongjmp for libpthread with GLIBC_2.19 symver.
35281         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35282         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35283         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35284         * sysdeps/s390/__longjmp.c: New file.
35285         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35286         * sysdeps/s390/longjmp.c: New file.
35287         * sysdeps/s390/setjmp.S: New file.
35288         * sysdeps/s390/sigjmp.S: New file.
35289         * sysdeps/s390/v1-longjmp.c: New file.
35290         * sysdeps/s390/v1-setjmp.h: New file.
35291         * sysdeps/s390/v1-sigjmp.c: New file.
35292         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35293         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35294         GLIBC_2.19 version.
35295         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35296         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35297         versioned symbols for ____longjmp_chk.
35298         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35299         Likewise.
35300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35301         Regenerate.
35302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35303         Regenerate.
35304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35305         Regenerate.
35306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35307         Regenerate.
35308         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35309         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35310         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35311         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35312         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35313         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35314         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35315         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35316         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35317         * sysdeps/s390/rtld-__longjmp.c: New file.
35318         * sysdeps/s390/rtld-setjmp.S: New file.
35320 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35322         [BZ #16400]
35323         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35324         Return -__logl (x) for small positive arguments without evaluating
35325         a polynomial.
35327 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35329         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35330         Rename to ...
35331         (__ptrace_peeksiginfo_args): ... this.
35332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35336 2014-01-06  Allan McRae  <allan@archlinux.org>
35338         * inet/netinet/in.h: Fix typo in comment.
35340 2014-01-05  Andreas Jaeger  <aj@suse.de>
35342         * sysdeps/i386/fpu/libm-test-ulps: Update.
35344 2014-01-05  Allan McRae  <allan@archlinux.org>
35346         * po/libc.pot: Regenerated.
35348         * malloc/memusagestat.c: Fix gettext call formatting.
35350 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35352         * nscd/nscd.c: Improve usage() output.
35354 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35356         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35357         * sysdeps/unix/sysv/linux/configure: Regenerated.
35358         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35359         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35361 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35363         [BZ #16390]
35364         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35365         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35367 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35370         extra tokens at end of #undef directive.
35371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35372         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35373         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35375 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35377         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35379         * math/auto-libm-test-in: Mark various tests with
35380         xfail-rounding:ldbl-128ibm.
35381         * math/auto-libm-test-out: Regenerated.
35383 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #16386]
35386         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35387         numbers with subnormal high part when calculating exponent.
35389         [BZ #16385]
35390         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35391         fabs.
35393         [BZ #16384]
35394         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35395         M_LN2l.
35396         (__ieee754_acoshl): Use __log1pl not __log1p.
35398 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35400         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35401         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35402         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35403         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35404         (reused_arena, arena_get2): Convert to GNU style.
35405         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35406         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35407         (memalign_check, __malloc_set_state): Likewise.
35408         * malloc/mallocbug.c (main): Likewise.
35409         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35410         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35411         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35412         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35413         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35414         (__posix_memalign, malloc_info): Likewise.
35415         * malloc/malloc.h: Likewise.
35416         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35417         (mallochook, memalignhook, reallochook, mabort): Likewise.
35418         * malloc/mcheck.h: Likewise.
35419         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35420         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35421         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35422         * malloc/morecore.c (__default_morecore): Likewise.
35423         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35424         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35425         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35426         (print_and_abort): Likewise.
35427         * malloc/obstack.h: Likewise.
35428         * malloc/set-freeres.c (__libc_freeres): Likewise.
35429         * malloc/tst-mallocstate.c (main): Likewise.
35430         * malloc/tst-mtrace.c (main): Likewise.
35431         * malloc/tst-realloc.c (do_test): Likewise.
35433 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35435         [BZ #16366]
35436         * nscd/netgroupcache.c (do_notfound): New function.
35437         (addgetnetgrentX): Use it.
35439         [BZ # 16365]
35440         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35441         NSS_STATUS_NOTFOUND.
35443 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35445         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35448 2014-01-01  Allan McRae  <allan@archlinux.org>
35450         * scripts/update-copyrights: Update configure input file suffix.
35452         * NEWS: Update copyright year.
35453         * catgets/gencat.c: Likewise.
35454         * csu/version.c: Likewise.
35455         * debug/catchsegv.sh: Likewise.
35456         * debug/pcprofiledump.c: Likewise.
35457         * debug/xtrace.sh: Likewise.
35458         * elf/ldconfig.c: Likewise.
35459         * elf/ldd.bash.in: Likewise.
35460         * elf/pldd.c: Likewise.
35461         * elf/sotruss.ksh: Likewise.
35462         * elf/sprof.c: Likewise.
35463         * iconv/iconv_prog.c: Likewise.
35464         * iconv/iconvconfig.c: Likewise.
35465         * locale/programs/locale.c: Likewise.
35466         * locale/programs/localedef.c: Likewise.
35467         * login/programs/pt_chown.c: Likewise.
35468         * malloc/memusage.sh: Likewise.
35469         * malloc/memusagestat.c: Likewise.
35470         * malloc/mtrace.pl: Likewise.
35471         * manual/libc.texinfo: Likewise.
35472         * nscd/nscd.c: Likewise.
35473         * nss/getent.c: Likewise.
35474         * nss/makedb.c: Likewise.
35475         * posix/getconf.c: Likewise.
35476         * scripts/test-installation.pl: Likewise.
35478         * All files with FSF copyright notices: Update copyright dates
35479         using scripts/update-copyrights.
35480         * intl/plural.c: Regenerated.
35481         * locale/programs/charmap-kw.h: Likewise.
35482         * locale/programs/locfile-kw.h: Likewise.
35484 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35486         * sysdeps/unix/sysv/linux/configure: Regenerated.
35487         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35488         the linux/fanotify.h header.
35489         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35490         HAVE_LINUX_FANOTIFY_H is defined.
35492 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35494         * benchtests/cos-inputs: New inputs.
35495         * benchtests/sin-inputs: Likewise.
35497         * benchtests/atan-inputs: New inputs. Fix name of multiple
35498         precision fallback inputs.
35500         * benchtests/atanh-inputs: New inputs.
35501         * benchtests/tanh-inputs: Likewise.
35503         * benchtests/acosh-inputs: New inputs.
35504         * benchtests/asinh-inputs: Likewise.
35506         * benchtests/cosh-inputs: New inputs.
35507         * benchtests/sinh-inputs: Likewise.
35509         * benchtests/acos-inputs: Add more inputs.
35510         * benchtests/asin-inputs: Likewise.
35512 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35514         [BZ #16375]
35515         * manual/arith.texi: Fix spelling.
35516         * manual/charset.texi: Likewise.
35517         * manual/errno.texi: Likewise.
35518         * manual/filesys.texi: Likewise.
35519         * manual/lang.texi: Likewise.
35520         * manual/llio.texi: Likewise.
35521         * manual/locale.texi: Likewise.
35522         * manual/message.texi: Likewise.
35523         * manual/resource.texi: Likewise.
35524         * manual/search.texi: Likewise.
35525         * manual/setjmp.texi: Likewise.
35526         * manual/stdio.texi: Likewise.
35527         * manual/string.texi: Likewise.
35528         * manual/sysinfo.texi: Likewise.
35529         * manual/time.texi: Likewise.
35531 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35533         * po/sl.po: New file.
35535 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35537         * .gitignore: Add core/.gdbinit/.gdb_history.
35539 2013-12-27  Allan McRae  <allan@archlinux.org>
35541         [BZ #16369]
35542         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35543         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35545 2013-12-24  Brooks Moses  <bmoses@google.com>
35547         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35548         all compilers that claim C++98 compliance, not just GCC.
35549         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35550         Likewise.
35552 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35554         * NEWS: Restore accidentally deleted bug-fix entries.
35556 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35557             Ondřej Bílka  <neleai@seznam.cz>
35559         [BZ #15073]
35560         * malloc/malloc.c (_int_free): Perform sanity check only if we
35561         have_lock.
35563 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35565         [BZ #12986]
35566         * manual/stdio.texi (String Input Conversions): Clarify that character
35567         classes are not supported.
35569 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35573 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35575         [BZ #16337]
35576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35577         Calculate results for small negative arguments directly rather
35578         than using reflection formula with special underflow handling.
35580         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35581         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35582         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35583         (fchflags): Likewise.
35584         (revoke): Likewise.
35585         (setlogin): Likewise.
35586         (sigaltstack): Likewise.
35587         (wait4): Likewise.
35588         (sigblock): Remove.
35589         (sigsetmask): Likewise.
35590         (wait3): Likewise.
35591         (waitpid): Likewise.
35592         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35593         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35594         file.
35595         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35596         * sysdeps/unix/bsd/Makefile: ... here.
35597         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35598         * sysdeps/unix/bsd/Versions: ... here.
35599         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35600         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35601         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35602         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35603         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35604         * sysdeps/unix/bsd/sigblock.c: ... here.
35605         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35606         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35607         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35608         * sysdeps/unix/bsd/sigvec.c: ... here.
35609         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35610         * sysdeps/unix/bsd/tcdrain.c: ... here.
35611         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35612         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35613         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35614         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35615         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35616         * sysdeps/unix/bsd/wait.c: ... here.
35617         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35618         * sysdeps/unix/bsd/wait3.c: ... here.
35619         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35620         * sysdeps/unix/bsd/waitpid.c: ... here.
35622 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35624         [BZ #16356]
35625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35626         round-to-nearest for [!USE_AS_EXPM1L].
35627         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35628         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35629         more tests of exp and exp10.  Expect some exp10 tests to miss
35630         exceptions or fail in directed rounding modes.
35631         * math/auto-libm-test-out: Regenerated.
35632         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35633         (exp10_test_tonearest): New function.
35634         (exp10_towardzero_test_data): New array.
35635         (exp10_test_towardzero): New function.
35636         (exp10_downward_test_data): New array.
35637         (exp10_test_downward): New function.
35638         (exp10_upward_test_data): New array.
35639         (exp10_test_upward): New function.
35640         (main): Call the new functions.
35641         * sysdeps/i386/fpu/libm-test-ulps: Update.
35642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35644 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35646         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35647         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35648         * math/auto-libm-test-out: Regenerated.
35649         * math/libm-test.inc (acosh_test_data): Add more tests.
35650         (atanh_test_data): Likewise.
35651         (ceil_test_data): Likewise.
35652         (copysign_test_data): Likewise.
35653         * sysdeps/i386/fpu/libm-test-ulps: Update.
35654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35656         * timezone/checktab.awk: Update from tzcode 2013i.
35657         * timezone/private.h: Likewise.
35658         * timezone/scheck.c: Likewise.
35659         * timezone/tzfile.h: Likewise.
35660         * timezone/tzselect.ksh: Likewise.
35661         * timezone/zdump.c: Likewise.
35662         * timezone/zic.c: Likewise.
35664         * math/auto-libm-test-in: Add tests of cpow.
35665         * math/auto-libm-test-out: Regenerated.
35666         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35667         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35668         mpc_cc_c.
35669         (func_calc_desc): Add mpc_cc_c union field.
35670         (test_functions): Add cpow.
35671         (special_fill_2pi): New function.
35672         (special_real_inputs): Add 2pi.
35673         (calc_generic_results): Handle mpc_cc_c.
35674         * sysdeps/i386/fpu/libm-test-ulps: Update.
35675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35677         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35678         csqrt, ctan and ctanh.
35679         * math/auto-libm-test-out: Regenerated.
35680         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35681         (TEST_COND_x86): Likewise.
35682         (ccos_test_data): Use AUTO_TESTS_c_c.
35683         (ccosh_test_data): Likewise.
35684         (cexp_test_data): Likewise.
35685         (clog_test_data): Likewise.
35686         (csqrt_test_data): Likewise.
35687         (ctan_test_data): Likewise.
35688         (ctan_tonearest_test_data): Likewise.
35689         (ctan_towardzero_test_data): Likewise.
35690         (ctan_downward_test_data): Likewise.
35691         (ctan_upward_test_data): Likewise.
35692         (ctanh_test_data): Likewise.
35693         (ctanh_tonearest_test_data): Likewise.
35694         (ctanh_towardzero_test_data): Likewise.
35695         (ctanh_downward_test_data): Likewise.
35696         (ctanh_upward_test_data): Likewise.
35697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35698         mpc_c_c.
35699         (func_calc_desc): Add mpc_c_c union field.
35700         (FUNC_mpc_c_c): New macro.
35701         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35702         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35703         ctanh.
35704         (special_fill_min_subnorm_p120): New function.
35705         (special_real_inputs): Add min_subnorm_p120.
35706         (calc_generic_results): Handle mpc_c_c.
35707         * sysdeps/i386/fpu/libm-test-ulps: Update.
35708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35710 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35712         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35713         (do_sin_slow): New functions.
35714         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35715         (cslow2, csloww1, csloww2): Use the new functions.
35717         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35718         Use M to change sign of result instead of X.  Assume X is
35719         positive.
35720         (csloww1): Likewise.
35721         (__sin): Adjust.
35722         (__cos): Adjust.
35724         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35725         arguments A and DA.
35726         (__sin): Adjust.
35727         (__cos): Likewise.
35729         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35730         (__cos): Likewise.
35731         (sloww1): Don't adjust sign of DX.
35732         (csloww1): Likewise.
35733         (sloww2): Use X directly and don't adjust sign of DX.
35734         (csloww2): Likewise.
35736 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35738         * math/auto-libm-test-in: Add tests of cabs and carg.
35739         * math/auto-libm-test-out: Regenerated.
35740         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35741         (carg_test_data): Likewise.
35742         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35743         mpc_c_f.
35744         (func_calc_desc): Add mpc_c_f union field.
35745         (test_functions): Add cabs and carg.
35746         (calc_generic_results): Handle mpc_c_f.
35748         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35749         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35750         as a macro and a compat symbol.
35751         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35752         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35753         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35754         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35755         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35757         not use .hidden.
35758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35759         Likewise.
35760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35761         Likewise.
35762         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35763         Likewise.
35764         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35765         Likewise.
35766         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35767         Likewise.
35768         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35769         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35770         from GLIBC_2.3.2.
35772 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35776 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35778         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35779         trailing whitespace removed.
35780         * scripts/config.guess: Update to version 2013-11-29.
35781         * scripts/config.sub: Update to version 2013-10-01.
35783         * math/auto-libm-test-in: Add tests of sincos.
35784         * math/auto-libm-test-out: Regenerated.
35785         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35787         mpfr_f_11.
35788         (func_calc_desc): Add mpfr_f_11 union field.
35789         (test_functions): Add sincos.
35790         (calc_generic_results): Handle mpfr_f_11.
35791         * sysdeps/i386/fpu/libm-test-ulps: Update.
35792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35794 2013-12-19  Andreas Schwab  <schwab@suse.de>
35796         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35797         CALL_MCOUNT.
35798         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35799         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35800         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35802 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35804         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35805         * sysdeps/i386/fpu/libm-test-ulps: Update.
35806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35808         [BZ #16293]
35809         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35810         round-to-nearest mode when using frndint.
35811         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35812         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35813         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35814         Likewise.
35815         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35816         sinh test to fail.
35817         * math/auto-libm-test-out: Regenerated.
35818         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35819         (TEST_COND_x86): Likewise.
35820         (expm1_tonearest_test_data): New array.
35821         (expm1_test_tonearest): New function.
35822         (expm1_towardzero_test_data): New array.
35823         (expm1_test_towardzero): New function.
35824         (expm1_downward_test_data): New array.
35825         (expm1_test_downward): New function.
35826         (expm1_upward_test_data): New array.
35827         (expm1_test_upward): New function.
35828         (main): Run the new test functions.
35829         * sysdeps/i386/fpu/libm-test-ulps: Update.
35830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35832         * include/features.h: Update comment documenting feature test
35833         macros.  Mention _DEFAULT_SOURCE in comment.
35834         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35835         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35836         _BSD_SOURCE and _SVID_SOURCE.
35837         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35838         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35839         !_SVID_SOURCE]: Likewise.
35840         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35841         (__USE_POSIX_IMPLICITLY): Define.
35842         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35843         (_POSIX_SOURCE): Undefine and redefine.
35844         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35845         (_POSIX_C_SOURCE): Likewise.
35846         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35847         (Feature Test Macros): Update documentation of default features.
35849 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35851         * benchtests/Makefile: Add bench-strtok.
35852         * benchtests/bench-strtok.c: New file: strtok benchtest.
35854 2013-12-19  Allan McRae  <allan@archlinux.org>
35856         * manual/install.texi: Suppress menu for plain text output.
35857         * INSTALL: Regenerated.
35859 2013-12-18  Brooks Moses  <bmoses@google.com>
35861         [BZ #15846]
35862         * misc/getauxval.c: Include errno.h.
35863         (__getauxval): Set errno to ENOENT if the requested type is not
35864         found.
35865         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35866         don't declare with __attribute_const__.
35867         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35868         * manual/startup.texi: Document that getauxval sets errno.
35870 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35872         * math/auto-libm-test-in: Add tests of jn and yn.
35873         * math/auto-libm-test-out: Regenerated.
35874         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35875         (yn_test_data): Likewise.
35876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35877         mpfr_if_f.
35878         (func_calc_desc): Add mpfr_if_f union field.
35879         (FUNC_mpfr_if_f): New macro.
35880         (test_functions): Add jn and yn.
35881         (calc_generic_results): Assert type of second input for
35882         mpfr_ff_f.  Handle mpfr_if_f.
35883         (output_for_one_input_case): Disable all checking for arguments
35884         fitting floating-point types in case of an integer argument.
35885         * sysdeps/i386/fpu/libm-test-ulps: Update.
35886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35889         Don't expect fegetround reference in libm.so.
35891 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35893         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35894         $(config-cflags-nofma).
35896 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35898         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35899         * math/auto-libm-test-out: Regenerated.
35901         [BZ #16338]
35902         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35903         to determine exponent and adjust argument to have exponent of -1.
35904         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35905         log2.
35906         * math/auto-libm-test-out: Regenerated.
35907         * sysdeps/i386/fpu/libm-test-ulps: Update.
35908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35910 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35912         * manual/probes.texi: Remove cases when per-thread arenas are
35913         disabled.
35915 2013-12-18  Andreas Schwab  <schwab@suse.de>
35917         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35918         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35919         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35920         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35921         * sysdeps/i386/i686/multiarch/Makefile: Update.
35922         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35924 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35926         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35927         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35929 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35931         [BZ #15968]
35932         Support TZ transition times < 00:00:00.
35933         This is needed for version-3 tz-format files; it supports time
35934         stamps past 2037 for America/Godthab (the only entry in the tz
35935         database for which this change is relevant).
35936         * manual/time.texi (TZ Variable): Document transition times
35937         from -167:59:59 through -00:00:01.
35938         * time/tzset.c (tz_rule): Time of day is now signed.
35939         (__tzset_parse_tz): Parse negative time of day.
35941         Document TZ transition times >= 25:00:00.
35942         * manual/time.texi (TZ Variable): Document transition times from
35943         25:00:00 through 167:59:59.  These are already supported, and this
35944         support will help with version-3 tz-format files.
35946         * manual/time.texi (TZ Variable): Modernize North America example
35947         to reflect current (i.e., 2007-and-later) daylight saving rules.
35949         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35951 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35953         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35954         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35956         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35957         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35958         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35959         * sysdeps/unix/bsd/clock.c: Likewise.
35960         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35961         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35962         * sysdeps/unix/bsd/init-posix.c: Likewise.
35963         * sysdeps/unix/bsd/poll.c: Likewise.
35964         * sysdeps/unix/bsd/ptsname.c: Likewise.
35965         * sysdeps/unix/bsd/seekdir.c: Likewise.
35966         * sysdeps/unix/bsd/setegid.c: Likewise.
35967         * sysdeps/unix/bsd/seteuid.c: Likewise.
35968         * sysdeps/unix/bsd/setgid.c: Likewise.
35969         * sysdeps/unix/bsd/setrgid.c: Likewise.
35970         * sysdeps/unix/bsd/setruid.c: Likewise.
35971         * sysdeps/unix/bsd/setsid.c: Likewise.
35972         * sysdeps/unix/bsd/setuid.c: Likewise.
35973         * sysdeps/unix/bsd/sigaction.c: Likewise.
35974         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35975         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35976         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35977         * sysdeps/unix/bsd/telldir.c: Likewise.
35978         * sysdeps/unix/bsd/times.c: Likewise.
35979         * sysdeps/unix/bsd/usleep.c: Likewise.
35981         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35982         ($(objpfx)libbsd-compat.a): Remove rule.
35984         * include/features.h (__FAVOR_BSD): Do not define.
35985         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35986         features conflicting with POSIX.
35987         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35988         (_BSD_SOURCE): Remove description of not being a subset of other
35989         feature test macros.
35990         * manual/job.texi (getpgrp): Do not document BSD version.
35991         (getpgid): Do not document by reference to BSD getpgrp.
35992         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35993         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35994         * signal/signal.h [__FAVOR_BSD]: Likewise.
35995         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35996         instead of making contents conditional on [__FAVOR_BSD].
35997         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35999 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36003 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36005         [BZ #16314]
36006         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36007         values below 2**-450, not 2**-500.
36008         * math/auto-libm-test-in: Don't allow spurious underflow from
36009         hypot.
36010         * math/auto-libm-test-out: Regenerated.
36012         [BZ #16316]
36013         [BZ #16330]
36014         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36015         values of ha and hb and sort them after adjusting subnormal
36016         arguments.
36017         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36018         Likewise.
36019         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36020         values of ea and eb and sort them after adjusting subnormal
36021         arguments.
36022         * math/auto-libm-test-in: Do not expect some hypot tests of
36023         subnormals to fail.  Add more hypot tests.
36024         * math/auto-libm-test-out: Regenerated.
36026 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36028         [BZ #13304]
36029         * sysdeps/sh/s_fma.c: New file.
36030         * sysdeps/sh/s_fmaf.c: New file.
36031         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36032         version.
36033         * sysdeps/sh/Implies: Add sh/soft-fp.
36035 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36037         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36038         level of indirection to members `objname', `errstring', `malloced'.
36039         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36040         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36041         it as the __longjmp argument (just pass 1 instead).
36042         (_dl_catch_error): Initialize C with argument pointers and address of
36043         volatile local ERRCODE rather than copying values out of C at return.
36045 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36047         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36048         * math/auto-libm-test-out: Regenerated.
36049         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36050         (hypot_test_data): Likewise.
36051         (pow_test_data): Likewise.
36052         (pow_tonearest_test_data): Likewise.
36053         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36054         mpfr_ff_f.
36055         (func_calc_desc): Add mpfr_ff_f union field.
36056         (FUNC_mpfr_ff_f): New macro.
36057         (test_functions): Add atan2, hypot and pow.
36058         (special_fill_min): New function.
36059         (special_fill_minus_min): Likewise.
36060         (special_fill_min_subnorm): Likewise.
36061         (special_fill_minus_min_subnorm): Likewise.
36062         (special_real_inputs): Add min, -min, min_subnorm and
36063         -min_subnorm.
36064         (calc_generic_results): Handle mpfr_ff_f.
36065         * sysdeps/i386/fpu/libm-test-ulps: Update.
36066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36068 2013-12-16  Will Newton  <will.newton@linaro.org>
36070         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36071         (Aligned Memory Blocks): Add documentation for aligned_alloc
36072         and suggest it as an alternative to posix_memalign.
36073         (Hooks for Malloc): Document __memalign_hook is also called
36074         for aligned_alloc.  (Summary of Malloc): Add summary for
36075         aligned alloc.  Document __memalign_hook is also called
36076         for aligned_alloc.
36078 2013-12-16  Will Newton  <will.newton@linaro.org>
36080         * manual/memory.texi (Malloc Examples): Clarify default
36081         alignment documentation.  Suggest posix_memalign rather
36082         than memalign or valloc.
36083         (Aligned Memory Blocks): Remove suggestion to use memalign
36084         or valloc.  Remove obsolete comment about BSD.
36085         Document memalign errno values and mark the function obsolete.
36086         Document posix_memalign returned error codes.  Mark valloc
36087         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36088         called for posix_memalign and valloc.
36089         (Summary of Malloc): Add posix_memalign to function summary.
36090         __memalign_hook is also called for posix_memalign and valloc.
36092 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36094         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36095         TAYLOR_SIN.
36096         (__sin): Adjust.
36097         (__cos): Likewise.
36098         (sloww): Use mynumber union.  Expand ternary operator into
36099         if-else statements.
36100         (cslow): use mynumber union.
36102 2013-12-16  Allan McRae  <allan@archlinux.org>
36104         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36105         * configure: Regenerated.
36107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36109         [BZ #14120]
36110         * configure.ac: Added --enable-maintainer-mode. Check for
36111         autoconf when enabled.
36112         * configure: Regenerated.
36114         * nscd/nscd.service: New file.
36115         * nscd/nscd.tmpfiles: New file.
36117 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36119         [BZ #12100]
36120         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36121         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36122         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36123         (strstr): Add __strstr_sse2_unaligned ifunc.
36124         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36125         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36126         (strcasestr): Remove __strcasestr_sse42 ifunc.
36127         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36131 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36133         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36134         * sysdeps/sh/bits/fenv.h: ... here.
36135         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36137 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36139         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36142         hypotf multiarch implementations.
36143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36146         multiarch hypot for PPC64.
36147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36150         multiarch hypotf for PPC64.
36152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36153         modff multiarch implementations.
36154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36157         multiarch modf for PPC64.
36158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36161         multiarch modff for PPC64.
36163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36164         and logl multiarch implementations.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36168         multiarch logb for PPC64.
36169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36172         multiarch logb for PPC64.
36173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36176         multiarch logb for PPC64.
36178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36179         isinff multiarch implementation.
36180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36181         file.
36182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36184         multiarch isinf for PPC64.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36186         file.
36187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36188         multiarch isinff for PPC64.
36190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36191         finitef multiarch implementation.
36192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36193         file.
36194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36196         multiarch finite for PPC64.
36197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36198         file.
36199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36200         multiarch finitef for PPC64.
36202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36203         lrint multiarch implementation.
36204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36205         file.
36206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36208         multiarch llrint for PPC64.
36209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36210         multiarch lrint for PPC64.
36212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36213         copysignf multiarch implementation.
36214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36215         file.
36216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36217         file.
36218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36219         multiarch copysign for PPC64.
36220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36221         multiarch copysignf for PPC64.
36223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36224         multiarch implementation.
36225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36226         file.
36227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36228         file.
36229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36230         file.
36231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36232         file.
36233         multiarch llround for PPC64.
36234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36235         multiarch trunc for PPC64.
36236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36237         multiarch truncf for PPC64.
36239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36240         multiarch implementation.
36241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36242         file.
36243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36244         file.
36245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36246         file.
36247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36248         file.
36249         multiarch llround for PPC64.
36250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36251         multiarch round for PPC64.
36252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36253         multiarch roundf for PPC64.
36255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36256         multiarch implementation.
36257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36258         file.
36259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36260         file.
36261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36262         file.
36263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36264         file.
36265         multiarch llround for PPC64.
36266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36267         multiarch floor for PPC64.
36268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36269         multiarch floorf for PPC64.
36271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36272         multiarch implementation.
36273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36274         file.
36275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36276         file.
36277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36278         file.
36279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36280         file.
36281         multiarch llround for PPC64.
36282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36283         multiarch ceil for PPC64.
36284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36285         multiarch ceilf for PPC64.
36287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36288         multiarch implementation.
36289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36290         file.
36291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36292         file.
36293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36294         file.
36295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36296         multiarch llround for PPC64.
36297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36298         multiarch lround for PPC64.
36300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36301         multiarch implementation.
36302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36305         file.
36306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36309         multiarch isnan for PPC64.
36310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36311         multiarch isnanf for PPC64.
36313         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36314         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36315         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36316         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36317         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36320         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36321         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36326         multiarch implementations.
36327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36328         (__libc_ifunc_impl_list): Likewise.
36329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36330         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36332         multiarch stpcpy for PPC64.
36334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36335         multiarch implementations.
36336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36337         (__libc_ifunc_impl_list): Likewise.
36338         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36339         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36340         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36341         multiarch strcpy for PPC64.
36343         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36344         redefine function name.
36345         (_wordcopy_fwd_dest_aligned): Likewise.
36346         (_wordcopy_bwd_aligned): Likewise.
36347         (_wordcopy_bwd_dest_aligned): Likewise.
36348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36349         multiarch implementations.
36350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36351         (__libc_ifunc_impl_list): Likewise.
36352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36354         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36355         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36356         multiarch wcscpy for PPC64.
36358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36359         multiarch implementations.
36360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36361         (__libc_ifunc_impl_list): Likewise.
36362         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36363         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36364         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36366         multiarch wcscpy for PPC64.
36368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36369         multiarch implementations.
36370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36371         (__libc_ifunc_impl_list): Likewise.
36372         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36373         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36374         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36375         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36376         multiarch wcsrchr for PPC64.
36378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36379         multiarch implementations.
36380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36381         (__libc_ifunc_impl_list): Likewise.
36382         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36383         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36384         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36385         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36386         multiarch wcschr for PPC64.
36388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36389         multiarch implementations.
36390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36391         (__libc_ifunc_impl_list): Likewise.
36392         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36393         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36395         multiarch strchrnul for PPC64.
36397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36398         implementations.
36399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36400         (__libc_ifunc_impl_list): Likewise.
36401         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36402         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36403         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36404         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36405         strchr for PPC64.
36407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36408         implementations.
36409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36410         (__libc_ifunc_impl_list): Likewise.
36411         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36412         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36414         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36415         strncmp for PPC64.
36417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36418         multiarch implementations.
36419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36420         (__libc_ifunc_impl_list): Likewise.
36421         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36422         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36423         strncasecmp for PPC64.
36424         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36425         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36426         multiarch strncasecmp_l for PPC64.
36428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36429         multiarch implementations.
36430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36431         (__libc_ifunc_impl_list): Likewise.
36432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36434         multiarch strcasecmp for PPC64.
36435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36436         file.
36437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36438         multiarch strcasecmp_l for PPC64.
36440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36441         implementations.
36442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36443         (__libc_ifunc_impl_list): Likewise.
36444         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36445         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36446         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36447         strnlen for PPC64.
36449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36450         implementations.
36451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36452         (__libc_ifunc_impl_list): Likewise.
36453         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36454         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36455         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36456         strlen for PPC64.
36458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36459         implementations.
36460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36461         (__libc_ifunc_impl_list): Likewise.
36462         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36463         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36464         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36465         rawmemrchr for PPC64.
36467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36468         implementation.
36469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36470         (__libc_ifunc_impl_list): Likewise.
36471         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36472         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36473         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36474         memrchr for PPC64.
36476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36477         implementation.
36478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36479         (__libc_ifunc_impl_list): Likewise.
36480         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36481         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36482         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36483         memchr for PPC64.
36485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36486         implementation.
36487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36488         (__libc_ifunc_impl_list): Likewise.
36489         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36490         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36491         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36492         mempcpy for PPC64.
36494         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36495         avoid cretion of __bzero symbol.
36496         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36497         Likewise.
36498         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36499         Likewise.
36500         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36501         Likewise.
36502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36503         multiarch implementations.
36504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36505         (__libc_ifunc_impl_list): Likewise.
36506         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36507         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36508         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36509         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36510         bzero for PPC32.
36511         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36512         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36513         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36514         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36515         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36516         memset for PPC64.
36517         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36519         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36521         implementations.
36522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36523         (__libc_ifunc_impl_list): Likewise.
36524         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36525         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36526         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36527         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36528         memcmp for PPC64.
36530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36531         multiarch for POWER/PPC64.
36532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36533         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36534         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36538         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36540         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36541         memcpy for PPC64.
36543         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36544         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36545         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36546         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36547         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36548         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36549         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36550         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36551         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36552         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36553         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36554         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36555         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36556         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36557         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36566 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36570 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36572         * benchtests/Makefile (bench): Add exp2 and log2.
36573         (LDLIBS-bench-exp2): Add -lm.
36574         (LDLIBS-bench-log2): Likewise.
36575         * benchtests/exp2-inputs: New inputs file.
36576         * benchtests/log2-inputs: New inputs file.
36577         * benchtests/log-inputs: Add new inputs.
36578         * benchtests/tan-inputs: Likewise.
36580 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36582         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36583         definition...
36584         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36585         (csloww2): ... from here.
36587         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36588         instead of structures.
36589         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36590         (POLYNOMIAL): Likewise.
36591         (TAYLOR_SLOW): Likewise.
36592         (__sin): Likewise.
36593         (__cos): Likewise.
36594         (slow1): Likewise.
36595         (slow2): Likewise.
36596         (sloww): Likewise.
36597         (sloww1); Likewise.
36598         (sloww2): Likewise.
36599         (bsloww1): Likewise.
36600         (bsloww2): Likewise.
36601         (cslow2): Likewise.
36602         (csloww): Likewise.
36603         (csloww1): Likewise.
36604         (csloww2): Likewise.
36606 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36608         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36609         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36610         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36611         * malloc/hooks.c (realloc_check): Likewise.
36613         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36614         * malloc/arena.c: Remove PER_THREAD conditional.
36615         [!PER_THREAD]: Remove code.
36616         (ptmalloc_unlock_all2): Likewise.
36617         (ptmalloc_init): Likewise.
36618         (_int_new_arena): Likewise.
36619         (arena_get2): Likewise.
36620         * malloc/hooks.c (__malloc_get_state): Likewise.
36621         (__malloc_set_state): Likewise.
36622         * malloc/malloc.c: Likewise.
36623         (struct malloc_state): Likewise.
36624         (struct malloc_par): Likewise.
36625         (__libc_realloc): Likewise.
36626         (__libc_mallopt): Likewise.
36628 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36630         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36632 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36634         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36635         macro to a function.  Check for zero perturb_byte.
36636         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36638         * malloc/malloc.c: (force_reg): Remove.
36639         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36640         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36641         force_reg by atomic_forced_read.
36642         * malloc/arena.c (ptmalloc_init): Likewise.
36643         * malloc/hooks.c (top_check): Likewise.
36645 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36649 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36653 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36655         * math/auto-libm-test-in: Add tests of lgamma.
36656         * math/auto-libm-test-out: Regenerated.
36657         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36658         (M_LOG_2_SQRT_PIl): Likewise.
36659         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36660         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36661         mpfr_f_f1.
36662         (func_calc_desc): Add mpfr_f_f1 union field.
36663         (ARGS1): New macro.
36664         (ARGS2): Likewise.
36665         (ARGS3): Likewise.
36666         (ARGS4): Likewise.
36667         (RET1): Likewise.
36668         (RET2): Likewise.
36669         (CALC): Likewise.
36670         (FUNC): Likewise.
36671         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36672         (test_functions): Add lgamma.
36673         (calc_generic_results): Handle mpfr_f_f1.
36674         * sysdeps/i386/fpu/libm-test-ulps: Update.
36675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36677 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36679         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36680         __mpn_add_n for PowerPC64/POWER7.
36681         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36682         __mpn_sub_n for PowerPC64/POWER7.
36684         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36685         __mpn_addmul_1 for PowerPC64.
36686         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36687         __mpn_submul_1 for PowerPC64.
36688         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36689         for PowerPC64.
36690         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36691         for PowerPC64.
36693 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36695         [BZ #15089]
36696         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36698 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36700         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36702         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36703         add multiarch folders.
36704         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36705         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36706         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36707         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36708         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36709         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36710         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36711         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36712         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36713         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36714         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36723         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36725         New file.
36726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36727         New file.
36728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36729         multiarch __ieee754_hypot for PowerPC32.
36730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36731         New file.
36732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36733         New file.
36734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36735         multiarch __ieee754_hypotf for PowerPC32.
36737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36738         long_double_symbol only if __logbl is defined.
36739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36740         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36742         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36744         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36745         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36746         path for implementation.
36747         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36750         logb, and logbl multiarch implementations for PowerPC32.
36751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36752         file.
36753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36754         file.
36755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36756         multiarch logb for PowerPC32.
36757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36758         file.
36759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36760         file.
36761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36762         multiarch logbf for PowerPC32.
36763         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36765         file.
36766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36767         multiarch logbl implementation for PowerPC32.
36769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36770         and modff multiarch implementations.
36771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36772         New file.
36773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36774         New file.
36775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36776         multiarch modf for PowerPC32.
36777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36778         New file.
36779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36780         New file.
36781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36782         multiarch modff for PowerPC32.
36784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36785         and lrintf multiarch implementations.
36786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36787         New file.
36788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36789         New file.
36790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36791         multiarch lrint for PowerPC32.
36792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36793         file: multiarch lrintf for PowerPC32.
36795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36796         and lroundf multiarch implementations.
36797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36798         New file.
36799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36800         New file.
36801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36802         New file.
36803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36804         multiarch lround for PowerPC32.
36805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36806         file: multiarch lroundf for PowerPC32.
36808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36809         copysign and copysignf multiarch implementations.
36810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36811         New file.
36812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36813         New file.
36814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36815         file: multiarch copysign for PowerPC32.
36816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36817         file: multiarch copysignf for PowerPC32.
36819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36820         and truncf multiarch implementations.
36821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36822         New file.
36823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36824         file.
36825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36826         multiarch trunc for PowerPC32.
36827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36828         New file.
36829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36830         New file.
36831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36832         multiarch truncf for PowerPC32.
36834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36835         and roundf multiarch implementations.
36836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36837         New file.
36838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36839         file.
36840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36841         multiarch round for PowerPC32.
36842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36843         New file.
36844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36845         New file.
36846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36847         multiarch roundf for PowerPC32.
36849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36850         and floorf multiarch implementations.
36851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36852         New file.
36853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36854         file.
36855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36856         multiarch floor for PowerPC32.
36857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36858         New file.
36859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36860         New file.
36861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36862         multiarch floorf for PowerPC32.
36864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36865         and ceilf multiarch implementations.
36866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36867         New file.
36868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36869         file.
36870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36871         multiarch ceil for PowerPC32.
36872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36873         New file.
36874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36875         file.
36876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36877         multiarch ceilf for PowerPC32.
36879         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36880         is defined.
36881         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36882         FINITEF is defined.
36883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36884         and finitef multiarch implementations.
36885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36886         New file.
36887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36888         file.
36889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36890         multiarch finite for PowerPC32.
36891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36892         New file.
36893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36894         file: multiarch finitef for PowerPC32.
36896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36897         and isinff multiarch implementations.
36898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36899         file.
36900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36901         file.
36902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36903         multiarch isinf for PowerPC32.
36904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36905         New file.
36906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36907         multiarch isinff for PowerPC32.
36909         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36910         alias when __isnan is defined.
36911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36912         and isnanf multiarch implementations.
36913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36914         file.
36915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36916         file.
36917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36918         file.
36919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36920         file.
36921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36922         multiarch isnan for PowerPC32.
36923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36924         New file.
36925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36926         New file.
36927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36928         multiarch isnanf for PowerPC32.
36930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36931         and sqrtf multiarch implementations.
36932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36933         file.
36934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36935         file.
36936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36937         multiarch sqrt for PowerPC32.
36938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36939         file.
36940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36941         file.
36942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36943         multiarch sqrtf for PowerPC32.
36945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36946         and llroundf multiarch implementations.
36947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36948         New file.
36949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36950         New file.
36951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36952         New file.
36953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36954         file: multiarch llround for PowerPC32.
36955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36956         file: multiarch llroundf for PowerPC32.
36958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36959         multiarch PowerPC32 fpu implementations.
36960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36961         New file.
36962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36963         New file.
36964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36965         multiarch llrint for PowerPC32.
36966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36967         New file.
36968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36969         New file.
36970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36971         file.
36973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36975         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36976         file.
36977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36978         file.
36979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36980         file.
36981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36982         multiarch wordcopy for PPC32.
36983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36984         wordcopy objects.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36986         (__libc_ifunc_impl_list): Likewise.
36987         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36988         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36989         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36990         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36991         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36992         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36994         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36996         file.
36997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36998         file.
36999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37000         file.
37001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37002         multiarch wcscpy for PPC32.
37003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37004         multiarch objects.
37005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37006         (__libc_ifunc_impl_list): Likewise.
37007         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37008         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37009         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37010         sysdeps/powerpc/power6/wcscpy.c.
37012         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37014         file.
37015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37016         file.
37017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37018         file.
37019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37020         multiarch wcsrchr for PPC32.
37021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37022         multiarch objects.
37023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37024         (__libc_ifunc_impl_list): Likewise.
37025         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37026         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37027         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37028         sysdeps/powerpc/power6/wcsrchr.c.
37030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37031         file.
37032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37033         file.
37034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37036         multiarch wcschr for PPc32.
37037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37038         multiarch objects.
37039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37040         (__libc_ifunc_impl_list): Likewise.
37041         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37042         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37043         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37044         sysdeps/powerpc/power6/wcschr.c.
37046         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37047         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37048         file.
37049         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37050         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37051         file: multiarch strchr for PPC32.
37052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37053         multiarch objects.
37054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37055         (__libc_ifunc_impl_list): Likewise.
37057         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37058         name.
37059         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37060         file.
37061         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37062         file.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37064         multiarch strchrnul for PPC32.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37066         multiarch objects.
37067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37068         (__libc_ifunc_impl_list): Likewise.
37070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37071         file.
37072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37073         multiarch strncasecmp for PPC32.
37074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37075         file.
37076         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37077         multiarch strncasecmp_l for PPC32.
37078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37079         strncasecmp multiarch objects.
37080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37081         (__libc_ifunc_impl_list): Likewise.
37083         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37084         file.
37085         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37086         multiarch strncasecmp for PPC32.
37087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37088         New file.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37090         multiarch strcasecmp_l for PPC32.
37091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37092         multiarch objects.
37093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37094         (__libc_ifunc_impl_list): Likewise.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37097         file.
37098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37099         file.
37100         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37101         multiarch strncmp for PPC32.
37102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37103         multiarch objects.
37104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37105         (__libc_ifunc_impl_list): Likewise.
37107         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37108         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37109         file.
37110         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37111         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37113         multiarch objects.
37114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37115         (__libc_ifunc_impl_list): Likewise.
37117         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37118         file.
37119         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37120         file.
37121         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37123         multiarch objects.
37124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37125         (__libc_ifunc_impl_list): Likewise.
37127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37128         file.
37129         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37130         file.
37131         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37132         multiarch rawmemchr for PPC32.
37133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37134         multiarch objects.
37135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37136         (__libc_ifunc_impl_list): Likewise.
37138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37139         file.
37140         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37141         file.
37142         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37143         file: memrchr multiarch for PPC32.
37144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37145         multiarch objects.
37146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37147         (__libc_ifunc_impl_list): Likewise.
37149         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37151         file.
37152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37153         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37154         multiarch memchr for PPC32.
37155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37156         multiarch objects.
37157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37158         (__libc_ifunc_impl_list): Likewise.
37160         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37162         file.
37163         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37164         file.
37165         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37166         file: multiarch mempcpy for PPC32.
37167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37168         multiarch objects.
37169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37170         (__libc_ifunc_impl_list): Likewise.
37172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37174         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37176         multiarch bzero for PPC32.
37177         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37178         file.
37179         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37180         file.
37181         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37182         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37183         file: multiarch memset for PPC32.
37184         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37186         memset multiarch objects.
37187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37188         (__libc_ifunc_impl_list): Likewise.
37190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37191         file.
37192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37194         memcmp for PPC32.
37195         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37197         multiarch objects.
37198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37199         (__libc_ifunc_impl_list): Likewise.
37201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37204         file.
37205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37206         file.
37207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37208         file.
37209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37210         multiarch memcpy for PPC32.
37211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37212         multiarch objects.
37213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37214         (__libc_ifunc_impl_list): Likewise.
37216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37217         support multiarch for POWER/PPC32.
37218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37219         Likewise.
37220         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37222         Implies file to make multiarch folder appers before the fpu and
37223         default folder for power4 configuration.
37225 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37227         * scripts/bench.pl: Append volatile keyword to type.
37229 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37231         * sysdeps/sh/sotruss-lib.c: New file.
37232         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37234 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37238 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37240         [BZ #6810]
37241         * math/w_tgamma.c: Include <errno.h>.
37242         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37243         * math/w_tgammaf.c: Include <errno.h>.
37244         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37245         * math/w_tgammal.c: Include <errno.h>.
37246         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37247         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37248         underflow.  Add more tgamma tests.
37249         * math/auto-libm-test-out: Regenerated.
37250         * sysdeps/i386/fpu/libm-test-ulps: Update.
37251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37253         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37254         sin, sinh, tan, tanh, tgamma, y0 and y1.
37255         * math/auto-libm-test-out: Regenerated.
37256         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37257         (TEST_COND_x86): Likewise.
37258         (M_E2l): Remove macro.
37259         (M_E3l): Likewise.
37260         (M_2_SQRT_PIl): Likewise.
37261         (M_SQRT_PIl): Likewise.
37262         (M_1_DIV_El): Likewise.
37263         (log_test_data): Use AUTO_TESTS_f_f.
37264         (log10_test_data): Likewise.
37265         (log1p_test_data): Likewise.
37266         (log2_test_data): Likewise.
37267         (sin_test_data): Likewise.
37268         (sin_tonearest_test_data): Likewise.
37269         (sin_towardzero_test_data): Likewise.
37270         (sin_downward_test_data): Likewise.
37271         (sin_upward_test_data): Likewise.
37272         (sinh_test_data): Likewise.
37273         (sinh_tonearest_test_data): Likewise.
37274         (sinh_towardzero_test_data): Likewise.
37275         (sinh_downward_test_data): Likewise.
37276         (sinh_upward_test_data): Likewise.
37277         (tan_test_data): Likewise.
37278         (tan_tonearest_test_data): Likewise.
37279         (tan_towardzero_test_data): Likewise.
37280         (tan_downward_test_data): Likewise.
37281         (tan_upward_test_data): Likewise.
37282         (tanh_test_data): Likewise.
37283         (tgamma_test_data): Likewise.
37284         (y0_test_data): Likewise.
37285         (y1_test_data): Likewise.
37286         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37287         (special_real_inputs): Add pi/4.
37288         * sysdeps/i386/fpu/libm-test-ulps: Update.
37289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37291 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37293         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37294         "longjmp_target" static probes.
37295         (__longjmp): Rename to __longjmp_symbol.
37296         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37297         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37298         on which longjmp to generate.
37299         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37300         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37301         probe.
37302         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37303         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37304         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37305         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37306         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37307         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37309         __longjmp_symbol based on which __longjmp to generate.
37310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37311         probe.
37312         (setjmp): Rename to setjmp_symbol.
37313         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37314         (_setjmp): Rename to _setjmp_symbol.
37315         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37316         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37317         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37318         which setjmp to generate.
37319         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37320         "longjmp_target" static probes.
37322 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37324         * benchtests/README: Add note about output arguments.
37325         * benchtests/bench-sincos.c: Remove file.
37326         * benchtests/sincos-inputs: New file.
37327         * scripts/bench.pl: Identify output arguments and define
37328         static variables for them.
37330         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37332         [BZ #15941]
37333         * Makefile (INSTALL): Add install-plain.texi as the primary
37334         dependency.
37335         * manual/install-plain.texi: New file.
37336         * manual/install.texi: Include node directive only for
37337         non-plaintext output.
37339 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37341         * stdlib/longlong.h: Update from GCC.
37343         [BZ #6807]
37344         [BZ #15901]
37345         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37346         * math/w_j0f.c (y0f): Likewise.
37347         * math/w_j0l.c (__y0l): Likewise.
37348         * math/w_j1.c (y1): Likewise.
37349         * math/w_j1f.c (y1f): Likewise.
37350         * math/w_j1l.c (__y1l): Likewise.
37351         * math/w_jn.c (yn): Likewise.
37352         * math/w_jnf.c (ynf): Likewise.
37353         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37354         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37355         value for Bessel function domain errors outside _SVID_ mode.
37356         Adjust sign of return value for yn (negative integer, 0).
37357         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37358         by zero in return for negative x and set sign appropriately for
37359         negative n.
37360         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37361         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37362         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37363         expectations in error cases.
37364         (y1_test_data): Likewise.
37365         (yn_test_data): Likewise.
37366         * sysdeps/i386/fpu/libm-test-ulps: Update.
37367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37369 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37371         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37372         "64" to "64-v1".  Add "64-v2".
37373         (abi-64-options): Rename to ...
37374         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37375         (abi-64-condition): Rename to ...
37376         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37377         (abi-64-ld-soname): Rename to ...
37378         (abi-64-v1-ld-soname): ... this.
37379         (abi-64-v2-options): Define.
37380         (abi-64-v2-condition): Likewise.
37381         (abi-64-v2-ld-soname): Likewise.
37382         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37383         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37388 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37389             Alan Modra  <amodra@gmail.com>
37391         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37392         New versions for use with the ELFv2 ABI.
37393         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37394         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37395         declaration.
37396         (struct La_ppc64v2_retval): Likewise.
37397         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37398         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37399         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37400         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37401         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37402         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37403         Do not save or restore CR.
37404         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37405         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37406         return values for ELFv2 ABI.  Fix location of FPR return registers.
37407         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37408         updated values for _CALL_ELF == 2.
37409         (La_regs, La_retval, int_retval): Likewise.
37411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37413         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37414         (FRAME_MIN_SIZE_PARM): Likewise.
37415         (FRAME_BACKCHAIN): Likewise.
37416         (FRAME_CR_SAVE): Likewise.
37417         (FRAME_LR_SAVE): Likewise.
37418         (FRAME_TOC_SAVE): Likewise.
37419         (FRAME_PARM_SAVE): Likewise.
37420         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37421         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37422         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37423         (call_mcount_parm_offset): New macro.
37424         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37425         (PROF): Use symbolic stack frame offsets.
37426         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37428         Redefine in terms of FRAME_MIN_SIZE.
37429         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37430         (_dl_profile_resolve): Likewise.  Update comment.
37431         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37432         symbols stack frame offsets.
37433         (__sigsetjmp): Likewise.
37434         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37435         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37436         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37437         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37440         (FRAME_BACKCHAIN): Remove.
37441         (FRAME_CR_SAVE): Likewise.
37442         (FRAME_LR_SAVE): Likewise.
37443         (FRAME_COMPILER_DW): Likewise.
37444         (FRAME_LINKER_DW): Likewise.
37445         (FRAME_TOC_SAVE): Likewise.
37446         (FRAME_PARM_SAVE): Likewise.
37447         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37448         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37449         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37451         (CHECK_SP): Use symbolic stack frame offsets.
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37453         zone" instead of caller's parameter save area for temp storage.
37454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37455         Likewise.  Also, use symbolic stack frame offsets.
37456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37457         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37458         our own stack frame instead of the caller's.
37459         (__socket): Use symbolic stack frame offsets.
37461 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37462             Alan Modra  <amodra@gmail.com>
37464         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37465         Define.
37466         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37467         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37468         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37469         New function.
37470         (elf_machine_fixup_plt): Call it.
37471         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37472         reloc arguments.
37473         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37475         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37476         r2 before calling target.
37478 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37479             Alan Modra  <amodra@gmail.com>
37481         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37482         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37483         versions of macros to support ELFv2 ABI.
37484         (LOCALENTRY): New macro.
37485         (ENTRY, EALIGN): Use it.
37486         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37487         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37488         fall through into ENTRY entry point.
37489         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37490         Only define if _CALL_ELF != 2.
37492         (elf_machine_matches_host): Verify ABI version matches.
37493         (RTLD_START): Use LOCALENTRY.
37494         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37495         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37496         (PLT_ENTRY_WORDS): New macro.
37497         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37498         (elf_machine_runtime_setup): Support ELFv2 ABI.
37499         (elf_machine_fixup_plt): Likewise.
37500         (elf_machine_plt_conflict): Likewise.
37501         (resolve_ifunc): Likewise.
37502         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37504         Likewise.
37505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37506         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37508         (makecontext): Support ELFv2 ABI.
37509         * elf/elf.h (EF_PPC64_ABI): Define.
37511 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37513         * sysdeps/powerpc/powerpc64/sysdep.h
37514         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37515         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37516         (ENTRY) [ASSEMBLER]: ... but instead here ...
37517         (EALIGN) [ASSEMBLER]: ... and here.
37518         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37519         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37520         (ENTRY_2) [!ASSEMBLER]: Use it.
37521         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37522         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37524         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37525         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37527         Use PPC64_LOAD_FUNCPTR.
37529         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37531 2013-12-04  Alan Modra  <amodra@gmail.com>
37533         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37534         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37535         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37536         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37539         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37540         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37541         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37542         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37543         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37545 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37548         (__makecontext): Fix incorrect CFI when backtracing out of
37549         context created via makecontext.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37551         (__setcontext): Fix incorrect CFI during switch to new context.
37552         (__novec_setcontext): Likewise.
37554 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37556         [BZ #4772]
37557         * time/strptime_l.c (__strptime_internal): Allow modifiers
37558         in strptime.
37559         * time/tst-strptime.c (day_tests): Add testcase.
37561 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37563         * scripts/bench.pl: Skip over blank lines.
37565 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37567         [BZ #926]
37568         * manual/time.texi (Calendar Time): Clarify what timezone functions
37569         use.
37571 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37575 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37577         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37578         implementation.
37579         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37580         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37581         * debug/memset_chk.c (__memset_chk): Likewise.
37582         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37583         * debug/strncpy_chk.c: Likewise.
37585 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37587         [BZ #15268]
37588         [BZ #15425]
37589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37590         (__ieee754_exp): For possibly underflowing results, check size of
37591         result and force underflow exception if required.
37592         * math/auto-libm-test-in: Add more tests of exp.
37593         * math/auto-libm-test-out: Regenerated.
37594         * sysdeps/i386/fpu/libm-test-ulps: Update.
37595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37597         [BZ #16283]
37598         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37599         * math/w_exp2f.c (__exp2f): Likewise.
37600         * math/w_exp2l.c (__exp2l): Likewise.
37601         * math/auto-libm-test-in: Do not allow missing errno on exp2
37602         underflow.
37603         * math/auto-libm-test-out: Regenerated.
37605 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37607         [BZ #16274]
37608         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37609         handle filename validation.
37610         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37611         (do_open): Delete.
37613 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37615         [BZ #6786]
37616         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37617         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37618         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37619         <float.h>.
37620         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37622         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37624         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37625         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37626         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37627         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37628         Add more erfc tests.
37629         * math/auto-libm-test-out: Regenerated.
37630         * sysdeps/i386/fpu/libm-test-ulps: Update.
37631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37633         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37634         exp2, expm1, j0 and j1.
37635         * math/auto-libm-test-out: Regenerated.
37636         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37637         (erfc_test_data): Likewise.
37638         (exp_test_data): Likewise.
37639         (exp_tonearest_test_data): Likewise.
37640         (exp_towardzero_test_data): Likewise.
37641         (exp_downward_test_data): Likewise.
37642         (exp_upward_test_data): Likewise.
37643         (exp10_test_data): Likewise.
37644         (exp2_test_data): Likewise.
37645         (expm1_test_data): Likewise.
37646         (j0_test_data): Likewise.
37647         (j1_test_data): Likewise.
37648         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37649         (input_flag_type): Add flag_xfail_rounding.
37650         (input_flags): Add xfail-rounding.
37651         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37652         (output_for_one_input_case): Handle flag_xfail_rounding.
37653         * sysdeps/i386/fpu/libm-test-ulps: Update.
37654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37656 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37658         [BZ #16289]
37659         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37660         division by 0.
37662 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37664         [BZ #16195]
37665         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37666         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37667         (STAP_PROBE0): New macro.
37668         (STAP_PROBE1): Likewise.
37669         (STAP_PROBE2): Likewise.
37670         (STAP_PROBE3): Likewise.
37671         (STAP_PROBE4): Likewise.
37673 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37675         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37677 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37679         * benchtests/Makefile (bench): Add sqrt.
37680         (LDLIBS-bench-sqrt): New.
37681         * benchtests/sqrt-input: New.
37683 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37685         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37686         (GAIH_EAI): Likewise.
37687         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37688         (gaih_inet): Likewise.
37689         (getaddrinfo): Don't use GAIH_EAI.
37691         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37692         (struct gaih): Remove definition.
37694 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37696         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37697         Use HERRNOP directly.
37699 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37703 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37705         * math/gen-auto-libm-tests.c (test_functions): Add more
37706         single-argument functions.
37707         (special_fill_pi_2): New function.
37708         (special_fill_minus_pi_2): Likewise.
37709         (special_fill_pi_6): Likewise.
37710         (special_fill_minus_pi_6): Likewise.
37711         (special_fill_pi_3): Likewise.
37712         (special_fill_2pi_3): Likewise.
37713         (special_fill_e): Likewise.
37714         (special_fill_1_e): Likewise.
37715         (special_fill_e_minus_1): Likewise.
37716         (special_real_inputs): Add more special inputs.
37717         (output_for_one_input_case): Do not require ERANGE on underflow to
37718         zero if round-to-nearest result does not underflow to zero, unless
37719         exact results required.
37720         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37721         atan, atanh, cbrt, cos and cosh.
37722         * math/auto-libm-test-out: Regenerated.
37723         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37724         (acos_tonearest_test_data): Likewise.
37725         (acos_towardzero_test_data): Likewise.
37726         (acos_downward_test_data): Likewise.
37727         (acos_upward_test_data): Likewise.
37728         (acosh_test_data): Likewise.
37729         (asin_test_data): Likewise.
37730         (asin_tonearest_test_data): Likewise.
37731         (asin_towardzero_test_data): Likewise.
37732         (asin_upward_test_data): Likewise.
37733         (asinh_test_data): Likewise.
37734         (atan_test_data): Likewise.
37735         (atanh_test_data): Likewise.
37736         (cbrt_test_data): Likewise.
37737         (cos_test_data): Likewise.
37738         (cos_tonearest_test_data): Likewise.
37739         (cos_towardzero_test_data): Likewise.
37740         (cos_downward_test_data): Likewise.
37741         (cos_upward_test_data): Likewise.
37742         (cosh_test_data): Likewise.
37743         (cosh_tonearest_test_data): Likewise.
37744         (cosh_towardzero_test_data): Likewise.
37745         (cosh_downward_test_data): Likewise.
37746         (cosh_upward_test_data): Likewise.
37747         * sysdeps/i386/fpu/libm-test-ulps: Update.
37748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37750 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37752         [BZ #6787]
37753         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37754         * math/w_exp10f.c (__exp10f): Likewise.
37755         * math/w_exp10l.c (__exp10l): Likewise.
37756         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37757         errno settings in existing tests.
37759         [BZ #14032]
37760         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37761         precision control set to double precision.
37762         * sysdeps/i386/fpu/w_sqrt.c: New file.
37763         * math/auto-libm-test-in: Add more tests.
37764         * math/auto-libm-test-out: Update.
37766         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37767         (sqrt_test_tonearest): New function.
37768         (sqrt_towardzero_test_data): New variable.
37769         (sqrt_test_towardzero): New function.
37770         (sqrt_downward_test_data): New variable.
37771         (sqrt_test_downward): New function.
37772         (sqrt_upward_test_data): New variable.
37773         (sqrt_test_upward): New function.
37774         (main): Call the new functions.
37776         * math/gen-auto-libm-tests.c: New file.
37777         * math/auto-libm-test-in: Likewise.
37778         * math/auto-libm-test-out: New generated file.
37779         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37780         variables.
37781         (%beautify): Add generated representations of zero.
37782         (top level): Set $auto_input and call parse_auto_input.
37783         (beautify): Remove trailing "f" from hex float constants.
37784         (parse_args): Handle XFAIL_TEST.
37785         (convert_condition): New function.
37786         (or_value): Likewise.
37787         (or_cond_value): Likewise.
37788         (generate_testfile): Handle AUTO_TESTS_* lines.
37789         (parse_auto_input): New function.
37790         * math/libm-test.inc (XFAIL_TEST): New macro.
37791         (ERRNO_UNCHANGED): Update value.
37792         (ERRNO_EDOM): Likewise.
37793         (ERRNO_ERANGE): Likewise.
37794         (IGNORE_RESULT): Likewise.
37795         (TEST_COND_flt_32): New macro.
37796         (TEST_COND_dbl_64): Likewise.
37797         (TEST_COND_ldbl_96_intel): Likewise.
37798         (TEST_COND_ldbl_96_m68k): Likewise.
37799         (TEST_COND_ldbl_128): Likewise.
37800         (TEST_COND_ldbl_128ibm): Likewise.
37801         (TEST_COND_long32): Likewise.
37802         (TEST_COND_long64): Likewise.
37803         (TEST_COND_before_rounding): Likewise.
37804         (TEST_COND_after_rounding): Likewise.
37805         (enable_test): Handle XFAIL_TEST flag.
37806         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37807         with finite results.
37808         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37809         auto-libm-test-out.
37811 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37812             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37814         [BZ #16214]
37815         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37816         __tls_get_addr_internal instead of __tls_get_offset in order to
37817         avoid GOT pointer dependency.  Make rtld export
37818         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37819         __tls_get_addr since we are a __tls_get_offset platform.
37820         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37821         GOT pointer being set up before.
37822         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37824 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37826         * manual/math.texi (Errors in Math Functions): Document accuracy
37827         goals.
37829         [BZ #15004]
37830         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37831         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37832         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37833         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37834         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37835         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37836         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37839         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37840         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37841         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37843         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37844         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37845         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37847         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37848         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37849         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37850         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37851         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37852         Likewise.
37853         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37854         Likewise.
37855         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37856         Likewise.
37857         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37858         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37859         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37860         atomic-feupdateenv and flt-rounds.
37861         * sysdeps/powerpc/nofpu/Versions (libc): Add
37862         __atomic_feholdexcept, __atomic_feclearexcept,
37863         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37864         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37865         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37867         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37868         here.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37870         Update.
37872         * manual/arith.texi (FP Exceptions): Document that exceptions may
37873         not be raised when matherr is used.
37874         (Math Error Reporting): Document overflow in directed rounding
37875         modes.  Document that errno may not be set when finite values are
37876         returned on overflow.  Document intent to set errno on underflow
37877         only for underflow to zero.
37879         [BZ #16271]
37880         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37881         round-to-nearest then adjust result for other rounding modes.
37882         * include/fenv.h (fegetround): Use libm_hidden_proto.
37883         * math/fegetround.c (fegetround): Use libm_hidden_def.
37884         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37885         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37886         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37888         Likewise.
37889         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37890         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37891         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37892         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37894 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37896         [BZ #16077]
37897         * nss/Versions (libnss_files): Add
37898         _nss_files_gethostbyname3_r.
37899         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37900         New function.
37901         (HOST_DB_LOOKUP): Remove macro.
37902         (_nss_files_gethostbyname_r): Implement function without the
37903         HOST_DB_LOOKUP macro.
37904         (_nss_files_gethostbyname2_r): Likewise.
37906 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37908         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37910 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37912         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37913         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37914         warning.
37916 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37918         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37919         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37920         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37921         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37922         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37923         __fe_nomask_env_priv and attribute_hidden.
37924         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37925         (libc_feupdateenv_test_ppc): Likewise.
37926         (libc_feresetround_ppc): Likewise.
37927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37928         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37929         compat_symbol macro.
37930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37931         (__fe_nomask_env): Likewise.
37932         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37934 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37936         * string/Makefile: Remove ifunc tests.
37937         * string/test-string.h: Define TEST_IFUNC.
37938         * string/test-bcopy-ifunc.c: Remove.
37939         * string/test-bzero-ifunc.c: Likewise.
37940         * string/test-memccpy-ifunc.c: Likewise.
37941         * string/test-memchr-ifunc.c: Likewise.
37942         * string/test-memcmp-ifunc.c: Likewise.
37943         * string/test-memcpy-ifunc.c: Likewise.
37944         * string/test-memmem-ifunc.c: Likewise.
37945         * string/test-memmove-ifunc.c: Likewise.
37946         * string/test-mempcpy-ifunc.c: Likewise.
37947         * string/test-memrchr-ifunc.c: Likewise.
37948         * string/test-memset-ifunc.c: Likewise.
37949         * string/test-rawmemchr-ifunc.c: Likewise.
37950         * string/test-stpcpy-ifunc.c: Likewise.
37951         * string/test-stpncpy-ifunc.c: Likewise.
37952         * string/test-strcasecmp-ifunc.c: Likewise.
37953         * string/test-strcasestr-ifunc.c: Likewise.
37954         * string/test-strcat-ifunc.c: Likewise.
37955         * string/test-strchr-ifunc.c: Likewise.
37956         * string/test-strchrnul-ifunc.c: Likewise.
37957         * string/test-strcmp-ifunc.c: Likewise.
37958         * string/test-strcpy-ifunc.c: Likewise.
37959         * string/test-strcspn-ifunc.c: Likewise.
37960         * string/test-strlen-ifunc.c: Likewise.
37961         * string/test-strncasecmp-ifunc.c: Likewise.
37962         * string/test-strncat-ifunc.c: Likewise.
37963         * string/test-strncmp-ifunc.c: Likewise.
37964         * string/test-strncpy-ifunc.c: Likewise.
37965         * string/test-strnlen-ifunc.c: Likewise.
37966         * string/test-strpbrk-ifunc.c: Likewise.
37967         * string/test-strrchr-ifunc.c: Likewise.
37968         * string/test-strspn-ifunc.c: Likewise.
37969         * string/test-strstr-ifunc.c: Likewise.
37971 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37973         * benchtests/Makefile: Remove ifunc tests.
37974         * benchtests/bench-string.h: Define TEST_IFUNC.
37975         * benchtests/bench-bcopy-ifunc.c: Remove.
37976         * benchtests/bench-bzero-ifunc.c: Likewise.
37977         * benchtests/bench-memccpy-ifunc.c: Likewise.
37978         * benchtests/bench-memchr-ifunc.c: Likewise.
37979         * benchtests/bench-memcmp-ifunc.c: Likewise.
37980         * benchtests/bench-memcpy-ifunc.c: Likewise.
37981         * benchtests/bench-memmem-ifunc.c: Likewise.
37982         * benchtests/bench-memmove-ifunc.c: Likewise.
37983         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37984         * benchtests/bench-memrchr-ifunc.c: Likewise.
37985         * benchtests/bench-memset-ifunc.c: Likewise.
37986         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37987         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37988         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37989         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37990         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37991         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37992         * benchtests/bench-strcat-ifunc.c: Likewise.
37993         * benchtests/bench-strchr-ifunc.c: Likewise.
37994         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37995         * benchtests/bench-strcmp-ifunc.c: Likewise.
37996         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37997         * benchtests/bench-strcpy-ifunc.c: Likewise.
37998         * benchtests/bench-strcspn-ifunc.c: Likewise.
37999         * benchtests/bench-strlen-ifunc.c: Likewise.
38000         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38001         * benchtests/bench-strncat-ifunc.c: Likewise.
38002         * benchtests/bench-strncmp-ifunc.c: Likewise.
38003         * benchtests/bench-strncpy-ifunc.c: Likewise.
38004         * benchtests/bench-strnlen-ifunc.c: Likewise.
38005         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38006         * benchtests/bench-strrchr-ifunc.c: Likewise.
38007         * benchtests/bench-strsep-ifunc.c: Likewise.
38008         * benchtests/bench-strspn-ifunc.c: Likewise.
38009         * benchtests/bench-strstr-ifunc.c: Likewise.
38011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38013         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38015 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38017         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38018         * rt/aio.h: Likewise.
38019         * sysdeps/gnu/bits/utmp.h: Likewise.
38020         * sysdeps/gnu/bits/utmpx.h: Likewise.
38021         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38022         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38023         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38024         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38025         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38026         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38027         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38028         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38029         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38030         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38031         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38032         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38033         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38035         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38036         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38037         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38038         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38039         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38040         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38041         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38042         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38044         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38045         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38047         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38048         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38049         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38050         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38051         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38052         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38053         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38054         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38055         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38056         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38057         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38058         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38059         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38060         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38061         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38062         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38064 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38066         [BZ #16245]
38067         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38068         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38070 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38072         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38073         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38074         Likewise.
38076 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38079         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38080         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38081         (__fesetround): Remove define.
38082         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38083         rounding and exceptions handling.
38084         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38085         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38086         (__fe_nomask_env): Likewise.
38087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38088         __fegetround instead of fegetround.
38089         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38090         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38092 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38094         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38095         it's there.
38097         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38099 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38101         [BZ #11157]
38102         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38103         (encrypt_r): Likewise.
38104         * malloc/obstack.h (obstack_free): Likewise.
38105         * posix/unistd.h (encrypt): Likewise.
38107 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38109         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38110         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38111         DL_CALL_DT_FINI() that call the functions directly.
38112         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38113         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38114         * elf/dl-fini.c: Likewise.
38116 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38118         * malloc/hooks.c (memalign_check): Add alignment rounding.
38119         * malloc/malloc.c (_mid_memalign): New function.
38120         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38121         Implement by calling _mid_memalign.
38122         * manual/probes.texi (Memory Allocation Probes): Remove
38123         memory_valloc_retry and memory_pvalloc_retry.
38125 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38127         * locale/programs/locarchive.c (open_archive): Add const
38128         qualifier to ARCHIVEFNAME and copy default fname to
38129         DEFAULT_FNAME.
38131         [BZ #15601]
38132         * libio/tst-widetext.input: Rename Oriya to Odia.
38133         * locale/iso-639.def: Likewise.
38135         * manual/probes.texi (Mathematical Function Probes): Add
38136         documentation for sin, cos, asin and acos probes.
38137         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38138         (__sin32): Add slowasin probe.
38139         (__cos32): Add slowacos probe.
38140         (__mpsin): Add slowsin probe.
38141         (__mpcos): Add slowcos probe.
38143 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38145         [BZ #15483]
38146         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38147         thread-local __sim_exceptions_thread and global
38148         __sim_exceptions_global.
38149         (__sim_disabled_exceptions): Change to thread-local
38150         __sim_disabled_exceptions_thread and global
38151         __sim_disabled_exceptions_global.
38152         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38153         and global __sim_round_mode_global.
38154         (__simulate_exceptions): Use thread-local floating-point state and
38155         set global state from it as needed.
38156         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38157         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38158         __sim_round_mode_thread.
38159         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38160         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38161         and global __sim_exceptions_global.
38162         (__sim_disabled_exceptions): Change to thread-local
38163         __sim_disabled_exceptions_thread and global
38164         __sim_disabled_exceptions_global.
38165         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38166         and global __sim_round_mode_global.
38167         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38168         (SIM_SET_GLOBAL): Likewise.
38169         * sysdeps/powerpc/soft-fp/sfp-machine.h
38170         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38171         __sim_round_mode_thread.
38172         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38173         __sim_disabled_exceptions_thread.
38174         (__sim_exceptions): Change to __sim_exceptions_thread.
38175         (__sim_disabled_exceptions): Change to
38176         __sim_disabled_exceptions_thread.
38177         (__sim_round_mode): Change to __sim_round_mode_thread.
38178         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38179         thread-local floating-point state and set global state from it as
38180         needed.
38181         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38182         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38183         (__sim_disabled_exceptions): Remove extern declaration.
38184         (feenableexcept): Use thread-local floating-point state and set
38185         global state from it as needed.
38186         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38187         extern declaration.
38188         (__sim_disabled_exceptions): Likewise.
38189         (__sim_round_mode): Likewise.
38190         (__fegetenv): Use thread-local floating-point state.
38191         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38192         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38193         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38194         floating-point state and set global state from it as needed.
38195         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38196         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38197         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38198         Likewise.
38199         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38200         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38201         Likewise.
38202         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38203         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38204         Use __sim_round_mode_thread.
38205         * math/test-fenv-tls.c: New file.
38206         * math/Makefile (tests): Add test-fenv-tls.
38207         ($(objpfx)test-fenv-tls): Depend on
38208         $(common-objpfx)nptl/libpthread.so.
38210 2013-11-19  Andreas Schwab  <schwab@suse.de>
38212         * locale/programs/locale.c (show_info): Decode wordarray elements.
38213         * locale/categories.def (LC_MONETARY): Add element for
38214         _NL_MONETARY_CRNCYSTR.
38215         * locale/C-monetary.c (conversion_rate): New variable.
38216         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38217         element.
38219 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38221         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38222         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38224 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38226         * elf/Makefile (tst-auxv): New test.
38227         * elf/tst-auxv.c: New
38228         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38230 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38232         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38233         (hidden_proto): Caller changed.
38234         (hidden_tls_proto): New macro.
38235         (libc_hidden_tls_proto): Likewise.
38236         (rtld_hidden_tls_proto): Likewise.
38237         (libm_hidden_tls_proto): Likewise.
38238         (libresolv_hidden_tls_proto): Likewise.
38239         (librt_hidden_tls_proto): Likewise.
38240         (libdl_hidden_tls_proto): Likewise.
38241         (libnss_files_hidden_tls_proto): Likewise.
38242         (libnsl_hidden_tls_proto): Likewise.
38243         (libnss_nisplus_hidden_tls_proto): Likewise.
38244         (libutil_hidden_tls_proto): Likewise.
38246 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38248         [BZ #10253]
38249         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38250         (decompose_rpath): Defer expansion to fillin_rpath.
38251         (_dl_init_paths): Pass linkmap to fillin_rpath.
38253 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38255         * benchtests/Makefile: Add strsep.
38256         * benchtests/bench-strsep.c: New file: strsep benchtest.
38257         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38259 2013-11-18  Andreas Schwab  <schwab@suse.de>
38261         * locale/programs/locale.c (show_info) [case byte]: Check for
38262         '\377' instead of '\177'.
38263         * locale/C-monetary.c (not_available): Always use "\377".
38264         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38265         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38266         detect unavailable sign_posn locale elements.
38267         * locale/localeconv.c (__localeconv): For grouping and
38268         mon_grouping handle "\177" and "\377" like no grouping.
38269         (INT_ELEM): New macro.  Use it to set all numeric members.
38270         * locale/programs/ld-monetary.c (monetary_read)
38271         <tok_mon_grouping>: Normalize single -1 to the empty string.
38272         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38273         Likewise.
38275 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38277         [BZ #16055]
38278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38279         when we match (nil).
38280         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38282 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38284         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38285         (NO_TEST_INLINE): Update value.
38286         (ERRNO_UNCHANGED): Likewise.
38287         (ERRNO_EDOM): Likewise.
38288         (ERRNO_ERANGE): Likewise.
38289         (IGNORE_RESULT): Likewise.
38290         (check_float_internal): Check signs of NaN results if
38291         TEST_NAN_SIGN used.
38292         (check_complex): Pass TEST_NAN_SIGN flag through to second
38293         check_float_internal call.
38294         (copysign_test_data): Add tests with quiet NaNs as second
38295         argument.  Use TEST_NAN_SIGN.
38296         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38297         TEST_NAN_SIGN.
38298         (signbit_test_data): Add tests of quiet NaN argument.
38299         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38301         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38302         $ignore_result.
38303         (parse_args): Handle function results specified as IGNORE.
38304         * math/libm-test.inc (IGNORE_RESULT): New macro.
38305         (check_float_internal): Do not check numerical result if flag
38306         IGNORE_RESULT set.
38307         (check_complex): Pass through IGNORE_RESULT to second
38308         check_float_internal call.
38309         (check_int): Do not check numerical result if flag IGNORE_RESULT
38310         set.
38311         (check_long): Likewise.
38312         (check_bool): Likewise.
38313         (check_longlong): Likewise.
38314         (lrint_test_data): Add tests of infinite and NaN arguments.
38315         (lrint_tonearest_test_data): Likewise.
38316         (lrint_towardzero_test_data): Likewise.
38317         (lrint_downward_test_data): Likewise.
38318         (lrint_upward_test_data): Likewise.
38319         (llrint_test_data): Likewise.
38320         (llrint_tonearest_test_data): Likewise.
38321         (llrint_towardzero_test_data): Likewise.
38322         (llrint_downward_test_data): Likewise.
38323         (llrint_upward_test_data): Likewise.
38324         (lround_test_data): Likewise.
38325         (llround_test_data): Likewise.
38327         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38328         (ERRNO_UNCHANGED): Update value.
38329         (ERRNO_EDOM): Likewise.
38330         (ERRNO_ERANGE): Likewise.
38331         (NO_TEST_INLINE_FLOAT): New macro.
38332         (NO_TEST_INLINE_DOUBLE): Likewise.
38333         (enable_test): New function.
38334         (RUN_TEST_f_f): Check enable_test before running test.
38335         (RUN_TEST_2_f): Likewise.
38336         (RUN_TEST_fff_f): Likewise.
38337         (RUN_TEST_c_f): Likewise.
38338         (RUN_TEST_f_f1): Likewise.
38339         (RUN_TEST_fF_f1): Likewise.
38340         (RUN_TEST_fI_f1): Likewise.
38341         (RUN_TEST_ffI_f1): Likewise.
38342         (RUN_TEST_c_c): Likewise.
38343         (RUN_TEST_cc_c): Likewise.
38344         (RUN_TEST_f_i): Likewise.
38345         (RUN_TEST_f_i_tg): Likewise.
38346         (RUN_TEST_ff_i_tg): Likewise.
38347         (RUN_TEST_f_b): Likewise.
38348         (RUN_TEST_f_b_tg): Likewise.
38349         (RUN_TEST_f_l): Likewise.
38350         (RUN_TEST_f_L): Likewise.
38351         (RUN_TEST_fFF_11): Likewise.
38352         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38353         conditionals.
38354         (cosh_test_data): Likewise.
38355         (exp_test_data): Likewise.
38356         (expm1_test_data): Likewise.
38357         (hypot_test_data): Likewise.
38358         (pow_test_data): Likewise.
38359         (sinh_test_data): Likewise.
38360         (tanh_test_data): Likewise.
38361         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38362         flags argument.
38364         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38365         tests with quiet NaN input and output.
38366         (acosh_test_data): Likewise.
38367         (asin_test_data): Likewise.
38368         (asinh_test_data): Likewise.
38369         (atan_test_data): Likewise.
38370         (atanh_test_data): Likewise.
38371         (atan2_test_data): Likewise.
38372         (cbrt_test_data): Likewise.
38373         (cos_test_data): Likewise.
38374         (cosh_test_data): Likewise.
38375         (erf_test_data): Likewise.
38376         (erfc_test_data): Likewise.
38377         (exp_test_data): Likewise.
38378         (exp10_test_data): Likewise.
38379         (exp2_test_data): Likewise.
38380         (expm1_test_data): Likewise.
38381         (hypot_test_data): Likewise.
38382         (j0_test_data): Likewise.
38383         (j1_test_data): Likewise.
38384         (jn_test_data): Likewise.
38385         (lgamma_test_data): Likewise.
38386         (log_test_data): Likewise.
38387         (log10_test_data): Likewise.
38388         (log1p_test_data): Likewise.
38389         (log2_test_data): Likewise.
38390         (pow_test_data): Likewise.
38391         (scalb_test_data): Likewise.
38392         (sin_test_data): Likewise.
38393         (sincos_test_data): Likewise.
38394         (sinh_test_data): Likewise.
38395         (tan_test_data): Likewise.
38396         (tanh_test_data): Likewise.
38397         (tgamma_test_data): Likewise.
38398         (y0_test_data): Likewise.
38399         (y1_test_data): Likewise.
38400         (yn_test_data): Likewise.
38402         [BZ #16167]
38403         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38404         argument being NaN and avoid computations with second argument in
38405         that case.
38406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38407         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38408         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38410 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38412         * locale/iso-639.def: Add Chitwani Tharu (the).
38414 2013-11-14  Andreas Schwab  <schwab@suse.de>
38416         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38417         word instead of empty string.
38419 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38422         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38424         (__fe_nomask_env): Likewise.
38426 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38428         * benchtests/bench-timing.h: Include time.h.
38430 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38432         [BZ #15997]
38433         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38434         to 3.4.0 for x32.
38435         * sysdeps/unix/sysv/linux/configure: Regenerated.
38437 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38439         [BZ #16151]
38440         * stdlib/strtod_l.c (round_and_return): Do not consider
38441         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38442         exponent one less than half the least subnormal exponent.
38443         * stdlib/test-strtod-round-data: Add more tests.
38444         * stdlib/tst-strtod-round.c (tests): Regenerated.
38446 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38448         [BZ #14143]
38449         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38450         (__fe_mask_env): Likewise.
38451         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38452         libm_hidden_proto and add function prototype.
38453         (__fe_mask_env): Add function prototype.
38454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38455         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38457         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38459         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38461 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38463         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38464         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38466 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38468         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38469         of htab_find_slot().
38471 2013-11-11  David S. Miller  <davem@davemloft.net>
38473         [BZ #16150]
38474         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38475         symbol in the non-vis3 case in static builds.
38476         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38477         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38478         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38479         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38481 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38483         [BZ #387]
38484         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38485         it is empty.
38487 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38489         * benchtests/Makefile: Add bench-strtod.
38490         * benchtests/bench-strtod.c: New file: strtod benchtest
38492 2013-11-11  Andreas Schwab  <schwab@suse.de>
38494         [BZ #16153]
38495         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38496         terminating NUL in key length.
38498 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38501         Add artificial ODP entry for vDSO symbol for PPC64.
38502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38503         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38505 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38507         [BZ #15374]
38508         * nss/getent.c (services_keys): Recognize services starting with digit.
38510 2013-11-06  David S. Miller  <davem@davemloft.net>
38512         [BZ #15985]
38513         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38514         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38516 2013-11-06  Will Newton  <will.newton@linaro.org>
38518         * manual/memory.texi (Malloc Examples): Remove register
38519         keyword from examples.
38521 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38523         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38525 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38527         [BZ #6981]
38528         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38529         depending on [__GCC_IEC_559 > 0].
38530         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38531         depending on [__GCC_IEC_559_COMPLEX > 0].
38533 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38535         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38536         to iso-639.def.
38538 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38540         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38542 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38544         [BZ #16112]
38545         * malloc/malloc (malloc_info): Do not handle first bin as
38546         special case.
38548 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38550         * locale/iso-639.def: Add Central Nahuatl (nhn).
38552 2013-11-01  Bruno Haible  <bruno@clisp.org>
38554         [BZ #7003]
38555         * manual/math.texi (BSD Random): Specify range upper bound as
38556         in POSIX.
38558 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38560         * locale/iso-639.def: Add Meadow Mari (mhr).
38562 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38564         [BZ #14752], [BZ #15763]
38565         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38566         Validate name.
38567         * rt/tst_shm.c: Add test for escaping directory.
38569 2013-10-31  Andreas Schwab  <schwab@suse.de>
38571         [BZ #15917]
38572         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38573         followed by 'x' as part of digit sequence.
38574         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38576 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38578         [BZ #16037]
38579         * configure.ac: allow GNU Make 4.0 and greater.
38580         * configure: Regenerated.
38582 2013-10-30  Will Newton  <will.newton@linaro.org>
38584         [BZ #16038]
38585         * malloc/hooks.c (memalign_check): Limit alignment to the
38586         maximum representable power of two.
38587         * malloc/malloc.c (__libc_memalign): Likewise.
38588         * malloc/tst-memalign.c (do_test): Add test for very
38589         large alignment values.
38590         * malloc/tst-posix_memalign.c (do_test): Likewise.
38592 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38594         [BZ #11087]
38595         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38596         (munmap_chunk): Likewise.
38597         (mremap_chunk): Likewise.
38599 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38601         [BZ #15799]
38602         * stdlib/div.c (div): Remove obsolete code.
38603         * stdlib/ldiv.c (ldiv): Likewise.
38604         * stdlib/lldiv.c (lldiv): Likewise.
38606 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38608         [BZ #16071]
38609         * nss/nss_files/files-XXX.c (get_contents_ret): New
38610         enumerator.
38611         (get_contents): New function.
38612         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38614 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38616         * configure.in: Moved to ...
38617         * configure.ac: ... here. Change reference to configure.in
38618         to configure.ac.
38619         * sysdeps/arm/preconfigure.ac: ... here.
38620         configure.in to configure.ac.
38621         * sysdeps/gnu/configure.in: Moved to ...
38622         * sysdeps/gnu/configure.ac: ... here.
38623         * sysdeps/i386/configure.in: Moved to ...
38624         * sysdeps/i386/configure.ac: ... here.
38625         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38626         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38627         * sysdeps/mach/configure.in: Moved to ...
38628         * sysdeps/mach/configure.ac: ... here.
38629         * sysdeps/mach/hurd/configure.in: Moved to ...
38630         * sysdeps/mach/hurd/configure.ac: ... here.
38631         * sysdeps/powerpc/configure.in: Moved to ...
38632         * sysdeps/powerpc/configure.ac: ... here.
38633         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38634         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38635         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38636         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38637         * sysdeps/s390/s390-32/configure.in: Moved to ...
38638         * sysdeps/s390/s390-32/configure.ac: ... here.
38639         * sysdeps/s390/s390-64/configure.in: Moved to ...
38640         * sysdeps/s390/s390-64/configure.ac: ... here.
38641         * sysdeps/sh/configure.in: Moved to ...
38642         * sysdeps/sh/configure.ac: ... here.
38643         * sysdeps/sparc/configure.in: Moved to ...
38644         * sysdeps/sparc/configure.ac: ... here.
38645         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38646         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38647         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38648         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38649         * sysdeps/x86_64/configure.in: Moved to ...
38650         * sysdeps/x86_64/configure.ac: ... here.
38651         * sysdeps/x86_64/preconfigure.in: Moved to ...
38652         * sysdeps/x86_64/preconfigure.ac: ... here.
38653         * aclocal.m4: Change reference to configure.in to configure.ac.
38654         * config.h.in: Likewise.
38655         * manual/install.texi: Likewise.
38656         * manual/maint.texi: Likewise.
38657         * Makefile: Likewise.
38658         * malloc/Makefile: Likewise.
38659         * nscd/Makefile: Likewise.
38660         * Makeconfig: Change reference to configure.in and
38661         preconfigure.in to configure.ac and preconfigure.ac
38662         respectively.
38663         * INSTALL: Regenerated.
38664         * configure: Likewise.
38665         * sysdeps/gnu/configure: Likewise.
38666         * sysdeps/i386/configure: Likewise.
38667         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38668         * sysdeps/mach/configure: Likewise.
38669         * sysdeps/mach/hurd/configure: Likewise.
38670         * sysdeps/powerpc/configure: Likewise.
38671         * sysdeps/powerpc/powerpc32/configure: Likewise.
38672         * sysdeps/powerpc/powerpc64/configure: Likewise.
38673         * sysdeps/s390/s390-32/configure: Likewise.
38674         * sysdeps/s390/s390-64/configure: Likewise.
38675         * sysdeps/sh/configure: Likewise.
38676         * sysdeps/sparc/configure: Likewise.
38677         * sysdeps/unix/sysv/linux/configure: Likewise.
38678         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38679         * sysdeps/x86_64/configure: Likewise.
38680         * sysdeps/x86_64/preconfigure: Likewise.
38682 2013-10-29  Andreas Schwab  <schwab@suse.de>
38684         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38686 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38688         * benchtests/pow-inputs: Add new inputs.
38690         * benchtests/exp-inputs: Add new inputs.
38692         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38693         conditional check for return value.
38694         (__cos32): Likewise.
38696 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38698         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38699         to provide a boost for large inputs with word alignment.
38700         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38701         implementation based on optimized PPC64 strcpy.
38702         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38703         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38704         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38705         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38707 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38709         [BZ #2801]
38710         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38712 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38714         [BZ #14876]
38715         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38716         * time/tst-strptime.c (day_tests): Add testcase.
38718 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38720         [BZ #14029]
38721         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38723 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38725         [BZ #16074]
38726         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38727         MAP_FAILED on error.
38729 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38731         [BZ #16072]
38732         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38733         heap for large requests.
38735 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38737         [BZ #9954]
38738         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38739         result if the result has no associated interface.
38740         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38741         interface for all 127.X.Y.Z addresses.
38743 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38745         * locale/iso-639.def: Add Ligurian (lij)
38747 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38749         [BZ #15825]
38750         * sunrpc/rpc_main.c: Document rpcgen -5.
38752 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38754         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38756 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38758         [BZ #10278]
38759         * posix/glob.c: Match only directories when trailing slash is present.
38760         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38761         (main): Add testcase.
38763 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38765         [BZ #15670]
38766         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38768 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38770         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38771         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38772         AUTH_DES and cindex for FIPS 140-2.
38773         (DES Encryption): Add cindex FIPS 46-3.
38775         * locale/locarchive.h (struct locarhandle): Add fname.
38776         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38777         if an optional argument was specified to --list-archive,
38778         otherwise NULL.
38779         * locale/programs/locarchive.c (show_archive_content): Take new
38780         argument fname and pass it via ah.fname to open_archive.
38781         * locale/programs/localedef.h: Update decl.
38782         (open_archive): If AH->fname is non-null, open that file
38783         rather than the default file name, and don't ignore ENOENT.
38784         (create_archive): Set AH.fname to NULL.
38785         (delete_locales_from_archive): Likewise.
38786         (add_locales_to_archive): Likewise.
38787         * locale/programs/locfile.c (write_all_categories): Likewise.
38789 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38790             Aldy Hernandez  <aldyh@redhat.com>
38792         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38793         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38794         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38795         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38796         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38798         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38799         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38800         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38802         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38803         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38804         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38805         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38806         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38807         Likewise.
38808         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38809         Likewise.
38810         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38811         Likewise.
38812         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38813         Likewise.
38814         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38815         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38816         Likewise.
38817         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38818         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38819         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38820         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38821         Likewise.
38822         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38823         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38824         * sysdeps/powerpc/preconfigure: Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38826         Likewise.
38827         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38828         Replace contents of file by #include of <fenv_libc.h>.
38829         * sysdeps/powerpc/soft-fp/sfp-machine.h
38830         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38831         and <sys/prctl.h>.
38832         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38845         Allow copysignl PLT reference to be missing.
38847 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38848             Joseph Myers  <joseph@codesourcery.com
38850         [BZ #15948]
38851         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38852         single character.
38853         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38855 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38857         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38858         * elf/tst-tls1.c: Likewise.
38859         * elf/tst-tls10.h: Likewise.
38860         * elf/tst-tls14.c: Likewise.
38861         * elf/tst-tls2.c: Likewise.
38862         * elf/tst-tls3.c: Likewise.
38863         * elf/tst-tls4.c: Likewise.
38864         * elf/tst-tls5.c: Likewise.
38865         * elf/tst-tls6.c: Likewise.
38866         * elf/tst-tls7.c: Likewise.
38867         * elf/tst-tls8.c: Likewise.
38868         * elf/tst-tls9.c: Likewise.
38869         * elf/tst-tlsmod1.c: Likewise.
38870         * elf/tst-tlsmod13.c: Likewise.
38871         * elf/tst-tlsmod13a.c: Likewise.
38872         * elf/tst-tlsmod14a.c: Likewise.
38873         * elf/tst-tlsmod16a.c: Likewise.
38874         * elf/tst-tlsmod16b.c: Likewise.
38875         * elf/tst-tlsmod2.c: Likewise.
38876         * elf/tst-tlsmod3.c: Likewise.
38877         * elf/tst-tlsmod4.c: Likewise.
38878         * elf/tst-tlsmod5.c: Likewise.
38879         * elf/tst-tlsmod6.c: Likewise.
38881 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38883         [BZ #12486]
38884         * malloc/malloc.c: remove checks for statistics.
38886 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38888         [BZ #15277]
38889         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38890         * inet/tst-network.c: Add testcase.
38892 2013-10-17  Andreas Schwab  <schwab@suse.de>
38894         [BZ #15218]
38895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38896         to determine canonical name.
38898 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38900         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38901         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38923         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38924         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38925         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38926         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38927         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38928         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38930         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38932         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38933         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38937         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38938         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38939         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38940         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38941         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38942         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38943         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38944         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38945         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38946         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38947         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38948         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38949         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38950         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38951         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38952         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38953         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38955         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38957         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38959 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38961         [BZ #16041]
38962         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38963         make result into a quiet NaN.
38965 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38967         * soft-fp/adddf3.c: Fix horizontal whitespace.
38968         * soft-fp/addsf3.c: Likewise.
38969         * soft-fp/addtf3.c: Likewise.
38970         * soft-fp/divdf3.c: Likewise.
38971         * soft-fp/divsf3.c: Likewise.
38972         * soft-fp/divtf3.c: Likewise.
38973         * soft-fp/double.h: Likewise.
38974         * soft-fp/eqdf2.c: Likewise.
38975         * soft-fp/eqsf2.c: Likewise.
38976         * soft-fp/eqtf2.c: Likewise.
38977         * soft-fp/extenddftf2.c: Likewise.
38978         * soft-fp/extended.h: Likewise.
38979         * soft-fp/extendsfdf2.c: Likewise.
38980         * soft-fp/extendsftf2.c: Likewise.
38981         * soft-fp/extendxftf2.c: Likewise.
38982         * soft-fp/fixdfdi.c: Likewise.
38983         * soft-fp/fixdfsi.c: Likewise.
38984         * soft-fp/fixdfti.c: Likewise.
38985         * soft-fp/fixsfdi.c: Likewise.
38986         * soft-fp/fixsfsi.c: Likewise.
38987         * soft-fp/fixsfti.c: Likewise.
38988         * soft-fp/fixtfdi.c: Likewise.
38989         * soft-fp/fixtfsi.c: Likewise.
38990         * soft-fp/fixtfti.c: Likewise.
38991         * soft-fp/fixunsdfdi.c: Likewise.
38992         * soft-fp/fixunsdfsi.c: Likewise.
38993         * soft-fp/fixunsdfti.c: Likewise.
38994         * soft-fp/fixunssfdi.c: Likewise.
38995         * soft-fp/fixunssfsi.c: Likewise.
38996         * soft-fp/fixunssfti.c: Likewise.
38997         * soft-fp/fixunstfdi.c: Likewise.
38998         * soft-fp/fixunstfsi.c: Likewise.
38999         * soft-fp/fixunstfti.c: Likewise.
39000         * soft-fp/floatdidf.c: Likewise.
39001         * soft-fp/floatdisf.c: Likewise.
39002         * soft-fp/floatditf.c: Likewise.
39003         * soft-fp/floatsidf.c: Likewise.
39004         * soft-fp/floatsisf.c: Likewise.
39005         * soft-fp/floatsitf.c: Likewise.
39006         * soft-fp/floattidf.c: Likewise.
39007         * soft-fp/floattisf.c: Likewise.
39008         * soft-fp/floattitf.c: Likewise.
39009         * soft-fp/floatundidf.c: Likewise.
39010         * soft-fp/floatundisf.c: Likewise.
39011         * soft-fp/floatunditf.c: Likewise.
39012         * soft-fp/floatunsidf.c: Likewise.
39013         * soft-fp/floatunsisf.c: Likewise.
39014         * soft-fp/floatunsitf.c: Likewise.
39015         * soft-fp/floatuntidf.c: Likewise.
39016         * soft-fp/floatuntisf.c: Likewise.
39017         * soft-fp/floatuntitf.c: Likewise.
39018         * soft-fp/fmadf4.c: Likewise.
39019         * soft-fp/fmasf4.c: Likewise.
39020         * soft-fp/fmatf4.c: Likewise.
39021         * soft-fp/gedf2.c: Likewise.
39022         * soft-fp/gesf2.c: Likewise.
39023         * soft-fp/getf2.c: Likewise.
39024         * soft-fp/ledf2.c: Likewise.
39025         * soft-fp/lesf2.c: Likewise.
39026         * soft-fp/letf2.c: Likewise.
39027         * soft-fp/muldf3.c: Likewise.
39028         * soft-fp/mulsf3.c: Likewise.
39029         * soft-fp/multf3.c: Likewise.
39030         * soft-fp/negdf2.c: Likewise.
39031         * soft-fp/negsf2.c: Likewise.
39032         * soft-fp/negtf2.c: Likewise.
39033         * soft-fp/op-1.h: Likewise.
39034         * soft-fp/op-2.h: Likewise.
39035         * soft-fp/op-4.h: Likewise.
39036         * soft-fp/op-8.h: Likewise.
39037         * soft-fp/op-common.h: Likewise.
39038         * soft-fp/quad.h: Likewise.
39039         * soft-fp/single.h: Likewise.
39040         * soft-fp/soft-fp.h: Likewise.
39041         * soft-fp/sqrtdf2.c: Likewise.
39042         * soft-fp/sqrtsf2.c: Likewise.
39043         * soft-fp/sqrttf2.c: Likewise.
39044         * soft-fp/subdf3.c: Likewise.
39045         * soft-fp/subsf3.c: Likewise.
39046         * soft-fp/subtf3.c: Likewise.
39047         * soft-fp/truncdfsf2.c: Likewise.
39048         * soft-fp/trunctfdf2.c: Likewise.
39049         * soft-fp/trunctfsf2.c: Likewise.
39050         * soft-fp/trunctfxf2.c: Likewise.
39051         * soft-fp/unorddf2.c: Likewise.
39052         * soft-fp/unordsf2.c: Likewise.
39053         * soft-fp/unordtf2.c: Likewise.
39055 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39057         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39058         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39060 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39062         * elf/dl-libc.c: Clear initfini list after freeing.
39064 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39066         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39067         * soft-fp/addsf3.c: Likewise.
39068         * soft-fp/addtf3.c: Likewise.
39069         * soft-fp/divdf3.c: Likewise.
39070         * soft-fp/divsf3.c: Likewise.
39071         * soft-fp/divtf3.c: Likewise.
39072         * soft-fp/double.h: Likewise.
39073         * soft-fp/eqdf2.c: Likewise.
39074         * soft-fp/eqsf2.c: Likewise.
39075         * soft-fp/eqtf2.c: Likewise.
39076         * soft-fp/extenddftf2.c: Likewise.
39077         * soft-fp/extended.h: Likewise.
39078         * soft-fp/extendsfdf2.c: Likewise.
39079         * soft-fp/extendsftf2.c: Likewise.
39080         * soft-fp/extendxftf2.c: Likewise.
39081         * soft-fp/fixdfdi.c: Likewise.
39082         * soft-fp/fixdfsi.c: Likewise.
39083         * soft-fp/fixdfti.c: Likewise.
39084         * soft-fp/fixsfdi.c: Likewise.
39085         * soft-fp/fixsfsi.c: Likewise.
39086         * soft-fp/fixsfti.c: Likewise.
39087         * soft-fp/fixtfdi.c: Likewise.
39088         * soft-fp/fixtfsi.c: Likewise.
39089         * soft-fp/fixtfti.c: Likewise.
39090         * soft-fp/fixunsdfdi.c: Likewise.
39091         * soft-fp/fixunsdfsi.c: Likewise.
39092         * soft-fp/fixunsdfti.c: Likewise.
39093         * soft-fp/fixunssfdi.c: Likewise.
39094         * soft-fp/fixunssfsi.c: Likewise.
39095         * soft-fp/fixunssfti.c: Likewise.
39096         * soft-fp/fixunstfdi.c: Likewise.
39097         * soft-fp/fixunstfsi.c: Likewise.
39098         * soft-fp/fixunstfti.c: Likewise.
39099         * soft-fp/floatdidf.c: Likewise.
39100         * soft-fp/floatdisf.c: Likewise.
39101         * soft-fp/floatditf.c: Likewise.
39102         * soft-fp/floatsidf.c: Likewise.
39103         * soft-fp/floatsisf.c: Likewise.
39104         * soft-fp/floatsitf.c: Likewise.
39105         * soft-fp/floattidf.c: Likewise.
39106         * soft-fp/floattisf.c: Likewise.
39107         * soft-fp/floattitf.c: Likewise.
39108         * soft-fp/floatundidf.c: Likewise.
39109         * soft-fp/floatundisf.c: Likewise.
39110         * soft-fp/floatunsidf.c: Likewise.
39111         * soft-fp/floatunsisf.c: Likewise.
39112         * soft-fp/floatuntidf.c: Likewise.
39113         * soft-fp/floatuntisf.c: Likewise.
39114         * soft-fp/floatuntitf.c: Likewise.
39115         * soft-fp/fmadf4.c: Likewise.
39116         * soft-fp/fmasf4.c: Likewise.
39117         * soft-fp/fmatf4.c: Likewise.
39118         * soft-fp/gedf2.c: Likewise.
39119         * soft-fp/gesf2.c: Likewise.
39120         * soft-fp/getf2.c: Likewise.
39121         * soft-fp/ledf2.c: Likewise.
39122         * soft-fp/lesf2.c: Likewise.
39123         * soft-fp/letf2.c: Likewise.
39124         * soft-fp/muldf3.c: Likewise.
39125         * soft-fp/mulsf3.c: Likewise.
39126         * soft-fp/multf3.c: Likewise.
39127         * soft-fp/negdf2.c: Likewise.
39128         * soft-fp/negsf2.c: Likewise.
39129         * soft-fp/negtf2.c: Likewise.
39130         * soft-fp/op-1.h: Likewise.
39131         * soft-fp/op-2.h: Likewise.
39132         * soft-fp/op-4.h: Likewise.
39133         * soft-fp/op-8.h: Likewise.
39134         * soft-fp/op-common.h: Likewise.
39135         * soft-fp/quad.h: Likewise.
39136         * soft-fp/single.h: Likewise.
39137         * soft-fp/soft-fp.h: Likewise.
39138         * soft-fp/sqrtdf2.c: Likewise.
39139         * soft-fp/sqrtsf2.c: Likewise.
39140         * soft-fp/sqrttf2.c: Likewise.
39141         * soft-fp/subdf3.c: Likewise.
39142         * soft-fp/subsf3.c: Likewise.
39143         * soft-fp/subtf3.c: Likewise.
39144         * soft-fp/truncdfsf2.c: Likewise.
39145         * soft-fp/trunctfdf2.c: Likewise.
39146         * soft-fp/trunctfsf2.c: Likewise.
39147         * soft-fp/trunctfxf2.c: Likewise.
39148         * soft-fp/unorddf2.c: Likewise.
39149         * soft-fp/unordsf2.c: Likewise.
39150         * soft-fp/unordtf2.c: Likewise.
39152 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39154         [BZ #15672]
39155         * misc/error.c (error_tail): Fix possible buffer overflow.
39157 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39159         [BZ #13028]
39160         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39161         address.
39163 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39165         [BZ #832]
39166         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39167         testing pipefail option.
39169 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39171         * soft-fp/double.h: Indent preprocessor directives inside #if.
39172         * soft-fp/extended.h: Likewise.
39173         * soft-fp/op-2.h: Likewise.
39174         * soft-fp/op-4.h: Likewise.
39175         * soft-fp/op-common.h: Likewise.
39176         * soft-fp/quad.h: Likewise.
39177         * soft-fp/single.h: Likewise.
39178         * soft-fp/soft-fp.h: Likewise.
39180 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39182         * iconv/iconv_prog.c: Fix typos.
39183         * stdio-common/psiginfo-data.h: Likewise.
39185 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39187         [BZ #15764]
39188         * locale/setlocale.c: Fix typo.
39190 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39192         [BZ #16036]
39193         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39194         signaling NaN arguments.
39195         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39196         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39198         [BZ #14910]
39199         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39200         unordered operands.
39201         * soft-fp/gesf2.c (__gesf2): Likewise.
39202         * soft-fp/getf2.c (__getf2): Likewise.
39203         * soft-fp/ledf2.c (__ledf2): Likewise.
39204         * soft-fp/lesf2.c (__lesf2): Likewise.
39205         * soft-fp/letf2.c (__letf2): Likewise.
39207         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39208         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39209         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39210         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39211         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39212         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39213         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39214         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39215         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39216         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39217         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39218         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39219         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39220         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39221         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39222         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39223         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39224         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39225         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39226         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39227         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39228         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39229         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39230         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39231         * soft-fp/floattidf.c (__floattidf): Likewise.
39232         * soft-fp/floattisf.c (__floattisf): Likewise.
39233         * soft-fp/floattitf.c (__floattitf): Likewise.
39234         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39235         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39236         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39237         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39238         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39239         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39240         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39241         * soft-fp/gesf2.c (__gesf2): Likewise.
39242         * soft-fp/getf2.c (__getf2): Likewise.
39243         * soft-fp/ledf2.c (__ledf2): Likewise.
39244         * soft-fp/lesf2.c (__lesf2): Likewise.
39245         * soft-fp/letf2.c (__letf2): Likewise.
39247         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39248         Undefine and redefine.
39249         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39250         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39251         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39252         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39253         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39254         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39255         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39256         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39257         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39258         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39259         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39260         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39261         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39262         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39263         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39265         [BZ #16032]
39266         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39267         without decrementing exponent if mantissa >= that for the
39268         denominator, not >.
39269         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39270         denominator, not >.  Decrement exponent in < case instead of
39271         incrementing in >= case.
39272         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39273         without decrementing exponent if mantissa >= that for the
39274         denominator, not >.
39276         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39277         computing saturated result for unsigned overflow.
39279 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39280             Jeff Law  <law@redhat.com>
39282         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39283         (atan2Mp): Add systemtap probe marker.
39284         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39285         (__ieee754_log): Add systemtap probe marker.
39286         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39287         (atanMp): Add systemtap probe marker.
39288         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39289         (tanMp): Add systemtap probe marker.
39290         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39291         (__slowexp): Add systemtap probe marker.
39292         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39293         (__slowpow): Add systemtap probe marker.
39294         * manual/probes.texi: Document probes.
39296 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39298         [BZ #15362]
39299         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39300         written.
39301         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39302         written.
39303         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39304         written to buffer but not flushed.
39305         * libio/iofwrite_u.c:  Likewise.
39306         * libio/iopadn.c:  Return bytes returned even if EOF was
39307         encountered.
39308         * libio/iowpadn.c:  Likewise.
39309         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39310         if _IO_padn does not write the whole buffer.
39311         [!COMPILE_WPRINTF] (PAD): Likewise.
39313 2013-10-10  David S. Miller  <davem@davemloft.net>
39315         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39316         directory block.
39318 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39320         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39321         instead of FSF address.
39322         * soft-fp/fixdfti.c: Likewise.
39323         * soft-fp/fixsfti.c: Likewise.
39324         * soft-fp/fixtfti.c: Likewise.
39325         * soft-fp/fixunsdfti.c: Likewise.
39326         * soft-fp/fixunssfti.c: Likewise.
39327         * soft-fp/fixunstfti.c: Likewise.
39328         * soft-fp/floattidf.c: Likewise.
39329         * soft-fp/floattisf.c: Likewise.
39330         * soft-fp/floattitf.c: Likewise.
39331         * soft-fp/floatuntidf.c: Likewise.
39332         * soft-fp/floatuntisf.c: Likewise.
39333         * soft-fp/floatuntitf.c: Likewise.
39334         * soft-fp/trunctfxf2.c: Likewise.
39336         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39337         * soft-fp/fixdfti.c: Likewise.
39338         * soft-fp/fixsfti.c: Likewise.
39339         * soft-fp/fixtfti.c: Likewise.
39340         * soft-fp/fixunsdfti.c: Likewise.
39341         * soft-fp/fixunssfti.c: Likewise.
39342         * soft-fp/fixunstfti.c: Likewise.
39343         * soft-fp/floattidf.c: Likewise.
39344         * soft-fp/floattisf.c: Likewise.
39345         * soft-fp/floattitf.c: Likewise.
39346         * soft-fp/floatuntidf.c: Likewise.
39347         * soft-fp/floatuntisf.c: Likewise.
39348         * soft-fp/floatuntitf.c: Likewise.
39349         * soft-fp/trunctfxf2.c: Likewise.
39351 2013-10-10  David S. Miller  <davem@davemloft.net>
39353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39355 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39357         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39358         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39359         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39360         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39361         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39362         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39363         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39366         for NaNs before doing comparisons on argument.
39367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39368         Likewise.
39370 2013-10-10  Will Newton  <will.newton@linaro.org>
39372         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39373         passed to _int_memalign does not overflow.
39375 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39377         * scripts/bench.pl: Add include-sources directive.
39378         * benchtests/README: Update documentation.
39380 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39382         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39383         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39384         instead of FP_INIT_ROUNDMODE.
39385         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39386         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39388         [BZ #16034]
39389         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39390         copy class of input value.
39391         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39392         not handle exceptions.
39393         * soft-fp/negsf2.c (__negsf2): Likewise.
39394         * soft-fp/negtf2.c (__negtf2): Likewise.
39395         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39397 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39399         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39400         semicolon.  From Linux kernel.
39402 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39404         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39406 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39408         [BZ #156]
39409         * manual/socket.texi: Added statement about buffer
39410         for gethostbyname2_r.
39412 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39414         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39415         Use .p2align directive instead, throughout.
39416         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39417         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39418         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39419         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39421         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39422         * sysdeps/x86_64/strchr.S: Likewise.
39423         * sysdeps/x86_64/strrchr.S: Likewise.
39425 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39427         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39429         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39431         * sysdeps/generic/math_private.h (__mpsin1): Remove
39432         declaration.
39433         (__mpcos1): Likewise.
39434         (__mpsin): New argument __range_reduce.
39435         (__mpcos): Likewise.
39436         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39437         (slow): Use __mpsin and __mpcos.
39438         (slow1): Likewise.
39439         (slow2): Likewise.
39440         (sloww): Likewise.
39441         (sloww1): Likewise.
39442         (sloww2): Likewise.
39443         (bsloww): Likewise.
39444         (bsloww1): Likewise.
39445         (bsloww2): Likewise.
39446         (cslow2): Likewise.
39447         (csloww): Likewise.
39448         (csloww1): Likewise.
39449         (csloww2): Likewise.
39450         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39451         range_reduce.  Merge in __mpsin1.
39452         (__mpcos): Likewise.
39453         (__mpsin1): Remove.
39454         (__mpcos1): Likewise.
39456 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39458         * locale/loadlocale.c (_nl_intern_locale_data): Use
39459         LOCFILE_ALIGNED_P.
39460         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39461         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39462         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39463         obstack data is appropriately aligned.
39464         (obstack_int32_grow_fast): Likewise.
39465         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39466         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39467         (add_locale_uint32_array): Likewise.
39469 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39471         * benchtests/Makefile: Remove ARGLIST and RET variables.
39472         ($(objpfx)bench-%.c): Pass only function name to the script.
39473         * benchtests/README: Update documentation.
39474         * benchtests/acos-inputs: Add new directives.
39475         * benchtests/acosh-inputs: Likewise.
39476         * benchtests/asin-inputs: Likewise.
39477         * benchtests/asinh-inputs: Likewise.
39478         * benchtests/atan-inputs: Likewise.
39479         * benchtests/atanh-inputs: Likewise.
39480         * benchtests/cos-inputs: Likewise.
39481         * benchtests/cosh-inputs: Likewise.
39482         * benchtests/exp-inputs: Likewise.
39483         * benchtests/log-inputs: Likewise.
39484         * benchtests/pow-inputs: Likewise.
39485         * benchtests/rint-inputs: Likewise.
39486         * benchtests/sin-inputs: Likewise.
39487         * benchtests/sinh-inputs: Likewise.
39488         * benchtests/tan-inputs: Likewise.
39489         * benchtests/tanh-inputs: Likewise.
39490         * scripts/bench.pl: Add support for new directives.
39492 2013-10-07  Alan Modra  <amodra@gmail.com>
39494         * README: Fix careless merge.
39496 2013-10-05  Alan Modra  <amodra@gmail.com>
39498         * NEWS: Mention powerpc64le support and bugs fixed.
39499         * README: Both big-endian and little-endian powerpc64 supported.
39501 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39503         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39504         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39505         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39506         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39508 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39510         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39511         match prototype.
39513 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39515         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39516         Move -mhard-float appending from
39517         ports/sysdeps/powerpc/powerpc32/Makefile.
39518         [$(with-fp) = yes] (ASFLAGS): Likewise.
39519         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39520         * sysdeps/powerpc/nofpu: Move directory from
39521         ports/sysdeps/powerpc/nofpu.
39522         * sysdeps/powerpc/soft-fp: Move directory from
39523         ports/sysdeps/powerpc/soft-fp.
39524         * sysdeps/powerpc/powerpc32/405: Move directory from
39525         ports/sysdeps/powerpc/powerpc32/405.
39526         * sysdeps/powerpc/powerpc32/440: Move directory from
39527         ports/sysdeps/powerpc/powerpc32/440.
39528         * sysdeps/powerpc/powerpc32/464: Move directory from
39529         ports/sysdeps/powerpc/powerpc32/464.
39530         * sysdeps/powerpc/powerpc32/476: Move directory from
39531         ports/sysdeps/powerpc/powerpc32/476.
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39537         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39539         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39541         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39542         * README: Update for powerpc-*-linux-gnu software floating point
39543         support in libc.
39545         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39546         case to powerpc/powerpc32*.
39547         * sysdeps/unix/sysv/linux/configure: Regenerated.
39549         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39550         (_FPU_MASK_OM): Define as 0x04.
39551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39553         0x00c10080.
39554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39555         0x0000003c.
39556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39559         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39560         getcontext_e500.
39561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39562         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39563         setcontext_e500.
39564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39565         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39566         and setcontext_e500.
39568 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39570         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39572 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39574         * manual/threads.texi (Default Thread Attributes): Fix typo.
39576 2013-10-04  Will Newton  <will.newton@linaro.org>
39578         * malloc/Makefile: Add tst-memalign.
39579         * malloc/tst-memalign.c: New file.
39581         * malloc/tst-posix_memalign.c: Add comments.
39582         (do_test): Add comments and call free on all potentially
39583         allocated pointers. Add space after cast.
39585         * malloc/tst-pvalloc.c: Add comments.
39586         (do_test): Add comments and call free on all potentially
39587         allocated pointers. Remove duplicate check for NULL pointer.
39588         Add space after cast.
39590         * malloc/tst-valloc.c: Add comments.
39591         (do_test): Add comments and call free on all potentially
39592         allocated pointers. Remove duplicate check for NULL pointer.
39593         Add space after cast.
39595 2013-10-04  Alan Modra  <amodra@gmail.com>
39597         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39598         Use stdint types in rather than __attribute__((mode())).
39599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39601 2013-10-04  Alan Modra  <amodra@gmail.com>
39603         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39604         Correct handling of unaligned relocs for little-endian.
39605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39607 2013-10-04  Alan Modra  <amodra@gmail.com>
39609         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39610         * configure: Regenerate.
39611         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39612         * shlib-versions: Likewise.
39614 2013-10-04  Alan Modra  <amodra@gmail.com>
39616         * string/tester.c (test_memrchr): Increment reported test cycle.
39618 2013-10-04  Alan Modra  <amodra@gmail.com>
39620         * string/test-memcpy.c (do_one_test): When reporting errors, print
39621         string address and don't overrun end of string.
39623 2013-10-04  Alan Modra  <amodra@gmail.com>
39625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39626         insrdi.  Make better use of reg selection to speed exit slightly.
39627         Schedule entry path a little better.  Remove useless "are we done"
39628         checks on entry to main loop.  Handle wrapping around zero address.
39629         Correct main loop count.  Handle single left-over word from main
39630         loop inline rather than by using loop_small.  Remove extra word
39631         case in loop_small caused by wrong loop count.  Add little-endian
39632         support.
39633         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39634         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39635         cache hint.
39636         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39637         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39638         support.  Avoid rlwimi.
39639         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39641 2013-10-04  Alan Modra  <amodra@gmail.com>
39643         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39644         insrdi.  Formatting.
39645         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39646         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39647         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39648         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39649         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39650         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39652 2013-10-04  Alan Modra  <amodra@gmail.com>
39654         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39656         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39657         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39658         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39659         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39660         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39661         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39662         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39663         use of regs.  Use power7 mtocrf.  Tidy function tails.
39665 2013-10-04  Alan Modra  <amodra@gmail.com>
39667         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39668         Formatting.  Consistently use rXXX register defines or rN defines.
39669         Use early exit labels that avoid restoring unused non-volatile regs.
39670         Make cr field use more consistent with rWORDn compares.  Rename
39671         regs used as shift registers for unaligned loop, using rN defines
39672         for short lifetime/multiple use regs.
39673         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39674         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39675         addi 1,1,64 to pop stack frame.  Simplify return value code.
39676         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39678 2013-10-04  Alan Modra  <amodra@gmail.com>
39680         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39681         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39682         rather than rlwimi.
39683         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39684         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39685         little-endian support.  Correct typos.
39686         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39687         rather than rlwimi.
39688         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39689         in loop and entry code to keep "and." results.
39690         (strchr): Add little-endian support.  Comment.  Move cntlzd
39691         earlier in tail.
39692         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39694 2013-10-04  Alan Modra  <amodra@gmail.com>
39696         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39697         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39698         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39699         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39701 2013-10-04  Alan Modra  <amodra@gmail.com>
39703         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39704         (rTMP): Define as r11.
39705         (strcmp): Add little-endian support.  Optimise tail.
39706         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39707         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39708         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39709         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39710         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39711         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39714 2013-10-04  Alan Modra  <amodra@gmail.com>
39716         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39717         little-endian support.  Remove unnecessary "are we done" tests.
39718         Handle "s" wrapping around zero and extremely large "size".
39719         Correct main loop count.  Handle single left-over word from main
39720         loop inline rather than by using small_loop.  Correct comments.
39721         Delete "zero" tail, use "end_max" instead.
39722         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39724 2013-10-04  Alan Modra  <amodra@gmail.com>
39726         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39727         support.  Don't branch over align.
39728         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39729         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39730         support.  Rearrange tmp reg use to suit.  Comment.
39731         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39733 2013-10-04  Alan Modra  <amodra@gmail.com>
39735         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39737 2013-10-04  Alan Modra  <amodra@gmail.com>
39739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39740         conditional form of branch and link when obtaining pc.
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39743 2013-10-04  Alan Modra  <amodra@gmail.com>
39745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39746         HIWORD/LOWORD.
39747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39750 2013-10-04  Alan Modra  <amodra@gmail.com>
39752         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39753         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39754         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39755         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39756         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39757         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39758         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39759         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39761         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39763 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39764             Alistair Popple <alistair@ozlabs.au.ibm.com>
39765             Alan Modra <amodra@gmail.com>
39767         [BZ #15723]
39768         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39769         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39770         _dl_hwcap access for little-endian.
39771         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39772         destroy vmx regs when saving unaligned.
39773         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39774         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39775         destroy vmx regs when saving unaligned.
39777 2013-10-04  Alan Modra  <amodra@gmail.com>
39779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39780         Don't use a union to pack hi/low value.
39782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39784         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39785         for little-endian.
39786         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39788         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39789         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39790         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39792 2013-10-04  Alan Modra  <amodra@gmail.com>
39794         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39795         constants to usual value for .cst8 section, and remove redundant
39796         high address load.
39797         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39798         constant for 0x1p52.  Load little-endian words of double from
39799         correct stack offsets.
39801 2013-10-04  Alan Modra  <amodra@gmail.com>
39803         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39804         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39805         words of double from correct stack offsets.
39806         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39807         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39808         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39810         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39811         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39812         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39813         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39814         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39815         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39816         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39817         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39818         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39819         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39820         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39821         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39822         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39824 2013-10-04  Alan Modra  <amodra@gmail.com>
39826         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39827         64-bit int/double union.
39828         (_FPU_SETCW): Likewise.
39829         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39830         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39832 2013-10-04  Alan Modra  <amodra@gmail.com>
39834         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39835         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39837 2013-10-04  Alan Modra  <amodra@gmail.com>
39839         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39840         use vector int constants.
39841         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39845         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39846         array with long long.
39847         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39848         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39849         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39850         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39851         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39852         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39853         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39854         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39855         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39856         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39857         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39858         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39859         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39861 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39863         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39864         (__signbit): Likewise.  Correct for little-endian.
39865         (__signbitl): Call __signbit.
39866         (lrint): Correct for little-endian.
39867         (lrintf): Call lrint.
39869 2013-10-04  Alan Modra  <amodra@gmail.com>
39871         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39872         union 32-bit int array member with 64-bit int array.
39873         (t515, tm256): Double rather than long double.
39874         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39876 2013-10-04  Alan Modra  <amodra@gmail.com>
39878         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39879         Delete.
39880         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39881         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39882         version of math_ldbl.h.
39884 2013-10-04  Alan Modra  <amodra@gmail.com>
39886         [BZ #15734], [BZ #15735]
39887         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39888         all uses of ieee875 long double macros and unions.  Simplify test
39889         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39890         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39891         normalize after ldbl_extract_mantissa, and don't add hidden bit
39892         already handled.  Don't treat low word of ieee854 mantissa like
39893         low word of IBM long double and mask off bit when testing for
39894         zero.
39895         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39896         all uses of ieee875 long double macros and unions.  Simplify tests
39897         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39898         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39899         two1022, instead use their values.  Recognise that tests for large
39900         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39901         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39902         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39903         test for 0.0L and nan.  Correct negation.
39904         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39905         ieee875 long double macros and unions.  Correct output for large
39906         magnitude x.  Correct absolute value calculation.
39907         (__erfcl): Likewise.
39908         * math/libm-test.inc: Add tests for errors discovered in IBM long
39909         double versions of fmodl, remainderl, erfl and erfcl.
39911 2013-10-04  Alan Modra  <amodra@gmail.com>
39913         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39914         all uses of ieee854 long double macros and unions.  Simplify tests
39915         for long doubles that are fully specified by the high double.
39916         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39917         Likewise.
39918         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39919         Remove dead code too.
39920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39921         (__ieee754_ynl): Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39923         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39925         Remove dead code too.
39926         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39927         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39928         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39929         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39930         Simplify.
39931         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39932         Simplify.
39933         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39934         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39936         Comment on variable precision.
39937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39938         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39939         Likewise.
39940         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39941         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39942         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39943         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39944         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39946 2013-10-04  Alan Modra  <amodra@gmail.com>
39948         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39950         all uses of ieee854 long double macros and unions.
39951         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39955         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39956         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39957         Likewise.
39958         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39959         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39960         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39961         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39962         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39963         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39964         Simplify sign and nan test too.
39965         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39966         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39969         Likewise.
39970         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39971         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39972         Likewise.
39973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39974         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39975         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39976         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39977         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39980 2013-10-04  Alan Modra  <amodra@gmail.com>
39982         * stdio-common/printf_size.c (__printf_size): Don't use
39983         union ieee854_long_double in fpnum union.
39984         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39985         signbit macro to retrieve sign from long double.
39986         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39987         retrieve sign from long double.
39988         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39989         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39990         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39991         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39992         * math/test-misc.c (main): Don't use union ieee854_long_double.
39994 2013-10-04  Alan Modra  <amodra@gmail.com>
39996         [BZ #15680]
39997         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39998         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39999         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40000         calculation.  Remove unnecessary test for denormal exponent.
40001         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40002         Correct handling of denormals.  Avoid undefined shift behaviour.
40003         Correct normalisation of low mantissa when low double is denormal.
40004         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40005         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40006         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40007         Correct normalisation of low mantissa.  Test for overflow of high
40008         mantissa and normalise.
40009         (ldbl_nearbyint): Use more readable constant for two52.
40010         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40011         (__mpn_construct_long_double): Fix test for overflow of high
40012         mantissa and correct normalisation.  Avoid undefined shift.
40014 2013-10-04  Alan Modra  <amodra@gmail.com>
40016         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40017         (union ibm_extended_long_double): Define as an array of ieee754_double.
40018         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40019         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40020         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40021         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40025         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40026         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40028         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40030 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40032         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40033         page size instead of calling getpagesize.
40035         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40036         (LOCFILE_ALIGN_MASK): Likewise.
40037         (LOCFILE_ALIGN_UP): Likewise.
40038         (LOCFILE_ALIGNED_P): Likewise.
40039         * locale/programs/ld-collate.c (collate_output): Use the new
40040         macros instead of __alignof__ (int32_t).
40041         * locale/weight.h (findidx): Likewise.
40043 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40045         [BZ #431]
40046         * manual/string.texi: Fix strncat and wcsncat.
40048 2013-10-03  Brooks Moses  <bmoses@google.com>
40050         [BZ #15915]
40051         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40052         * Makerules: ...here, and adjust associated comments.
40054 2013-10-02  Will Newton  <will.newton@linaro.org>
40056         * malloc/Makefile: Add tst-pvalloc.
40057         * malloc/tst-pvalloc.c: New file.
40059 2013-10-02  Will Newton  <will.newton@linaro.org>
40061         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40062         improve test coverage.
40064 2013-10-02  Will Newton  <will.newton@linaro.org>
40066         * malloc/Makefile: Add tst-posix_memalign.
40067         * malloc/tst-posix_memalign.c: New file.
40069 2013-10-01  Eric Blake  <eblake@redhat.com>
40071         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40072         Use __THROWNL rather than __THROW on static functions.
40074 2013-09-30  Petr Machata  <pmachata@redhat.com>
40076         * elf/elf.h (R_AARCH64_ABS16): New macro.
40077         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40078         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40079         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40080         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40081         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40082         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40083         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40084         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40085         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40086         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40087         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40088         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40089         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40090         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40091         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40092         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40093         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40094         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40095         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40096         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40097         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40098         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40099         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40100         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40101         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40102         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40103         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40104         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40105         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40106         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40107         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40108         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40109         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40110         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40111         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40112         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40113         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40114         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40115         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40116         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40117         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40118         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40119         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40120         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40121         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40122         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40123         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40124         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40125         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40126         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40127         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40128         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40129         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40130         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40131         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40132         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40133         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40134         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40135         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40136         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40137         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40138         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40139         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40140         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40141         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40142         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40143         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40144         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40145         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40146         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40147         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40148         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40149         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40150         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40151         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40152         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40153         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40154         (R_AARCH64_TLSDESC_LDR): Likewise.
40155         (R_AARCH64_TLSDESC_ADD): Likewise.
40156         (R_AARCH64_TLSDESC_CALL): Likewise.
40158 2013-09-30  Andreas Schwab  <schwab@suse.de>
40160         [BZ #15048]
40161         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40162         the nss database lookup.
40163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40166 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40168         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40170 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40172         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40173         ${Bash-specific parameter/pattern/string} parameter expansion.
40174         * sysdeps/unix/make-syscalls.sh: Likewise.
40176 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40178         * sysdeps/sh/stackguard-macros.h: New file.
40180 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40184         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40185         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40186         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40187         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40189 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40191         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40192         Fix thread ID register.
40194 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40196         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40197         [POSIX || UNIX98]: Require rather than permitting all symbols from
40198         <time.h>.
40199         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40200         element of struct sched_param.
40201         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40202         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40203         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40204         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40205         constant.
40207 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40209         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40210         argument calculation.
40212 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40214         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40215         Expect macro.
40216         [POSIX] (pthread_attr_t): Do not require type.
40217         [POSIX] (pthread_cond_t): Likewise.
40218         [POSIX] (pthread_condattr_t): Likewise.
40219         [POSIX] (pthread_key_t): Likewise.
40220         [POSIX] (pthread_mutex_t): Likewise.
40221         [POSIX] (pthread_mutexattr_t): Likewise.
40222         [POSIX] (pthread_once_t): Likewise.
40223         [POSIX] (pthread_t): Likewise.
40224         [POSIX-based standards] (pthread_atfork): Expect function.
40226 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40227             Richard Sandiford  <richard@codesourcery.com>
40229         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40230         (swap_endianness_p): New extern variable.
40231         (set_big_endian): New inline function.
40232         (maybe_swap_uint32): Likewise.
40233         (maybe_swap_uint32_array): Likewise.
40234         (maybe_swap_uint32_obstack): Likewise.
40235         * locale/programs/locfile.c: Include <stdbool.h>.
40236         (swap_endianness_p): New variable.
40237         (add_locale_uint32): Call maybe_swap_uint32.
40238         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40239         (write_locale_data): Call maybe_swap_uint32_array.
40240         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40241         maybe_swap_uint32.
40242         (obstack_int32_grow_fast): Likewise.
40243         (output_weightwc): Call maybe_swap_uint32_obstack.
40244         (collate_output): Likewise.
40245         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40246         (OPT_LITTLE_ENDIAN): Likewise.
40247         (options): Add --little-endian and --big-endian options.
40248         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40249         * locale/programs/locarchive.c: Include "locfile.h".
40250         (GET): New macro.
40251         (SET): Likewise.
40252         (INC): Likewise.
40253         (create_archive): Use the new macros to access fields of
40254         structures directly mapped from or written to locale archives.
40255         (oldlocrecentcmp): Likewise.
40256         (enlarge_archive): Likewise.
40257         (insert_name): Likewise.
40258         (add_alias): Likewise.
40259         (add_locale): Likewise.
40260         (delete_locales_from_archive): Likewise.
40261         (show_archive_content): Likewise.
40262         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40263         locale data.
40265 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40267         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40268         http://www.gnu.org/doc/freemanuals.texi.
40269         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40271 2013-09-24  Will Newton  <will.newton@linaro.org>
40273         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40274         macro.
40276 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40278         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40279         unsigned char.
40281 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40283         * manual/threads.texi (POSIX Threads): Fix a typo.
40285 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40287         [BZ #14547]
40288         * string/tst-strcoll-overflow.c: New test case.
40289         * string/Makefile (xtests): Add tst-strcoll-overflow.
40290         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40291         cache if string sizes may cause integer overflow.
40293         [BZ #14547]
40294         * string/strcoll_l.c (coll_seq): New members rule, idx,
40295         save_idx and back_us.
40296         (get_next_seq_nocache): New function.
40297         (do_compare_nocache): New function.
40298         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40299         when malloc fails.
40301 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40303         [BZ #15754]
40304         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40305         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40306         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40308         [BZ #15754]
40309         * elf/Makefile (tests): Add tst-ptrguard1.
40310         (tests-static): Add tst-ptrguard1-static.
40311         (tst-ptrguard1-ARGS): Define.
40312         (tst-ptrguard1-static-ARGS): Define.
40313         * elf/tst-ptrguard1.c: New file.
40314         * elf/tst-ptrguard1-static.c: New file.
40315         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40316         * sysdeps/i386/stackguard-macros.h: Likewise.
40317         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40318         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40319         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40320         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40321         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40322         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40324 2013-09-23  Hector Marco  <hecmargi@upv.es>
40325             Ismael Ripoll  <iripoll@disca.upv.es>
40326             Carlos O'Donell  <carlos@redhat.com>
40328         [BZ #15754]
40329         * sysdeps/generic/stackguard-macros.h: Define
40330         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40331         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40332         Define __pointer_chk_guard_local.
40333         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40334         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40336 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40338         [BZ #15859]
40339         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40341 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40343         * include/string.h (__ffs): Declare as hidden.
40344         * string/ffs.c (__ffs): Define as hidden.
40345         * sysdeps/i386/ffs.c (__ffs): Likewise.
40346         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40347         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40348         * sysdeps/s390/ffs.c (__ffs): Likewise.
40349         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40351 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40353         * NEWS: Mention malloc probes.
40355         * malloc/arena.c (new_heap): New memory_heap_new probe.
40356         (grow_heap): New memory_heap_more probe.
40357         (shrink_heap): New memory_heap_less probe.
40358         (heap_trim): New memory_heap_free probe.
40359         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40360         (systrim): New memory_sbrk_less probe.
40361         * manual/probes.texi: Document them.
40363         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40364         * manual/probes.texi: Document it.
40366         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40367         (__libc_realloc): Add memory_realloc_retry probe.
40368         (__libc_memalign): Add memory_memalign_retry probe.
40369         (__libc_valloc): Add memory_valloc_retry probe.
40370         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40371         (__libc_calloc): Add memory_calloc_retry probe.
40372         * manual/probes.texi: Document them.
40374         * malloc/arena.c (get_free_list): Add probe
40375         memory_arena_reuse_free_list.
40376         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40377         and memory_arena_reuse.
40378         (arena_get2) [!PER_THREAD]: Likewise.
40379         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40380         memory_arena_reuse_realloc.
40381         * manual/probes.texi: Document them.
40383         * malloc/malloc.c (__libc_free): Add
40384         memory_mallopt_free_dyn_thresholds probe.
40385         (__libc_mallopt): Add multiple memory_mallopt probes.
40386         * manual/probes.texi: Document them.
40388         * malloc/malloc.c: Include stap-probe.h.
40389         (__libc_mallopt): Add memory_mallopt probe.
40390         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40391         * manual/probes.texi: New.
40392         * manual/Makefile (chapters): Add probes.
40393         * manual/threads.texi: Set next node.
40395 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40397         [BZ #15963, #13985]
40398         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40399         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40400         Add `Chinese' to `nan' entry name.
40402 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40404         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40405         (POLYNOMIAL): Likewise.
40406         (TAYLOR_SINCOS): Likewise.
40407         (TAYLOR_SLOW): Likewise.
40408         (__sin): Use TAYLOR_SINCOS.
40409         (__cos): Likewise.
40410         (slow): Use TAYLOR_SLOW.
40411         (sloww): Likewise.
40412         (bsloww): Likewise.
40413         (csloww): Likewise.
40415 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40417         * stdlib/strtod_l.c: Fix buffer overrun.
40419 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40421         * benchtests/Makefile (bench): Add sincos.
40422         * benchtests/bench-sincos.c: New file.
40424         * math/libm-test.inc (cos_test_data): New test inputs.
40425         (sin_test_data): Likewise.
40427         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40428         macro.
40429         (__sin): Use it.
40430         (__cos): Likewise.
40431         (slow1): Likewise.
40432         (slow2): Likewise.
40433         (sloww1): Likewise.
40434         (sloww2): Likewise.
40435         (bsloww1): Likewise.
40436         (bsloww2): Likewise.
40437         (cslow2): Likewise.
40438         (csloww1): Likewise.
40439         (csloww2): Likewise.
40441         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40442         function.
40443         (__sin): Use it.
40444         (__cos): Likewise.
40446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40447         gotos.
40448         (__cos): Likewise.
40450 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40452         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40453         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40454         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40455         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40456         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40457         * elf/cache.c (print_entry): Handle the new cache flags.
40459 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40460             Aldy Hernandez  <aldyh@redhat.com>
40462         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40463         Change condition to [_SOFT_FLOAT].
40464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40476         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40479         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40480         declaration.
40482 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40484         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40485         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40486         (__longjmp): Use LOAD_GP to load saved GPRs.
40487         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40488         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40489         (__sigsetjmp): Use SAVE_GP to save GPRs.
40491         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40492         Do not append -msoft-float.
40493         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40495 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40497         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40499 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40501         [BZ #15966]
40502         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40503         (_FPU_GETCW): Use initial "__" on variable and field names but not
40504         on macro parameter name.
40505         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40506         parentheses around reference to macro parameter.
40508 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40510         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40511         prototype.
40512         (ctype_startup): Use uint32_t in cast and sizeof for
40513         ctype->charnames.
40515 2013-09-11  Jia Liu  <proljc@gmail.com>
40517         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40518         __daddr_t_defined.
40519         [__FreeBSD__]: Likewise.
40521 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40524         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40525         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40526         (strchr): Remove __strchr_sse42 ifunc selection.
40527         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40528         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40530 2013-09-11  Will Newton  <will.newton@linaro.org>
40532         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40533         parameter to RES. Remove hardcoded 1000 value.
40534         * benchtests/bench-skeleton.c (main): Pass RES parameter
40535         to TIMING_INIT and multiply result by 1000.
40537 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40541 2013-09-11  Andreas Schwab  <schwab@suse.de>
40543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40544         if not defined.
40545         (O_TMPFILE) [__USE_GNU]: Define.
40546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40547         Define.
40549 2013-09-11  Will Newton  <will.newton@linaro.org>
40551         [BZ #15857]
40552         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40553         does not overflow.
40555 2013-09-11  Will Newton  <will.newton@linaro.org>
40557         [BZ #15856]
40558         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40559         does not overflow.
40561 2013-09-11  Will Newton  <will.newton@linaro.org>
40563         [BZ #15855]
40564         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40565         does not overflow.
40567 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40569         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40570         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40575 2013-09-10  Allan McRae  <allan@archlinux.org>
40577         [BZ #15748]
40578         * manual/arith.texi (Parsing of Floats): Clarify
40579         cross-reference.
40581         [BZ #15849]
40582         * manual/install.texi (Running make install): Mention
40583         --enable-pt-chown.
40584         * INSTALL: Regenerated.
40586 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40588         * csu/init-first.c (_init): Remove the !SHARED condition around
40589         FPU control word initialization.
40590         * elf/dl-support.c (_dl_fpu_control): New variable.
40591         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40592         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40593         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40594         * math/test-fpucw-static.c: New file.
40595         * math/test-fpucw-ieee.c: New file.
40596         * math/test-fpucw-ieee-static.c: New file.
40597         * math/Makefile (tests): Add `test-fpucw-ieee' and
40598         `$(tests-static)'.
40599         (tests-static): New variable.
40600         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40601         dependency to...
40602         [($(build-shared),yes)]
40603         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40604         ... this.
40605         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40606         New dependency.
40608 2013-09-09  Allan McRae  <allan@archlinux.org>
40610         [BZ #15939]
40611         * manual/string.texi (Collation Functions): Fix typo in
40612         strcoll example.
40613         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40615         [BZ #15893]
40616         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40618         [BZ #15892]
40619         * libio/memstream.c (open_memstream): Fix memory leak.
40620         * libio/wmemstream.c (open_wmemstream): Likewise.
40622         [BZ #15895]
40623         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40625 2013-09-09  Will Newton  <will.newton@linaro.org>
40627         * malloc/Makefile: Add tst-realloc to tests.
40628         * malloc/tst-realloc.c: New file.
40630 2013-09-09  Allan McRae  <allan@archlinux.org>
40632         [BZ #15844]
40633         * COPYING: Update from GNU website to fix FSF address.
40634         * COPYING.LIB: Likewise.
40636 2013-09-06  David S. Miller  <davem@davemloft.net>
40638         * po/zh_TW.po: Update Chinese (traditional) translation from
40639         translation project.
40641 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40642             Joseph Myers  <joseph@codesourcery.com>
40644         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40645         "localeinfo.h".
40646         (obstack_chunk_alloc): New macro.
40647         (obstack_chunk_free): Likewise.
40648         (record_offset): New function.
40649         (init_locale_data): Likewise.
40650         (align_locale_data): Likewise.
40651         (add_locale_empty): Likewise.
40652         (add_locale_raw_data): Likewise.
40653         (add_locale_raw_obstack): Likewise.
40654         (add_locale_string): Likewise.
40655         (add_locale_wstring): Likewise.
40656         (add_locale_uint32): Likewise.
40657         (add_locale_uint32_array): Likewise.
40658         (add_locale_char): Likewise.
40659         (start_locale_structure): Likewise.
40660         (end_locale_structure): Likewise.
40661         (start_locale_prelude): Likewise.
40662         (end_locale_prelude): Likewise.
40663         (write_locale_data): Take locale_file structure rather than an
40664         iovec.
40665         * locale/programs/locfile.h: Include "obstack.h".
40666         (struct locale_file): Change to store locale file contents instead
40667         of header.
40668         (init_locale_data): New prototype.
40669         (align_locale_data): Likewise.
40670         (add_locale_empty): Likewise.
40671         (add_locale_raw_data): Likewise.
40672         (add_locale_raw_obstack): Likewise.
40673         (add_locale_string): Likewise.
40674         (add_locale_wstring): Likewise.
40675         (add_locale_uint32): Likewise.
40676         (add_locale_uint32_array): Likewise.
40677         (add_locale_char): Likewise.
40678         (start_locale_structure): Likewise.
40679         (end_locale_structure): Likewise.
40680         (start_locale_prelude): Likewise.
40681         (end_locale_prelude): Likewise.
40682         (write_locale_data): Update prototype.
40683         * locale/programs/3level.h (struct TABLE): Remove result field.
40684         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40685         Use new locale_file interface.
40686         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40687         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40688         * locale/programs/ld-address.c (address_output): Use new
40689         locale_file interface.
40690         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40691         NO_ADD_LOCALE.
40692         (collate_finish): Don't call collseq_table_finalize.
40693         (collate_output): Use new locale_file interface.
40694         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40695         in file.
40696         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40697         (TABLE): Move defines earlier in file.
40698         (ELEMENT): Likewise.
40699         (DEFAULT): Likewise.
40700         (wctrans_table_add): Move macro and inline function earlier in
40701         file.
40702         (struct wctype_table): Move type earlier in file.
40703         (add_locale_wctype_table): New static prototype.
40704         (struct locale_ctype_t): Use logical types instead of struct iovec
40705         pointers for members.
40706         (ctype_output): Use new locale_file interface.
40707         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40708         new locale_file interface.
40709         (allocate_arrays): Update for use of new locale_file interface.
40710         * locale/programs/ld-identification.c (identification_output): Use
40711         new locale_file interface.
40712         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40713         * locale/programs/ld-messages.c (messages_output): Likewise.
40714         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40715         * locale/programs/ld-name.c (name_output): Likewise.
40716         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40717         * locale/programs/ld-paper.c (paper_output): Likewise.
40718         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40719         * locale/programs/ld-time.c (time_output): Likewise.
40721 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40723         * benchtests/Makefile: Add memrchr benchmark.
40724         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40725         benchmark as memrchr.
40726         * benchtests/bench-memrchr-ifunc.c: New file.
40727         * benchtests/bench-memrchr.c: New file.
40729 2013-09-06   Will Newton  <will.newton@linaro.org>
40731         * benchtests/Makefile (string-bench): Add memcpy.
40733 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40734             Cong Wang  <amwang@redhat.com>
40736         [BZ #15850]
40737         * sysdeps/unix/sysv/linux/bits/in.h
40738         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40739         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40740         before __USE_KERNEL_IPV6_DEFS uses.
40741         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40742         IPPROTO_BEETPH.
40743         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40744         sockaddr_in6, or ipv6_mreq.
40746 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40748         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40749         memory access for final bytes in some large inputs.
40750         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40752 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40754         * string/test-memrchr.c: New file.
40755         * string/test-memrchr-ifunc.c: New file.
40756         * string/Makefile: Add new memrchr testcase.
40758 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40760         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40761         fanotify_init returns EPERM.
40763 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40765         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40766         errors.
40767         (top level): Treat second token from macro or constant entries for
40768         allowed headers as allowed.
40769         * include/complex.h: Condition internal declarations on
40770         [!_ISOMAC].
40771         * include/fenv.h: Condition include of <stdbool.h> and internal
40772         declarations on [!_ISOMAC].
40774 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40776         [BZ #15923]
40777         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40779 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40781         * configure.in (--enable-versioning): Remove configure option.
40782         (libc_cv_asm_symver_directive): Remove configure test.
40783         (libc_cv_ld_version_script_option): Likewise.
40784         (VERSIONING): Remove variable and AC_SUBST.
40785         (DO_VERSIONING): Remove AC_DEFINE.
40786         * configure: Regenerated.
40787         * config.h.in (DO_VERSIONING): Remove macro.
40788         * Makerules [$(versioning) = yes]: Change conditionals to
40789         [$(build-shared) = yes].
40790         * config.make.in (versioning): Remove variable.
40791         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40792         [$(build-shared) = yes].
40793         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40794         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40795         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40796         [$(build-shared) = yes].
40797         * extra-lib.mk [$(versioning) = yes]: Likewise.
40798         * hurd/Makefile [$(versioning) = yes]: Likewise.
40799         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40800         [SHARED].
40801         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40802         [SHARED].
40803         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40804         [SHARED && !NO_HIDDEN].
40805         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40806         [SHARED].
40807         [SHARED && DO_VERSIONING]: Likewise..
40808         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40809         [$(build-shared) = yes].
40810         * manual/install.texi (--disable-versioning): Remove
40811         documentation.
40812         * INSTALL: Regenerated.
40813         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40814         to [SHARED].
40815         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40816         [$(build-shared) = yes].
40817         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40818         * sysdeps/i386/i686/multiarch/strstr-c.c
40819         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40820         [SHARED && !NO_HIDDEN].
40821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40822         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40823         * sysdeps/powerpc/powerpc32/dl-machine.c
40824         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40825         * sysdeps/powerpc/powerpc32/sysdep.h
40826         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40827         to [SHARED && PIC && !NO_HIDDEN].
40828         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40829         conditional to [SHARED].
40831 2013-09-04   Will Newton  <will.newton@linaro.org>
40833         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40834         * benchtests/bench-string.h: Include bench-timing.h instead
40835         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40836         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40837         call to HP_TIMING_DIFF_INIT.
40838         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40839         instead of hp-timing.h macros.
40840         * benchtests/bench-memchr.c: Likewise.
40841         * benchtests/bench-memcmp.c: Likewise.
40842         * benchtests/bench-memcpy.c: Likewise.
40843         * benchtests/bench-memmem.c: Likewise.
40844         * benchtests/bench-memmove.c: Likewise.
40845         * benchtests/bench-memset.c: Likewise.
40846         * benchtests/bench-rawmemchr.c: Likewise.
40847         * benchtests/bench-strcasecmp.c: Likewise.
40848         * benchtests/bench-strcasestr.c: Likewise.
40849         * benchtests/bench-strcat.c: Likewise.
40850         * benchtests/bench-strchr.c: Likewise.
40851         * benchtests/bench-strcmp.c: Likewise.
40852         * benchtests/bench-strcpy.c: Likewise.
40853         * benchtests/bench-strcpy_chk.c: Likewise.
40854         * benchtests/bench-strlen.c: Likewise.
40855         * benchtests/bench-strncasecmp.c: Likewise.
40856         * benchtests/bench-strncat.c: Likewise.
40857         * benchtests/bench-strncmp.c: Likewise.
40858         * benchtests/bench-strncpy.c: Likewise.
40859         * benchtests/bench-strnlen.c: Likewise.
40860         * benchtests/bench-strpbrk.c: Likewise.
40861         * benchtests/bench-strrchr.c: Likewise.
40862         * benchtests/bench-strspn.c: Likewise.
40863         * benchtests/bench-strstr.c: Likewise.
40865 2013-09-04  Will Newton  <will.newton@linaro.org>
40867         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40869 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40871         [BZ #15427]
40872         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40873         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40874         * math/libm-test.inc (lgamma_test_data): Add more tests.
40875         * sysdeps/i386/fpu/libm-test-ulps: Update.
40876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40878 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40880         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40882         Add ifunc.
40883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40884         Add strcmp-sse2-unaligned
40885         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40887 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40889         * Versions.def (libc): Add GLIBC_2.19.
40891 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40893         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40894         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40896 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40898         [BZ #14155]
40899         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40900         intermediate calculations in recurrence.
40901         (__ieee754_ynf): Likewise.
40902         * math/libm-test.inc (jn_test_data): Do not allow spurious
40903         underflow exception.  Add more tests.
40904         (yn_test_data): Add more tests.
40905         * sysdeps/i386/fpu/libm-test-ulps: Update.
40906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40908 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40910         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40912 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40914         * csu/init-first.c: Fix then/than typos.
40915         * locale/programs/ld-collate.c: Likewise.
40916         * locale/programs/linereader.h: Likewise.
40917         * manual/charset.texi: Likewise.
40918         * manual/filesys.texi: Likewise.
40919         * manual/stdio.texi: Likewise.
40920         * manual/string.texi: Likewise.
40921         * stdlib/fmtmsg.c: Likewise.
40922         * sysdeps/i386/stpncpy.S: Likewise.
40923         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40924         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40925         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40926         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40928 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40930         * elf/dl-open.c: Fix typos.
40931         * iconvdata/gbbig5.c: Likewise.
40932         * iconvdata/iso-2022-jp.c: Likewise.
40933         * iconv/gconv_int.h: Likewise.
40934         * iconv/loop.c: Likewise.
40935         * nis/rpcsvc/nis.h: Likewise.
40936         * resolv/ns_name.c: Likewise.
40937         * stdio-common/vfscanf.c: Likewise.
40938         * streams/stropts.h: Likewise.
40939         * sunrpc/rpc_thread.c: Likewise.
40940         * sysdeps/i386/strpbrk.S: Likewise.
40941         * sysdeps/ieee754/k_standard.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40944         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40945         * sysdeps/mach/hurd/profil.c: Likewise.
40946         * sysdeps/s390/dl-procinfo.h: Likewise.
40947         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40948         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40949         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40950         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40951         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40953 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40955         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40958 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40961         aix specific files.
40962         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40963         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40964         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40965         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40966         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40967         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40968         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40969         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40971 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40972             Roland McGrath  <roland@hack.frob.com>
40974         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40975         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40977 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40979         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40980         __executable_start symbol instead of _start.
40982 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40984         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40985         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40986         Move macros to...
40987         * sysdeps/gnu/ldsodefs.h: ... this new file.
40989         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40990         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40991         instead of ELFOSABI_LINUX.
40993         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40994         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40995         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40996         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40997         Likewise.
40998         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40999         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41000         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41001         Likewise.
41002         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41003         (ibm_extended_long_double): Add ieee_nan member.
41004         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41005         (do_test): New function.
41007         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41008         TEST_TRUNC.
41009         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41010         functions, renamed from truncdfsf_test, trunctfsf_test,
41011         trunctfdf_test.
41012         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41013         functions.
41014         (do_test): Run all these.
41016 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41018         * argp/argp-help.c: Fix typos.
41019         * argp/argp-parse.c: Likewise.
41020         * debug/backtracesyms.c: Likewise.
41021         * elf/elf.h: Likewise.
41022         * malloc/malloc.c: Likewise.
41023         * nis/nis_print.c: Likewise.
41024         * resolv/res_comp.c: Likewise.
41025         * stdlib/stdlib.h: Likewise.
41026         * sunrpc/clnt_tcp.c: Likewise.
41027         * sunrpc/clnt_udp.c: Likewise.
41028         * sunrpc/clnt_unix.c: Likewise.
41029         * sysdeps/unix/bsd/ptsname.c: Likewise.
41030         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41031         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41033         Likewise.
41034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41035         Likewise.
41036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41037         Likewise.
41038         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41040 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41042         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41045 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41047         [BZ #15897]
41048         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41049         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41050         ($(objpfx)bug-dl-leaf): New rule.
41051         ($(objpfx)bug-dl-leaf.so): Likewise.
41052         ($(objpfx)bug-dl-leaf.out): Likewise.
41053         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41054         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41055         * dlfcn/bug-dl-leaf.c: New test.
41056         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41057         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41058         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41059         (dlclose): Likewise.
41060         (dlmopen): Likewise.
41062 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41064         * include/netdb.h [!_ISOMAC]:
41065         Don't include <tls.h>.
41066         (h_errno, __libc_h_errno): Move declaration and macros out of
41067         [_LIBC_REENTRANT].
41069         * include/resolv.h [_RESOLV_H_]:
41070         Don't include <tls.h>.
41071         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41072         * resolv/res_libc.c: Don't include <tls.h>.
41073         (_res): Use __attribute__ ((nocommon)) in place of
41074         __attribute__ ((section (".bss"))).
41076         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41077         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41079         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41081         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41082         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41084         * resolv/res_mkquery.c: Include <sys/time.h>.
41086         * inet/ifreq.c: Moved to ...
41087         * sysdeps/unix/ifreq.c: ... here.
41088         * inet/ifreq.c: New file, true stub version.
41090         * socket/sa_len.c: New file.
41091         * socket/Makefile (aux): Add it.
41092         * sysdeps/unix/sysv/linux/Makefile
41093         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41094         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41095         and #include <socket/sa_len.c>.
41096         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41097         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41099         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41100         * bits/socket.h: ... here.
41102         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41103         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41104         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41106 2013-08-27  Andreas Schwab  <schwab@suse.de>
41108         [BZ #15736]
41109         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41110         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41111         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41112         * string/test-strcasecmp.c (test_main): Run tests in several
41113         locales.
41114         * string/test-strncasecmp.c (test_main): Likewise.
41116         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41117         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41118         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41119         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41120         (__strncasecmp_ssse3) [PIC]: Likewise.
41122 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41124         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41126         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41127         instead of explicitly declaring xdecrypt.
41128         * nis/nss_nis/nis-publickey.c: Likewise.
41130 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41132         [BZ #15890]
41133         * nscd/aicache.c: Include res_hconf.h.
41134         (addhstaiX): Initialize res_hconf.
41136 2013-08-26  Andreas Schwab  <schwab@suse.de>
41138         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41139         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41141 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41143         * nscd/aicache.c (addhstaiX): Fix indentation.
41145 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41147         * configure.ac: Quote $build_pt_chown test.
41148         * configure: Regenerated.
41150 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41152         [BZ #15532]
41153         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41154         * math/s_cexpf.c (__cexpf): Likewise.
41155         * math/s_cexpl.c (__cexpl): Likewise.
41156         * math/libm-test.inc (cexp_test_data): Correct expected return
41157         value for NaN + i0.  Add another test.
41159 2013-08-22  David S. Miller  <davem@davemloft.net>
41161         * po/ca.po: Update Catalan translation from translation project.
41162         * po/uk.po: Add Ukrainian translations from translation project.
41164 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41166         [BZ #15797]
41167         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41168         is infinite, not alongside NaN test.
41169         * math/s_fdimf.c (__fdimf): Likewise.
41170         * math/s_fdiml.c (__fdiml): Likewise.
41171         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41172         errno is unchanged.
41174 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41176         * argp/argp-help.c: Fix typos.
41177         * crypt/speeds.c: Likewise.
41178         * csu/check_fds.c: Likewise.
41179         * elf/dl-load.c: Likewise.
41180         * elf/dl-open.c: Likewise.
41181         * elf/reldep3.c: Likewise.
41182         * elf/reldep.c: Likewise.
41183         * elf/sprof.c: Likewise.
41184         * iconv/iconv_charmap.c: Likewise.
41185         * iconv/skeleton.c: Likewise.
41186         * iconv/strtab.c: Likewise.
41187         * io/lockf64.c: Likewise.
41188         * libio/libioP.h: Likewise.
41189         * resolv/gai_notify.c: Likewise.
41190         * resolv/ns_name.c: Likewise.
41191         * resolv/ns_samedomain.c: Likewise.
41192         * resolv/res_send.c: Likewise.
41193         * stdlib/random.c: Likewise.
41194         * sunrpc/rpc/xdr.h: Likewise.
41195         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41196         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41197         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41198         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41199         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41200         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41202         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41203         * sysdeps/mach/hurd/check_fds.c: Likewise.
41204         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41205         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41206         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41207         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41208         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41209         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41210         * sysdeps/pthread/aio_notify.c: Likewise.
41211         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41212         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41213         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41215         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41217 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41219         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41220         version if bit_Slow_SSE4_2 is set.
41221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41222         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41224 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41226         [BZ #15867]
41227         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41228         trampoline stack frame information.
41229         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41231         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41232         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41233         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41234         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41235         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41236         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41237         sa_flags value.
41238         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41239         interrupting a syscall and set with option SA_SIGINFO.
41241 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41243         [BZ #15531]
41244         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41245         argument is infinite.
41246         * math/s_cprojf.c (__cprojf): Likewise.
41247         * math/s_cprojl.c (__cprojl): Likewise.
41248         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41249         * math/libm-test.inc (cproj_test_data): Add more tests.
41251         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41253         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41254         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41255         size.  Use __ffs to determine corresponding shift.
41257 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41258             Roland McGrath  <roland@hack.frob.com>
41260         * Makefile (INSTALL): Remove trailing blank lines from output of
41261         makeinfo.
41263 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41265         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41266         Align 32 bit compat elf_greg to 8 bytes.
41268 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41270         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41272 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41274         * string/strcoll_l.c (coll_seq): New structure.
41275         (get_next_seq_cached): New function.
41276         (get_next_seq): New function.
41277         (do_compare): New function.
41278         (STRCOLL): Use GNU style definition.  Simplify implementation
41279         by using get_next_seq, get_next_seq_cached and do_compare.
41281 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41283         [BZ #14699]
41284         CVE-2013-4237
41285         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41286         member.
41287         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41288         member.
41289         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41290         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41291         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41292         conditional.
41293         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41294         GETDENTS_64BIT_ALIGNED.
41295         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41296         * manual/filesys.texi (Reading/Closing Directory): Document
41297         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41298         strongly.
41299         * manual/conf.texi (Limits for Files): Add portability note to
41300         NAME_MAX, PATH_MAX.
41301         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41303 2013-08-13  Andreas Schwab  <schwab@suse.de>
41305         [BZ #15749]
41306         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41307         of fabs.
41308         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41309         LDBL_MAX_EXP >= 16384]: Add tests for it.
41311 2013-08-12  David S. Miller  <davem@davemloft.net>
41313         * version.h (RELEASE): Set to "development".
41314         (VERSION): Set to "2.18.90".
41315         * NEWS: Add 2.19 section.
41317 2013-08-03  David S. Miller  <davem@davemloft.net>
41319         * po/ko.po: Update Korean translation from translation project.
41321 2013-08-01  David S. Miller  <davem@davemloft.net>
41323         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41324         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41325         Bilka.
41327 2013-07-30  David S. Miller  <davem@davemloft.net>
41329         * po/fr.po: Update French translation from translation project.
41331 2013-07-28  David S. Miller  <davem@davemloft.net>
41333         * po/cs.po: Update Czech translation from translation project.
41335         * po/sv.po: Update Swedish translation from translation project.
41337 2013-07-27  David S. Miller  <davem@davemloft.net>
41339         * po/eo.po: Update Esperanto translation from translation project.
41341         * po/vi.po: Update Vietnamese translation from translation project.
41343         * po/de.po: Update German translation from translation project.
41345 2013-07-26  David S. Miller  <davem@davemloft.net>
41347         * po/bg.po: Update Bulgarian translation from translation project.
41349         * po/nl.po: Update Dutch translation from translation project.
41350         * po/pl.po: Update Polish translation from translation project.
41351         * po/ru.po: Update Russian translation from translation project.
41353 2013-07-24  David S. Miller  <davem@davemloft.net>
41355         * po/libc.pot: Update.
41357 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41359         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41360         variable page size.
41361         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41362         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41363         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41365 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41367         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41369 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41370             Andreas Schwab  <schwab@suse.de>
41371             Roland McGrath  <roland@hack.frob.com>
41372             Joseph Myers  <joseph@codesourcery.com>
41373             Carlos O'Donell  <carlos@redhat.com>
41375         [BZ #15755]
41376         * config.h.in: Define HAVE_PT_CHOWN.
41377         * config.make.in (build-pt-chown): New variable.
41378         * configure.in (--enable-pt_chown): New configure option.
41379         * configure: Regenerate.
41380         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41381         build-pt-chown is enabled.
41382         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41383         pt_chown to fix pty ownership.
41384         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41385         CLOSE_ALL_FDS.
41386         * manual/install.texi (Configuring and compiling): Mention
41387         --enable-pt_chown. Add @findex for grantpt.
41388         * INSTALL: Regenerate.
41390 2013-07-20  David S. Miller  <davem@davemloft.net>
41392         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41393         difference between 32-bit and 64-bit.
41395 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41397         [BZ #15711]
41398         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41399         Avoid system header dependency with -ffreestanding.
41400         ($(objpfx)bits/syscall%d): Likewise.
41402 2013-07-13  David S. Miller  <davem@davemloft.net>
41404         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41405         underflows from atanl/atan2l due to bug 15319.
41406         (casinh_test_data): Likewise.
41408 2013-07-07  David S. Miller  <davem@davemloft.net>
41410         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41412 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41414         * sysdeps/i386/fpu/libm-test-ulps: Update.
41415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41417 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41419         * configure.in (--enable-lock-elision): Fix message text.
41420         * INSTALL: Regenerate.
41421         * configure: Regenerate.
41423 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41427 2013-07-03  Andreas Jaeger  <aj@suse.de>
41429         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41430         define.
41431         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41432         (ptrace_peeksiginfo_args): Add.
41433         (__ptrace_peeksiginfo_flags): Add.
41434         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41435         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41436         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41438 2013-07-03  Allan McRae  <allan@archlinux.org>
41440         * sysdeps/i386/fpu/libm-test-ulps: Update.
41442 2013-07-02  David S. Miller  <davem@davemloft.net>
41444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41446 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41450 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41452         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41455 2013-07-02  Andi Kleen <ak@linux.intel.com>
41457         * config.h.in (ENABLE_LOCK_ELISION): Add.
41458         * configure.in (--enable-lock-elision): Add option.
41459         * manual/install.texi: Document --enable lock elision.
41460         * configure: Regenerate
41461         * INSTALL: Regenerate.
41463 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41465         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41466         SSE4.2 strcasecmp for libc.a.
41467         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41469 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41471         [BZ #13304]
41472         * soft-fp/op-common.h (_FP_FMA): New macro.
41473         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41474         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41475         (_FP_MUL_MEAT_1_imm): ... here.
41476         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41477         (_FP_MUL_MEAT_1_wide): ... here.
41478         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41479         (_FP_MUL_MEAT_1_hard): ... here.
41480         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41481         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41482         (_FP_MUL_MEAT_2_wide): ... here.
41483         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41484         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41485         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41486         (_FP_MUL_MEAT_2_gmp): ... here.
41487         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41488         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41489         (_FP_MUL_MEAT_4_wide): ... here.
41490         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41491         (_FP_MUL_MEAT_4_gmp): ... here.
41492         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41493         (_FP_WFRACBITS_DW_S): Likewise.
41494         (_FP_WFRACXBITS_DW_S): Likewise.
41495         (_FP_HIGHBIT_DW_S): Likewise.
41496         (FP_FMA_S): Likewise.
41497         (_FP_FRAC_HIGH_DW_S): Likewise.
41498         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41499         (_FP_WFRACBITS_DW_D): Likewise.
41500         (_FP_WFRACXBITS_DW_D): Likewise.
41501         (_FP_HIGHBIT_DW_D): Likewise.
41502         (FP_FMA_D): Likewise.
41503         (_FP_FRAC_HIGH_DW_D): Likewise.
41504         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41505         (_FP_WFRACBITS_DW_E): Likewise.
41506         (_FP_WFRACXBITS_DW_E): Likewise.
41507         (_FP_HIGHBIT_DW_E): Likewise.
41508         (FP_FMA_E): Likewise.
41509         (_FP_FRAC_HIGH_DW_E): Likewise.
41510         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41511         (_FP_WFRACBITS_DW_Q): Likewise.
41512         (_FP_WFRACXBITS_DW_Q): Likewise.
41513         (_FP_HIGHBIT_DW_Q): Likewise.
41514         (FP_FMA_Q): Likewise.
41515         (_FP_FRAC_HIGH_DW_Q): Likewise.
41516         * soft-fp/fmasf4.c: New file.
41517         * soft-fp/fmadf4.c: Likewise.
41518         * soft-fp/fmatf4.c: Likewise.
41520 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41523         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41524         Silvermont.
41525         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41526         macro.
41527         (index_Slow_SSE4_2): Likewise.
41528         (index_Prefer_PMINUB_for_stringop): Likewise.
41529         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41530         bit_Slow_SSE4_2 is set.
41531         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41532         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41534 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41536         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41537         rtld_global._dl_hwcap2.
41538         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41539         POWER8.
41540         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41541         POWER8 feature descriptions defined in _dl_hwcap2.
41542         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41543         string handling for POWER8 feature bits.
41544         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41545         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41546         _dl_powerpc_cap_flags.
41547         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41548         * sysdeps/powerpc/rtld-global-offsets.sym
41549         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41550         _dl_hwcap2 in the rtld_global_ro structure.
41552 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41554         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41555         hardware capabilities in support of AT_HWCAP2.
41556         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41557         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41558         GLRO(dl_hwcap2).
41559         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41560         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41561         explicitly the unknown a_type display mechanism is used.
41562         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41563         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41564         struct member.
41565         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41566         to macro prototype for AT_HWCAP2 support.
41567         * sysdeps/i386/dl-procinfo.h: Likewise.
41568         * sysdeps/s390/dl-procinfo.h: Likewise.
41569         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41570         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41571         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41572         return -1 for unknown a_type display fallback.
41573         * sysdeps/sparc/dl-procinfo.h: Likewise.
41574         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41575         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41577 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41579         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41580         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41582 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41584         [BZ #12492]
41585         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41586         mprotect making __stack_prot writable.
41588 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41589             Joseph Myers  <joseph@codesourcery.com>
41591         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41592         as being properly aligned.
41594 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41596         * dlfcn/modstatic5.c: New file.
41597         * dlfcn/tststatic5.c: New file.
41598         * dlfcn/Makefile (tests): Add tststatic5.
41599         (tests-static): Likewise.
41600         (modules-names): Add modstatic5.
41601         (tststatic5-ENV): New variable.
41602         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41604         [BZ #15022]
41605         * elf/dl-support.c (_dl_main_map): New variable.
41606         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41607         (_dl_nns, _dl_load_adds): Set to 1.
41608         (_dl_initial_searchlist): Refer to _dl_main_map.
41609         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41610         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41611         call to _dl_get_origin.
41612         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41613         around call_map.
41614         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41615         * dlfcn/modstatic3.c: New file.
41616         * dlfcn/tststatic3.c: New file.
41617         * dlfcn/tststatic4.c: New file.
41618         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41619         (tests-static): Likewise.
41620         (modules-names): Add modstatic3.
41621         (tststatic3-ENV, tststatic4-ENV): New variables.
41622         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41623         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41625 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41627         * configure.in (CC): Require GCC version 4.4 or later.
41628         * configure: Regenerated.
41629         * manual/install.texi (Tools for Compilation): Update GCC version
41630         requirement.
41631         * INSTALL: Regenerated.
41633 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41635         [BZ #15674]
41636         * string/test-memcmp.c (check2): New.
41637         (main): Call check2.
41639         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41641 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41643         [BZ #15022]
41644         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41645         over to...
41646         (dl_open_worker) [!SHARED]: ... here.
41648 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41650         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41652 2013-06-25  Richard Henderson  <rth@redhat.com>
41654         * locale/programs/locarchive.c: Include <libc-internal.h>
41656 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41658         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41659         trailing whitespace removed.
41661 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41663         [BZ #10283]
41664         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41665         * locale/programs/locarchive.c: Include libc-mmap.h.
41666         (prepare_address_space): Take two new outputs (the mmap base and len).
41667         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41668         values.
41669         (create_archive): Declare new mmap base and len values for
41670         prepare_address_space, and store the result in ah.
41671         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41672         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41673         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41674         Declare new mmap base and len values for
41675         prepare_address_space, and store the result in new_ah.
41676         (open_archive): Declare new mmap base and len values for
41677         prepare_address_space, and store the result in ah.
41678         (close_archive): If ah->mmap_base is not NULL, use that and
41679         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41680         * sysdeps/generic/libc-mmap.h: New file.
41682 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41684         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41685         (ALIGN_UP): Likewise.
41686         (PTR_ALIGN_DOWN): Likewise.
41687         (PTR_ALIGN_UP): Likewise.
41689 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41691         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41692         entry mapped to PPC_PLATFORM_POWER8.
41693         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41694         POWER8.
41695         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41696         (_dl_string_platform): Add case for exporting platform position for
41697         POWER8.
41698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41699         search path to sysdeps/powerpc/powerpc32/power8 directory.
41700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41701         search path to sysdeps/powerpc/powerpc64/power8 directory.
41702         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41703         power7 directories.
41704         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41705         power7 directories.
41707 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41709         * INSTALL: Regenerate.
41711         * nscd/connections.c (nscd_init): Fix comment.
41713 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41715         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41717         [BZ #15667]
41718         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41719         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41721 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41723         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41724         DL_DST_REQ_STATIC.
41725         (DL_DST_REQ_STATIC): Remove macro.
41727 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41729         [BZ #7006]
41730         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41731         with a shift of 0 bits.
41733 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41735         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41736         $(tststatic-ENV).
41738 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41740         [BZ #15655]
41741         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41743 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41745         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41746         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41747         accepts -fno-tree-loop-distribute-patterns.
41748         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41749         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41750         recursive call.
41751         * string/memset.c (memset): Likewise.
41752         * string/test-memmove.c (simple_memmove): Disable loop transformation
41753         to library calls.
41754         * string/test-memset.c (simple_memset): Likewise.
41755         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41756         * benchtests/bench-memset.c (simple_memset): Likewise.
41757         * configure: Regenerated.
41759 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41761         * math/test-misc.c (main): Ignore fesetround failure when failures
41762         of subsequent rounding tests would be ignored.
41764         [BZ #15654]
41765         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41766         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41767         * math/fegetenv.c (__fegetenv): Return 0.
41768         * math/fegetexcept.c (fegetexcept): Return 0.
41769         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41770         FE_TONEAREST.
41771         * math/feholdexcpt.c (feholdexcept): Return 0.
41772         * math/fesetenv.c (__fesetenv): Return 0.
41773         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41774         argument FE_TONEAREST.
41775         * math/feupdateenv.c (__feupdateenv): Return 0.
41776         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41778 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41780         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41781         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41782         ($(objpfx)rtld-%.os rules): Use them.
41784 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41786         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41787         fields.
41789 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41791         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41792         length of target pattern, then descending length of dependency pattern.
41793         * configure.in (AWK): Require gawk 3.1.2 or newer.
41794         * manual/install.texi (Tools for Compilation): Say that we do.
41795         * configure: Regenerated.
41797         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41798         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41799         * scripts/sysd-rules.awk: ... this new script.
41800         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41801         than a glob-style pattern.
41803 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41805         * math/test-misc.c (main): Do not treat incorrectly rounded
41806         conversions as failure unless ROUNDING_TESTS passes.
41808 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41810         [BZ #15631]
41811         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41812         restore exception state around main square root computation, then
41813         check for inexactness explicitly.
41815         * math/libm-test.inc (fma_test_data): Add another test.
41817 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41819         * manual/threads.texi (Non-POSIX Extensions): New document
41820         node.  Document pthread_getattr_default_np and
41821         pthread_setattr_default_np.
41823         * Versions.def (libpthread): Add GLIBC_2.18.
41824         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41826         Likewise.
41827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41828         Likewise.
41829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41830         Likewise.
41831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41832         Likewise.
41833         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41834         Likewise.
41835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41836         Likewise.
41837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41838         Likewise.
41839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41840         Likewise.
41841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41842         Likewise.
41844 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41847         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41849 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41850             H.J. Lu  <hjl.tools@gmail.com>
41852         [BZ #15627]
41853         * sysdeps/x86_64/rtld-memset.c: Remove file.
41854         * sysdeps/x86_64/rtld-memset.S: New file.
41856 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41858         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41859         (test_in_one_mode): Take arguments for whether the rounding mode
41860         is supported for each floating-point type.
41861         (do_test): Pass new arguments to test_in_one_mode using
41862         ROUNDING_TESTS.
41864 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41866         * posix/tst-waitid.c (do_test): Distinguish different instances of
41867         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41868         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41869         before entering the kernel for waitpid.
41871 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41873         * NEWS: Fix note on clock function precision.  Text by Roland
41874         McGrath.
41876 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41878         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41879         it into place only when and if the sanity check passes.
41881 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41883         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41884         output for whether conversion result is exact.  Take argument
41885         indicating whether type is IBM long double.
41886         (round_for_all): Change need_exact field to ibm_ld.
41887         * stdlib/tst-strtod-round.c (struct exactness): New type.
41888         (struct test): Change bool ld_ok field to struct exactness exact.
41889         (TEST): Update all definitions for change to field.
41890         (tests): Regenerate array contents.
41891         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41892         field value.  Check for IBM long double here.
41893         (do_test): Update calls to test_in_one_mode.
41895 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41897         [BZ #12515]
41898         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41899         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41901 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41903         [BZ #15605]
41904         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41905         generated by the compiler on loop optimizations.
41906         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41907         general definitions.
41909 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41911         * math/bug-nextafter.c: Include <math-tests.h>.
41912         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41913         the relevant type.
41914         * math/bug-nexttoward.c: Include <math-tests.h>.
41915         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41916         the relevant type.
41917         * math/test-misc.c: Include <math-tests.h>.
41918         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41919         the relevant type.
41921 2013-06-12  Andreas Jaeger  <aj@suse.de>
41923         * po/ia.po: Update Interlingua translation from translation
41924         project.
41926 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41928         * include/fenv.h: Include stdbool.h.
41929         (struct rm_ctx): New structure.
41930         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41931         Define macro.
41932         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41933         (SET_RESTORE_ROUNDF): Likewise.
41934         (SET_RESTORE_ROUNDL): Likewise.
41935         (SET_RESTORE_ROUND_NOEX): Likewise.
41936         (SET_RESTORE_ROUND_NOEXF): Likewise.
41937         (SET_RESTORE_ROUND_NOEXL): Likewise.
41938         (SET_RESTORE_ROUND_53BIT): Likewise.
41939         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41940         (libc_feresetround_noexf_ctx): Likewise.
41941         (libc_feresetround_noexl_ctx): Likewise.
41942         (libc_feholdsetround_53bit_ctx): Likewise.
41943         (libc_feresetround_53bit_ctx): Likewise.
41944         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41945         (libc_feholdexcept_setround_sse_ctx): New function.
41946         (libc_fesetenv_sse_ctx): Likewise.
41947         (libc_feupdateenv_sse_ctx): Likewise.
41948         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41949         (libc_feholdexcept_setround_387_ctx): Likewise.
41950         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41951         (libc_feholdsetround_387_prec_ctx): Likewise.
41952         (libc_feholdsetround_387_ctx): Likewise.
41953         (libc_feholdsetround_387_53bit_ctx): Likewise.
41954         (libc_feholdsetround_sse_ctx): Likewise.
41955         (libc_feresetround_sse_ctx): Likewise.
41956         (libc_feresetround_387_ctx): Likewise.
41957         (libc_feupdateenv_387_ctx): Likewise.
41958         (libc_feholdexcept_setroundf_ctx): Define macro.
41959         (libc_fesetenvf_ctx): Likewise.
41960         (libc_feupdateenvf_ctx): Likewise.
41961         (libc_feholdsetroundf_ctx): Likewise.
41962         (libc_feresetroundf_ctx): Likewise.
41963         (libc_feholdexcept_setround_ctx): Likewise.
41964         (libc_fesetenv_ctx): Likewise.
41965         (libc_feupdateenv_ctx): Likewise.
41966         (libc_feholdsetround_ctx): Likewise.
41967         (libc_feresetround_ctx): Likewise.
41968         (libc_feholdexcept_setroundl_ctx): Likewise.
41969         (libc_feupdateenvl_ctx): Likewise.
41970         (libc_feholdsetroundl_ctx): Likewise.
41971         (libc_feresetroundl_ctx): Likewise.
41972         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41973         (libc_feresetround_53bit_ctx): Likewise.
41975 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41977         * locale/iso-639.def: Convert to UTF-8.
41979 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41981         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41982         (EXCEPTION_TESTS_double): Likewise.
41983         (EXCEPTION_TESTS_long_double): Likewise.
41984         (EXCEPTION_TESTS): Likewise.
41985         * math/libm-test.inc (test_exceptions): Only test exceptions if
41986         EXCEPTION_TESTS (FLOAT).
41988 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41990         * benchtests/Makefile (string-bench): Add strcpy_chk and
41991         stpcpy_chk.
41992         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41993         * benchtests/bench-stpcpy_chk.c: New file.
41994         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41995         * benchtests/bench-strcpy_chk.c: New file.
41996         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41997         code.
41998         (do_test): Likewise.
42000 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42002         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42003         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42004         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42005         with tabs where appropriate.
42006         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42007         dl-procinfo.h.
42008         [PPC_PLATFORM_PPC440]: Likewise.
42009         [PPC_PLATFORM_PPC464]: Likewise.
42010         [PPC_PLATFORM_PPC476]: Likewise.
42011         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42012         ppc464, and ppc476 platform strings merging from ports/
42013         dl-procinfo.h.
42015 2013-06-11  Andreas Schwab  <schwab@suse.de>
42017         [BZ #14991]
42018         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42019         (from_ucs4_idx): Regenerate.
42020         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42021         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42022         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42023         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42024         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42025         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42026         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42027         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42028         from FROM_LOOP and TO_LOOP specific macros.
42029         (BODY): Handle combining characters.
42030         * iconvdata/BIG5HKSCS.irreversible: Update.
42031         * iconvdata/BIG5HKSCS.precomposed: New file.
42032         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42033         characters.
42034         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42038         * include/sys/time.h: Fix indentation and add copyright header.
42040         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42041         (do_test): Likewise.
42042         * string/test-memchr.c (do_one_test): Likewise.
42043         (do_test): Likewise.
42044         * string/test-memcmp.c (do_one_test): Likewise.
42045         (do_test): Likewise.
42046         * string/test-memcpy.c (do_one_test): Likewise.
42047         (do_test): Likewise.
42048         * string/test-memmem.c (do_one_test): Likewise.
42049         (do_test): Likewise.
42050         (do_random_tests): Likewise.
42051         * string/test-memmove.c (do_one_test): Likewise.
42052         (do_test): Likewise.
42053         * string/test-memset.c (do_one_test): Likewise.
42054         (do_test): Likewise.
42055         * string/test-rawmemchr.c (do_one_test): Likewise.
42056         (do_test): Likewise.
42057         * string/test-strcasecmp.c (do_one_test): Likewise.
42058         (do_test): Likewise.
42059         * string/test-strcasestr.c (do_one_test): Likewise.
42060         (do_test): Likewise.
42061         * string/test-strcat.c (do_one_test): Likewise.
42062         (do_test): Likewise.
42063         * string/test-strchr.c (do_one_test): Likewise.
42064         (do_test): Likewise.
42065         * string/test-strcmp.c (do_one_test): Likewise.
42066         (do_test): Likewise.
42067         * string/test-strcpy.c (do_one_test): Likewise.
42068         (do_test): Likewise.
42069         * string/test-string.h: Likewise.
42070         (test_init): Likewise.
42071         * string/test-strlen.c (do_one_test): Likewise.
42072         (do_test): Likewise.
42073         * string/test-strncasecmp.c (do_one_test): Likewise.
42074         (do_test): Likewise.
42075         * string/test-strncat.c (do_one_test): Likewise.
42076         (do_test): Likewise.
42077         * string/test-strncmp.c (do_one_test): Likewise.
42078         (do_test_limit): Likewise.
42079         (do_test): Likewise.
42080         * string/test-strncpy.c (do_one_test): Likewise.
42081         (do_test): Likewise.
42082         * string/test-strnlen.c (do_one_test): Likewise.
42083         (do_test): Likewise.
42084         * string/test-strpbrk.c (do_one_test): Likewise.
42085         (do_test): Likewise.
42086         * string/test-strrchr.c (do_one_test): Likewise.
42087         (do_test): Likewise.
42088         * string/test-strspn.c (do_one_test): Likewise.
42089         (do_test): Likewise.
42090         * string/test-strstr.c (do_one_test): Likewise.
42091         (do_test): Likewise.
42093         * benchtests/Makefile (string-bench): Add string benchmarks.
42094         * benchtests/bench-bcopy-ifunc.c: New file.
42095         * benchtests/bench-bcopy.c: New file.
42096         * benchtests/bench-bzero-ifunc.c: New file.
42097         * benchtests/bench-bzero.c: New file.
42098         * benchtests/bench-memccpy-ifunc.c: New file.
42099         * benchtests/bench-memccpy.c: New file.
42100         * benchtests/bench-memchr-ifunc.c: New file.
42101         * benchtests/bench-memchr.c: New file.
42102         * benchtests/bench-memcmp-ifunc.c: New file.
42103         * benchtests/bench-memcmp.c: New file.
42104         * benchtests/bench-memmem-ifunc.c: New file.
42105         * benchtests/bench-memmem.c: New file.
42106         * benchtests/bench-memmove-ifunc.c: New file.
42107         * benchtests/bench-memmove.c: New file.
42108         * benchtests/bench-mempcpy-ifunc.c: New file.
42109         * benchtests/bench-mempcpy.c: New file.
42110         * benchtests/bench-memset-ifunc.c: New file.
42111         * benchtests/bench-memset.c: New file.
42112         * benchtests/bench-rawmemchr-ifunc.c: New file.
42113         * benchtests/bench-rawmemchr.c: New file.
42114         * benchtests/bench-stpcpy-ifunc.c: New file.
42115         * benchtests/bench-stpcpy.c: New file.
42116         * benchtests/bench-stpncpy-ifunc.c: New file.
42117         * benchtests/bench-stpncpy.c: New file.
42118         * benchtests/bench-strcasecmp-ifunc.c: New file.
42119         * benchtests/bench-strcasecmp.c: New file.
42120         * benchtests/bench-strcasestr-ifunc.c: New file.
42121         * benchtests/bench-strcasestr.c: New file.
42122         * benchtests/bench-strcat-ifunc.c: New file.
42123         * benchtests/bench-strcat.c: New file.
42124         * benchtests/bench-strchr-ifunc.c: New file.
42125         * benchtests/bench-strchr.c: New file.
42126         * benchtests/bench-strchrnul-ifunc.c: New file.
42127         * benchtests/bench-strchrnul.c: New file.
42128         * benchtests/bench-strcmp-ifunc.c: New file.
42129         * benchtests/bench-strcmp.c: New file.
42130         * benchtests/bench-strcpy-ifunc.c: New file.
42131         * benchtests/bench-strcpy.c: New file.
42132         * benchtests/bench-strcspn-ifunc.c: New file.
42133         * benchtests/bench-strcspn.c: New file.
42134         * benchtests/bench-strlen-ifunc.c: New file.
42135         * benchtests/bench-strlen.c: New file.
42136         * benchtests/bench-strncasecmp-ifunc.c: New file.
42137         * benchtests/bench-strncasecmp.c: New file.
42138         * benchtests/bench-strncat-ifunc.c: New file.
42139         * benchtests/bench-strncat.c: New file.
42140         * benchtests/bench-strncmp-ifunc.c: New file.
42141         * benchtests/bench-strncmp.c: New file.
42142         * benchtests/bench-strncpy-ifunc.c: New file.
42143         * benchtests/bench-strncpy.c: New file.
42144         * benchtests/bench-strnlen-ifunc.c: New file.
42145         * benchtests/bench-strnlen.c: New file.
42146         * benchtests/bench-strpbrk-ifunc.c: New file.
42147         * benchtests/bench-strpbrk.c: New file.
42148         * benchtests/bench-strrchr-ifunc.c: New file.
42149         * benchtests/bench-strrchr.c: New file.
42150         * benchtests/bench-strspn-ifunc.c: New file.
42151         * benchtests/bench-strspn.c: New file.
42152         * benchtests/bench-strstr-ifunc.c: New file.
42153         * benchtests/bench-strstr.c: New file.
42155         * benchtests/Makefile: Disable parallel execution of targets.
42156         (string-bench): Add memcpy.
42157         (benchset): New variable to store a list of benchmark sets.
42158         (bench-func): Renamed from bench.
42159         (bench-set): New target.
42160         (bench): Depend on bench-func and bench-set.
42161         * benchtests/README: Add section on benchmark sets.
42162         * benchtests/bench-memcpy-ifunc.c: New file.
42163         * benchtests/bench-memcpy.c: New file.
42164         * benchtests/bench-string.h: New file.
42166 2013-06-11  Andreas Schwab  <schwab@suse.de>
42168         [BZ #15577]
42169         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42170         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42171         values in the triple.
42172         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42173         terminator in the group key.
42175 2013-06-11  Andreas Jaeger  <aj@suse.de>
42177         * po/zh_TW.po: Update Chinese (traditional) translation from
42178         translation project.
42180 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42182         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42183         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42184         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42186         (clock_getcpuclockid): Likewise.
42187         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42188         Add weak_alias and libc_hidden_def.
42189         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42190         * rt/clock_gettime.c (clock_gettime): Rename to
42191         __clock_gettime.  Add weak_alias and libc_hidden_def.
42192         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42193         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42194         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42195         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42196         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42197         Likewise.
42198         * rt/clock_settime.c (clock_settime): Rename to
42199         __clock_settime.  Add weak_alias and libc_hidden_def.
42200         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42202 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42204         * mach/err_boot.sub: Remove trailing whitespace.
42205         * mach/err_ipc.sub: Likewise.
42206         * mach/err_mach.sub: Likewise.
42208         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42209         (ROUNDING_TESTS_double): Likewise.
42210         (ROUNDING_TESTS_long_double): Likewise.
42211         (ROUNDING_TESTS): Likewise.
42212         * math/libm-test.inc: Include <math-tests.h>.
42213         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42214         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42215         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42216         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42218 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42220         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42221         of assigning.
42223 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42225         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42226         otherwise empty TRANS lines.
42227         * sysdeps/gnu/errlist.c: Regenerated.
42229         * catgets/gencat.c (error_print): Use (void) in function
42230         definition.
42231         * crypt/crypt_util.c (__init_des): Likewise.
42232         * crypt/speeds.c (Stop): Likewise.
42233         (main): Likewise.
42234         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42235         * inet/ruserpass.c (token): Likewise.
42236         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42237         * intl/localealias.c (extend_alias_table): Likewise.
42238         * intl/plural-exp.c (init_germanic_plural): Likewise.
42239         * libio/fcloseall.c (__fcloseall): Likewise.
42240         * libio/genops.c (_IO_flush_all): Likewise.
42241         (_IO_flush_all_linebuffered): Likewise.
42242         (_IO_cleanup): Likewise.
42243         (_IO_iter_begin): Likewise.
42244         (_IO_iter_end): Likewise.
42245         (_IO_list_lock): Likewise.
42246         (_IO_list_unlock): Likewise.
42247         (_IO_list_resetlock): Likewise.
42248         * libio/getchar.c (getchar): Likewise.
42249         * libio/getchar_u.c (getchar_unlocked): Likewise.
42250         * libio/getwchar.c (getwchar): Likewise.
42251         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42252         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42253         * login/getpt.c (__getpt): Likewise.
42254         * login/tst-utmp.c (main): Likewise.
42255         * malloc/hooks.c (__malloc_check_init): Likewise.
42256         * malloc/malloc.c (__malloc_stats): Likewise.
42257         * malloc/mtrace.c (tr_break): Likewise.
42258         (mtrace): Likewise.
42259         (muntrace): Likewise.
42260         * misc/fstab.c (endfsent): Likewise.
42261         * misc/getclktck.c (__getclktck): Likewise.
42262         * misc/getdtsz.c (__getdtablesize): Likewise.
42263         * misc/gethostid.c (gethostid): Likewise.
42264         * misc/getpagesize.c (__getpagesize): Likewise.
42265         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42266         (__get_nprocs): Likewise.
42267         (__get_phys_pages): Likewise.
42268         (__get_avphys_pages): Likewise.
42269         * misc/getttyent.c (getttyent): Likewise.
42270         (setttyent): Likewise.
42271         (endttyent): Likewise.
42272         * misc/getusershell.c (getusershell): Likewise.
42273         (endusershell): Likewise.
42274         (setusershell): Likewise.
42275         (initshells): Likewise.
42276         * misc/hsearch.c (__hdestroy): Likewise.
42277         * misc/sync.c (sync): Likewise.
42278         * misc/syslog.c (closelog_internal): Likewise.
42279         (closelog): Likewise.
42280         * misc/ttyslot.c (ttyslot): Likewise.
42281         * misc/vhangup.c (vhangup): Likewise.
42282         * posix/fork.c (__fork): Likewise.
42283         * posix/getegid.c (__getegid): Likewise.
42284         * posix/geteuid.c (__geteuid): Likewise.
42285         * posix/getgid.c (__getgid): Likewise.
42286         * posix/getpid.c (__getpid): Likewise.
42287         * posix/getppid.c (__getppid): Likewise.
42288         * posix/getuid.c (__getuid): Likewise.
42289         * posix/pause.c (pause): Likewise.
42290         * posix/setpgrp.c (setpgrp): Likewise.
42291         * posix/setsid.c (__setsid): Likewise.
42292         * posix/test-vfork.c (noop): Likewise.
42293         * resolv/gethnamaddr.c (_endhtent): Likewise.
42294         (_gethtent): Likewise.
42295         (ht_endhostent): Likewise.
42296         (gethostent): Likewise.
42297         (dns_service): Likewise.
42298         * stdlib/drand48.c (drand48): Likewise.
42299         * stdlib/lrand48.c (lrand48): Likewise.
42300         * stdlib/mrand48.c (mrand48): Likewise.
42301         * stdlib/rand.c (rand): Likewise.
42302         * stdlib/random.c (__random): Likewise.
42303         * stdlib/setenv.c (clearenv): Likewise.
42304         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42305         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42306         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42307         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42308         (__get_nprocs): Likewise.
42309         (__get_phys_pages): Likewise.
42310         (__get_avphys_pages): Likewise.
42311         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42312         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42313         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42314         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42315         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42316         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42317         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42318         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42319         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42320         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42321         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42322         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42323         * sysdeps/posix/clock.c (clock): Likewise.
42324         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42325         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42326         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42327         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42328         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42329         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42330         (__get_nprocs_conf): Likewise.
42331         (__get_phys_pages): Likewise.
42332         (__get_avphys_pages): Likewise.
42333         * time/clock.c (clock): Likewise.
42334         * time/tzset.c (__tzname_max): Likewise.
42336 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42338         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42339         (__bswap_32): Do not use "register".
42340         * crypt/crypt.c (_ufc_doit_r): Likewise.
42341         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42342         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42343         * gmon/gmon.c (__monstartup): Likewise.
42344         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42345         * hurd/hurdmalloc.c (more_memory): Likewise.
42346         (malloc): Likewise.
42347         (free): Likewise.
42348         (realloc): Likewise.
42349         (malloc_fork_prepare): Likewise.
42350         (malloc_fork_parent): Likewise.
42351         (malloc_fork_child): Likewise.
42352         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42353         (_svcauth_des): Likewise.
42354         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42355         * inet/inet_net.c (inet_network): Likewise.
42356         * inet/inet_netof.c (inet_netof): Likewise.
42357         * inet/rcmd.c (__validuser2_sa): Likewise.
42358         * io/fts.c (fts_open): Likewise.
42359         (fts_load): Likewise.
42360         (fts_close): Likewise.
42361         (fts_read): Likewise.
42362         (fts_children): Likewise.
42363         (fts_build): Likewise.
42364         (fts_stat): Likewise.
42365         (fts_sort): Likewise.
42366         (fts_alloc): Likewise.
42367         (fts_lfree): Likewise.
42368         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42369         (_IO_file_xsgetn): Likewise.
42370         (_IO_file_xsgetn_mmap): Likewise.
42371         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42372         (_IO_cookie_write): Likewise.
42373         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42374         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42375         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42376         * malloc/obstack.c (_obstack_begin): Likewise.
42377         (_obstack_begin_1): Likewise.
42378         (_obstack_newchunk): Likewise.
42379         (_obstack_allocated_p): Likewise.
42380         (obstack_free): Likewise.
42381         (_obstack_memory_used): Likewise.
42382         * misc/getttyent.c (getttynam): Likewise.
42383         (getttyent): Likewise.
42384         (skip): Likewise.
42385         (value): Likewise.
42386         * misc/getusershell.c (initshells): Likewise.
42387         * misc/syslog.c (__vsyslog_chk): Likewise.
42388         * misc/ttyslot.c (ttyslot): Likewise.
42389         * nis/nis_hash.c (__nis_hash): Likewise.
42390         * posix/fnmatch_loop.c (FCT): Likewise.
42391         * posix/getconf.c (print_all): Likewise.
42392         (main): Likewise.
42393         * posix/getopt.c (exchange): Likewise.
42394         * posix/glob.c (globfree): Likewise.
42395         (prefix_array): Likewise.
42396         (__glob_pattern_type): Likewise.
42397         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42398         (NS_GET32): Likewise.
42399         (NS_PUT16): Likewise.
42400         (NS_PUT32): Likewise.
42401         * resolv/gethnamaddr.c (getanswer): Likewise.
42402         (gethostbyname2): Likewise.
42403         (gethostbyaddr): Likewise.
42404         (_gethtent): Likewise.
42405         (_gethtbyname2): Likewise.
42406         (_gethtbyaddr): Likewise.
42407         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42408         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42409         * resolv/res_init.c (__res_vinit): Likewise.
42410         (net_mask): Likewise.
42411         * resolv/res_mkquery.c (outchar): Likewise.
42412         (PRINT): Likewise.
42413         * stdio-common/printf_fp.c (outchar): Likewise.
42414         (PRINT): Likewise.
42415         * stdio-common/printf_fphex.c (outchar): Likewise.
42416         (PRINT): Likewise.
42417         * stdio-common/printf_size.c (outchar): Likewise.
42418         (PRINT): Likewise.
42419         * stdio-common/test_rdwr.c (main): Likewise.
42420         * stdio-common/tfformat.c (matches): Likewise.
42421         * stdio-common/vfprintf.c (outchar): Likewise.
42422         (printf_unknown): Likewise.
42423         (buffered_vfprintf): Likewise.
42424         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42425         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42426         (ReadFile): Likewise.
42427         * stdlib/qsort.c (SWAP): Likewise.
42428         (_quicksort): Likewise.
42429         * stdlib/setenv.c (__add_to_environ): Likewise.
42430         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42431         * stdlib/strtol_l.c (__strtol_l): Likewise.
42432         * stdlib/tst-strtod.c (main): Likewise.
42433         * stdlib/tst-strtol.c (main): Likewise.
42434         * stdlib/tst-strtoll.c (main): Likewise.
42435         * string/bits/string2.h (__strcmp_cc): Likewise.
42436         (__strcmp_cg): Likewise.
42437         (__strcspn_c1): Likewise.
42438         (__strcspn_c2): Likewise.
42439         (__strcspn_c3): Likewise.
42440         (__strspn_c1): Likewise.
42441         (__strspn_c2): Likewise.
42442         (__strspn_c3): Likewise.
42443         (__strsep_1c): Likewise.
42444         (__strsep_2c): Likewise.
42445         (__strsep_3c): Likewise.
42446         * string/memccpy.c (__memccpy): Likewise.
42447         * string/stpcpy.c (__stpcpy): Likewise.
42448         * string/strcmp.c (strcmp): Likewise.
42449         * string/strrchr.c (strrchr): Likewise.
42450         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42451         Likewise.
42452         * sysdeps/mach/hurd/getcwd.c
42453         (_hurd_canonicalize_directory_name_internal): Likewise.
42454         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42455         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42456         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42457         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42458         Likewise, in both definitions.
42459         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42460         definitions.
42461         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42462         64] (__bswap_64): Likewise.
42463         * time/test_time.c (main): Likewise.
42464         * time/tzfile.c (__tzfile_read): Likewise.
42465         (__tzfile_compute): Likewise.
42466         * time/tzset.c (__tzset_parse_tz): Likewise.
42467         (tzset_internal): Likewise.
42468         (compute_change): Likewise.
42469         * wcsmbs/wcscat.c (__wcscat): Likewise.
42470         * wcsmbs/wcschr.c (wcschr): Likewise.
42471         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42472         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42473         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42474         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42475         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42476         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42477         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42478         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42479         * wcsmbs/wmemset.c (wmemset): Likewise.
42481 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42483         * scripts/config.guess: Update to version 2013-05-16.
42484         * scripts/config.sub: Update to version 2013-04-24.
42485         * scripts/install-sh: Update to version 2011-11-20.07.
42486         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42487         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42489 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42491         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42492         * elf/sln.c: Likewise.
42493         * hurd/hurd/ioctl.h: Likewise.
42494         * hurd/hurdmalloc.c: Likewise.
42495         * hurd/xattr.c: Likewise.
42496         * include/shlib-compat.h: Likewise.
42497         * inet/ruserpass.c: Likewise.
42498         * libio/iofgets_u.c: Likewise.
42499         * libio/iofgetws_u.c: Likewise.
42500         * locale/programs/ld-identification.c: Likewise.
42501         * locale/programs/ld-time.c: Likewise.
42502         * mach/msg-destroy.c: Likewise.
42503         * nss/nss_files/files-netgrp.c: Likewise.
42504         * resolv/res_data.c: Likewise.
42505         * soft-fp/op-1.h: Likewise.
42506         * soft-fp/op-2.h: Likewise.
42507         * soft-fp/op-4.h: Likewise.
42508         * soft-fp/op-common.h: Likewise.
42509         * stdio-common/printf_fphex.c: Likewise.
42510         * stdlib/strtod_l.c: Likewise.
42511         * sunrpc/rpc/clnt.h: Likewise.
42512         * sysdeps/generic/framestate.c: Likewise.
42513         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42514         * sysdeps/i386/bsd-setjmp.S: Likewise.
42515         * sysdeps/i386/__longjmp.S: Likewise.
42516         * sysdeps/i386/setjmp.S: Likewise.
42517         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42518         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42520         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42521         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42522         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42523         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42524         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42526         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42527         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42528         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42529         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42530         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42531         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42532         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42533         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42534         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42535         * sysdeps/ieee754/support.c: Likewise.
42536         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42537         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42538         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42539         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42540         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42541         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42542         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42543         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42544         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42545         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42546         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42547         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42548         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42549         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42550         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42551         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42552         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42555 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42557         * posix/transbug.c: Remove executable mode.
42559 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42561         * crypt/speeds.c: Remove trailing whitespace.
42562         * dlfcn/default.c: Likewise.
42563         * elf/ifuncdep2.c: Likewise.
42564         * elf/ifuncmain1.c: Likewise.
42565         * elf/ifuncmain1vis.c: Likewise.
42566         * elf/testobj.h: Likewise.
42567         * elf/tst-stackguard1.c: Likewise.
42568         * gmon/sys/gmon.h: Likewise.
42569         * hurd/hurdmsg.c: Likewise.
42570         * hurd/new-fd.c: Likewise.
42571         * hurd/ports-get.c: Likewise.
42572         * iconvdata/ibm1008_420.c: Likewise.
42573         * inet/tst-getni1.c: Likewise.
42574         * inet/tst-getni2.c: Likewise.
42575         * libio/ioungetc.c: Likewise.
42576         * libio/wfiledoalloc.c: Likewise.
42577         * manual/libm-err-tab.pl: Likewise.
42578         * math/w_dremf.c: Likewise.
42579         * misc/ftruncate.c: Likewise.
42580         * posix/bug-glob2.c: Likewise.
42581         * posix/tst-pcre.c: Likewise.
42582         * posix/wait4.c: Likewise.
42583         * resolv/README: Likewise.
42584         * resolv/res_debug.h: Likewise.
42585         * resolv/tst-inet_ntop.c: Likewise.
42586         * setjmp/bug269-setjmp.c: Likewise.
42587         * soft-fp/extended.h: Likewise.
42588         * soft-fp/op-1.h: Likewise.
42589         * soft-fp/op-2.h: Likewise.
42590         * soft-fp/op-4.h: Likewise.
42591         * soft-fp/op-8.h: Likewise.
42592         * soft-fp/testit.c: Likewise.
42593         * stdio-common/bug16.c: Likewise.
42594         * stdlib/random.c: Likewise.
42595         * sunrpc/rpcsvc/rquota.x: Likewise.
42596         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42597         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42598         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42599         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42600         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42601         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42602         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42603         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42604         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42605         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42606         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42609         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42610         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42611         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42612         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42613         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42614         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42615         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42616         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42617         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42618         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42619         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42620         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42621         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42624         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42625         * sysdeps/ieee754/s_lib_version.c: Likewise.
42626         * sysdeps/mach/hurd/check_fds.c: Likewise.
42627         * sysdeps/mach/hurd/getsockname.c: Likewise.
42628         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42629         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42630         * sysdeps/powerpc/bits/link.h: Likewise.
42631         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42632         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42633         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42634         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42635         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42636         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42637         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42638         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42639         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42640         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42641         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42642         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42643         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42644         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42645         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42646         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42650         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42651         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42652         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42653         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42654         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42655         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42656         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42657         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42658         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42660         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42661         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42663         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42664         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42665         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42666         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42667         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42668         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42669         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42670         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42671         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42672         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42673         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42674         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42675         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42676         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42677         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42678         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42679         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42680         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42681         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42683         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42684         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42685         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42686         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42687         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42688         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42689         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42690         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42691         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42692         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42693         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42694         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42695         * sysdeps/powerpc/sysdep.h: Likewise.
42696         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42697         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42698         * sysdeps/sh/dl-trampoline.S: Likewise.
42699         * sysdeps/sh/memset.S: Likewise.
42700         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42701         * sysdeps/sh/strlen.S: Likewise.
42702         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42703         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42704         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42705         * sysdeps/sparc/sparc32/rem.S: Likewise.
42706         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42707         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42708         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42709         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42710         * sysdeps/sparc/sparc32/urem.S: Likewise.
42711         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42712         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42713         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42714         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42715         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42716         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42717         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42718         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42719         * sysdeps/unix/bsd/times.c: Likewise.
42720         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42721         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42725         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42726         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42727         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42728         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42729         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42730         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42731         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42732         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42733         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42734         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42735         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42736         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42737         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42738         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42739         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42740         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42741         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42742         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42743         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42744         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42745         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42746         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42747         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42748         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42749         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42750         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42751         * sysdeps/x86_64/strcspn.S: Likewise.
42753 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42755         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42756         generated file.  Regenerate properly from gen-translit.pl.
42757         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42758         locale/C-translit.h.
42760 2013-06-05  Andreas Schwab  <schwab@suse.de>
42762         [BZ #15100]
42763         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42764         week as 6 instead of -1.
42765         * time/tst-strptime.c (day_tests): Add test case.
42767 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42769         * sysdeps/generic/math_private.h
42770         (libc_feholdexcept_setround_53bit): Replace with
42771         libc_feholdsetround_53bit.
42772         (libc_feupdateenv_53bit): Replace with
42773         libc_feresetround_53bit.
42774         (SET_RESTORE_ROUND_53BIT): Adjust.
42776 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42778         * string/test-strchrnul.c: Add copyright header.
42780         * posix/tst-getaddrinfo4.c: Increase test timeout.
42782 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42784         [BZ #15536]
42785         * math/libm-test.inc (MAX_EXP): Remove
42786         (MIN_EXP): Define.
42787         (ulp): Use MIN_EXP - MANT_DIG.
42788         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42790 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42792         * po/be.po: Revert last change.
42793         * po/zh_CN.po: Likewise.
42794         * po/header.pot: Likewise.
42796 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42798         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42799         link-libc-deps to empty as target-specific variable.
42800         * Makerules (link-libc-args): New variable.
42801         (libc-for-link): Likewise.
42802         (link-libc-deps): Likewise.
42803         (lib%.so): Depend on $(link-libc-deps).  Link with
42804         $(link-libc-args).
42805         (build-module): Link with $(link-libc-args).
42806         (build-module-asneeded): Likewise.
42807         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42808         list of objects.
42809         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42810         target-specific variable.
42811         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42812         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42813         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42814         libc.
42815         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42816         libc and ld.so.
42817         ($(objpfx)libpcprofile.so): Likewise.
42818         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42819         libc_nonshared.a.
42820         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42821         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42822         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42823         $(link-libc-deps).
42824         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42825         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42826         * login/Makefile ($(objpfx)libutil.so): Likewise.
42827         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42828         * math/Makefile ($(objpfx)libm.so): Likewise.
42829         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42830         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42831         variable instead of depending directly on libc.
42832         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42833         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42834         $(link-libc-deps).
42835         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42836         libc.
42837         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42838         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42839         ($(objpfx)libanl.so): Likewise.
42840         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42841         ld.so.
42842         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42843         $(link-libc-deps).
42844         * sysdeps/i386/fpu/Makefile: Remove file.
42845         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42846         ($(objpfx)libm.so): Remove dependency on ld.so.
42848 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42850         [BZ # 15553]
42851         * nis/yp_xdr.c (XDRMAXNAME): Define.
42852         (XDRMAXRECORD): Define.
42853         (xdr_domainname): Use XDRMAXNAME.
42854         (xdr_mapname): Likewise.
42855         (xdr_peername): Likewise.
42856         (xdr_keydat): Use XDRMAXRECORD.
42857         (xdr_valdat): Likewise.
42859 2013-05-30  Jeff Law  <law@redhat.com>
42861         [BZ #14256]
42862         * manual/errno.texi (ESTALE): Update to account for more than
42863         just NFS file systems.
42864         * sysdeps/gnu/errlist.c: Regenerated.
42866 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42868         [BZ #15465]
42869         * elf/Makefile (tests): Add tst-null-argv.
42870         (modules-names):  Add tst-null-argv-lib.
42871         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42872         (tst-null-argv-ENV): Set environment for tst-null-argv.
42873         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42874         (RTLD_PROGNAME): New macro.
42875         * elf/tst-null-argv.c: New test case.
42876         * elf/tst-null-argv-lib.c: Library for test case.
42877         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42878         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42879         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42880         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42881         * elf/dl-init.c (call_init): Likewise.
42882         (_dl_init): Likewise.
42883         * elf/dl-load.c (print_search_path): Likewise.
42884         (_dl_map_object): Likewise.
42885         * elf/dl-lookup.c (do_lookup_x): Likewise.
42886         (add_dependency): Likewise.
42887         (_dl_lookup_symbol_x): Likewise.
42888         (_dl_debug_bindings): Likewise.
42889         * elf/dl-open.c (_dl_show_scope): Likewise.
42890         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42891         * elf/dl-version.c (match_symbol): Likewise.
42892         (_dl_check_map_versions): Likewise.
42893         * elf/rtld.c (dl_main): Likewise.
42894         (print_unresolved): Use RTLD_PROGNAME.
42895         (print_missing_version): Likewise.
42896         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42897         (elf_machine_rela): Likewise.
42898         * sysdeps/powerpc/powerpc32/dl-machine.c
42899         (__process_machine_rela): Likewise.
42900         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42901         Likewise.
42902         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42903         Likewise.
42904         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42905         Likewise.
42906         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42907         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42908         Likewise.
42909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42910         Likewise.
42911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42913 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42915         * po/be.po: Add descriptive title.
42916         * po/zh_CN.po: Likewise.
42917         * po/header.pot: Likewise.
42919 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42921         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42922         error message.
42923         (enlarge_archive): Likewise.
42925 2013-05-28  Ben North  <ben@redfrontdoor.org>
42927         * manual/arith.texi (frexp): It is the magnitude of the return
42928         value which lies in [0.5, 1), not the return value itself.
42930 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42934 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42936         * stdio-common/bug26.c (main): Correct fscanf template.
42938         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42939         declare _dl_skip_args.
42941         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42942         Don't declare.
42944         * manual/platform.texi: Add missing @end deftypefun.
42946 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42948         [BZ #15529]
42949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42950         bit of mantissa of 2^16382.
42951         * math/libm-test.inc (hypot_test_data): Add more tests.
42953         * math/libm-test.inc: Add drem and pow10 to list of tested
42954         functions.
42955         (pow10_test): New function.
42956         (drem_test): Likewise.
42957         (drem_test_tonearest): Likewise.
42958         (drem_test_towardzero): Likewise.
42959         (drem_test_downward): Likewise.
42960         (drem_test_upward): Likewise.
42961         (main): Call the new functions.
42963         * math/libm-test.inc (finite_test_data): Remove.
42964         (finite_test): Run tests from isfinite_test_data.
42965         (gamma_test_data): Remove.
42966         (gamma_test): Run tests from lgamma_test_data.
42967         * sysdeps/i386/fpu/libm-test-ulps: Update.
42968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42970 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42972         * manual/platform.texi: Add PowerPC PPR function set documentation.
42973         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42974         implementation.
42976 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42978         * math/libm-test.inc (MAX_EXP): Define.
42979         (ULPDIFF): Define.
42980         (ulp): New function.
42981         (check_float_internal): Use ULPDIFF.
42982         (cpow_test): Disable failing test.
42983         (check_ulp): Test ulp() implemetnation.
42984         (main): Call check_ulp before starting tests.
42986 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42988         * math/gen-libm-test.pl (generate_testfile): Do not handle
42989         START_DATA and END_DATA.
42990         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42991         END_DATA.
42992         (acos_tonearest_test_data): Likewise.
42993         (acos_towardzero_test_data): Likewise.
42994         (acos_downward_test_data): Likewise.
42995         (acos_upward_test_data): Likewise.
42996         (acosh_test_data): Likewise.
42997         (asin_test_data): Likewise.
42998         (asin_tonearest_test_data): Likewise.
42999         (asin_towardzero_test_data): Likewise.
43000         (asin_downward_test_data): Likewise.
43001         (asin_upward_test_data): Likewise.
43002         (asinh_test_data): Likewise.
43003         (atan_test_data): Likewise.
43004         (atanh_test_data): Likewise.
43005         (atan2_test_data): Likewise.
43006         (cabs_test_data): Likewise.
43007         (cacos_test_data): Likewise.
43008         (cacosh_test_data): Likewise.
43009         (carg_test_data): Likewise.
43010         (casin_test_data): Likewise.
43011         (casinh_test_data): Likewise.
43012         (catan_test_data): Likewise.
43013         (catanh_test_data): Likewise.
43014         (cbrt_test_data): Likewise.
43015         (ccos_test_data): Likewise.
43016         (ccosh_test_data): Likewise.
43017         (ceil_test_data): Likewise.
43018         (cexp_test_data): Likewise.
43019         (cimag_test_data): Likewise.
43020         (clog_test_data): Likewise.
43021         (clog10_test_data): Likewise.
43022         (conj_test_data): Likewise.
43023         (copysign_test_data): Likewise.
43024         (cos_test_data): Likewise.
43025         (cos_tonearest_test_data): Likewise.
43026         (cos_towardzero_test_data): Likewise.
43027         (cos_downward_test_data): Likewise.
43028         (cos_upward_test_data): Likewise.
43029         (cosh_test_data): Likewise.
43030         (cosh_tonearest_test_data): Likewise.
43031         (cosh_towardzero_test_data): Likewise.
43032         (cosh_downward_test_data): Likewise.
43033         (cosh_upward_test_data): Likewise.
43034         (cpow_test_data): Likewise.
43035         (cproj_test_data): Likewise.
43036         (creal_test_data): Likewise.
43037         (csin_test_data): Likewise.
43038         (csinh_test_data): Likewise.
43039         (csqrt_test_data): Likewise.
43040         (ctan_test_data): Likewise.
43041         (ctan_tonearest_test_data): Likewise.
43042         (ctan_towardzero_test_data): Likewise.
43043         (ctan_downward_test_data): Likewise.
43044         (ctan_upward_test_data): Likewise.
43045         (ctanh_test_data): Likewise.
43046         (ctanh_tonearest_test_data): Likewise.
43047         (ctanh_towardzero_test_data): Likewise.
43048         (ctanh_downward_test_data): Likewise.
43049         (ctanh_upward_test_data): Likewise.
43050         (erf_test_data): Likewise.
43051         (erfc_test_data): Likewise.
43052         (exp_test_data): Likewise.
43053         (exp_tonearest_test_data): Likewise.
43054         (exp_towardzero_test_data): Likewise.
43055         (exp_downward_test_data): Likewise.
43056         (exp_upward_test_data): Likewise.
43057         (exp10_test_data): Likewise.
43058         (exp2_test_data): Likewise.
43059         (expm1_test_data): Likewise.
43060         (fabs_test_data): Likewise.
43061         (fdim_test_data): Likewise.
43062         (finite_test_data): Likewise.
43063         (floor_test_data): Likewise.
43064         (fma_test_data): Likewise.
43065         (fma_towardzero_test_data): Likewise.
43066         (fma_downward_test_data): Likewise.
43067         (fma_upward_test_data): Likewise.
43068         (fmax_test_data): Likewise.
43069         (fmin_test_data): Likewise.
43070         (fmod_test_data): Likewise.
43071         (fpclassify_test_data): Likewise.
43072         (frexp_test_data): Likewise.
43073         (gamma_test_data): Likewise.
43074         (hypot_test_data): Likewise.
43075         (ilogb_test_data): Likewise.
43076         (isfinite_test_data): Likewise.
43077         (isgreater_test_data): Likewise.
43078         (isgreaterequal_test_data): Likewise.
43079         (isinf_test_data): Likewise.
43080         (isless_test_data): Likewise.
43081         (islessequal_test_data): Likewise.
43082         (islessgreater_test_data): Likewise.
43083         (isnan_test_data): Likewise.
43084         (isnormal_test_data): Likewise.
43085         (issignaling_test_data): Likewise.
43086         (isunordered_test_data): Likewise.
43087         (j0_test_data): Likewise.
43088         (j1_test_data): Likewise.
43089         (jn_test_data): Likewise.
43090         (ldexp_test_data): Likewise.
43091         (lgamma_test_data): Likewise.
43092         (lrint_test_data): Likewise.
43093         (lrint_tonearest_test_data): Likewise.
43094         (lrint_towardzero_test_data): Likewise.
43095         (lrint_downward_test_data): Likewise.
43096         (lrint_upward_test_data): Likewise.
43097         (llrint_test_data): Likewise.
43098         (llrint_tonearest_test_data): Likewise.
43099         (llrint_towardzero_test_data): Likewise.
43100         (llrint_downward_test_data): Likewise.
43101         (llrint_upward_test_data): Likewise.
43102         (log_test_data): Likewise.
43103         (log10_test_data): Likewise.
43104         (log1p_test_data): Likewise.
43105         (log2_test_data): Likewise.
43106         (logb_test_data): Likewise.
43107         (logb_downward_test_data): Likewise.
43108         (lround_test_data): Likewise.
43109         (llround_test_data): Likewise.
43110         (modf_test_data): Likewise.
43111         (nearbyint_test_data): Likewise.
43112         (nextafter_test_data): Likewise.
43113         (nexttoward_test_data): Likewise.
43114         (pow_test_data): Likewise.
43115         (pow_tonearest_test_data): Likewise.
43116         (pow_towardzero_test_data): Likewise.
43117         (pow_downward_test_data): Likewise.
43118         (pow_upward_test_data): Likewise.
43119         (remainder_test_data): Likewise.
43120         (remainder_tonearest_test_data): Likewise.
43121         (remainder_towardzero_test_data): Likewise.
43122         (remainder_downward_test_data): Likewise.
43123         (remainder_upward_test_data): Likewise.
43124         (remquo_test_data): Likewise.
43125         (rint_test_data): Likewise.
43126         (rint_tonearest_test_data): Likewise.
43127         (rint_towardzero_test_data): Likewise.
43128         (rint_downward_test_data): Likewise.
43129         (rint_upward_test_data): Likewise.
43130         (round_test_data): Likewise.
43131         (scalb_test_data): Likewise.
43132         (scalbn_test_data): Likewise.
43133         (scalbln_test_data): Likewise.
43134         (signbit_test_data): Likewise.
43135         (sin_test_data): Likewise.
43136         (sin_tonearest_test_data): Likewise.
43137         (sin_towardzero_test_data): Likewise.
43138         (sin_downward_test_data): Likewise.
43139         (sin_upward_test_data): Likewise.
43140         (sincos_test_data): Likewise.
43141         (sinh_test_data): Likewise.
43142         (sinh_tonearest_test_data): Likewise.
43143         (sinh_towardzero_test_data): Likewise.
43144         (sinh_downward_test_data): Likewise.
43145         (sinh_upward_test_data): Likewise.
43146         (sqrt_test_data): Likewise.
43147         (tan_test_data): Likewise.
43148         (tan_tonearest_test_data): Likewise.
43149         (tan_towardzero_test_data): Likewise.
43150         (tan_downward_test_data): Likewise.
43151         (tan_upward_test_data): Likewise.
43152         (tanh_test_data): Likewise.
43153         (tgamma_test_data): Likewise.
43154         (trunc_test_data): Likewise.
43155         (y0_test_data): Likewise.
43156         (y1_test_data): Likewise.
43157         (yn_test_data): Likewise.
43158         (significand_test_data): Likewise.
43160         * math/gen-libm-test.pl (@functions): Remove variable.
43161         (generate_testfile): Don't handle START and END lines.
43162         * math/libm-test.inc (START): New macro.
43163         (END): Likewise.
43164         (END_COMPLEX): Likewise.
43165         (acos_test): Use END macro without arguments.
43166         (acos_test_tonearest): Likewise.
43167         (acos_test_towardzero): Likewise.
43168         (acos_test_downward): Likewise.
43169         (acos_test_upward): Likewise.
43170         (acosh_test): Likewise.
43171         (asin_test): Likewise.
43172         (asin_test_tonearest): Likewise.
43173         (asin_test_towardzero): Likewise.
43174         (asin_test_downward): Likewise.
43175         (asin_test_upward): Likewise.
43176         (asinh_test): Likewise.
43177         (atan_test): Likewise.
43178         (atanh_test): Likewise.
43179         (atan2_test): Likewise.
43180         (cabs_test): Likewise.
43181         (cacos_test): Use END_COMPLEX macro without arguments.
43182         (cacosh_test): Likewise.
43183         (carg_test): Use END macro without arguments.
43184         (casin_test): Use END_COMPLEX macro without arguments.
43185         (casinh_test): Likewise.
43186         (catan_test): Likewise.
43187         (catanh_test): Likewise.
43188         (cbrt_test): Use END macro without arguments.
43189         (ccos_test): Use END_COMPLEX macro without arguments.
43190         (ccosh_test): Likewise.
43191         (ceil_test): Use END macro without arguments.
43192         (cexp_test): Use END_COMPLEX macro without arguments.
43193         (cimag_test): Use END macro without arguments.
43194         (clog_test): Use END_COMPLEX macro without arguments.
43195         (clog10_test): Likewise.
43196         (conj_test): Likewise.
43197         (copysign_test): Use END macro without arguments.
43198         (cos_test): Likewise.
43199         (cos_test_tonearest): Likewise.
43200         (cos_test_towardzero): Likewise.
43201         (cos_test_downward): Likewise.
43202         (cos_test_upward): Likewise.
43203         (cosh_test): Likewise.
43204         (cosh_test_tonearest): Likewise.
43205         (cosh_test_towardzero): Likewise.
43206         (cosh_test_downward): Likewise.
43207         (cosh_test_upward): Likewise.
43208         (cpow_test): Use END_COMPLEX macro without arguments.
43209         (cproj_test): Likewise.
43210         (creal_test): Use END macro without arguments.
43211         (csin_test): Use END_COMPLEX macro without arguments.
43212         (csinh_test): Likewise.
43213         (csqrt_test): Likewise.
43214         (ctan_test): Likewise.
43215         (ctan_test_tonearest): Likewise.
43216         (ctan_test_towardzero): Likewise.
43217         (ctan_test_downward): Likewise.
43218         (ctan_test_upward): Likewise.
43219         (ctanh_test): Likewise.
43220         (ctanh_test_tonearest): Likewise.
43221         (ctanh_test_towardzero): Likewise.
43222         (ctanh_test_downward): Likewise.
43223         (ctanh_test_upward): Likewise.
43224         (erf_test): Use END macro without arguments.
43225         (erfc_test): Likewise.
43226         (exp_test): Likewise.
43227         (exp_test_tonearest): Likewise.
43228         (exp_test_towardzero): Likewise.
43229         (exp_test_downward): Likewise.
43230         (exp_test_upward): Likewise.
43231         (exp10_test): Likewise.
43232         (exp2_test): Likewise.
43233         (expm1_test): Likewise.
43234         (fabs_test): Likewise.
43235         (fdim_test): Likewise.
43236         (finite_test): Likewise.
43237         (floor_test): Likewise.
43238         (fma_test): Likewise.
43239         (fma_test_towardzero): Likewise.
43240         (fma_test_downward): Likewise.
43241         (fma_test_upward): Likewise.
43242         (fmax_test): Likewise.
43243         (fmin_test): Likewise.
43244         (fmod_test): Likewise.
43245         (fpclassify_test): Likewise.
43246         (frexp_test): Likewise.
43247         (gamma_test): Likewise.
43248         (hypot_test): Likewise.
43249         (ilogb_test): Likewise.
43250         (isfinite_test): Likewise.
43251         (isgreater_test): Likewise.
43252         (isgreaterequal_test): Likewise.
43253         (isinf_test): Likewise.
43254         (isless_test): Likewise.
43255         (islessequal_test): Likewise.
43256         (islessgreater_test): Likewise.
43257         (isnan_test): Likewise.
43258         (isnormal_test): Likewise.
43259         (issignaling_test): Likewise.
43260         (isunordered_test): Likewise.
43261         (j0_test): Likewise.
43262         (j1_test): Likewise.
43263         (jn_test): Likewise.
43264         (ldexp_test): Likewise.
43265         (lgamma_test): Likewise.
43266         (lrint_test): Likewise.
43267         (lrint_test_tonearest): Likewise.
43268         (lrint_test_towardzero): Likewise.
43269         (lrint_test_downward): Likewise.
43270         (lrint_test_upward): Likewise.
43271         (llrint_test): Likewise.
43272         (llrint_test_tonearest): Likewise.
43273         (llrint_test_towardzero): Likewise.
43274         (llrint_test_downward): Likewise.
43275         (llrint_test_upward): Likewise.
43276         (log_test): Likewise.
43277         (log10_test): Likewise.
43278         (log1p_test): Likewise.
43279         (log2_test): Likewise.
43280         (logb_test): Likewise.
43281         (logb_test_downward): Likewise.
43282         (lround_test): Likewise.
43283         (llround_test): Likewise.
43284         (modf_test): Likewise.
43285         (nearbyint_test): Likewise.
43286         (nextafter_test): Likewise.
43287         (nexttoward_test): Likewise.
43288         (pow_test): Likewise.
43289         (pow_test_tonearest): Likewise.
43290         (pow_test_towardzero): Likewise.
43291         (pow_test_downward): Likewise.
43292         (pow_test_upward): Likewise.
43293         (remainder_test): Likewise.
43294         (remainder_test_tonearest): Likewise.
43295         (remainder_test_towardzero): Likewise.
43296         (remainder_test_downward): Likewise.
43297         (remainder_test_upward): Likewise.
43298         (remquo_test): Likewise.
43299         (rint_test): Likewise.
43300         (rint_test_tonearest): Likewise.
43301         (rint_test_towardzero): Likewise.
43302         (rint_test_downward): Likewise.
43303         (rint_test_upward): Likewise.
43304         (round_test): Likewise.
43305         (scalb_test): Likewise.
43306         (scalbn_test): Likewise.
43307         (scalbln_test): Likewise.
43308         (signbit_test): Likewise.
43309         (sin_test): Likewise.
43310         (sin_test_tonearest): Likewise.
43311         (sin_test_towardzero): Likewise.
43312         (sin_test_downward): Likewise.
43313         (sin_test_upward): Likewise.
43314         (sincos_test): Likewise.
43315         (sinh_test): Likewise.
43316         (sinh_test_tonearest): Likewise.
43317         (sinh_test_towardzero): Likewise.
43318         (sinh_test_downward): Likewise.
43319         (sinh_test_upward): Likewise.
43320         (sqrt_test): Likewise.
43321         (tan_test): Likewise.
43322         (tan_test_tonearest): Likewise.
43323         (tan_test_towardzero): Likewise.
43324         (tan_test_downward): Likewise.
43325         (tan_test_upward): Likewise.
43326         (tanh_test): Likewise.
43327         (tgamma_test): Likewise.
43328         (trunc_test): Likewise.
43329         (y0_test): Likewise.
43330         (y1_test): Likewise.
43331         (yn_test): Likewise.
43332         (significand_test): Likewise.
43334 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43336         [BZ #15381]
43337         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43339 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43341         [BZ #14894]
43342         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43343         __ppc_mdoio and __ppc_mdoom.
43344         * manual/platform.texi: Document new functions __ppc_yield,
43345         __ppc_mdoio and __ppc_mdoom.
43347 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43349         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43350         (main): Mention "tls" pseudo-hwcap is legacy.
43351         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43353 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43355         * math/gen-libm-test.pl (parse_args): Output only string of
43356         arguments as text for test name, not full call or descriptions of
43357         tests for extra outputs.
43358         (generate_testfile): Do not pass function name to parse_args.
43359         Generate this_func variable from START.
43360         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43361         field to arg_str.
43362         (struct test_ff_f_data): Likewise.
43363         (test_ff_f_data_nexttoward): Likewise.
43364         (struct test_fi_f_data): Likewise.
43365         (struct test_fl_f_data): Likewise.
43366         (struct test_if_f_data): Likewise.
43367         (struct test_fff_f_data): Likewise.
43368         (struct test_c_f_data): Likewise.
43369         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43370         (struct test_fF_f1_data): Likewise.
43371         (struct test_ffI_f1_data): Likewise.
43372         (struct test_c_c_data): Rename test_name field to arg_str.
43373         (struct test_cc_c_data): Likewise.
43374         (struct test_f_i_data): Likewise.
43375         (struct test_ff_i_data): Likewise.
43376         (struct test_f_l_data): Likewise.
43377         (struct test_f_L_data): Likewise.
43378         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43379         and extra2_name.
43380         (COMMON_TEST_SETUP): New macro.
43381         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43382         (COMMON_TEST_CLEANUP): Likewise.
43383         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43384         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43385         macros.
43386         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43387         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43388         macros.
43389         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43390         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43391         cleanup macros.
43392         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43393         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43394         macros.
43395         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43396         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43397         macros.
43398         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43399         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43400         cleanup macros.
43401         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43402         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43403         cleanup macros.
43404         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43405         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43406         cleanup macros.
43407         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43408         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43409         macros.
43410         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43411         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43412         macros.
43413         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43414         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43415         macros.
43416         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43417         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43418         cleanup macros.
43419         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43420         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43421         cleanup macros.
43422         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43423         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43424         macros.
43425         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43426         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43427         cleanup macros.
43428         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43429         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43430         macros.
43431         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43432         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43433         macros.
43434         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43435         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43436         cleanup macros.
43437         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43439 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43441         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43442         to _sifields.sigfault.
43443         (si_addr_lsb): Define new macro.
43444         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43445         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43446         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43448 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43450         [BZ #15441]
43451         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43452         returns -1.
43453         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43454         null return -1.
43455         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43456         loading the domain.
43458 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43460         * math/gen-libm-test.pl (parse_args): Do not include expected
43461         result in test name.
43462         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43463         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43464         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43465         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43466         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43469 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43471         * benchtests/Makefile: Sort function entries.
43473         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43474         tanh, asinh, acosh, atanh.
43475         * benchtests/acos-inputs: New file.
43476         * benchtests/acosh-inputs: New file.
43477         * benchtests/asin-inputs: New file.
43478         * benchtests/asinh-inputs: New file.
43479         * benchtests/atanh-inputs: New file.
43480         * benchtests/cosh-inputs: New file.
43481         * benchtests/log-inputs: New file.
43482         * benchtests/sinh-inputs: New file.
43483         * benchtests/tanh-inputs: New file.
43485 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43487         [BZ #15339]
43488         * posix/tst-getaddrinfo4.c: New test.
43489         * posix/Makefile (tests): Add it.
43491 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43493         [BZ #15339]
43494         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43495         when no services were used.
43496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43497         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43499 2013-05-21  Andreas Schwab  <schwab@suse.de>
43501         [BZ #15014]
43502         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43503         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43504         successful.
43505         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43506         redundant variable declarations and reallocation of buffer when
43507         parsing as IPv6 address.  Always set NSS status when called from
43508         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43509         buffer too small.  Correct computation of needed size.
43510         * nss/Makefile (tests): Add test-digits-dots.
43511         * nss/test-digits-dots.c: New test.
43513 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43515         * benchtests/Makefile: Remove instructions for adding
43516         benchmark tests.
43517         * benchtests/README: New file to explain how to execute and
43518         enhance the benchmark tests.
43520 2013-05-21  Andreas Schwab  <schwab@suse.de>
43522         [BZ #15493]
43523         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43524         * setjmp/tst-sigsetjmp.c: New test.
43526 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43528         * sysdeps/x86_64/memset.S (memset): New implementation.
43529         (__bzero): Likewise.
43530         (__memset_tail): New function.
43532 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43534         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43535         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43536         __memcpy_sse2_unaligned ifunc selection.
43537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43538         Add memcpy-sse2-unaligned.S.
43539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43540         Add: __memcpy_sse2_unaligned.
43542 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43544         [BZ #15490]
43545         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43546         math_force_eval before restoring floating-point envrionment.
43547         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43548         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43549         Likewise.
43550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43551         <math_private.h>.
43552         (__nearbyintl): Use math_force_eval before restoring
43553         floating-point environment.
43554         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43556         * math/gen-libm-test.pl (special_functions): Remove.
43557         (parse_args): Don't handle TEST_extra.  Handle functions with no
43558         return value.
43559         * math/libm-test.inc (struct test_sincos_data): Replace with
43560         struct test_fFF_11_data.
43561         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43562         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43563         (sincos_test_data): Change element type to struct
43564         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43565         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43566         RUN_TEST_LOOP_sincos.
43567         * math/README.libm-test: Don't mention special handling of
43568         individual functions.
43569         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43571         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43572         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43573         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43576         * math/gen-libm-test.pl (get_variable): Remove function.
43577         (parse_args): Don't show pointer parameters to call in test
43578         names.  Use "extra output N" in test names for extra outputs
43579         rather than naming variables.
43581 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43583         [BZ #15488]
43584         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43585         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43586         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43587         double tests.
43588         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43589         disable.
43590         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43591         check_long_double.
43593         * math/gen-libm-test.pl (@tests): Remove variable.
43594         ($count): Likewise.
43595         (new_test): Remove function.
43596         (show_exceptions): New function.
43597         (special_functions): Use show_exceptions instead of new_test.
43598         (parse_args): Likewise.
43599         (generate_testfile): Pass only function name in generated call to
43600         print_max_error or print_complex_max_error.
43601         (get_ulps): Do not handle complex tests specially.
43602         (output_test): Rename to ...
43603         (get_all_ulps_for_test): ... this.  Return a string rather than
43604         printing to a file.  Require ulps to be present.
43605         (output_ulps): Generate arrays rather than #defines.
43606         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43607         (struct ulp_data): New type.
43608         (BUILD_COMPLEX_ULP): Remove macro.
43609         (compare_ulp_data): New function.
43610         (find_ulps): Likewise.
43611         (find_test_ulps): Likewise.
43612         (find_function_ulps): Likewise.
43613         (find_complex_function_ulps): Likewise.
43614         (print_max_error): Determine allowed ulps using
43615         find_function_ulps.
43616         (print_complex_max_error): Determine allowed ulps using
43617         find_complex_function_ulps.
43618         (check_float_internal): Determine max ulps using find_test_ulps.
43619         (check_float): Do not take max_ulp parameter.  Update call to
43620         check_float_internal.
43621         (check_complex): Likewise.
43622         (check_int): Do not take max_ulp parameter.
43623         (check_long): Likewise.
43624         (check_bool): Likewise.
43625         (check_longlong): Likewise.
43626         (struct test_f_f_data): Remove max_ulp field.
43627         (struct test_ff_f_data): Likewise.
43628         (struct test_ff_f_data_nexttoward): Likewise.
43629         (struct test_fi_f_data): Likewise.
43630         (struct test_fl_f_data): Likewise.
43631         (struct test_if_f_data): Likewise.
43632         (struct test_fff_f_data): Likewise.
43633         (struct test_c_f_data): Likewise.
43634         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43635         (struct test_fF_f1_data): Likewise.
43636         (struct test_ffI_f1_data): Likewise.
43637         (struct test_c_c_data): Remove max_ulp field.
43638         (struct test_cc_c_data): Likewise.
43639         (struct test_f_i_data): Likewise.
43640         (struct test_ff_i_data): Likewise.
43641         (struct test_f_l_data): Likewise.
43642         (struct test_f_L_data): Likewise.
43643         (struct test_sincos_data): Likewise.
43644         (RUN_TEST_f_f): Do not handle ulps.
43645         (RUN_TEST_LOOP_f_f): Likewise.
43646         (RUN_TEST_2_f): Likewise.
43647         (RUN_TEST_LOOP_2_f): Likewise.
43648         (RUN_TEST_fff_f): Likewise.
43649         (RUN_TEST_LOOP_fff_f): Likewise.
43650         (RUN_TEST_c_f): Likewise.
43651         (RUN_TEST_LOOP_c_f): Likewise.
43652         (RUN_TEST_f_f1): Likewise.
43653         (RUN_TEST_LOOP_f_f1): Likewise.
43654         (RUN_TEST_fF_f1): Likewise.
43655         (RUN_TEST_LOOP_fF_f1): Likewise.
43656         (RUN_TEST_fI_f1): Likewise.
43657         (RUN_TEST_LOOP_fI_f1): Likewise.
43658         (RUN_TEST_ffI_f1): Likewise.
43659         (RUN_TEST_LOOP_ffI_f1): Likewise.
43660         (RUN_TEST_c_c): Likewise.
43661         (RUN_TEST_LOOP_c_c): Likewise.
43662         (RUN_TEST_cc_c): Likewise.
43663         (RUN_TEST_LOOP_cc_c): Likewise.
43664         (RUN_TEST_f_i): Likewise.
43665         (RUN_TEST_LOOP_f_i): Likewise.
43666         (RUN_TEST_f_i_tg): Likewise.
43667         (RUN_TEST_LOOP_f_i_tg): Likewise.
43668         (RUN_TEST_ff_i_tg): Likewise.
43669         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43670         (RUN_TEST_f_b): Likewise.
43671         (RUN_TEST_LOOP_f_b): Likewise.
43672         (RUN_TEST_f_b_tg): Likewise.
43673         (RUN_TEST_LOOP_f_b_tg): Likewise.
43674         (RUN_TEST_f_l): Likewise.
43675         (RUN_TEST_LOOP_f_l): Likewise.
43676         (RUN_TEST_f_L): Likewise.
43677         (RUN_TEST_LOOP_f_L): Likewise.
43678         (RUN_TEST_sincos): Likewise.
43679         (RUN_TEST_LOOP_sincos): Likewise.
43681 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43683         [BZ #15480]
43684         [BZ #15485]
43685         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43686         main case of finite arguments, set rounding mode to FE_TONEAREST
43687         and discard exceptions.
43688         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43689         exceptions.
43690         (remainder_tonearest_test_data): New variable.
43691         (remainder_test_tonearest): New function.
43692         (remainder_towardzero_test_data): New variable.
43693         (remainder_test_towardzero): New function.
43694         (remainder_downward_test_data): New variable.
43695         (remainder_test_downward): New function.
43696         (remainder_upward_test_data): New variable.
43697         (remainder_test_upward): New function.
43698         (main): Call the new test functions.
43700         * math/libm-test.inc (struct test_f_f1_data): Remove field
43701         extra_init.
43702         (struct test_fF_f1_data): Likewise.
43703         (struct test_ffI_f1_data): Likewise.
43704         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43705         based on value of EXTRA_EXPECTED.
43706         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43707         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43708         EXTRA_VAR based on value of EXTRA_EXPECTED.
43709         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43710         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43711         EXTRA_VAR based on value of EXTRA_EXPECTED.
43712         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43713         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43714         EXTRA_VAR based on value of EXTRA_EXPECTED.
43715         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43716         * math/gen-libm-test.pl (parse_args): Don't output initializers
43717         for extra output values.
43719         * math/libm-test.inc (check_int): Expect result to be exactly
43720         equal to expected value and do not handle ulps.
43721         (check_long): Likewise.
43722         (check_longlong): Likewise.
43724         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43725         exceptions.
43726         (cimag_test_data): Likewise.
43727         (conj_test_data): Likewise.
43728         (copysign_test_data): Likewise.
43729         (cproj_test_data): Likewise.
43730         (creal_test_data): Likewise.
43731         (fabs_test_data): Likewise.
43732         (fdim_test_data): Likewise.
43733         (finite_test_data): Likewise.
43734         (floor_test_data): Likewise.
43735         (fmax_test_data): Likewise.
43736         (fmin_test_data): Likewise.
43737         (fmod_test_data): Likewise.
43738         (fpclassify_test_data): Likewise.
43739         (frexp_test_data): Likewise.
43740         (ilogb_test_data): Likewise.
43741         (isfinite_test_data): Likewise.
43742         (isgreater_test_data): Likewise.
43743         (isgreaterequal_test_data): Likewise.
43744         (isinf_test_data): Likewise.
43745         (isless_test_data): Likewise.
43746         (islessequal_test_data): Likewise.
43747         (islessgreater_test_data): Likewise.
43748         (isnan_test_data): Likewise.
43749         (isnormal_test_data): Likewise.
43750         (issignaling_test_data): Likewise.
43751         (isunordered_test_data): Likewise.
43752         (ldexp_test_data): Likewise.
43753         (lrint_test_data): Likewise.
43754         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43755         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43756         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43757         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43758         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43759         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43760         test input.
43761         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43762         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43763         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43764         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43765         that test input.
43766         (lrint_downward_test_data): Test for "inexact" exceptions.
43767         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43768         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43769         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43770         test input.
43771         (lrint_upward_test_data): Test for "inexact" exceptions.
43772         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43773         test input.
43774         (llrint_test_data): Test for "inexact" exceptions.
43775         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43776         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43777         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43778         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43779         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43780         (llrint_downward_test_data): Test for "inexact" exceptions.
43781         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43782         (llrint_upward_test_data): Test for "inexact" exceptions.
43783         (logb_test_data): Likewise.
43784         (logb_downward_test_data): Likewise.
43785         (nextafter_test_data): Likewise.
43786         (nexttoward_test_data): Likewise.
43787         (remainder_test_data): Likewise.
43788         (remquo_test_data): Likewise.
43789         (scalbn_test_data): Likewise.
43790         (scalbln_test_data): Likewise.
43791         (signbit_test_data): Likewise.
43792         (sqrt_test_data): Likewise.
43793         (significand_test_data): Likewise.
43795 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43797         [BZ #15424]
43798         * benchtests/bench-modf.c (struct args): Mark arg0 as
43799         volatile.
43800         * scripts/bench.pl: Mark members of struct args as volatile.
43802 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43804         [BZ # 15497]
43805         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43806         negative infinity on POWER6 or lower.
43807         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43809 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43811         [BZ #15442]
43812         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43813         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43814         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43815         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43816         (_FP_SETQNAN): New macro.
43817         (_FP_SETQNAN_SEMIRAW): Likewise.
43818         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43819         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43820         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43821         (FP_EXTEND): Use _FP_FRAC_SNANP.
43822         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43823         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43824         into account.
43825         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43826         New macro.
43827         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43828         Likewise.
43830 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43832         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43833         with DIVIDE_BY_ZERO_EXCEPTION.
43834         (gamma_test_data): Likewise.
43835         (lgamma_test_data): Likewise.
43836         (log_test_data): Likewise.
43837         (log10_test_data): Likewise.
43838         (log2_test_data): Likewise.
43839         (tgamma_test_data): Likewise.
43841         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43842         (acos_test_tonearest): Likewise.
43843         (acos_test_towardzero): Likewise.
43844         (acos_test_downward): Likewise.
43845         (acos_test_upward): Likewise.
43846         (acosh_test): Likewise.
43847         (asin_test): Likewise.
43848         (asin_test_tonearest): Likewise.
43849         (asin_test_towardzero): Likewise.
43850         (asin_test_downward): Likewise.
43851         (asin_test_upward): Likewise.
43852         (asinh_test): Likewise.
43853         (atan_test): Likewise.
43854         (atanh_test): Likewise.
43855         (atan2_test): Likewise.
43856         (cabs_test): Likewise.
43857         (cacos_test): Likewise.
43858         (cacosh_test): Likewise.
43859         (casin_test): Likewise.
43860         (casinh_test): Likewise.
43861         (catan_test): Likewise.
43862         (catanh_test): Likewise.
43863         (cbrt_test): Likewise.
43864         (ccos_test): Likewise.
43865         (ccosh_test): Likewise.
43866         (cexp_test): Likewise.
43867         (clog_test): Likewise.
43868         (clog10_test): Likewise.
43869         (cos_test): Likewise.
43870         (cos_test_tonearest): Likewise.
43871         (cos_test_towardzero): Likewise.
43872         (cos_test_downward): Likewise.
43873         (cos_test_upward): Likewise.
43874         (cosh_test): Likewise.
43875         (cosh_test_tonearest): Likewise.
43876         (cosh_test_towardzero): Likewise.
43877         (cosh_test_downward): Likewise.
43878         (cosh_test_upward): Likewise.
43879         (cpow_test): Likewise.
43880         (csin_test): Likewise.
43881         (csinh_test): Likewise.
43882         (csqrt_test): Likewise.
43883         (ctan_test): Likewise.
43884         (ctan_test_tonearest): Likewise.
43885         (ctan_test_towardzero): Likewise.
43886         (ctan_test_downward): Likewise.
43887         (ctan_test_upward): Likewise.
43888         (ctanh_test): Likewise.
43889         (ctanh_test_tonearest): Likewise.
43890         (ctanh_test_towardzero): Likewise.
43891         (ctanh_test_downward): Likewise.
43892         (ctanh_test_upward): Likewise.
43893         (erf_test): Likewise.
43894         (erfc_test): Likewise.
43895         (exp_test): Likewise.
43896         (exp_test_tonearest): Likewise.
43897         (exp_test_towardzero): Likewise.
43898         (exp_test_downward): Likewise.
43899         (exp_test_upward): Likewise.
43900         (exp10_test): Likewise.
43901         (exp2_test): Likewise.
43902         (expm1_test): Likewise.
43903         (fmod_test): Likewise.
43904         (gamma_test): Likewise.
43905         (hypot_test): Likewise.
43906         (j0_test): Likewise.
43907         (j1_test): Likewise.
43908         (jn_test): Likewise.
43909         (lgamma_test): Likewise.
43910         (log_test): Likewise.
43911         (log10_test): Likewise.
43912         (log1p_test): Likewise.
43913         (log2_test): Likewise.
43914         (logb_test_downward): Likewise.
43915         (pow_test): Likewise.
43916         (pow_test_tonearest): Likewise.
43917         (pow_test_towardzero): Likewise.
43918         (pow_test_downward): Likewise.
43919         (pow_test_upward): Likewise.
43920         (remainder_test): Likewise.
43921         (remquo_test): Likewise.
43922         (sin_test): Likewise.
43923         (sin_test_tonearest): Likewise.
43924         (sin_test_towardzero): Likewise.
43925         (sin_test_downward): Likewise.
43926         (sin_test_upward): Likewise.
43927         (sincos_test): Likewise.
43928         (sinh_test): Likewise.
43929         (sinh_test_tonearest): Likewise.
43930         (sinh_test_towardzero): Likewise.
43931         (sinh_test_downward): Likewise.
43932         (sinh_test_upward): Likewise.
43933         (sqrt_test): Likewise.
43934         (tan_test): Likewise.
43935         (tan_test_tonearest): Likewise.
43936         (tan_test_towardzero): Likewise.
43937         (tan_test_downward): Likewise.
43938         (tan_test_upward): Likewise.
43939         (tanh_test): Likewise.
43940         (tgamma_test): Likewise.
43941         (y0_test): Likewise.
43942         (y1_test): Likewise.
43943         (yn_test): Likewise.
43945         * math/gen-libm-test.pl (adjust_arg): Remove function.
43946         (special_function): Remove argument $in_func.  Only handle
43947         generating output for tables of tests, not inside functions.
43948         (parse_args): Likewise.
43949         (generate_testfile): Remove variable $in_func.  Update call to
43950         parse_args.
43951         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43952         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43953         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43954         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43955         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43956         (MAX_VALUE_INIT): Rename macro to max_value.
43957         (MIN_VALUE_INIT): Rename macro to min_value.
43958         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43959         (plus_zero): Remove variable.
43960         (minus_zero): Likewise.
43961         (plus_infty): Likewise.
43962         (minus_infty): Likewise.
43963         (qnan_value): Likewise.
43964         (max_value): Likewise.
43965         (min_value): Likewise.
43966         (min_subnorm_value): Likewise.
43968 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43970         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43971         uint64_t or uint32_t usage.
43972         * crypt/sha256-block.c: Likewise.
43973         * crypt/sha256-crypt.c: Likewise.
43974         * crypt/sha256.c: Likewise.
43975         * crypt/sha512-block.c: Likewise.
43976         * crypt/sha512-crypt.c: Likewise.
43977         * crypt/sha512.c: Likewise.
43978         * debug/backtrace-tst.c: Likewise.
43979         * debug/pcprofiledump.c: Likewise.
43980         * elf/cache.c: Likewise.
43981         * elf/dl-cache.c: Likewise.
43982         * elf/dl-misc.c: Likewise.
43983         * elf/dl-profile.c: Likewise.
43984         * elf/dl-support.c: Likewise.
43985         * elf/ldconfig.c: Likewise.
43986         * elf/sprof.c: Likewise.
43987         * iconv/dummy-repertoire.c: Likewise.
43988         * iconv/iconv_charmap.c: Likewise.
43989         * iconv/skeleton.c: Likewise.
43990         * iconvdata/8bit-generic.c: Likewise.
43991         * iconvdata/cp737.h: Likewise.
43992         * iconvdata/cp775.h: Likewise.
43993         * iconvdata/ibm1008.h: Likewise.
43994         * iconvdata/ibm1025.h: Likewise.
43995         * iconvdata/ibm1046.h: Likewise.
43996         * iconvdata/ibm1097.h: Likewise.
43997         * iconvdata/ibm1112.h: Likewise.
43998         * iconvdata/ibm1122.h: Likewise.
43999         * iconvdata/ibm1123.h: Likewise.
44000         * iconvdata/ibm1124.h: Likewise.
44001         * iconvdata/ibm1129.h: Likewise.
44002         * iconvdata/ibm1130.h: Likewise.
44003         * iconvdata/ibm1132.h: Likewise.
44004         * iconvdata/ibm1133.h: Likewise.
44005         * iconvdata/ibm1137.h: Likewise.
44006         * iconvdata/ibm1140.h: Likewise.
44007         * iconvdata/ibm1141.h: Likewise.
44008         * iconvdata/ibm1142.h: Likewise.
44009         * iconvdata/ibm1143.h: Likewise.
44010         * iconvdata/ibm1144.h: Likewise.
44011         * iconvdata/ibm1145.h: Likewise.
44012         * iconvdata/ibm1146.h: Likewise.
44013         * iconvdata/ibm1147.h: Likewise.
44014         * iconvdata/ibm1148.h: Likewise.
44015         * iconvdata/ibm1149.h: Likewise.
44016         * iconvdata/ibm1153.h: Likewise.
44017         * iconvdata/ibm1154.h: Likewise.
44018         * iconvdata/ibm1155.h: Likewise.
44019         * iconvdata/ibm1156.h: Likewise.
44020         * iconvdata/ibm1157.h: Likewise.
44021         * iconvdata/ibm1158.h: Likewise.
44022         * iconvdata/ibm1160.h: Likewise.
44023         * iconvdata/ibm1161.h: Likewise.
44024         * iconvdata/ibm1162.h: Likewise.
44025         * iconvdata/ibm1163.h: Likewise.
44026         * iconvdata/ibm1164.h: Likewise.
44027         * iconvdata/ibm1166.h: Likewise.
44028         * iconvdata/ibm1167.h: Likewise.
44029         * iconvdata/ibm12712.h: Likewise.
44030         * iconvdata/ibm1390.h: Likewise.
44031         * iconvdata/ibm1399.h: Likewise.
44032         * iconvdata/ibm16804.h: Likewise.
44033         * iconvdata/ibm4517.h: Likewise.
44034         * iconvdata/ibm4899.h: Likewise.
44035         * iconvdata/ibm4909.h: Likewise.
44036         * iconvdata/ibm4971.h: Likewise.
44037         * iconvdata/ibm5347.h: Likewise.
44038         * iconvdata/ibm803.h: Likewise.
44039         * iconvdata/ibm856.h: Likewise.
44040         * iconvdata/ibm901.h: Likewise.
44041         * iconvdata/ibm902.h: Likewise.
44042         * iconvdata/ibm9030.h: Likewise.
44043         * iconvdata/ibm9066.h: Likewise.
44044         * iconvdata/ibm921.h: Likewise.
44045         * iconvdata/ibm922.h: Likewise.
44046         * iconvdata/ibm9448.h: Likewise.
44047         * iconvdata/isiri-3342.h: Likewise.
44048         * iconvdata/jis0201.h: Likewise.
44049         * include/link.h: Likewise.
44050         * include/netdb.h: Likewise.
44051         * inet/check_native.c: Likewise.
44052         * inet/check_pf.c: Likewise.
44053         * inet/getipv4sourcefilter.c: Likewise.
44054         * inet/getnameinfo.c: Likewise.
44055         * inet/getsourcefilter.c: Likewise.
44056         * inet/htonl.c: Likewise.
44057         * inet/setipv4sourcefilter.c: Likewise.
44058         * inet/setsourcefilter.c: Likewise.
44059         * inet/test-inet6_opt.c: Likewise.
44060         * inet/tst-network.c: Likewise.
44061         * locale/C-collate.c: Likewise.
44062         * locale/C-ctype.c: Likewise.
44063         * locale/C-time.c: Likewise.
44064         * locale/C-translit.h: Likewise.
44065         * locale/loadarchive.c: Likewise.
44066         * locale/programs/3level.h: Likewise.
44067         * locale/programs/charmap.c: Likewise.
44068         * locale/programs/charmap.h: Likewise.
44069         * locale/programs/ld-address.c: Likewise.
44070         * locale/programs/ld-collate.c: Likewise.
44071         * locale/programs/ld-ctype.c: Likewise.
44072         * locale/programs/ld-identification.c: Likewise.
44073         * locale/programs/ld-measurement.c: Likewise.
44074         * locale/programs/ld-messages.c: Likewise.
44075         * locale/programs/ld-monetary.c: Likewise.
44076         * locale/programs/ld-name.c: Likewise.
44077         * locale/programs/ld-numeric.c: Likewise.
44078         * locale/programs/ld-paper.c: Likewise.
44079         * locale/programs/ld-telephone.c: Likewise.
44080         * locale/programs/ld-time.c: Likewise.
44081         * locale/programs/linereader.c: Likewise.
44082         * locale/programs/locale.c: Likewise.
44083         * locale/programs/locarchive.c: Likewise.
44084         * locale/programs/locfile.h: Likewise.
44085         * locale/programs/repertoire.c: Likewise.
44086         * locale/programs/simple-hash.c: Likewise.
44087         * locale/programs/simple-hash.h: Likewise.
44088         * malloc/memusage.c: Likewise.
44089         * malloc/memusagestat.c: Likewise.
44090         * nis/nis_defaults.c: Likewise.
44091         * nis/nis_hash.c: Likewise.
44092         * nis/nis_print.c: Likewise.
44093         * nis/nis_xdr.c: Likewise.
44094         * nscd/connections.c: Likewise.
44095         * nscd/hstcache.c: Likewise.
44096         * nscd/nscd_gethst_r.c: Likewise.
44097         * nscd/nscd_getserv_r.c: Likewise.
44098         * nscd/nscd_helper.c: Likewise.
44099         * nscd/servicescache.c: Likewise.
44100         * nss/makedb.c: Likewise.
44101         * nss/nss_db/db-XXX.c: Likewise.
44102         * nss/nss_db/db-initgroups.c: Likewise.
44103         * nss/nss_db/db-netgrp.c: Likewise.
44104         * nss/nss_files/files-network.c: Likewise.
44105         * nss/nss_files/files-parse.c: Likewise.
44106         * posix/bug-regex5.c: Likewise.
44107         * posix/fnmatch_loop.c: Likewise.
44108         * posix/regcomp.c: Likewise.
44109         * posix/regexec.c: Likewise.
44110         * posix/tst-rfc3484-2.c: Likewise.
44111         * posix/tst-rfc3484-3.c: Likewise.
44112         * posix/tst-rfc3484.c: Likewise.
44113         * resolv/nss_dns/dns-canon.c: Likewise.
44114         * resolv/nss_dns/dns-network.c: Likewise.
44115         * resolv/res_init.c: Likewise.
44116         * resolv/res_mkquery.c: Likewise.
44117         * resolv/tst-aton.c: Likewise.
44118         * stdlib/cxa_atexit.c: Likewise.
44119         * stdlib/cxa_finalize.c: Likewise.
44120         * stdlib/gen-fpioconst.c: Likewise.
44121         * stdlib/strtol_l.c: Likewise.
44122         * string/tst-endian.c: Likewise.
44123         * sunrpc/auth_des.c: Likewise.
44124         * sunrpc/clnt_udp.c: Likewise.
44125         * sunrpc/rtime.c: Likewise.
44126         * sunrpc/svcauth_des.c: Likewise.
44127         * sunrpc/xdr.c: Likewise.
44128         * sunrpc/xdr_intXX_t.c: Likewise.
44129         * sunrpc/xdr_rec.c: Likewise.
44130         * sysdeps/generic/ldconfig.h: Likewise.
44131         * sysdeps/generic/ldsodefs.h: Likewise.
44132         * sysdeps/generic/memusage.h: Likewise.
44133         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44134         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44135         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44139         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44140         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44141         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44143         * sysdeps/posix/getaddrinfo.c: Likewise.
44144         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44145         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44146         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44147         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44148         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44149         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44150         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44151         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44152         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44153         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44154         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44155         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44156         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44157         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44158         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44159         * sysdeps/x86_64/dl-tls.h: Likewise.
44160         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44161         * time/alt_digit.c: Likewise.
44162         * time/era.c: Likewise.
44163         * wcsmbs/tst-c16c32-1.c: Likewise.
44165 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44167         * math/libm-test.inc (struct test_sincos_data): New type.
44168         (RUN_TEST_LOOP_sincos): New macro.
44169         (sincos_test_data): New variable.
44170         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44172 2013-05-16  Richard Henderson  <rth@redhat.com>
44174         * math/atest-exp2.c (LIMB64): New macro.
44175         (CONSTSZ): New macro.
44176         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44177         (hexdig): Move ...
44178         (print_mpn_fp): ... to function scope.
44179         (read_mpn_hex): Remove.
44180         (get_log2): Remove.
44181         (exp2_mpn): Use mp_log2.
44182         (main): Use mp_exp1.
44184 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44186         * math/libm-test.inc: Remove comment about not testing "inexact"
44187         exceptions.
44188         (INEXACT_EXCEPTION): New macro.
44189         (NO_INEXACT_EXCEPTION): Likewise.
44190         (INVALID_EXCEPTION_OK): Update value.
44191         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44192         (OVERFLOW_EXCEPTION_OK): Likewise.
44193         (UNDERFLOW_EXCEPTION_OK): Likewise.
44194         (IGNORE_ZERO_INF_SIGN): Likewise.
44195         (ERRNO_UNCHANGED): Likewise.
44196         (ERRNO_EDOM): Likewise.
44197         (ERRNO_ERANGE): Likewise.
44198         (test_exceptions): Handle testing "inexact" exceptions.
44199         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44200         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44201         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44202         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44203         INEXACT_EXCEPTION.
44204         (rint_towardzero_test_data): Likewise.
44205         (rint_downward_test_data): Likewise.
44206         (rint_upward_test_data): Likewise.
44208         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44209         with OVERFLOW_EXCEPTION.
44210         (exp10_test_data): Likewise.
44211         (exp2_test_data): Likewise.
44212         (expm1_test_data): Likewise.
44213         (lgamma_test_data): Likewise.
44214         (pow_test_data): Likewise.
44215         (tgamma_test_data): Likewise.
44216         (yn_test_data): Remove duplicate test of overflow.
44218         * math/libm-test.inc (struct test_cc_c_data): New type.
44219         (RUN_TEST_LOOP_cc_c): New macro.
44220         (cpow_test_data): New variable.
44221         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44223         * math/libm-test.inc (struct test_f_L_data): New type.
44224         (RUN_TEST_LOOP_f_L): New macro.
44225         (llrint_test_data): New variable.
44226         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44227         (llrint_tonearest_test_data): New variable.
44228         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44229         (llrint_towardzero_test_data): New variable.
44230         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44231         (llrint_downward_test_data): New variable.
44232         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44233         (llrint_upward_test_data): New variable.
44234         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44235         (llround_test_data): New variable.
44236         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44238 2013-05-13  Peter Collingbourne  <pcc@google.com>
44240         * math/atest-exp2.c (get_log2): Remove const attribute.
44242 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44244         * math/libm-test.inc (struct test_f_l_data): New type.
44245         (RUN_TEST_LOOP_f_l): New macro.
44246         (lrint_test_data): New variable.
44247         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44248         (lrint_tonearest_test_data): New variable.
44249         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44250         (lrint_towardzero_test_data): New variable.
44251         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44252         (lrint_downward_test_data): New variable.
44253         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44254         (lrint_upward_test_data): New variable.
44255         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44256         (lround_test_data): New variable.
44257         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44259 2013-05-15  Peter Collingbourne  <pcc@google.com>
44261         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44262         (EXTRACT_WORDS64) Use where appropriate.
44263         (INSERT_WORDS64) Likewise.
44265         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44266         constraints with x constraints.
44267         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44269         * malloc/obstack.c (_obstack_compat): Add initializer.
44271 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44273         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44274         si_trapno and add si_addr_lsb to _sifields.sigfault.
44275         (si_trapno): Remove macro.
44276         (si_addr_lsb): Define new macro.
44277         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44279 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44281         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44282         instead of TEST_f_l.
44283         (llrint_test_tonearest): Likewise.
44284         (llrint_test_towardzero): Likewise.
44285         (llrint_test_downward): Likewise.
44286         (llrint_test_upward): Likewise.
44287         (llround_test): Likewise.
44289         * math/libm-test.inc (struct test_f_i_data): Add comment.
44290         (RUN_TEST_LOOP_f_b): New macro.
44291         (RUN_TEST_LOOP_f_b_tg): Likewise.
44292         (finite_test_data): New variable.
44293         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44294         (isfinite_test_data): New variable.
44295         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44296         (isinf_test_data): New variable.
44297         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44298         (isnan_test_data): New variable.
44299         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44300         (isnormal_test_data): New variable.
44301         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44302         (issignaling_test_data): New variable.
44303         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44304         (signbit_test_data): New variable.
44305         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44307         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44308         with INVALID_EXCEPTION.
44309         (acosh_test_data): Likewise.
44310         (asin_test_data): Likewise.
44311         (atanh_test_data): Likewise.
44312         (fmod_test_data): Likewise.
44313         (log_test_data): Likewise.
44314         (log10_test_data): Likewise.
44315         (log2_test_data): Likewise.
44316         (pow_test_data): Likewise.
44317         (sqrt_test_data): Likewise.
44318         (y0_test_data): Likewise.
44319         (y1_test_data): Likewise.
44320         (yn_test_data): Likewise.
44322         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44323         function contents.
44325         * math/libm-test.inc (struct test_ff_i_data): New type.
44326         (RUN_TEST_LOOP_ff_i_tg): New macro.
44327         (isgreater_test_data): New variable.
44328         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44329         (isgreaterequal_test_data): New variable.
44330         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44331         (isless_test_data): New variable.
44332         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44333         (islessequal_test_data): New variable.
44334         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44335         (islessgreater_test_data): New variable.
44336         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44337         (isunordered_test_data): New variable.
44338         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44340 2013-05-14  David S. Miller  <davem@davemloft.net>
44342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44344 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44346         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44348         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44349         extra_test to int.
44350         (struct test_f_i_data): Change type of max_ulp to int.
44352         * math/libm-test.inc (test_ffI_f1_data): New type.
44353         (RUN_TEST_LOOP_ffI_f1): New macro.
44354         (remquo_test_data): New variable.
44355         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44357         * setjmp/tst-setjmp-fp.c: New file.
44358         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44359         (link-libm): New variable.
44360         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44362         * math/libm-test.inc (struct test_f_i_data): New type.
44363         (RUN_TEST_LOOP_f_i): New macro.
44364         (RUN_TEST_LOOP_f_i_tg): Likewise.
44365         (fpclassify_test_data): New variable.
44366         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44367         (ilogb_test_data): New variable.
44368         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44370         * math/libm-test.inc (scalbln_test): Correct function name in END
44371         call.
44373         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44374         (RUN_TEST_LOOP_fI_f1): New macro.
44375         (frexp_test_data): New variable.
44376         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44378         * math/libm-test.inc (struct test_fF_f1_data): New type.
44379         (RUN_TEST_LOOP_fF_f1): New macro.
44380         (modf_test_data): New variable.
44381         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44383         * math/libm-test.inc (struct test_f_f1_data): New type.
44384         (RUN_TEST_LOOP_f_f1): New macro.
44385         (gamma_test_data): New variable.
44386         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44387         (lgamma_test_data): New variable.
44388         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44390 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44392         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44393         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44394         (main): Comment "tls" pseudo-hwcap.
44396 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44398         * math/libm-test.inc (struct test_fl_f_data): New type.
44399         (RUN_TEST_LOOP_fl_f): New variable.
44400         (scalbln_test_data): New variable.
44401         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44403         * math/libm-test.inc (struct test_fi_f_data): New type.
44404         (RUN_TEST_LOOP_fi_f): New macro.
44405         (ldexp_test_data): New variable.
44406         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44407         (scalbn_test_data): New variable.
44408         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44410         * math/libm-test.inc (struct test_c_f_data): New type.
44411         (RUN_TEST_LOOP_c_f): New macro.
44412         (cabs_test_data): New variable.
44413         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44414         (carg_test_data): New variable.
44415         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44416         (cimag_test_data): New variable.
44417         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44418         (creal_test_data): New variable.
44419         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44421         * math/libm-test.inc (struct test_if_f_data): New type.
44422         (RUN_TEST_LOOP_if_f): New macro.
44423         (jn_test_data): New variable.
44424         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44425         (yn_test_data): New variable.
44426         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44428         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44430 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44432         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44433         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44435 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44437         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44438         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44439         (bench-deps): Add bench-timing.h.
44440         * benchtests-bench-skeleton.c: Include bench-timing.h.
44441         (main): Use TIMING_* macros instead of clock_gettime.
44442         * benchtests/bench-timing.h: New file.
44444         [BZ #14582]
44445         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44446         Renamed from _LIB_VERSION.
44447         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44449 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44451         * math/libm-test.inc (struct test_fff_f_data): New type.
44452         (RUN_TEST_LOOP_fff_f): New macro.
44453         (fma_test_data): New variable.
44454         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44455         (fma_towardzero_test_data): New variable.
44456         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44457         (fma_downward_test_data): New variable.
44458         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44459         (fma_upward_test_data): New variable.
44460         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44462         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44463         (struct test_c_c_data): New type.
44464         (RUN_TEST_LOOP_c_c): New macro.
44465         (cacos_test_data): New variable.
44466         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44467         (cacosh_test_data): New variable.
44468         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44469         (casin_test_data): New variable.
44470         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44471         (casinh_test_data): New variable.
44472         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44473         (catan_test_data): New variable.
44474         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44475         (catanh_test_data): New variable.
44476         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44477         (ccos_test_data): New variable.
44478         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44479         (ccosh_test_data): New variable.
44480         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44481         (cexp_test_data): New variable.
44482         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44483         (clog_test_data): New variable.
44484         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44485         (clog10_test_data): New variable.
44486         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44487         (conj_test_data): New variable.
44488         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44489         (cproj_test_data): New variable.
44490         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44491         (csin_test_data): New variable.
44492         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44493         (csinh_test_data): New variable.
44494         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44495         (csqrt_test_data): New variable.
44496         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44497         (ctan_test_data): New variable.
44498         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44499         (ctan_tonearest_test_data): New variable.
44500         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44501         (ctan_towardzero_test_data): New variable.
44502         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44503         (ctan_downward_test_data): New variable.
44504         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44505         (ctan_upward_test_data): New variable.
44506         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44507         (ctanh_test_data): New variable.
44508         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44509         (ctanh_tonearest_test_data): New variable.
44510         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44511         (ctanh_towardzero_test_data): New variable.
44512         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44513         (ctanh_downward_test_data): New variable.
44514         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44515         (ctanh_upward_test_data): New variable.
44516         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44517         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44518         of BUILD_COMPLEX.
44520         * math/libm-test.inc (struct test_ff_f_data): New type.
44521         (struct test_ff_f_data_nexttoward): Likewise.
44522         (RUN_TEST_LOOP_2_f): New macro.
44523         (RUN_TEST_LOOP_ff_f): Likewise.
44524         (atan2_test_data): New variable.
44525         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44526         (copysign_test_data): New variable.
44527         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44528         (fdim_test_data): New variable.
44529         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44530         (fmax_test_data): New variable.
44531         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44532         (fmin_test_data): New variable.
44533         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44534         (fmod_test_data): New variable.
44535         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44536         (hypot_test_data): New variable.
44537         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44538         (nextafter_test_data): New variable.
44539         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44540         (nexttoward_test_data): New variable.
44541         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44542         (pow_test_data): New variable.
44543         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44544         (pow_tonearest_test_data): New variable.
44545         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44546         (pow_towardzero_test_data): New variable.
44547         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44548         (pow_downward_test_data): New variable.
44549         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44550         (pow_upward_test_data): New variable.
44551         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44552         (remainder_test_data): New variable.
44553         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44554         (scalb_test_data): New variable.
44555         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44556         * sysdeps/i386/fpu/libm-test-ulps: Update.
44558 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44560         * math/libm-test.inc (fma_test): Use max_value instead of local
44561         variable fltmax.
44562         (nextafter_test): Likewise.
44564         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44565         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44566         (acos_downward_test_data): New variable.
44567         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44568         (acos_upward_test_data): New variable.
44569         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44570         (acosh_test_data): New variable.
44571         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44572         (asin_test_data): New variable.
44573         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44574         (asin_tonearest_test_data): New variable.
44575         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44576         (asin_towardzero_test_data): New variable.
44577         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44578         (asin_downward_test_data): New variable.
44579         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44580         (asin_upward_test_data): New variable.
44581         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44582         (asinh_test_data): New variable.
44583         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44584         (atan_test_data): New variable.
44585         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44586         (atanh_test_data): New variable.
44587         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44588         (cbrt_test_data): New variable.
44589         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44590         (ceil_test_data): New variable.
44591         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44592         (cos_test_data): New variable.
44593         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44594         (cos_tonearest_test_data): New variable.
44595         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44596         (cos_towardzero_test_data): New variable.
44597         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44598         (cos_downward_test_data): New variable.
44599         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44600         (cos_upward_test_data): New variable.
44601         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44602         (cosh_test_data): New variable.
44603         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44604         (cosh_tonearest_test_data): New variable.
44605         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44606         (cosh_towardzero_test_data): New variable.
44607         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44608         (cosh_downward_test_data): New variable.
44609         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44610         (cosh_upward_test_data): New variable.
44611         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44612         (erf_test_data): New variable.
44613         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44614         (erfc_test_data): New variable.
44615         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44616         (exp_test_data): New variable.
44617         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44618         (exp_tonearest_test_data): New variable.
44619         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44620         (exp_towardzero_test_data): New variable.
44621         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44622         (exp_downward_test_data): New variable.
44623         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44624         (exp_upward_test_data): New variable.
44625         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44626         (exp10_test_data): New variable.
44627         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44628         (exp2_test_data): New variable.
44629         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44630         (expm1_test_data): New variable.
44631         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44632         (fabs_test_data): New variable.
44633         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44634         (floor_test_data): New variable.
44635         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44636         (j0_test_data): New variable.
44637         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44638         (j1_test_data): New variable.
44639         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44640         (log_test_data): New variable.
44641         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44642         (log10_test_data): New variable.
44643         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44644         (log1p_test_data): New variable.
44645         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44646         (log2_test_data): New variable.
44647         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44648         (logb_test_data): New variable.
44649         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44650         (logb_downward_test_data): New variable.
44651         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44652         (nearbyint_test_data): New variable.
44653         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44654         (rint_test_data): New variable.
44655         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44656         (rint_tonearest_test_data): New variable.
44657         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44658         (rint_towardzero_test_data): New variable.
44659         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44660         (rint_downward_test_data): New variable.
44661         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44662         (rint_upward_test_data): New variable.
44663         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44664         (round_test_data): New variable.
44665         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44666         (sin_test_data): New variable.
44667         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44668         (sin_tonearest_test_data): New variable.
44669         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44670         (sin_towardzero_test_data): New variable.
44671         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44672         (sin_downward_test_data): New variable.
44673         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44674         (sin_upward_test_data): New variable.
44675         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44676         (sinh_test_data): New variable.
44677         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44678         (sinh_tonearest_test_data): New variable.
44679         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44680         (sinh_towardzero_test_data): New variable.
44681         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44682         (sinh_downward_test_data): New variable.
44683         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44684         (sinh_upward_test_data): New variable.
44685         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44686         (sqrt_test_data): New variable.
44687         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44688         (tan_test_data): New variable.
44689         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44690         (tan_tonearest_test_data): New variable.
44691         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44692         (tan_towardzero_test_data): New variable.
44693         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44694         (tan_downward_test_data): New variable.
44695         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44696         (tan_upward_test_data): New variable.
44697         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44698         (tanh_test_data): New variable.
44699         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44700         (tgamma_test_data): New variable.
44701         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44702         (trunc_test_data): New variable.
44703         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44704         (y0_test_data): New variable.
44705         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44706         (y1_test_data): New variable.
44707         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44708         (significand_test_data): New variable.
44709         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44711 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44713         [BZ #12387]
44714         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44716 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44718         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44720 2013-05-10  Andreas Jaeger  <aj@suse.de>
44722         [BZ #15448]
44723         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44724         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44726 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44728         * math/gen-libm-test.pl (adjust_arg): New function.
44729         (special_functions): Handle generating output in both functions
44730         and arrays.
44731         (parse_args): Likewise.
44732         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44733         $in_func argument to parse_args.
44734         * math/libm-test.inc (struct test_f_f_data): New type.
44735         (IF_ROUND_INIT_): New macro.
44736         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44737         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44738         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44739         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44740         (ROUND_RESTORE_): Likewise.
44741         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44742         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44743         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44744         (ROUND_RESTORE_FE_UPWARD): Likewise.
44745         (RUN_TEST_LOOP_f_f): New macro.
44746         (acos_test_data): New variable.
44747         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44748         (acos_tonearest_test_data): New variable.
44749         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44751 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44753         * benchtests/bench-skeleton.c (startup): Fix coding style.
44755 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44757         [BZ #6809]
44758         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44759         negative infinity argument.
44760         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44761         negative infinity argument.
44762         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44763         negative infinity argument.
44764         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44765         domain errors.
44767 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44769         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44770         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44771         * iconv/iconv_prog.c (main): Likewise.
44772         * locale/programs/charmap-dir.c (charmap_readdir)
44773         (fopen_uncompressed): Likewise.
44774         * locale/programs/locfile.c (siblings_uncached)
44775         (write_locale_data): Use lstat64 instead of lstat.
44776         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44777         stat.
44779 2013-05-10  Andreas Jaeger  <aj@suse.de>
44781         [BZ #15395]
44782         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44783         localization.
44784         Include <locale.h>.
44786 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44788         * elf/dl-close.c (_dl_close_worker): Add comments.
44790 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44792         [BZ #15359]
44793         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44794         high part of pi/2.
44795         (__ieee754_rem_pio2l): Update comments.
44797         [BZ #15429]
44798         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44799         high part of pi/2.
44800         (__ieee754_rem_pio2l): Update comments.
44802         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44803         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44805         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44806         M_PI_4l.
44808         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44809         (M_PI_34_LOG10El): Likewise.
44810         (M_PI2_LOG10El): Likewise.
44811         (M_PI4_LOG10El): Likewise.
44812         (M_PI_LOG10El): Likewise.
44814 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44818 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44820         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44821         (MINUS_ZERO_INIT): Likewise.
44822         (PLUS_INFTY_INIT): Likewise.
44823         (MINUS_INFTY_INIT): Likewise.
44824         (QNAN_VALUE_INIT): Likewise.
44825         (MAX_VALUE_INIT): Likewise.
44826         (MIN_VALUE_INIT): Likewise.
44827         (MIN_SUBNORM_VALUE_INIT): Likewise.
44828         (plus_zero): Initialize with PLUS_ZERO_INIT.
44829         (minus_zero): Initialize with MINUS_ZERO_INIT.
44830         (plus_infty): Initialize with PLUS_INFTY_INIT.
44831         (minus_infty): Initialize with MINUS_INFTY_INIT.
44832         (qnan_value): Initialize with QNAN_VALUE_INIT.
44833         (max_value): Initialize with MAX_VALUE_INIT.
44834         (min_value): Initialize with MIN_VALUE_INIT.
44835         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44837         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44838         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44839         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44840         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44842         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44843         (RUN_TEST_2_f): Likewise.
44844         (RUN_TEST_ff_f): Likewise.
44845         (RUN_TEST_fi_f): Likewise.
44846         (RUN_TEST_fl_f): Likewise.
44847         (RUN_TEST_fff_f): Likewise.
44848         (RUN_TEST_c_f): Likewise.
44849         (RUN_TEST_f_f1): Likewise.
44850         (RUN_TEST_fF_f1): Likewise.
44851         (RUN_TEST_fI_f1): Likewise.
44852         (RUN_TEST_ffI_f1): Likewise.
44853         (RUN_TEST_c_c): Likewise.
44854         (RUN_TEST_cc_c): Likewise.
44855         (RUN_TEST_f_i): Likewise.
44856         (RUN_TEST_f_i_tg): Likewise.
44857         (RUN_TEST_ff_i_tg): Likewise.
44858         (RUN_TEST_f_b): Likewise.
44859         (RUN_TEST_f_b_tg): Likewise.
44860         (RUN_TEST_f_l): Likewise.
44861         (RUN_TEST_f_L): Likewise.
44862         (RUN_TEST_sincos): Likewise.
44863         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44864         whether to show exceptions.  Do not include ");\n" in return
44865         value.
44866         (special_functions): Output call to RUN_TEST_sincos instead of
44867         check_float calls.  Update calls to new_test.
44868         (parse_args): Output call to single RUN_TEST_* macro instead of
44869         check_* calls and other assignments.  Update calls to new_test.
44871         [BZ #2546]
44872         [BZ #2560]
44873         [BZ #5159]
44874         [BZ #15426]
44875         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44876         input to result for tgamma overflow.
44877         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44878         (gamma_coeff): New variable.
44879         (NCOEFF): New macro.
44880         (gamma_positive): New function.
44881         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44882         underflow here.  Use gamma_positive instead of exp (lgamma) for
44883         other arguments.
44884         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44885         (gamma_coeff): New variable.
44886         (NCOEFF): New macro.
44887         (gammaf_positive): New function.
44888         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44889         underflow here.  Use gamma_positive instead of exp (lgamma) for
44890         other arguments.
44891         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44892         (gamma_coeff): New variable.
44893         (NCOEFF): New macro.
44894         (gammal_positive): New function.
44895         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44896         underflow here.  Use gamma_positive instead of exp (lgamma) for
44897         other arguments.
44898         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44899         (gamma_coeff): New variable.
44900         (NCOEFF): New macro.
44901         (gammal_positive): New function.
44902         (__ieee754_gammal_r): Handle positive infinity, overflow and
44903         underflow here.  Handle NaN the same as positive infinity.  Remove
44904         check x < 0xffffffff for negative integers.  Use gamma_positive
44905         instead of exp (lgamma) for other arguments.
44906         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44907         (gamma_coeff): New variable.
44908         (NCOEFF): New macro.
44909         (gammal_positive): New function.
44910         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44911         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44912         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44913         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44914         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44915         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44916         * sysdeps/generic/math_private.h (__gamma_productf): New
44917         prototype.
44918         (__gamma_product): Likewise.
44919         (__gamma_productl): Likewise.
44920         * math/Makefile (libm-calls): Add gamma_product.
44921         * math/libm-test.inc (tgamma_test): Add more tests.
44922         * sysdeps/i386/fpu/libm-test-ulps: Update.
44923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44925 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44927         * benchtests/bench-skeleton.c (main): Preheat CPU.
44929 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44931         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44933 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44935         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44936         and _dl_skip_args_internal.
44938 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44940         * manual/message.texi (Message Translation): Talk about users.
44941         Message to key mapping impacts design.
44943 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44945         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44947         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44949         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44950         * sysdeps/wordsize-64/glob64.c: ... here.
44952         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44953         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44954         New macros.
44956         * debug/getlogin_r_chk.c: Moved to ...
44957         * login/getlogin_r_chk.c: ... here.
44958         * debug/Makefile (routines): Move getlogin_r_chk to ...
44959         * login/Makefile (routines): ... here.
44960         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44961         * login/Versions (libc: GLIBC_2.4): ... here.
44963         * io/poll.c (__poll): Renamed from poll.
44964         Add libc_hidden_def.
44965         (poll): Define as weak alias.
44967         * debug/ptsname_r_chk.c: Moved to ...
44968         * login/ptsname_r_chk.c: ... here.
44969         * debug/Makefile (routines): Move ptsname_r_chk to ...
44970         * login/Makefile (routines): ... here.
44971         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44972         * login/Versions (libc: GLIBC_2.4): ... here.
44974         * posix/getlogin.c: Moved to ...
44975         * login/getlogin.c: ... here.
44976         * posix/getlogin_r.c: Moved to ...
44977         * login/getlogin_r.c: ... here.
44978         * posix/getlogin_r.c: Moved to ...
44979         * login/getlogin_r.c: ... here.
44980         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44981         * login/Makefile (routines): ... here.
44982         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44983         * login/Versions (libc: GLIBC_2.0): ... here.
44985         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44986         (setrlimit): Define as weak alias.
44988         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44989         Call __ names for open, ftruncate, and close.
44990         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44991         (truncate): Define as weak alias.
44993 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44995         * math/gen-libm-test.pl (parse_args): Initialize x before each
44996         test of frexp, modf and remquo.
44998         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44999         test signgam value.
45001 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45003         [BZ #15418]
45004         [BZ #15419]
45005         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45006         internal tests.
45007         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45009 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45011         * elf/dl-writev.h: New file.
45012         * elf/dl-misc.c: Include it.
45013         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45014         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45016 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45018         * math/libm-test.inc (noXFails): Remove variable.
45019         (noXPasses): Likewise.
45020         (BUILD_COMPLEX_INT): Remove macro.
45021         (print_screen): Remove xfail argument.
45022         (print_screen_max_error): Likewise.
45023         (update_stats): Likewise.
45024         (print_max_error): Likewise.  Update calls to other affected
45025         functions.
45026         (print_complex_max_error): Likewise.
45027         (test_single_exception): Update calls to print_screen.
45028         (test_single_errno): Likewise.
45029         (check_float_internal): Remove xfail argument.  Update calls to
45030         other affected functions.
45031         (check_float): Likewise.
45032         (check_complex): Likewise.
45033         (check_int): Likewise.
45034         (check_long): Likewise.
45035         (check_bool): Likewise.
45036         (check_longlong): Likewise.
45037         (main): Don't print noXFails and noXPasses.
45038         * math/gen-libm-test.pl (top level): Don't mention expected
45039         failure handling in comment.
45040         (new_test): Don't handle expected failures.
45041         (parse_args): Don't mention expected failure handling in comment.
45042         (generate_testfile): Don't handle expected failures.
45043         (parse_ulps): Likewise.
45044         (print_ulps_file): Likewise.
45045         (get_failure): Remove function.
45046         (output_test): Don't handle expected failures.
45047         * make/README.libm-test: Don't mention expected failure handling.
45049         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45050         (minus_zero): Likewise.
45051         (plus_infty): Likewise.
45052         (minus_infty): Likewise.
45053         (qnan_value): Likewise.
45054         (max_value): Likewise.
45055         (min_value): Likewise.
45056         (min_subnorm_value): Likewise.
45057         (initialize): Do not initialize those variables dynamically.
45059 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45061         * io/open.c (__open_2): Moved to ...
45062         * io/open_2.c: ... this new file.
45063         * io/open64.c (__open64_2): Moved to ...
45064         * io/open64_2.c: ... this new file.
45065         * io/openat.c (__openat_2): Moved to ...
45066         * io/openat_2.c: ... this new file.
45067         * io/openat64.c (__openat64_2): Moved to ...
45068         * io/openat64_2.c: ... this new file.
45069         * io/Makefile (routines): Add them.
45070         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45071         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45072         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45073         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45074         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45075         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45076         (__openat64): Add hidden_ver.
45077         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45078         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45080         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45081         Separately conditionalize setting of GLRO(dl_sysinfo) so
45082         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45083         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45085 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45087         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45088         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45089         definition.
45090         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45091         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45092         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45093         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45094         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45096 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45098         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45099         test signgam value.
45101         * math/libm-test.inc (hypot_test): Do not use
45102         IGNORE_ZERO_INF_SIGN.
45104 2013-05-03  Andreas Jaeger  <aj@suse.de>
45106         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45107         Linux 3.9.
45108         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45109         (PF_MAX): Adjust for VSOCK change.
45111 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45115 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45117         [BZ #15264]
45118         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45119         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45120         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45122 2013-05-02  David S. Miller  <davem@davemloft.net>
45124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45126 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45128         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45130 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45132         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45134 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45136         [BZ #14952]
45137         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45138         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45139         Use __attribute__ ((__gnu_inline__)).
45140         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45141         Don't use __attribute__ ((__gnu_inline__)).
45143 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45145         [BZ #15423]
45146         * math/s_catan.c (__catan): Handle small real or imaginary part of
45147         input specially to avoid spurious underflow.
45148         * math/s_catanf.c (__catanf): Likewise.
45149         * math/s_catanh.c (__catanh): Likewise.
45150         * math/s_catanhf.c (__catanhf): Likewise.
45151         * math/s_catanhl.c (__catanhl): Likewise.
45152         * math/s_catanl.c (__catanl): Likewise.
45153         * math/libm-test.inc (catan_test): Add more tests.
45154         (catanh_test): Likewise.
45155         * sysdeps/i386/fpu/libm-test-ulps: Update.
45156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45158 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45162 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45164         [BZ #15416]
45165         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45166         accurately for denominator in atan2.
45167         * math/s_catanf.c (__catanf): Likewise.
45168         * math/s_catanh.c (__catanh): Likewise.
45169         * math/s_catanhf.c (__catanhf): Likewise.
45170         * math/s_catanhl.c (__catanhl): Likewise.
45171         * math/s_catanl.c (__catanl): Likewise.
45172         * math/libm-test.inc (catan_test): Add more tests.
45173         (catanh_test): Likewise.
45174         * sysdeps/i386/fpu/libm-test-ulps: Update.
45175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45177 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45179         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45181         * benchtests/Makefile (bench): Remove slow benchmarks.
45182         * benchtests/atan-inputs: Add slow benchmark inputs.
45183         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45184         (BENCH_FUNC): Accept variant offset.
45185         (VARIANT): Define.
45186         * benchtests/bench-skeleton.c (main): Run benchmark for each
45187         variant.
45188         * benchtests/cos-inputs: Add slow benchmark inputs.
45189         * benchtests/exp-inputs: Likewise.
45190         * benchtests/pow-inputs: Likewise.
45191         * benchtests/sin-inputs: Likewise.
45192         * benchtests/slowatan-inputs: Remove.
45193         * benchtests/slowatan.c: Remove.
45194         * benchtests/slowcos-inputs: Remove.
45195         * benchtests/slowcos.c: Remove.
45196         * benchtests/slowexp-inputs: Remove.
45197         * benchtests/slowexp.c: Remove.
45198         * benchtests/slowpow-inputs: Remove.
45199         * benchtests/slowpow.c: Remove.
45200         * benchtests/slowsin-inputs: Remove.
45201         * benchtests/slowsin.c: Remove.
45202         * benchtests/slowtan-inputs: Remove.
45203         * benchtests/slowtan.c: Remove.
45204         * benchtests/tan-inputs: Add slow benchmark inputs.
45205         * scripts/bench.pl: Parse comments and directives.
45207         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45208         in CPPFLAGS.
45209         ($(objpfx)bench-%.c): Remove *-ITER.
45210         * benchtests/bench-modf.c: Remove definition of ITER.
45211         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45212         (main): Loop for DURATION seconds instead of fixed number of
45213         iterations.
45214         * scripts/bench.pl: Don't expect iterations in parameters.
45216 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45218         * io/fchdir.c (__fchdir): Renamed from fchdir.
45219         (fchdir): Define as weak alias.
45221 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45223         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45224         (ERRNO_EDOM): Likewise.
45225         (ERRNO_ERANGE): Likewise.
45226         (noErrnoTests): New variable.
45227         (init_max_error): Set errno to 0.
45228         (test_single_errno): New function.
45229         (test_errno): Likewise.
45230         (check_float_internal): Call test_errno.  Set errno to 0.
45231         (check_complex): Refer to errno tests in comment.
45232         (check_int): Call test_errno.  Set errno to 0.
45233         (check_long): Likewise.
45234         (check_bool): Likewise.
45235         (check_longlong): Likewise.
45236         (cos_test): Use ERRNO_* flags for errno tests instead of
45237         check_int.
45238         (expm1_test): Likewise.
45239         (fmod_test): Likewise.
45240         (ilogb_test): Likewise.
45241         (lgamma_test): Likewise.
45242         (pow_test): Likewise.
45243         (remainder_test): Likewise.
45244         (sin_test): Likewise.
45245         (tan_test): Likewise.
45246         (yn_test): Likewise.
45247         (initialize): Set errno to 0.
45248         (main): Print number of errno tests.
45249         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45251 2013-04-29  Andreas Jaeger  <aj@suse.de>
45253         [BZ #15084]
45254         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45255         and RES_USEVC.
45257         [BZ #15085]
45258         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45259         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45260         unimplemented.
45262         [BZ #15380]
45263         * stdlib/random.c (__initstate): Return NULL if
45264         __initstate fails.
45266         [BZ #15086]
45267         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45268         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45269         RES_SNGLKUPREOP.
45271 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45275 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45277         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45278         of individual tests.
45279         (casin_test): Likewise.
45280         (casinh_test): Likewise.
45282 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45284         [BZ #15409]
45285         * math/s_catan.c (__catan): Handle arguments with large real or
45286         imaginary part separately without squaring.
45287         * math/s_catanf.c (__catanf): Likewise.
45288         * math/s_catanh.c (__catanh): Likewise.
45289         * math/s_catanhf.c (__catanhf): Likewise.
45290         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45291         and redefine.
45292         (__catanhl): Handle arguments with large real or imaginary part
45293         separately without squaring.
45294         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45295         and redefine.
45296         (__catanl): Handle arguments with large real or imaginary part
45297         separately without squaring.
45298         * math/libm-test.inc (catan_test): Add more tests.
45299         (catanh_test): Likewise.
45300         * sysdeps/i386/fpu/libm-test-ulps: Update.
45301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45303 2013-04-27  Andreas Jaeger  <aj@suse.de>
45305         [BZ #15007]
45306         * stdlib/stdlib.h: Update guards for qecvt.
45307         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45308         <stdlib.h>.
45310 2013-04-27  Allan McRae  <allan@archlinux.org>
45312         * sysdeps/i386/fpu/libm-test-ulps: Update.
45314 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45316         [BZ #15406]
45317         * math/s_catan.c: Include <float.h>.
45318         (__catan): Ensure underflow exception occurs for underflowed
45319         result.
45320         * math/s_catanf.c: Include <float.h>.
45321         (__catanf): Ensure underflow exception occurs for underflowed
45322         result.
45323         * math/s_catanh.c: Include <float.h>.
45324         (__catanh): Ensure underflow exception occurs for underflowed
45325         result.
45326         * math/s_catanhf.c: Include <float.h>.
45327         (__catanhf): Ensure underflow exception occurs for underflowed
45328         result.
45329         * math/s_catanhl.c: Include <float.h>.
45330         (__catanhl): Ensure underflow exception occurs for underflowed
45331         result.
45332         * math/s_catanl.c: Include <float.h>.
45333         (__catanl): Ensure underflow exception occurs for underflowed
45334         result.
45335         * math/libm-test.inc (catan_test): Add more tests.
45336         (catanh_test): Likewise.
45338         [BZ #15405]
45339         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45340         underflowed result.
45341         * math/s_ccoshf.c (__ccoshf): Likewise.
45342         * math/s_ccoshl.c (__ccoshl): Likewise.
45343         * math/s_csin.c (__csin): Likewise.
45344         * math/s_csinf.c (__csinf): Likewise.
45345         * math/s_csinh.c (__csinh): Likewise.
45346         * math/s_csinhf.c (__csinhf): Likewise.
45347         * math/s_csinhl.c (__csinhl): Likewise.
45348         * math/s_csinl.c (__csinl): Likewise.
45349         * math/libm-test.inc (ccos_test): Add more tests.
45350         (ccosh_test): Likewise.
45351         (csin_test): Likewise.
45352         (csinh_test): Likewise.
45354 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45356         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45357         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45358         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45359         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45360         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45361         powerpc/power5+/fpu folders.
45362         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45365 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45369 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45371         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45372         additions to variable.
45373         [$(config-machine) = x86_64] (modules-names): Likewise.
45374         ($(objpfx)tst-audit3): Remove dependency.
45375         ($(objpfx)tst-audit3.out): Likewise.
45376         ($(objpfx)tst-audit4): Likewise.
45377         ($(objpfx)tst-audit4.out): Likewise.
45378         ($(objpfx)tst-audit5): Likewise.
45379         ($(objpfx)tst-audit5.out): Likewise.
45380         ($(objpfx)tst-audit6): Likewise.
45381         ($(objpfx)tst-audit6.out): Likewise.
45382         ($(objpfx)tst-audit7): Likewise.
45383         ($(objpfx)tst-audit7.out): Likewise.
45384         (tst-audit3-ENV): Remove variable.
45385         (tst-audit4-ENV): Likewise.
45386         (tst-audit5-ENV): Likewise.
45387         (tst-audit6-ENV): Likewise.
45388         (tst-audit7-ENV): Likewise.
45389         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45390         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45391         addition to variable.
45392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45395         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45396         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45397         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45398         tst-audit3, tst-audit4 and tst-audit5.
45399         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45400         tst-audit6 and tst-audit7.
45401         [$(subdir) = elf] (modules-names): Add audit modules for those
45402         tests.
45403         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45404         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45405         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45406         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45407         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45408         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45409         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45410         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45411         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45412         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45413         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45414         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45415         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45416         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45417         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45418         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45419         Likewise.
45420         [$(subdir) = elf && $(config-cflags-avx) = yes]
45421         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45422         [$(subdir) = elf && $(config-cflags-avx) = yes]
45423         (CFLAGS-tst-auditmod4a.c): Likewise.
45424         [$(subdir) = elf && $(config-cflags-avx) = yes]
45425         (CFLAGS-tst-auditmod4b.c): Likewise.
45426         [$(subdir) = elf && $(config-cflags-avx) = yes]
45427         (CFLAGS-tst-auditmod6b.c): Likewise.
45428         [$(subdir) = elf && $(config-cflags-avx) = yes]
45429         (CFLAGS-tst-auditmod6c.c): Likewise.
45430         [$(subdir) = elf && $(config-cflags-avx) = yes]
45431         (CFLAGS-tst-auditmod7b.c): Likewise.
45432         * elf/tst-audit3.c: Move to ...
45433         * sysdeps/x86_64/tst-audit3.c: ... here.
45434         * elf/tst-audit4.c: Move to ...
45435         * sysdeps/x86_64/tst-audit4.c: ... here.
45436         * elf/tst-audit5.c: Move to ...
45437         * sysdeps/x86_64/tst-audit5.c: ... here.
45438         * elf/tst-audit6.c: Move to ...
45439         * sysdeps/x86_64/tst-audit6.c: ... here.
45440         * elf/tst-audit7.c: Move to ...
45441         * sysdeps/x86_64/tst-audit7.c: ... here.
45442         * elf/tst-auditmod3a.c: Move to ...
45443         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45444         * elf/tst-auditmod3b.c: Move to ...
45445         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45446         * elf/tst-auditmod4a.c: Move to ...
45447         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45448         * elf/tst-auditmod4b.c: Move to ...
45449         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45450         * elf/tst-auditmod5a.c: Move to ...
45451         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45452         * elf/tst-auditmod5b.c: Move to ...
45453         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45454         * elf/tst-auditmod6a.c: Move to ...
45455         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45456         * elf/tst-auditmod6b.c: Move to ...
45457         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45458         * elf/tst-auditmod6c.c: Move to ...
45459         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45460         * elf/tst-auditmod7a.c: Move to ...
45461         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45462         * elf/tst-auditmod7b.c: Move to ...
45463         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45465 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45467         [BZ #15366]
45468         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45469         define unconditionally.
45470         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45471         define unconditionally.
45472         (INT8_C, INT16_C, etc.): Likewise.
45474 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45476         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45477         __ehdr_start with hidden visibility.
45479         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45481 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45483         * math/libm-test.inc (cos_test): Use accurate hex constants.
45484         (sincost_test): Likewise.
45486 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45488         * math/libm-test.inc (catan_test): Add more tests.
45489         (catanh_test): Likewise.
45491         * math/s_catanf.c (__catanf): Use suffixed floating-point
45492         constants.
45493         * math/s_catanhf.c (__catanhf): Likewise.
45494         * math/s_catanhl.c (__catanhl): Likewise.
45495         * math/s_catanl.c (__catanl): Likewise.
45497         [BZ #15394]
45498         * math/s_catan.c (__catan): Calculate imaginary part of result
45499         with log1p not log unless computing log of number close to 0.
45500         * math/s_catanf.c (__catanf): Likewise.
45501         * math/s_catanl.c (__catanl): Likewise.
45502         * math/s_catanh.c (__catanh): Calculate real part of result with
45503         log1p not log unless computing log of number close to 0.
45504         * math/s_catanhf.c (__catanhf): Likewise.
45505         * math/s_catanhl.c (__catanhl): Likewise.
45506         * math/libm-test.inc (catan_test): Add more tests.
45507         (catanh_test): Likewise.
45508         * sysdeps/i386/fpu/libm-test-ulps: Update.
45509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45511 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45513         * benchtests/Makefile: Mention files in which fast and slow
45514         paths of math functions are implemented.
45516 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45518         * sysdeps/posix/timespec_get.c: New file.
45520 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45522         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45523         POWER.
45524         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45525         for POWER.
45526         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45527         powerpc/power5/fpu folders.
45528         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45529         * benchtests/Makefile: Add modf testcase.
45530         * benchtests/bench-modf.c: New file: Benchmark test for mo
45532 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534         [BZ #14888]
45535         * time/Makefile (tests): Add tst-strptime-whitespace.
45536         * time/strptime_l.c (get_number): Use ISSPACE.
45537         (__strptime_internal): Likewise.
45538         * time/tst-strptime-whitespace.c: New test case.
45540 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45542         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45543         member.
45544         (_nss_files_init): Set it here.
45546 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45549         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45550         unsigned.
45552 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45554         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45556 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45558         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45559         size just once.
45561 2013-04-21  David S. Miller  <davem@davemloft.net>
45563         * po/ru.po: Update Russion translation from translation project.
45565 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45567         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45568         and setfsgid.
45570 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45572         * configure.in: Remove i386 configure warning. Remove i386 case.
45573         * configure: Regenerate.
45574         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45575         Add example to error message.
45576         * sysdeps/i386/configure: Regenerate.
45578 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45580         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45581         slowtan.
45582         * benchtests/cos-inputs: New file.
45583         * benchtests/slowcos-inputs: New file.
45584         * benchtests/slowcos.c: New file.
45585         * benchtests/slowtan-inputs: New file.
45586         * benchtests/slowtan.c: New file.
45587         * benchtests/tan-inputs: New file.
45589 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45591         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45592         considered kosher.
45594 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45596         * benchtests/Makefile: Include cppflags-iterator.mk to add
45597         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45599         * Makefile.in (bench-clean): New target.
45600         * benchtests/Makefile (bench-clean): Likewise.
45602 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45604         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45606 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45608         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45610 2013-04-15  Andreas Schwab  <schwab@suse.de>
45612         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45613         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45614         * nscd/pwdcache.c (cache_addpw): Likewise.
45615         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45616         more than recsize.
45618 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45620         * benchtests/Makefile (bench): Write all output to
45621         bench-out.tmp together.
45623 2013-04-15  Andreas Schwab  <schwab@suse.de>
45625         * nscd/nscd.c (main): Don't fork again after closing files.
45627 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45629         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45631         * benchtests/Rules (bench-deps): Collect dependencies into a
45632         single variable.  Add Makefile to dependencies.
45633         ($(objpfx)bench-%.c): Depend on bench-deps.
45635 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45636             Xavier Roche  <roche+kml2@exalead.com>
45638         [BZ #15361]
45639         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45640         just that it's a file descriptor.
45641         * manual/llio.texi (Synchronizing AIO Operations): Update description
45642         for EBADF error from aio_fsync.
45644 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45646         * Rules (bench): Move target definition...
45647         * benchtests/Makefile: ... here.
45649 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45651         * math/libm-test.inc (cos_test): Fix PI/2 test.
45652         (sincos_test): Likewise.
45653         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45654         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45656 2013-04-11  Andreas Schwab  <schwab@suse.de>
45658         [BZ #13988]
45659         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45660         accept exponent character only when digits were seen.
45661         * stdio-common/Makefile (tests): Add bug26.
45662         * stdio-common/bug26.c: New file.
45664         [BZ #14293]
45665         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45666         non-freeable.
45668 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45670         * Makeconfig (rtld-prefix): Define built linker prefix.
45671         * Rules (run-bench): Use it.
45672         * math/Makefile (run-regen-ulps): Likewise.
45674         * Rules (bench): Remove eval.
45676 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45677             Roland McGrath  <roland@hack.frob.com>
45678             Ondrej Bilka  <neleai@seznam.cz>
45680         [BZ #15346]
45681         * time/getdate.c: Include ctype.h and alloca.h.
45682         (__getdate_r): Trim leading and trailing spaces of input.
45683         * time/tst-getdate.c (tests): Add tests with leading and
45684         trailing spaces.
45686 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45688         [BZ #14280]
45689         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45690         when computing value.
45692 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45694         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45695         Use testrun.sh to run libm tests.
45697         [BZ #15309]
45698         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45700 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45702         [BZ #15264]
45703         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45705 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45707         * Makefile.in (regen-ulps): New target.
45708         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45709         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45710         [ifneq (no,$(PERL)] (regen-ulps): New target.
45711         [ifeq (no,$(PERL)] (regen-ulps): New target.
45712         * math/libm-test.inc (ulps_file_name): Define.
45713         (output_dir): New variable.
45714         (options): Add "output-dir" option.
45715         (parse_opt): Handle 'o' case.
45716         (main): If output_dir is non-NULL use it as a prefix
45717         otherwise use "".
45718         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45720 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45722         [BZ #10060, #10062]
45723         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45724         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45725         fail configure if __sync_val_compare_and_swap is not inlined.
45726         * sysdeps/i386/configure: Regenerate.
45727         * configure.in: Build for i686 when configured for i386.
45728         * configure: Regenerate.
45729         * README: Remove i386 reference.
45731 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45733         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45734         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45736 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45738         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45739         (lmsnanval): New variables.
45740         (F): Add conversion tests.
45741         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45742         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45744         * stdio-common/tstdiomisc.c (F): Properly collect individual
45745         tests' results.
45747         [BZ #14686, #15336]
45748         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45749         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45750         Instead, use input NaN values or generate a qNaN by arithmetic
45751         operation.  Also fix bugs to comply with the standard.
45752         * math/libm-test.inc (remainder_test): Add more tests.
45754         [BZ #15335, #15342]
45755         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45757         input NaN values or generate a qNaN by arithmetic operation.
45759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45760         unreachable code.
45762         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45763         definitions.
45765 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45767         [BZ #14478]
45768         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45769         underflowed result.
45770         * math/s_cexpf.c (__cexpf): Likewise.
45771         * math/s_cexpl.c (__cexpl): Likewise.
45772         * math/libm-test.inc (cexp_test): Add more tests.
45774 2013-04-03  Andreas Schwab  <schwab@suse.de>
45776         [BZ #15330]
45777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45778         order arrays from heap if bigger than alloca cutoff.
45780 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45782         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45783         (SNAN_TESTS_double): Refer to GCC PR56831.
45784         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45785         GCC PR56828.
45787 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45789         * Rules (bench): Move bench.out after the run is complete.
45791         * Rules (bench): Echo currently running benchmark.
45793         * benchtests/Makefile (bench): Add atan and slowatan.
45794         * benchtests/atan-inputs: New file.
45795         * benchtests/slowatan-inputs: New file.
45796         * benchtests/slowatan.c: New file.
45798         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45800         its value.
45802         [BZ #15305]
45803         * sysdeps/unix/sysv/linux/kernel-features.h
45804         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45805         __ASSUME_XFS_RESTRICTED_CHOWN.
45806         * sysdeps/unix/sysv/linux/pathconf.c
45807         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45808         Save and restore errno.
45810 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45812         [BZ #15327]
45813         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45814         arguments using __kernel_casinh.
45815         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45816         arguments using __kernel_casinhf.
45817         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45818         arguments using __kernel_casinhl.
45819         * math/libm-test.inc (cacosh_test): Add more tests.
45820         * sysdeps/i386/fpu/libm-test-ulps: Update.
45821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45825         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45828         * bench/Makefile (bench): Add sin and slowsin.
45829         * benchtests/sin-inputs: New file.
45830         * benchtests/slowsin-inputs: New file.
45831         * benchtests/slowsin.c: New file.
45833         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45834         (bench): Add slowexp and slowpow.
45835         (exp-ITER): Increase iterations.
45836         (pow-ITER): Likewise.
45837         * benchtests/exp-inputs: Change input.
45838         * benchtests/pow-inputs: Likewise.
45839         * benchtests/slowexp-inputs: New file.
45840         * benchtests/slowexp.c: New file.
45841         * benchtests/slowpow-inputs: New file.
45842         * benchtests/slowpow.c: New file.
45844 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45846         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45847         instructions.
45848         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45849         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45850         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45851         * benchtests/Makefile: Add rint benchtest.
45852         * benchtests/rint-inputs: Input for rint benchtest.
45854 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45856         * Versions.def (libm): Add GLIBC_2.18.
45857         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45858         hidden libm prototypes.
45859         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45860         * math/Makefile (libm-calls): Add s_issignaling.
45861         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45862         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45863         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45864         declaration.
45865         * math/math.h [__USE_GNU] (issignaling): New macro.
45866         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45867         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45868         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45869         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45872         * manual/arith.texi (issignaling): New section.
45873         * manual/libm-err-tab.pl (@all_functions): Update comment.
45874         * math/gen-libm-test.pl (parse_args): Apply special handling for
45875         issignaling.
45876         * math/libm-test.inc (print_float, issignaling_test): New
45877         functions.
45878         (check_float_internal): Add issignaling checks.
45879         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45880         default definition.
45881         * sysdeps/powerpc/math-tests.h: New file.
45882         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45883         tests.
45884         * math/test-snan.c (TEST_FUNC): Likewise.
45886 2013-03-30  David S. Miller  <davem@davemloft.net>
45888         * po/de.po: Update from translation team.
45890 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45892         [BZ #10357]
45893         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45894         imaginary part less than 1.0 and real part less than 0.5
45895         specially.
45896         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45897         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45898         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45899         (cacos_test): Add more tests.
45900         (casin_test): Likewise.
45901         (casinh_test): Likewise.
45902         * sysdeps/i386/fpu/libm-test-ulps: Update.
45903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45905 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45907         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45908         ONE with its value.
45910         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45911         (__pow_mp): Replace ONE and MONE with their values.
45912         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45915         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45916         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45917         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45919         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45921         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45922         (__pow_mp): Replace ZERO and MZERO with their values.
45923         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45924         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45927         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45928         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45929         (__sqr): Likewise.
45931         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45933         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45935 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45937         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45938         Declare with __attribute__ ((weak)).
45939         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45940         Call __call_tls_dtors only if it's not NULL.
45942 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45944         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45945         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45946         magic __ehdr_start linker symbol if it's defined.
45947         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45948         them up here if it was already done.
45950         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45951         (_dl_aux_init): Use const in cast when setting it.
45952         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45953         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45954         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45956         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45957         Declare them here.
45958         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45959         * csu/libc-tls.c: Nor here.
45960         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45962         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45963         (__libc_message): Never call vsyslog.
45965 2013-03-28  Alan Modra  <amodra@gmail.com>
45967         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45968         Define as empty.
45969         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45970         Likewise.
45972 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45974         [BZ #15214]
45975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45976         underflow.
45977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45979 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45981         [BZ #15304]
45982         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45983         Don't add gid passed as argument.
45985         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45987 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45989         [BZ #15307]
45990         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45991         imaginary part between 1.0 and 1.5 and real part less than 0.5
45992         specially.
45993         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45994         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45995         * math/libm-test.inc (cacos_test): Add more tests.
45996         (casin_test): Likewise.
45997         (casinh_test): Likewise.
45998         * sysdeps/i386/fpu/libm-test-ulps: Update.
45999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46001 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46003         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46004         constants.
46005         (norm): Likewise.
46006         (denorm): Likewise.
46007         (__dbl_mp): Likewise.
46008         (add_magnitudes): Likewise.
46009         (sub_magnitudes): Likewise.
46010         (__add): Likewise.
46011         (__sub): Likewise.
46012         (__mul): Likewise.
46013         (__sqr): Likewise.
46014         (__inv): Likewise.
46015         (__dvd): Likewise.
46017         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46018         commented code.
46019         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46020         (__dubcos): Likewise.
46021         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46022         (__ieee754_acos): Likewise.
46023         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46024         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46025         (__exp1): Likewise.
46026         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46028         (log1): Likewise.
46029         (my_log2): Likewise.
46030         (checkint): Likewise.
46031         * sysdeps/ieee754/dbl-64/e_remainder.c
46032         (__ieee754_remainder): Likewise.
46033         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46035         (bsloww): Likewise.
46036         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46038         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46039         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46040         MANTISSA_STORE_T to store computations on mantissa.  Use
46041         macros for rounding and division.
46042         (denorm): Likewise.
46043         (__dbl_mp): Likewise.
46044         (add_magnitudes): Likewise.
46045         (sub_magnitudes): Likewise.
46046         (__mul): Likewise.
46047         (__sqr): Likewise.
46048         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46049         powers of two in terms of TWOPOW macro.
46050         (mp_no): Make type of mantissa as MANTISSA_T.
46051         [!RADIXI]: Define RADIXI.
46052         [!TWO52]: Define TWO52.
46053         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46055 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46057         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46058         llroundl symbol when building for PPC32.
46060 2013-03-24  Mark H Weaver  <mhw@netris.org>
46062         * manual/arith.texi (Normalization Functions): Fix prototypes for
46063         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46065 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46067         [BZ #13889]
46068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46069         high value to check if expl overflow.
46070         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46071         to check for underflow and overflow.
46072         * math/libm-test.inc: Add exp test.
46074 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46076         [BZ #11120]
46077         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46078         with NOT_IN_libc.
46080 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46082         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46083         symbol.
46085 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46087         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46088         wrap blocks consisting of several statements.
46090         * sysdeps/generic/math-tests.h: New file.
46091         * sysdeps/i386/fpu/math-tests.h: Likewise.
46092         * math/test-snan.c: Include it.
46093         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46095 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46097         [BZ #15285]
46098         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46099         (__ieee754_j0l): Do not improve calculations using cos of twice
46100         input for inputs above LDBL_MAX / 2.0L.
46101         (__ieee754_y0l): Likewise.
46102         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46103         (__ieee754_j1l): Do not improve calculations using cos of twice
46104         input for inputs above LDBL_MAX / 2.0L.
46105         (__ieee754_y1l): Likewise.
46106         * math/libm-test.inc (j0_test): Add another test.
46107         (j1_test): Likewise.
46108         (y0_test): Likewise.
46109         (y1_test): Likewise.
46110         * sysdeps/i386/fpu/libm-test-ulps: Update.
46112 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46114         * Rules ($(objpfx)bench-%.c): Include code from a C source
46115         file.
46117 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46119         [BZ #15287]
46120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46121         imaginary part 1.0 and real part less than 0.5 specially.
46122         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46123         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46124         * math/libm-test.inc (cacos_test): Add more tests.
46125         (casin_test): Likewise.
46126         (casinh_test): Likewise.
46127         * sysdeps/i386/fpu/libm-test-ulps: Update.
46128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46130 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46132         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46133         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46135 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46137         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46138         * config.make.in (config-cflags-sse4): Remove variable.
46139         (config-cflags-avx): Likewise.
46140         (config-cflags-sse2avx): Likewise.
46141         (config-cflags-novzeroupper): Likewise.
46142         (config-asflags-i686): Likewise.
46143         (have-mfma4): Likewise.
46144         (have-as-vis3): Likewise.
46145         (MIG): Likewise.
46146         * configure.in (MIG): Do not AC_SUBST.
46147         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46148         (libc_cv_cc_sse4): Do not AC_SUBST.
46149         (libc_cv_cc_avx): Likewise.
46150         (libc_cv_cc_sse2avx): Likewise.
46151         (libc_cv_cc_novzeroupper): Likewise.
46152         (libc_cv_cc_fma4): Likewise.
46153         (libc_cv_as_i686): Likewise.
46154         (libc_cv_sparc_as_vis3): Likewise.
46155         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46156         LIBC_CONFIG_VAR.
46157         (config-asflags-i686): Likewise.
46158         (config-cflags-avx): Likewise.
46159         (config-cflags-sse2avx): Likewise.
46160         (have-mfma4): Likewise.
46161         (config-cflags-novzeroupper): Likewise.
46162         * sysdeps/mach/configure.in (MIG): Likewise.
46163         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46164         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46165         LIBC_CONFIG_VAR.
46166         (config-cflags-avx): Likewise.
46167         (config-cflags-sse2avx): Likewise.
46168         (have-mfma4): Likewise.
46169         (config-cflags-novzeroupper): Likewise.
46170         * configure: Regenerated.
46171         * sysdeps/i386/configure: Likewise.
46172         * sysdeps/mach/configure: Likewise.
46173         * sysdeps/sparc/configure: Likewise.
46174         * sysdeps/x86_64/configure: Likewise.
46176 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46178         [BZ #14812]
46179         * locale/programs/localedef.c (options): Put N_ translation marker
46180         on argument names, not just descriptions.
46182 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46184         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46186 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46188         [BZ #14176]
46189         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46191 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46193         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46194         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46195         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46196         [!BEFORE_ABORT] (before_abort): New function.
46197         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46198         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46199         (writev_for_fatal): New function.
46200         (WRITEV_FOR_FATAL): New macro; call that.
46201         (backtrace_and_maps): New function.
46202         (BEFORE_ABORT): New macro; call that.
46203         (struct str_list): Type removed.
46204         (__libc_message, __libc_fatal): Functions removed.
46205         Include <sysdeps/posix/libc_fatal.c> instead.
46207 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46209         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46210         constants.
46211         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46212         double constants.
46214 2013-03-19  Andreas Schwab  <schwab@suse.de>
46216         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46217         * sysdeps/gnu/configure: Regenerate.
46219         * configure.in: Substitute libc_cv_rtlddir.
46220         * configure: Regenerate.
46221         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46222         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46223         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46224         * elf/Makefile (install-others, CFLAGS-interp.c)
46225         (ldso_install, common-ldd-rewrite): Likewise.
46226         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46227         $(inst_slibdir)/$(rtld-installed-name).
46228         * scripts/rellns-sh: Add -p option.
46229         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46230         for source.
46232 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46234         * manual/nptl.texi: Renamed to ...
46235         * manual/threads.texi: ... this.
46236         * manual/Makefile (chapters): Update.
46238 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46240         [BZ #14812]
46241         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46242         on argument names, not just descriptions.
46243         * malloc/memusagestat.c (options): Likewise.
46244         * nss/getent.c (options): Likewise.
46246 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46248         [BZ #14812]
46249         * iconv/iconv_prog.c (options): Put N_ translation marker
46250         on argument names, not just descriptions.
46251         * iconv/iconvconfig.c (options): Likewise.
46253 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46255         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46256         implementation which is faster on all x86_64 architectures.
46257         Tested on AMD, Intel Nehalem, SNB, IVB.
46258         * sysdeps/x86_64/strnlen.S: Likewise.
46260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46261         Remove all multiarch strlen and strnlen versions.
46262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46263         Remove strlen and strnlen related parts.
46265         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46266         Inline strlen part.
46267         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46269         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46270         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46271         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46272         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46273         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46274         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46276 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46278         * manual/memory.texi (Malloc Tunable Parameters):
46279         Sort parameters alphabetically. Add comments for missing entries.
46281 2013-03-17  David S. Miller  <davem@davemloft.net>
46283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46285 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46287         [BZ #15283]
46288         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46289         for arguments at most half maximum finite value.
46290         * math/libm-test.inc (j0_test): Add more tests.
46291         (j1_test): Likewise.
46292         (y0_test): Likewise.
46293         (y1_test): Likewise.
46294         * sysdeps/i386/fpu/libm-test-ulps: Update.
46295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46297         [BZ #14155]
46298         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46299         1 / x and functions P and Q for arguments above 0x1p256L.
46300         (__ieee754_y0l): Likewise.
46301         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46302         (__ieee754_y1l): Likewise.
46303         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46304         (j1_test): Likewise.
46305         (y0_test): Likewise.
46306         (y1_test): Likewise.
46308 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46310         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46311         variable.
46313 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46315         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46316         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46317         zero since it's initialized to EXEC_PAGESIZE.
46319         * sysdeps/unix/sysv/linux/ldsodefs.h
46320         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46321         * sysdeps/generic/ldsodefs.h: ... here.
46323 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46325         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46327         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46328         math/test-snan.c.
46329         * math/test-snan.c: Renamed from
46330         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46331         * math/Makefile (tests): Add test-snan.
46332         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46333         test-powerpc-snan.
46335         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46336         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46337         functions.
46338         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46339         __builtin_nan family of functions.
46340         * math/libm-test.inc (initialize): Initialize qnan_value with
46341         __builtin_nan family of functions.
46342         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46343         Remove variables.
46344         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46345         Remove functions.
46346         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46347         storage class.  Initialize qNaN_var and sNaN_var with
46348         __builtin_nan and __builtin_nans families of functions,
46349         respectively.
46351         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46352         (sqrt_test): Remove duplicate test with qNaN input.
46353         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46354         (round_test, signbit_test, significand_test): Note missing +/-Inf
46355         as well as qNaN tests.
46357         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46358         qNaN_var.  Fix a few strings, too.
46359         * math/libm-test.inc (nan_value): Rename to qnan_value.
46360         * math/gen-libm-test.pl (%beautify): Adjust to that.
46361         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46362         * math/test-misc.c (main): Likewise.
46363         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46364         to __qnan_bytes, and __qnan_union, respectively.
46365         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46366         Likewise.
46367         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46368         and lqnanval, respectively.
46369         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46370         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46371         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46372         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46374         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46375         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46376         doubles.
46378         * math/test-misc.c (main): Fix copy'n'pastos.
46379         * misc/tst-efgcvt.c (special): Likewise.
46381         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46382         Remove declarations.
46384 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46386         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46387         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46388         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46389         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46391 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46394         macro to return vdso values correctly in IFUNC implementations.
46395         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46396         Optimization by using IFUNC.
46398 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46399             Richard Henderson  <rth@redhat.com>
46400             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46402         * Makefile.in (bench): New target.
46403         * NEWS: Mention the benchmark framework.
46404         * Rules (bench): Likewise.
46405         (binaries-bench): Generate binaries for functions to
46406         benchmark.
46407         * benchtests/Makefile: New makefile for benchmark tests.
46408         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46409         programs.
46410         * benchtests/exp-inputs: New input file for EXP function.
46411         * benchtests/pow-inputs: New input file for POW function.
46412         * scripts/bench.pl: New script to generate source files for
46413         benchmark programs.
46415 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46417         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46419         computations on mantissa.  Use macros for rounding and
46420         division.
46421         (denorm): Likewise.
46422         (__dbl_mp): Likewise.
46423         (add_magnitudes): Likewise.
46424         (sub_magnitudes): Likewise.
46425         (__mul): Likewise.
46426         (__sqr): Likewise.
46427         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46428         powers of two in terms of TWOPOW macro.
46429         (mp_no): Make type of mantissa as MANTISSA_T.
46430         [!RADIXI]: Define RADIXI.
46431         [!TWO52]: Define TWO52.
46432         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46434         * manual/nptl.texi (cindex): Modify threads to pthreads.
46436 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46438         * sysdeps/x86_64/preconfigure: Regenerated.
46440 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #14155]
46443         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46444         0x1p28 and above.
46445         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46446         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46447         0x1p28 and above.
46448         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46449         * math/libm-test.inc (j0_test): Do not allow one spurious
46450         underflow exception.
46451         (y1_test): Likewise.
46453 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46455         * manual/Makefile (chapters): Add nptl.
46456         * manual/debug.texi (Debugging Support): Add link to Threads
46457         chapter.
46458         * manual/nptl.texi: New file.
46460         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46462 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46464         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46465         for non-NULL pointer before the memory validity test. Pointed
46466         out by Holger Brunck <holger.brunck@keymile.com>.
46468 2013-03-13  Andreas Schwab  <schwab@suse.de>
46470         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46471         instead of .os.
46473 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46475         * timezone/zic.c: Update from tzcode 2013b.
46477 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46479         * manual/install.texi (Configuring and compiling):
46480         Mention i686 and i586.
46481         * INSTALL: Regenerate.
46483 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46485         * sysdeps/init_array/elf-init.c: New file.
46486         * csu/elf-init.c
46487         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46488         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46490         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46491         __gmon_start__ as global, but as static with a .preinit_array pointer.
46492         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46493         * sysdeps/init_array/crti.S: New file, empty except for comments.
46494         * sysdeps/init_array/crtn.S: Likewise.
46496 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46498         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46499         definining bcopy.
46500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46501         Remove Prefer_SSE_for_memop.
46502         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46503         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46504         HAS_PREFER_SSE_FOR_MEMOP.
46505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46506         memset-x86-64.
46507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46508         Remove bzero, memset ifunc support.
46509         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46510         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46511         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46512         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46514 2013-03-11  Andreas Schwab  <schwab@suse.de>
46516         [BZ #15234]
46517         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46518         by SHLIB_COMPAT.
46519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46520         (GLIBC_2.16): Remove pthread_atfork.
46522 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46524         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46525         (ptestcases.h): Likewise.
46527 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46529         * Makeconfig ($(common-objpfx)config.status): Depend on
46530         sysdeps/*/preconfigure{,.in} too.
46532 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46534         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46535         (__free_hook): Use void * instead of __malloc_ptr_t.
46536         (__malloc_hook): Likewise.
46537         (__realloc_hook): Likewise.
46538         (__memalign_hook): Likewise.
46539         (__after_morecore_hook): Likewise.
46540         * malloc/arena.c (save_malloc_hook): Likewise.
46541         (save_free_hook): Likewise.
46542         * malloc/hooks.c (malloc_hook_ini): Likewise.
46543         (realloc_hook_ini): Likewise.
46544         (memalign_hook_ini): Likewise.
46545         * malloc/malloc.c (malloc_hook_ini): Likewise.
46546         (realloc_hook_ini): Likewise.
46547         (memalign_hook_ini): Likewise.
46548         (__free_hook): Likewise.
46549         (__malloc_hook): Likewise.
46550         (__realloc_hook): Likewise.
46551         (__memalign_hook): Likewise.
46552         (__libc_malloc): Likewise.
46553         (__libc_free): Likewise.
46554         (__libc_realloc): Likewise.
46555         (__libc_memalign): Likewise.
46556         (__libc_valloc): Likewise.
46557         (__libc_pvalloc): Likewise.
46558         (__libc_calloc): Likewise.
46559         (__posix_memalign): Likewise.
46560         * malloc/morecore.c (__sbrk): Likewise.
46561         (__default_morecore): Likewise.
46563         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46565         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46566         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46567         __malloc_ptrdiff_t.
46569         * malloc/malloc.h (__malloc_size_t): Remove macro.
46570         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46571         __malloc_size_t.
46572         (old_memalign_hook): Likewise.
46573         (old_realloc_hook): Likewise.
46574         (struct hdr): Likewise.
46575         (flood): Likewise.
46576         (mallochook): Likewise.
46577         (memalignhook): Likewise.
46578         (reallochook): Likewise.
46579         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46580         (tr_old_realloc_hook): Likewise.
46581         (tr_old_memalign_hook): Likewise.
46582         (tr_mallochook): Likewise.
46583         (tr_reallochook): Likewise.
46584         (tr_memalignhook): Likewise.
46586 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46588         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46589         default_ldbl_pack and using as default implementation.
46590         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46591         implementation.
46592         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46593         redundant definition.
46594         (ldbl_insert_mantissa): Likewise.
46595         (ldbl_canonicalize): Likewise.
46596         (ldbl_nearbyint): Likewise.
46597         (ldbl_pack): Rename to ldbl_pack_ppc.
46598         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46599         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46600         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46602 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46605         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46606         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46607         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46610         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46611         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46613 2013-03-07  Andreas Jaeger  <aj@suse.de>
46615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46616         bits/mman-linux.h.
46618 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46620         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46621         Include mpa.h and declare __MPEXP.
46622         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46623         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46624         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46625         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46626         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46627         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46628         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46630         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46631         (__slowpow): Use long double EXPL and LOGL functions to
46632         compute POW.
46633         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46634         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46635         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46636         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46637         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46638         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46641         intermediate variable to calculate exponent.
46642         (__sqr): Likewise.
46643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46644         Likewise.
46645         (__sqr): Likewise.
46647         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46648         [!NO__SQR]: Define __sqr.
46649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46650         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46651         sysdeps/ieee754/dbl-64/mpa.c.
46652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46654         [BZ #12723]
46655         * posix/Makefile (tests): Add tst-pathconf.
46656         * posix/tst-pathconf.c: New test case.
46657         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46658         _PC_PIPE_BUF.
46659         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46661 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46663         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46665 2013-03-06  Andreas Jaeger  <aj@suse.de>
46667         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46668         definition via __MAP_ANONYMOUS.
46670         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46671         it's not part of Linux headers.
46673         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46674         (MAP_HUGE_MASK): Define.
46676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46677         Define.
46678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46679         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46680         Define.
46681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46682         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46683         Define.
46684         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46685         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46686         Define.
46687         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46689         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46690         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46691         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46692         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46693         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46694         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46696         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46697         Handle f2fs.
46699         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46700         Handle f2fs and efivarfs.
46702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46703         f2fs.
46705         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46706         (EFIVARFS_MAGIC): Add.
46707         (F2FS_LINK_MAX): Add.
46709 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46711         * stdio-common/vfprintf.c: Replace __builtin_expect with
46712         __glibc_unlikely.
46714 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46716         [BZ #13550]
46717         * sysdeps/generic/bp-sym.h: Remove file.
46718         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46719         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46720         <bp-sym.h> and <bp-asm.h>.
46721         (__longjmp): Don't use BP_SYM.
46722         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46723         and <bp-asm.h>.
46724         (memcpy): Don't use BP_SYM.
46725         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46726         <bp-sym.h> and <bp-asm.h>.
46727         (memcpy): Don't use BP_SYM.
46728         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46729         <bp-asm.h>.
46730         (memcpy): Don't use BP_SYM.
46731         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46732         <bp-asm.h>.
46733         (memset): Don't use BP_SYM.
46734         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46735         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46736         (__bzero): Don't use BP_SYM.
46737         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46738         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46739         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46740         <bp-sym.h> and <bp-asm.h>.
46741         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46742         pointers.
46743         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46744         <bp-sym.h> and <bp-asm.h>.
46745         (memcpy): Don't use BP_SYM.
46746         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46747         <bp-sym.h> and <bp-asm.h>.
46748         (memset): Don't use BP_SYM.
46749         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46750         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46751         (__bzero): Don't use BP_SYM.
46752         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46753         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46754         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46755         <bp-sym.h> and <bp-asm.h>.
46756         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46757         pointers.
46758         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46759         <bp-sym.h> and <bp-asm.h>.
46760         (memcpy): Don't use BP_SYM.
46761         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46762         <bp-sym.h> and <bp-asm.h>.
46763         (memset): Don't use BP_SYM.
46764         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46765         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46766         (__bzero): Don't use BP_SYM.
46767         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46768         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46770         <bp-sym.h> and <bp-asm.h>.
46771         (__memchr): Don't use BP_SYM.
46772         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46773         <bp-sym.h> and <bp-asm.h>.
46774         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46775         pointers.
46776         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46777         <bp-sym.h> and <bp-asm.h>.
46778         (memcpy): Don't use BP_SYM.
46779         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46780         <bp-sym.h> and <bp-asm.h>.
46781         (__mempcpy): Don't use BP_SYM.
46782         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46783         <bp-sym.h> and <bp-asm.h>.
46784         (__memrchr): Don't use BP_SYM.
46785         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46786         <bp-sym.h> and <bp-asm.h>.
46787         (memset): Don't use BP_SYM.
46788         (__bzero): Likewise.
46789         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46790         <bp-sym.h> and <bp-asm.h>.
46791         (__rawmemchr): Don't use BP_SYM.
46792         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46793         <bp-sym.h> and <bp-asm.h>.
46794         (__STRCMP): Don't use BP_SYM.
46795         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46796         <bp-sym.h> and <bp-asm.h>.
46797         (strchr): Don't use BP_SYM.
46798         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46799         <bp-sym.h> and <bp-asm.h>.
46800         (__strchrnul): Don't use BP_SYM.
46801         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46802         <bp-sym.h> and <bp-asm.h>.
46803         (strlen): Don't use BP_SYM.
46804         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46805         <bp-sym.h> and <bp-asm.h>.
46806         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46807         pointers.
46808         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46809         <bp-sym.h> and <bp-asm.h>.
46810         (__strnlen): Don't use BP_SYM.
46811         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46812         <bp-sym.h> and <bp-asm.h>.
46813         (__GI__setjmp): Don't use BP_SYM.
46814         (_setjmp): Likewise.
46815         (__sigsetjmp): Likewise.
46816         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46817         (L(start_addresses)): Don't use BP_SYM.
46818         (_start): Likewise.
46819         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46820         <bp-asm.h>.
46821         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46822         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46823         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46824         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46825         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46826         <bp-asm.h>.
46827         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46828         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46829         about bounded pointers.
46830         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46831         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46832         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46833         <bp-asm.h>.
46834         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46835         about bounded pointers.  Remove GKM FIXME comments.
46836         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46837         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46838         <bp-asm.h>.
46839         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46840         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46841         Remove GKM FIXME comments.
46842         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46843         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46844         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46845         <bp-asm.h>.
46846         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46847         about bounded pointers.  Remove GKM FIXME comment.
46848         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46849         and <bp-asm.h>.
46850         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46851         pointers.
46852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46853         <bp-sym.h> and <bp-asm.h>.
46854         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46856         <bp-sym.h> and <bp-asm.h>.
46857         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46858         comment.
46860 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46862         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46863         call free(NULL).
46865 2013-03-05  David S. Miller  <davem@davemloft.net>
46867         * po/es.po: Update from translation team.
46869 2013-03-05  Andreas Jaeger  <aj@suse.de>
46871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46872         <bits/mman-linux.h>.
46873         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46874         is fine.
46875         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46876         <bits/mman-linux.h> to end of file.
46877         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46878         is fine.
46879         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46880         <bits/mman-linux.h> to end of file.
46881         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46882         is fine.
46883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46884         <bits/mman-linux.h> to end of file.
46886         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46887         (MCL_CURRENT, MCL_FUTURE): Define here.
46889 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46891         [BZ #15232]
46892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46893         attribute_hidden.
46894         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46896 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46898         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46899         fourth parameter needed for rt_sigprocmask syscall.
46900         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46901         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46902         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46903         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46904         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46905         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46907 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46909         [BZ #13550]
46910         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46911         comment about bounded pointers.
46912         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46913         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46915 2013-03-04  Andreas Jaeger  <aj@suse.de>
46917         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46918         common definitions.
46920         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46921         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46922         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46923         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46924         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46925         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46927 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46929         [BZ #15055]
46930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46931         __ieee754_sqrl instead of __sqrl.
46933 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46935         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46936         * sysdeps/powerpc/fpu_control.h: ... here.
46937         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46938         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46939         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46940         * sysdeps/powerpc/bits/mathinline.h: ... here.
46942 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46944         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46945         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46946         to just [NEED_DL_SYSINFO_DSO].
46947         * elf/dl-support.c: Likewise.
46948         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46949         * elf/rtld.c (dl_main): Likewise.
46950         * elf/setup-vdso.h (setup_vdso): Likewise.
46951         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46952         * sysdeps/unix/sysv/linux/dl-sysdep.c
46953         (_dl_discover_osversion): Likewise.
46955 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46957         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46958         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46960 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46962         * NEWS: Mention libm performance improvements and non-x86 PI
46963         futex support.
46965         * csu/libc-start.c (__pthread_initialize_minimal): Change
46966         function arguments.
46967         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46969 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46971         [BZ #13550]
46972         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46973         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46974         <bp-sym.h> and <bp-asm.h>.
46975         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46976         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46977         and <bp-asm.h>.
46978         (memcpy): Don't use BP_SYM.
46979         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46980         <bp-asm.h>.
46981         (__mpn_add_n): Don't use BP_SYM.
46982         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46983         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46984         and <bp-asm.h>.
46985         (__mpn_addmul_1): Don't use BP_SYM.
46986         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46987         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46988         <bp-sym.h>.
46989         (_setjmp): Don't use BP_SYM.
46990         (__novmx_setjmp): Likewise.
46991         (__GI__setjmp): Likewise.
46992         (__vmx_setjmp): Likewise.
46993         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46994         <bp-sym.h>.
46995         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46996         (__bzero): Don't use BP_SYM.
46997         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46998         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46999         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47000         <bp-sym.h> and <bp-asm.h>.
47001         (memcpy): Don't use BP_SYM.
47002         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47003         <bp-sym.h> and <bp-asm.h>.
47004         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47005         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47006         <bp-sym.h> and <bp-asm.h>.
47007         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47008         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47009         <bp-asm.h>.
47010         (__mpn_lshift): Don't use BP_SYM.
47011         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47012         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47013         <bp-asm.h>.
47014         (memset): Don't use BP_SYM.
47015         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47016         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47017         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47018         <bp-asm.h>.
47019         (__mpn_mul_1): Don't use BP_SYM.
47020         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47022         <bp-sym.h> and <bp-asm.h>.
47023         (memcmp): Don't use BP_SYM.
47024         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47025         <bp-sym.h> and <bp-asm.h>.
47026         (memcpy): Don't use BP_SYM.
47027         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47028         <bp-sym.h> and <bp-asm.h>.
47029         (memset): Don't use BP_SYM.
47030         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47031         <bp-sym.h> and <bp-asm.h>.
47032         (strncmp): Don't use BP_SYM.
47033         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47034         <bp-sym.h> and <bp-asm.h>.
47035         (memcpy): Don't use BP_SYM.
47036         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47037         <bp-sym.h> and <bp-asm.h>.
47038         (memset): Don't use BP_SYM.
47039         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47040         <bp-sym.h> and <bp-asm.h>.
47041         (__memchr): Don't use BP_SYM.
47042         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47043         <bp-sym.h> and <bp-asm.h>.
47044         (memcmp): Don't use BP_SYM.
47045         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47046         <bp-sym.h> and <bp-asm.h>.
47047         (memcpy): Don't use BP_SYM.
47048         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47049         <bp-sym.h> and <bp-asm.h>.
47050         (__mempcpy): Don't use BP_SYM.
47051         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47052         <bp-sym.h> and <bp-asm.h>.
47053         (__memrchr): Don't use BP_SYM.
47054         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47055         <bp-sym.h> and <bp-asm.h>.
47056         (memset): Don't use BP_SYM.
47057         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47058         <bp-sym.h> and <bp-asm.h>.
47059         (__rawmemchr): Don't use BP_SYM.
47060         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47061         <bp-sym.h> and <bp-asm.h>.
47062         (__STRCMP): Don't use BP_SYM.
47063         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47064         <bp-sym.h> and <bp-asm.h>.
47065         (strchr): Don't use BP_SYM.
47066         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47067         <bp-sym.h> and <bp-asm.h>.
47068         (__strchrnul): Don't use BP_SYM.
47069         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47070         <bp-sym.h> and <bp-asm.h>.
47071         (strlen): Don't use BP_SYM.
47072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47073         <bp-sym.h> and <bp-asm.h>.
47074         (strncmp): Don't use BP_SYM.
47075         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47076         <bp-sym.h> and <bp-asm.h>.
47077         (__strnlen): Don't use BP_SYM.
47078         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47079         <bp-asm.h>.
47080         (__mpn_rshift): Don't use BP_SYM.
47081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47082         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47083         <bp-sym.h> and <bp-asm.h>.
47084         (__sigsetjmp): Don't use BP_SYM.
47085         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47086         (L(start_addresses)): Don't use BP_SYM.
47087         (_start): Likewise.
47088         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47089         <bp-asm.h>.
47090         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47091         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47092         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47093         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47094         <bp-asm.h>.
47095         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47096         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47097         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47098         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47099         <bp-asm.h>.
47100         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47101         comments.
47102         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47103         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47104         <bp-asm.h>.
47105         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47106         FIXME comments.
47107         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47108         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47109         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47110         <bp-asm.h>.
47111         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47112         comment.
47113         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47114         and <bp-asm.h>.
47115         (strncmp): Don't use BP_SYM,
47116         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47117         <bp-asm.h>.
47118         (__mpn_sub_n): Don't use BP_SYM.
47119         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47120         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47121         and <bp-asm.h>.
47122         (__mpn_submul_1): Don't use BP_SYM.
47123         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47125         <bp-sym.h> and <bp-asm.h>.
47126         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47128         <bp-sym.h> and <bp-asm.h>.
47129         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47130         comment.
47132 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47135         Use ZK to minimize writes to Z.
47136         (sub_magnitudes): Simplify code a bit.
47137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47138         Use ZK to minimize writes to Z.
47139         (sub_magnitudes): Simplify code a bit.
47141 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47143         * csu/gmon-start.c: Add special exception to license text.
47145 2013-02-27  Richard Henderson  <rth@redhat.com>
47147         * scripts/config.guess: Update from config.git.
47148         * scripts/config.sub: Likewise.
47150 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47152         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47154         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47156         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47158         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47160         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47162 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47164         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47165         [$(build-shared = yes].
47167 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47169         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47170         (__mul): Reduce iterations for calculating mantissa.
47172         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47173         MPTWO.
47174         (__mpranred): Likewise.
47176         [BZ #15160]
47177         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47178         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47180 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47182         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47183         Define __attribute__.
47185 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47187         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47188         unused.
47189         * posix/regex_internal.h (__attribute): Remove.
47190         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47191         (re_string_context_at): Likewise.
47192         (bitset_not): Use __attribute__ and mark function as possibly
47193         unused.
47194         (bitset_merge): Likewise.
47195         (bitset_mask): Likewise.
47196         (re_string_char_size_at): Likewise.
47197         (re_string_wchar_at): Likewise.
47198         (re_string_elem_size_at): Likewise.
47200 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47202         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47203         code.
47204         (cc32): Likewise.
47206         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47207         (__acr): Likewise.
47208         (__cpy): Likewise.
47209         (norm): Likewise.
47210         (denorm): Likewise.
47211         (__dbl_mp): Likewise.
47212         (add_magnitudes): Likewise.
47213         (sub_magnitudes): Likewise.
47214         (__mul): Likewise.
47215         (__inv): Likewise.
47217         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47218         style.
47220         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47221         style.
47223         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47224         code.
47226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47227         up changes with default code.
47228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47229         Likewise.
47231 2013-02-24  Allan McRae  <allan@archlinux.org>
47233         * manual/socket.texi (The Internet Namespace): Order menu items
47234         to match that in the file.
47236         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47237         node listing of the info page menu.
47239 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47241         [BZ #13550]
47242         * sysdeps/i386/bp-asm.h: Remove file.
47243         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47244         (PARMS): Do not use macros from bp-asm.h.
47245         (S1): Likewise.
47246         (S2): Likewise.
47247         (SIZE): Likewise.
47248         (__mpn_add_n): Do not use BP_SYM
47249         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47250         "bp-asm.h".
47251         (PARMS): Do not use macros from bp-asm.h.
47252         (S1): Likewise.
47253         (SIZE): Likewise.
47254         (__mpn_addmul_1): Do not use BP_SYM
47255         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47256         "bp-asm.h".
47257         (PARMS): Do not use macros from bp-asm.h.
47258         (SIGMSK): Likewise.
47259         (_setjmp): Likewise.  Do not use BP_SYM.
47260         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47261         "bp-asm.h".
47262         (PARMS): Do not use macros from bp-asm.h.
47263         (SIGMSK): Likewise.
47264         (setjmp): Likewise.  Do not use BP_SYM.
47265         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47266         "bp-asm.h".
47267         (PARMS): Do not use macros from bp-asm.h.
47268         (__frexp): Do not use BP_SYM.
47269         (frexp): Likewise.
47270         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47271         "bp-asm.h".
47272         (PARMS): Do not use macros from bp-asm.h.
47273         (__frexpf): Do not use BP_SYM.
47274         (frexpf): Likewise.
47275         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47276         "bp-asm.h".
47277         (PARMS): Do not use macros from bp-asm.h.
47278         (__frexpl): Do not use BP_SYM.
47279         (frexpl): Likewise.
47280         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47281         "bp-asm.h".
47282         (PARMS): Do not use macros from bp-asm.h.
47283         (__remquo): Do not use BP_SYM.
47284         (remquo): Likewise.
47285         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47286         "bp-asm.h".
47287         (PARMS): Do not use macros from bp-asm.h.
47288         (__remquof): Do not use BP_SYM.
47289         (remquof): Likewise.
47290         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47291         "bp-asm.h".
47292         (PARMS): Do not use macros from bp-asm.h.
47293         (__remquol): Do not use BP_SYM.
47294         (remquol): Likewise.
47295         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47296         "bp-asm.h".
47297         (PARMS): Do not use macros from bp-asm.h.
47298         (DEST): Likewise.
47299         (SRC): Likewise.
47300         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47301         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47302         "bp-asm.h".
47303         (PARMS): Do not use macros from bp-asm.h.
47304         (strlen): Do not use BP_SYM.
47305         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47306         "bp-asm.h".
47307         (PARMS): Do not use macros from bp-asm.h.
47308         (S1): Likewise.
47309         (S2): Likewise.
47310         (SIZE): Likewise.
47311         (__mpn_add_n): Do not use BP_SYM.
47312         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47313         "bp-asm.h".
47314         (PARMS): Do not use macros from bp-asm.h.
47315         (S1): Likewise.
47316         (SIZE): Likewise.
47317         (__mpn_addmul_1): Do not use BP_SYM.
47318         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47319         weak_alias.
47320         (bzero): Likewise.
47321         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47322         "bp-asm.h".
47323         (PARMS): Do not use macros from bp-asm.h.
47324         (S): Likewise.
47325         (SIZE): Likewise.
47326         (__mpn_lshift): Do not use BP_SYM.
47327         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47328         "bp-asm.h".
47329         (PARMS): Do not use macros from bp-asm.h.
47330         (DEST): Likewise.
47331         (SRC): Likewise.
47332         (LEN): Likewise.
47333         (memcpy): Likewise.  Do not use BP_SYM.
47334         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47335         libc_hidden_def and weak_alias.
47336         (mempcpy): Do not use BP_SYM in weak_alias.
47337         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47338         "bp-asm.h".
47339         (PARMS): Do not use macros from bp-asm.h.
47340         (DEST): Likewise.
47341         (LEN): Likewise.
47342         [!BZERO_P] (CHR): Likewise.
47343         (memset): Likewise.  Do not use BP_SYM.
47344         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47345         "bp-asm.h".
47346         (PARMS): Do not use macros from bp-asm.h.
47347         (S1): Likewise.
47348         (SIZE): Likewise.
47349         (__mpn_mul_1): Do not use BP_SYM.
47350         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47351         "bp-asm.h".
47352         (PARMS): Do not use macros from bp-asm.h.
47353         (S): Likewise.
47354         (SIZE): Likewise.
47355         (__mpn_rshift): Do not use BP_SYM.
47356         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47357         "bp-asm.h".
47358         (PARMS): Do not use macros from bp-asm.h.
47359         (STR): Likewise.
47360         (CHR): Likewise.
47361         (strchr): Likewise.  Do not use BP_SYM.
47362         (index): Do not use BP_SYM in weak_alias.
47363         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47364         "bp-asm.h".
47365         (PARMS): Do not use macros from bp-asm.h.
47366         (DEST): Likewise.
47367         (SRC): Likewise.
47368         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47369         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47370         "bp-asm.h".
47371         (PARMS): Do not use macros from bp-asm.h.
47372         (strlen): Do not use BP_SYM.
47373         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47374         "bp-asm.h".
47375         (PARMS): Do not use macros from bp-asm.h.
47376         (S1): Likewise.
47377         (S2): Likewise.
47378         (SIZE): Likewise.
47379         (__mpn_sub_n): Do not use BP_SYM.
47380         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47381         "bp-asm.h".
47382         (PARMS): Do not use macros from bp-asm.h.
47383         (S1): Likewise.
47384         (SIZE): Likewise.
47385         (__mpn_submul_1): Do not use BP_SYM.
47386         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47387         "bp-asm.h".
47388         (PARMS): Do not use macros from bp-asm.h.
47389         (S1): Likewise.
47390         (S2): Likewise.
47391         (SIZE): Likewise.
47392         (__mpn_add_n): Do not use BP_SYM.
47393         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47394         weak_alias.
47395         (bzero): Likewise.
47396         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47397         "bp-asm.h".
47398         (PARMS): Do not use macros from bp-asm.h.
47399         (BLK2): Likewise.
47400         (LEN): Likewise.
47401         (memcmp): Do not use BP_SYM.
47402         (bcmp): Do not use BP_SYM in weak_alias.
47403         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47404         "bp-asm.h".
47405         (PARMS): Do not use macros from bp-asm.h.
47406         (DEST): Likewise.
47407         (SRC): Likewise.
47408         (LEN): Likewise.
47409         (memcpy): Likewise.  Do not use BP_SYM.
47410         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47411         "bp-asm.h".
47412         (PARMS): Do not use macros from bp-asm.h.
47413         (DEST): Likewise.
47414         (SRC): Likewise.
47415         (LEN): Likewise.
47416         (memmove): Likewise.  Do not use BP_SYM.
47417         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47418         "bp-asm.h".
47419         (PARMS): Do not use macros from bp-asm.h.
47420         (DEST): Likewise.
47421         (SRC): Likewise.
47422         (LEN): Likewise.
47423         (__mempcpy): Likewise.  Do not use BP_SYM.
47424         (mempcpy): Do not use BP_SYM in weak_alias.
47425         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47426         "bp-asm.h".
47427         (PARMS): Do not use macros from bp-asm.h.
47428         (DEST): Likewise.
47429         (LEN): Likewise.
47430         [!BZERO_P] (CHR): Likewise.
47431         (memset): Likewise.  Do not use BP_SYM.
47432         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47433         "bp-asm.h".
47434         (PARMS): Do not use macros from bp-asm.h.
47435         (STR2): Likewise.
47436         (strcmp): Do not use BP_SYM.
47437         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47438         "bp-asm.h".
47439         (PARMS): Do not use macros from bp-asm.h.
47440         (STR): Likewise.
47441         (DELIM): Likewise.
47442         [USE_AS_STRTOK_R] (SAVE): Likewise.
47443         (FUNCTION): Likewise.  Do not use BP_SYM.
47444         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47445         aliases.
47446         (strtok_r): Likewise.
47447         (__GI___strtok_r): Likewise.
47448         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47449         (PARMS): Do not use macros from bp-asm.h.
47450         (S): Likewise.
47451         (SIZE): Likewise.
47452         (__mpn_lshift): Do not use BP_SYM.
47453         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47454         (PARMS): Do not use macros from bp-asm.h.
47455         (STR): Likewise.
47456         (CHR): Likewise.
47457         (__memchr): Do not use BP_SYM.
47458         (memchr): Do not use BP_SYM in weak_alias.
47459         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47460         (PARMS): Do not use macros from bp-asm.h.
47461         (BLK2): Likewise.
47462         (LEN): Likewise.
47463         (memcmp): Do not use BP_SYM.
47464         (bcmp): Do not use BP_SYM in weak_alias.
47465         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47466         (PARMS): Do not use macros from bp-asm.h.
47467         (S1): Likewise.
47468         (SIZE): Likewise.
47469         (__mpn_mul_1): Do not use BP_SYM.
47470         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47471         "bp-asm.h".
47472         (PARMS): Do not use macros from bp-asm.h.
47473         (STR): Likewise.
47474         (CHR): Likewise.
47475         (__rawmemchr): Do not use BP_SYM.
47476         (rawmemchr): Do not use BP_SYM in weak_alias.
47477         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47478         (PARMS): Do not use macros from bp-asm.h.
47479         (S): Likewise.
47480         (SIZE): Likewise.
47481         (__mpn_rshift): Do not use BP_SYM.
47482         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47483         (PARMS): Do not use macros from bp-asm.h.
47484         (SIGMSK): Likewise.
47485         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47486         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47487         (_start): Do not use BP_SYM.
47488         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47489         (PARMS): Do not use macros from bp-asm.h.
47490         (DEST): Likewise.
47491         (SRC): Likewise.
47492         (__stpcpy): Likewise.  Do not use BP_SYM.
47493         (stpcpy): Do not use BP_SYM in weak_alias.
47494         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47495         "bp-asm.h".
47496         (PARMS): Do not use macros from bp-asm.h.
47497         (DEST): Likewise.
47498         (SRC): Likewise.
47499         (LEN): Likewise.
47500         (__stpncpy): Likewise.  Do not use BP_SYM.
47501         (stpncpy): Do not use BP_SYM in weak_alias.
47502         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47503         (PARMS): Do not use macros from bp-asm.h.
47504         (STR): Likewise.
47505         (CHR): Likewise.
47506         (strchr): Likewise.  Do not use BP_SYM.
47507         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47508         "bp-asm.h".
47509         (PARMS): Do not use macros from bp-asm.h.
47510         (STR): Likewise.
47511         (CHR): Likewise.
47512         (__strchrnul): Likewise.  Do not use BP_SYM.
47513         (strchrnul): Do not use BP_SYM in weak_alias.
47514         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47515         "bp-asm.h".
47516         (PARMS): Do not use macros from bp-asm.h.
47517         (STOP): Likewise.
47518         (strcspn): Do not use BP_SYM.
47519         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47520         "bp-asm.h".
47521         (PARMS): Do not use macros from bp-asm.h.
47522         (STR): Likewise.
47523         (STOP): Likewise.
47524         (strpbrk): Likewise.  Do not use BP_SYM.
47525         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47526         "bp-asm.h".
47527         (PARMS): Do not use macros from bp-asm.h.
47528         (STR): Likewise.
47529         (CHR): Likewise.
47530         (strrchr): Likewise.  Do not use BP_SYM.
47531         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47532         (PARMS): Do not use macros from bp-asm.h.
47533         (SKIP): Likewise.
47534         (strspn): Do not use BP_SYM.
47535         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47536         (PARMS): Do not use macros from bp-asm.h.
47537         (STR): Likewise.
47538         (DELIM): Likewise.
47539         (SAVE): Likewise.
47540         (FUNCTION): Likewise.  Do not use BP_SYM.
47541         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47542         aliases.
47543         (strtok_r): Likewise.
47544         (__GI___strtok_r): Likewise.
47545         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47546         (PARMS): Do not use macros from bp-asm.h.
47547         (S1): Likewise.
47548         (S2): Likewise.
47549         (SIZE): Likewise.
47550         (__mpn_sub_n): Do not use BP_SYM.
47551         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47552         "bp-asm.h".
47553         (PARMS): Do not use macros from bp-asm.h.
47554         (S1): Likewise.
47555         (SIZE): Likewise.
47556         (__mpn_submul_1): Do not use BP_SYM.
47557         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47558         <bp-sym.h>.
47559         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47560         and <bp-asm.h>.
47561         (PARMS): Do not use macros from bp-asm.h.
47562         (FLAGS): Likewise.
47563         (PTID): Likewise.
47564         (TLS): Likewise.
47565         (CTID): Likewise.
47566         (__clone): Do not use BP_SYM.
47567         (clone): Do not use BP_SYM in weak_alias.
47568         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47569         and <bp-asm.h>.
47570         (PARMS): Do not use macros from bp-asm.h.
47571         (LEN): Likewise.
47572         (__mmap64): Do not use BP_SYM.
47573         (mmap64): Do not use BP_SYM in weak_alias.
47574         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47575         <bp-sym.h> and <bp-asm.h>.
47576         (PARMS): Do not use macros from bp-asm.h.
47577         (__posix_fadvise64_l64): Do not use BP_SYM.
47578         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47579         (PARMS): Do not use macros from bp-asm.h.
47580         (NSOPS): Likewise.
47581         (semtimedop): Do not use BP_SYM.
47582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47583         and <bp-asm.h>.
47585 2013-02-21  Allan McRae  <allan@archlinux.org>
47587         * manual/message.texi (Charset conversion in gettext):
47588         Move @end statement to beginning of line.
47590 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47593         static.
47594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47595         Likewise.
47597         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47598         (denorm): Likewise.
47599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47602 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47604         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47605         tail-call to the resolved function if pltexit isn't needed.
47607 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47609         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47610         or Y being zero as being unlikely.
47611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47612         Likewise.
47614 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47616         * manual/nss.texi (System Databases and Name Service Switch):
47617         Remove frobnicate @pxref.
47619 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47621         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47622         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47624 2013-02-20  Petr Machata  <pmachata@redhat.com>
47626         * elf/elf.h (R_ARM_TARGET1): New macro.
47627         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47628         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47629         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47630         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47631         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47632         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47633         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47634         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47635         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47636         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47637         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47638         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47639         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47640         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47641         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47642         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47643         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47644         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47645         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47646         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47647         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47648         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47649         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47650         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47651         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47652         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47653         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47654         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47655         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47656         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47657         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47658         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47659         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47660         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47661         (R_ARM_THM_GOT_BREL12): Likewise.
47662         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47663         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47664         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47665         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47666         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47667         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47668         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47669         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47670         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47672 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47674         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47675         __attribute_used__ to __attribute__ ((unused)).
47677 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47679         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47680         powerpc mpa.c.
47681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47682         comment formatting.
47683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47685 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47687         [BZ #13550]
47688         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47689         Remove macro.
47690         (ENTER): Remove both macro definitions.
47691         (LEAVE): Likewise.
47692         (CHECK_BOUNDS_LOW): Likewise.
47693         (CHECK_BOUNDS_HIGH): Likewise.
47694         (CHECK_BOUNDS_BOTH): Likewise.
47695         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47696         (RETURN_BOUNDED_POINTER): Likewise.
47697         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47698         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47699         (POP_ERRNO_LOCATION_RETURN): Likewise.
47700         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47701         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47702         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47703         macros.
47704         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47705         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47706         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47707         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47708         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47709         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47710         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47711         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47712         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47713         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47714         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47715         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47716         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47717         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47718         removed macros.
47719         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47720         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47721         macros.
47722         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47723         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47724         * sysdeps/i386/i586/memset.S (memset): Likewise.
47725         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47726         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47727         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47728         macros.
47729         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47730         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47731         Change uses of L(2) to L(out).
47732         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47733         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47734         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47735         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47736         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47737         removed macros.
47738         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47739         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47740         macros.
47741         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47742         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47743         (RETURN): Do not use macro LEAVE.
47744         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47745         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47746         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47747         * sysdeps/i386/i686/memset.S (memset): Likewise.
47748         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47749         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47750         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47751         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47752         Likewise.
47753         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47754         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47755         L(1_2) and L(1_3) into L(1).
47756         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47757         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47758         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47759         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47760         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47761         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47762         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47763         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47764         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47765         macros.
47766         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47767         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47768         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47769         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47770         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47771         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47772         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47773         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47774         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47775         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47776         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47777         * sysdeps/i386/strspn.S (strspn): Likewise.
47778         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47779         conditional code.
47780         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47781         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47782         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47783         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47784         L(1_3) into L(1_1).
47785         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47786         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47787         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47788         macros.
47789         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47791 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47793         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47794         macro.
47796 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47798         * math/atest-exp.c (exp_mpn): Remove ROUND.
47799         * math/atest-exp2.c (exp_mpn): Likewise.
47800         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47802         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47803         * stdlib/tst-tls-atexit-lib.c: Likewise.
47804         * stdlib/tst-tls-atexit.c: Likewise.
47806 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47808         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47809         and __attribute_alloc_size__.
47811 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47813         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47814         __attribute_alloc_size__.
47815         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47816         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47818 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47820         * include/programs/xmalloc.h: New file.
47821         * catgets/gencat.c: Include it.
47822         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47823         * elf/pldd.c: Likewise.
47824         * iconv/iconv_charmap.c: Likewise.
47825         * iconv/iconvconfig.c: Likewise.
47826         * iconv/strtab.c: Likewise.
47827         * locale/programs/locale.c: Likewise.
47828         * locale/programs/localedef.h: Likewise.
47829         * locale/programs/simple-hash.c: Likewise.
47830         * nscd/nscd.h: Likewise.
47831         * nss/makedb.c: Likewise.
47832         * sysdeps/generic/ldconfig.h: Likewise.
47834 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47836         * Versions.def: Add GLIBC_2.18.
47837         * include/link.h (struct link_map): New member l_tls_dtor_count.
47838         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47839         (__call_tls_dtors): Likewise.
47840         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47841         __cxa_thread_atexit_impl.
47842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47843         Likewise.
47844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47845         Likewise.
47846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47847         Likewise.
47848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47849         Likewise.
47850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47852         Likewise.
47853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47854         Likewise.
47855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47857         Likewise.
47858         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47859         (tests): Add test case tst-tls-atexit.
47860         (modules-names): Add shared library for tst-tls-atexit.
47861         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47862         (GLIBC_PRIVATE): Add __call_tls_dtors.
47863         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47864         for libstdc++.
47865         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47866         * stdlib/tst-tls-atexit.c: New test case.
47867         * stdlib/tst-tls-atexit-lib.c: New test case.
47869         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47871         * elf/Versions (ld): Add _dl_find_dso_for_object.
47872         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47873         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47874         (dl_open_worker): Use _dl_find_dso_for_object.
47875         * elf/dl-sym.c (do_sym): Likewise.
47876         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47878 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47880         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47881         Syntactic changes only.
47882         (_dl_runtime_profile): Do a tail-call to the resolved function.
47884 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47886         [BZ #13550]
47887         * sysdeps/x86_64/bp-asm.h: Remove file.
47888         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47889         <bp-sym.h> and <bp-asm.h>.
47890         (__clone): Do not use BP_SYM.
47891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47892         <bp-sym.h> and <bp-asm.h>.
47893         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47894         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47895         "bp-asm.h".
47896         (_setjmp): Do not use BP_SYM.
47897         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47898         "bp-asm.h".
47899         (setjmp): Do not use BP_SYM.
47900         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47901         libc_hidden_def.
47902         (mempcpy): Do not use BP_SYM in weak_alias.
47903         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47904         "bp-asm.h".
47905         (strchr): Do not use BP_SYM.
47906         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47907         "bp-asm.h".
47908         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47909         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47910         (_start): Do not use BP_SYM.
47911         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47912         "bp-asm.h".
47913         (strcat): Do not use BP_SYM.
47914         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47915         "bp-asm.h".
47916         (STRCMP): Do not use BP_SYM.
47917         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47918         "bp-asm.h".
47919         (STRCPY): Do not use BP_SYM.
47920         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47921         "bp-asm.h".
47922         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47923         "bp-asm.h".
47924         (FUNCTION): Do not use BP_SYM.
47925         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47926         weak_alias.
47927         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47929 2013-02-17  Andreas Jaeger  <aj@suse.de>
47931         * time/Versions: Sort entries.
47932         * string/Versions: Likewise.
47933         * resolv/Versions: Likewise.
47934         * posix/Versions: Likewise.
47935         * iconv/Versions: Likewise.
47936         * elf/Versions: Likewise.
47937         * wcsmbs/Versions: Likewise.
47939 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47942         loop termination condition.
47944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47945         variable to calculate EZ.
47946         (__sqr): Likewise.
47948         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47949         the lower precision input.
47951 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47953         [BZ #13550]
47954         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47955         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47956         (run-via-rtld-prefix): Do not handle %-bp tests.
47957         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47958         (all-object-suffixes): Remove .ob.
47959         (bppfx): Remove variable.
47960         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47961         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47962         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47963         [$(build-bounded) = yes] (libtype.ob): Likewise.
47964         * Makerules (elide-routines.ob): Remove variable.
47965         (do-tests-clean): Do not handle *-bp.out.
47966         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47967         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47968         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47969         (tests): Do not include $(tests-bp.out).
47970         (xtests): Do not include $(xtests-bp.out).
47971         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47972         [$(build-bounded) = yes] ($(addprefix
47973         $(objpfx),$(binaries-bounded))): Remove rule.
47974         ($(objpfx)%-bp.out): Remove rule.
47975         * config.make.in (build-bounded): Remove variable.
47976         * crypt/Makefile [$(build-bounded) = yes]
47977         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47978         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47979         append to variable.
47980         [$(build-bounded) = yes] (install-lib): Likewise.
47981         [$(build-bounded) = yes] (generated): Likewise.
47982         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47983         Remove rule.
47984         * intl/Makefile [$(build-bounded) = yes]
47985         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47986         * math/Makefile [$(build-bounded) = yes]
47987         ($(tests:%=$(objpfx)%-bp): Likewise.
47988         * misc/Makefile [$(build-bounded) = yes]
47989         ($(objpfx)tst-tsearch-bp): Likewise.
47990         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47991         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47992         Remove dependency.
47993         * string/Makefile (o-objects.ob): Remove variable.
47994         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47995         (CFLAGS-.ob): Remove variable.
47996         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47997         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47998         both definitions of variable.
47999         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48000         (ASFLAGS-.ob): Remove variable.
48002 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48004         [BZ #13550]
48005         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48006         Remove __BOUNDED_POINTERS__ from condition.
48007         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48008         * string/bits/string2.h [!__NO_STRING_INLINES &&
48009         !__BOUNDED_POINTERS__]: Likewise.
48010         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48011         Likewise.
48012         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48013         Remove conditional code.
48014         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48015         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48016         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48017         condition.
48019         [BZ #13550]
48020         * csu/libc-start.c: Do not include <bp-sym.h>.
48021         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48022         * elf/dl-open.c: Do not include <bp-sym.h>.
48023         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48024         * math/fegetenv.c: Do not include <bp-sym.h>.
48025         (fegetenv): Do not use BP_SYM in versioned symbols.
48026         * nptl/sysdeps/pthread/bits/libc-lockP.h
48027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48028         <bp-sym.h>.
48029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48030         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48032         (__pthread_mutex_destroy): Likewise.
48033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48034         (__pthread_mutex_lock): Likewise.
48035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48036         (__pthread_mutex_trylock): Likewise.
48037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48038         (__pthread_mutex_unlock): Likewise.
48039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48040         (__pthread_mutexattr_init): Likewise.
48041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48042         (__pthread_mutexattr_destroy): Likewise.
48043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48044         (__pthread_mutexattr_settype): Likewise.
48045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48046         (__pthread_rwlock_init): Likewise.
48047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48048         (__pthread_rwlock_destroy): Likewise.
48049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48050         (__pthread_rwlock_rdlock): Likewise.
48051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48052         (__pthread_rwlock_tryrdlock): Likewise.
48053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48054         (__pthread_rwlock_wrlock): Likewise.
48055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48056         (__pthread_rwlock_trywrlock): Likewise.
48057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48058         (__pthread_rwlock_unlock): Likewise.
48059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48060         (__pthread_key_create): Likewise.
48061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48062         (__pthread_setspecific): Likewise.
48063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48064         (__pthread_getspecific): Likewise.
48065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48066         Likewise.
48067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48068         (_pthread_cleanup_push_defer): Likewise.
48069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48070         (_pthread_cleanup_pop_restore): Likewise.
48071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48072         (pthread_setcancelstate): Likewise.
48073         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48074         <bp-sym.h>.
48075         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48076         (memchr): Do not use BP_SYM in weak_alias.
48077         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48078         (fegetenv): Do not use BP_SYM in versioned symbols.
48079         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48080         (fesetenv): Do not use BP_SYM in versioned symbols.
48081         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48082         (feupdateenv): Do not use BP_SYM in versioned symbols.
48083         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48084         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48085         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48086         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48087         (open64): Do not use BP_SYM in weak_alias.
48088         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48089         (fegetenv): Do not use BP_SYM in versioned symbols.
48090         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48091         (fesetenv): Do not use BP_SYM in versioned symbols.
48092         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48093         (feupdateenv): Do not use BP_SYM in versioned symbols.
48094         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48095         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48096         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48097         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48098         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48099         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48100         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48101         <bp-sym.h>.
48102         (__libc_start_main): Do not use BP_SYM.
48104 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48107         redundant return line.
48108         (norm): Likewise.
48109         (denorm): Likewise.
48110         (dbl_mp): Likewise.
48111         (sub_magnitudes): Likewise.
48112         (__add): Likewise.
48113         (__sub): Likewise.
48114         (__mul): Likewise.
48115         (__inv): Likewise.
48116         (__dvd): Likewise.
48117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48118         (norm): Likewise.
48119         (denorm): Likewise.
48120         (dbl_mp): Likewise.
48121         (sub_magnitudes): Likewise.
48122         (__add): Likewise.
48123         (__sub): Likewise.
48124         (__mul): Likewise.
48125         (__inv): Likewise.
48126         (__dvd): Likewise.
48128         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48129         instead of __mul.
48130         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48131         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48132         (cc32): Likewise.
48134         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48135         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48137         of __mul for squares.
48138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48139         function
48140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48141         Likewise.
48142         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48143         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48145 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48147         [BZ #13550]
48148         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48149         code.
48150         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48151         prototype or function definition.  Rename ubp_* variables and
48152         parameters.  Remove argv definitions conditional on
48153         [__BOUNDED_POINTERS__].
48154         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48155         * elf/dl-runtime.c (_dl_fixup): Likewise.
48156         * include/set-hooks.h (RUN_HOOK): Likewise.
48157         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48158         definition.
48159         * string/strcpy.c (strcpy): Do not use __unbounded.
48160         * sysdeps/generic/frame.h (struct layout): Likewise.
48161         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48162         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48163         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48164         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48165         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48166         (__backtrace): Likewise.
48167         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48168         use __ptrvalue.
48169         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48170         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48171         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48172         Likewise.
48173         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48174         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48175         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48176         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48177         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48178         Do not use __unbounded.
48179         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48180         Rename __unboundedrlimits parameter to rlimits in prototype.
48181         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48182         Do not use __unbounded.
48183         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48184         not use __ptrvalue.
48185         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48186         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48187         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48188         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48189         __ptrvalue or __unbounded.
48190         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48191         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48192         use __unbounded.
48193         (__new_msgctl): Do not use __ptrvalue.
48194         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48195         __unbounded.
48196         (__libc_msgrcv): Do not use __ptrvalue.
48197         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48198         startup_info): Do not use __unbounded.
48199         (__libc_start_main): Likewise.  Rename ubp_* variables and
48200         parameters.  Remove argv definitions conditional on
48201         [__BOUNDED_POINTERS__].
48202         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48203         __ptrvalue.
48204         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48205         use __unbounded.
48206         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48207         or __ptrvalue.
48208         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48209         use __unbounded.
48210         (__new_shmctl): Do not use __ptrvalue.
48211         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48212         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48213         Likewise.
48214         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48215         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48216         (__libc_sigaction): Likewise.
48217         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48218         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48219         Likewise.
48220         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48222 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48224         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48226         * string/mempcpy.c: Implement by calling memcpy.
48228 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48232         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48233         evaluation.
48235         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48236         values in the mantissa.
48238         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48239         minimize writes to Z.
48240         (sub_magnitudes): Simplify code a bit.
48242 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48244         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48245         from the message.  The linker prefixes all warnings with that already.
48247 2013-02-12  Andreas Schwab  <schwab@suse.de>
48249         [BZ #15078]
48250         * posix/regexec.c (extend_buffers): Add parameter min_len.
48251         (check_matching): Pass minimum needed length.
48252         (clean_state_log_if_needed): Likewise.
48253         (get_subexp): Likewise.
48254         * posix/Makefile (tests): Add bug-regex34.
48255         (bug-regex34-ENV): Define.
48256         * posix/bug-regex34.c: New file.
48258         [BZ #11561]
48259         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48260         elements compare against the byte sequence of it, not its name.
48261         * posix/Makefile (tests): Add bug-regex35.
48262         (bug-regex35-ENV): Define.
48263         * posix/bug-regex35.c: New file.
48265 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48267         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48268         comment.
48269         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48270         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48271         (CHECK_EOL): Add undef.
48273 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48275         * bits/stdlib-bsearch.h: New file.
48276         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48277         * stdlib/stdlib.h: Likewise.
48279 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48281         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48282         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48283         declaration.
48284         * manual/search.texi (Array Search Function): Add missing const in
48285         lfind prototype.
48286         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48287         declaration to use rlim_t.
48288         (Basic Scheduling Functions): Remove erroneous const from
48289         sched_getparam prototype.  Remove erroneous * from
48290         sched_get_priority_max and sched_get_priority_min prototypes.
48291         (Resource Usage): Fix summary @comment on vtimes to refer to
48292         sys/vtimes.h rather than vtimes.h.
48293         Add missing *s in vtimes prototype.
48294         (Limits on Resources): Fix ulimit prototype to return long int.
48295         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48296         prototypes to use long int rather than double.
48297         (BSD Random): Fix initstate and setstate to use char *, not void *.
48298         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48299         prototype to make second argument 'struct aiocb64 *const[]'.
48300         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48301         (Status of AIO Operations): Remove erroneous const in aio_return and
48302         aio_return64 prototypes.
48303         (Synchronizing I/O): Fix sync prototype to return void.
48304         * manual/startup.texi (Suboptions): Remove an erroneous const in
48305         getsubopt prototype.
48306         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48307         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48308         use size_t rather than int.
48309         (Scanning All Users): Likewise for getpwent_r.
48310         (Setting Groups): Add missing const to setgroups prototype.
48311         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48312         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48313         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48314         'const void *' rather than 'const char *'.
48315         (Host Address Functions): Likewise for inet_ntop.
48316         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48317         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48318         ssize_t for return value.
48319         (Sending Data): Likewise for send, sendto, sendmsg.
48320         (Socket Option Functions): Add a missing const in setsockopt prototype.
48321         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48322         use wchar_t for the argument.
48323         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48324         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48325         take no arguments.
48326         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48327         double/float/long double for second argument.
48328         Fix return types of significand, significandf, significandl.
48329         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48330         argument in fchmod prototype.
48331         (File Owner): Use uid_t and gid_t in fchown prototype.
48332         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48333         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48334         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48335         use 'const struct dirent **' as argument types to CMP function pointer
48336         argument.
48337         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48338         (File Times): Fix summary magic @comment for struct utimbuf and utime
48339         to refer to utime.h, not time.h.
48340         * manual/string.texi (Argz Functions): Add missing const in
48341         argz_extract and argz_next prototypes.
48342         (Finding Tokens in a String): Likewise for basename.
48343         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48344         (Copying and Concatenation): Fix typo in wmemmove prototype.
48345         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48346         (Signal Stack): Remove erroneous const in sigstack prototype.
48347         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48348         prototype.
48349         (Simple Calendar Time): Likewise for stime.
48350         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48351         prototype.
48352         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48353         say sys/sysctl.h instead.
48354         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48355         and vsyslog prototypes.
48357 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48359         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48360         Remove.
48362 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48364         * misc/sys/mman.h: Fix typo in mremap comment.
48366 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48368         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48369         the '\0' terminator.
48371 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48373         [BZ #13550]
48374         * debug/segfault.c: Don't include <bp-checks.h>.
48375         * sysdeps/generic/bp-checks.h: Remove file.
48376         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48377         (__GETDENTS): Don't use CHECK_N.
48378         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48379         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48380         (__getgroups): Don't use CHECK_N.
48381         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48382         (setgroups): Don't use CHECK_N.
48383         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48384         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48385         (__libc_msgrcv): Don't use CHECK_N.
48386         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48387         (__libc_msgsnd): Don't use CHECK_N.
48388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48389         <bp-checks.h>.
48390         (__libc_pread): Don't use CHECK_N.
48391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48392         include <bp-checks.h>.
48393         (__libc_pread64): Don't use CHECK_N.
48394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48395         include <bp-checks.h>.
48396         (__libc_pwrite): Don't use CHECK_N.
48397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48398         include <bp-checks.h>.
48399         (__libc_pwrite64): Don't use CHECK_N.
48400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48401         <bp-checks.h>.
48402         (__libc_pread): Don't use CHECK_N.
48403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48404         include <bp-checks.h>.
48405         (__libc_pread64): Don't use CHECK_N.
48406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48407         include <bp-checks.h>.
48408         (__libc_pwrite): Don't use CHECK_N.
48409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48410         include <bp-checks.h>.
48411         (__libc_pwrite64): Don't use CHECK_N.
48412         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48413         (do_pread): Don't use CHECK_N.
48414         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48415         (do_pread64): Don't use CHECK_N.
48416         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48417         (do_pwrite): Don't use CHECK_N.
48418         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48419         (do_pwrite64): Don't use CHECK_N.
48420         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48421         (__libc_readv): Don't use CHECK_N.
48422         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48423         (semop): Don't use CHECK_N.
48424         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48425         <bp-checks.h>.
48426         (semtimedop): Don't use CHECK_N.
48427         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48428         (__libc_pread): Don't use CHECK_N.
48429         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48430         <bp-checks.h>.
48431         (__libc_pread64): Don't use CHECK_N.
48432         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48433         <bp-checks.h>.
48434         (__libc_pwrite): Don't use CHECK_N.
48435         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48436         <bp-checks.h>.
48437         (__libc_pwrite64): Don't use CHECK_N.
48438         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48439         <bp-checks.h>.
48440         (__libc_msgrcv): Don't use CHECK_N.
48441         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48442         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48443         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48444         (__libc_writev): Don't use CHECK_N.
48446 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48448         * string/strcpy.c: Removed unused variable.
48450         * Makeconfig (+sysdep-includes): Define with := rather than =.
48451         Use an existing include/ subdir of each sysdeps dir before it.
48453 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48455         * nscd/connection.c (register_traced_file): Comment function.
48456         [HAVE_INOTIFY] (union __inev): Define.
48457         [HAVE_INOTIFY] (inotify_check_files): New function.
48458         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48459         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48460         clear_db_cache.
48461         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48463 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48465         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48466         loaded if not already and that a failure is permanent.
48468 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48470         [BZ #15006]
48471         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48472         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48474 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48476         [BZ #13550]
48477         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48478         (CHECK_1_NULL_OK): Likewise.
48479         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48480         (__fxstat): Do not use CHECK_1.
48481         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48482         <bp-checks.h>.
48483         (___fxstat64): Do not use CHECK_1.
48484         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48485         <bp-checks.h>.
48486         (__fxstatat): Do not use CHECK_1.
48487         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48488         <bp-checks.h>.
48489         (__fxstatat64): Do not use CHECK_1.
48490         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48491         <bp-checks.h>.
48492         (__fxstat): Do not use CHECK_1.
48493         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48494         <bp-checks.h>.
48495         (__fxstatat): Do not use CHECK_1.
48496         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48497         <bp-checks.h>.
48498         (__getresgid): Do not use CHECK_1.
48499         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48500         <bp-checks.h>.
48501         (__getresuid): Do not use CHECK_1.
48502         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48503         <bp-checks.h>.
48504         (__lxstat): Do not use CHECK_1.
48505         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48506         <bp-checks.h>.
48507         (__old_msgctl): Do not use CHECK_1.
48508         (__new_msgctl): Likewise.
48509         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48510         <bp-checks.h>.
48511         (__new_setrlimit): Do not use CHECK_1.
48512         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48513         <bp-checks.h>.
48514         (__old_shmctl): Do not use CHECK_1.
48515         (__new_shmctl): Likewise.
48516         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48517         <bp-checks.h>.
48518         (__xstat): Do not use CHECK_1.
48519         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48520         (__lxstat): Do not use CHECK_1.
48521         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48522         <bp-checks.h>.
48523         (___lxstat64): Do not use CHECK_1.
48524         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48525         (__old_msgctl): Do not use CHECK_1.
48526         (__new_msgctl): Likewise.
48527         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48528         <bp-checks.h>.
48529         (__gettimeofday): Do not use CHECK_1.
48530         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48531         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48532         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48533         <bp-checks.h>.
48534         (__gettimeofday): Do not use CHECK_1.
48535         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48536         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48537         (__new_shmctl): Do not use CHECK_1.
48538         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48539         <bp-checks.h>.
48540         (do_sigtimedwait): Do not use CHECK_1.
48541         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48542         <bp-checks.h>.
48543         (do_sigwaitinfo): Do not use CHECK_1.
48544         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48545         <bp-checks.h>.
48546         (msgctl): Do not use CHECK_1.
48547         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48548         <bp-checks.h>.
48549         (shmctl): Do not use CHECK_1.
48550         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48551         (ustat): Do not use CHECK_1.
48552         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48553         <bp-checks.h>.
48554         (__fxstat): Do not use CHECK_1.
48555         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48556         <bp-checks.h>.
48557         (__fxstatat): Do not use CHECK_1.
48558         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48559         <bp-checks.h>.
48560         (__lxstat): Do not use CHECK_1.
48561         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48562         <bp-checks.h>.
48563         (__xstat): Do not use CHECK_1.
48564         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48565         (__xstat): Do not use CHECK_1.
48566         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48567         (___xstat64): Do not use CHECK_1.
48569         [BZ #13550]
48570         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48571         definitions.
48572         (CHECK_BOUNDS_HIGH): Likewise.
48573         * string/strcpy.c: Do not include <bp-checks.h>.
48574         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48576 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48578         * nscd/nscd-client.h (__nscd_drop_map_ref):
48579         Add __attribute__ ((unused)).
48580         * nis/nss-nisplus.h (niserr2nss): Likewise.
48582         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48583         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48585         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48586         Remove inline keyword.
48587         * include/rounding-mode.h (round_away): Likewise.
48588         * libio/wfileops.c (adjust_wide_data): Likewise.
48589         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48590         (__m128i_strloadu_tolower): Likewise.
48591         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48592         (__m128i_strloadu_tolower): Likewise.
48593         * time/mktime.c (ydhms_diff): Likewise.
48594         * locale/elem-hash.h (elem_hash): Likewise.
48595         * locale/setlocale.c (setdata): Likewise.
48596         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48597         (re_string_wchar_at): Likewise.
48598         (bitset_not, bitset_merge, bitset_mask): Likewise.
48599         [!(__GNUC__ > 3)] (inline): Remove macro.
48600         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48601         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48602         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48603         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48604         * string/memcmp.c (memcmp_bytes): Likewise.
48605         * locale/programs/locarchive.c (compute_hashval): Likewise.
48606         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48607         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48608         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48609         * nss/getent.c (print_rpc, print_protocols): Likewise.
48610         (print_passwd, print_group, print_aliases): Likewise.
48611         * nis/nss-nisplus.h (niserr2nss): Likewise.
48612         * nscd/connections.c (restart_p): Likewise.
48613         Change return type to bool.
48615 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48617         * Makeconfig (all-Depend-files): Add existing
48618         $(sorted-subdirs:=/Depend) files.
48619         (all-subdirs): Remove nss.
48620         * sysdeps/unix/inet/Subdirs: Add it here instead.
48621         * hesiod/Depend: New file.
48623         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48624         instead of calling alloca.
48626         * io/lseek.c (__lseek): Rename to __libc_lseek.
48627         Define __lseek as an alias.
48629         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48631 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48633         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48634         else clause and remove check for non-standard endianness.
48636 2013-02-04  David S. Miller  <davem@davemloft.net>
48638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48640 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48642         [BZ #13550]
48643         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48644         (__ubp_memchr): Remove prototype.
48645         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48646         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48647         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48648         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48649         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48650         Remove alias.
48651         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48652         (__ubp_memchr): Likewise.
48653         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48654         (__ubp_memchr): Likewise.
48655         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48656         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48657         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48658         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48659         CHECK_STRING.
48660         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48661         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48662         (__getcwd): Do not use CHECK_STRING.
48663         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48664         <bp-checks.h>.
48665         (__real_chown): Do not use CHECK_STRING.
48666         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48667         <bp-checks.h>.
48668         (fchownat): Do not use CHECK_STRING.
48669         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48670         CHECK_STRING.
48671         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48672         <bp-checks.h>.
48673         (__lchown): Do not use CHECK_STRING.
48674         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48675         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48676         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48677         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48679         include <bp-checks.h>.
48680         (truncate64): Do not use CHECK_STRING.
48681         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48682         <bp-checks.h>.
48683         (__real_chown): Do not use CHECK_STRING.
48684         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48685         <bp-checks.h>.
48686         (__lchown): Do not use CHECK_STRING.
48687         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48688         <bp-checks.h>.
48689         (__chown): Do not use CHECK_STRING.
48690         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48691         <bp-checks.h>.
48692         (truncate64): Do not use CHECK_STRING.
48693         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48694         Likewise.
48695         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48696         (__xmknod): Do not use CHECK_STRING.
48697         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48698         <bp-checks.h>.
48699         (__xmknodat): Do not use CHECK_STRING.
48700         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48701         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48703 2013-02-04  Andreas Schwab  <schwab@suse.de>
48705         [BZ #14142]
48706         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48707         * include/netdb.h: Likewise for h_errno.
48708         * elf/tst-stackguard1.c: Include <tls.h>.
48710 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48712         * elf/link.h (struct link_map): Extend the l_addr comment.
48713         * include/link.h (struct link_map): Likewise.
48715 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48717         [BZ #13550]
48718         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48719         (BOUNDED_1): Remove macro.
48720         * debug/backtrace.c: Don't include <bp-checks.h>.
48721         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48722         (__backtrace): Likewise.
48723         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48724         <bp-checks.h>.
48725         (__backtrace): Don't use BOUNDED_1.
48726         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48727         <bp-checks.h>.
48728         (__backtrace): Don't use BOUNDED_1.
48729         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48730         (__backtrace): Don't use BOUNDED_1.
48731         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48732         (shmat): Don't use BOUNDED_N.
48734 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48736         [BZ #13550]
48737         * sysdeps/generic/bp-start.h: Remove file.
48738         * csu/libc-start.c: Don't include <bp-start.h>.
48739         (LIBC_START_MAIN): Set up __environ directly instead of using
48740         INIT_ARGV_and_ENVIRON.
48741         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48742         <bp-start.h>.
48744         [BZ #13550]
48745         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48746         definitions.
48747         (CHECK_FCNTL): Likewise.
48748         (CHECK_N_PAGES): Likewise.
48750         [BZ #13550]
48751         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48752         definitions.
48753         (CHECK_SIGSET_NULL_OK): Likewise.
48754         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48755         <bp-checks.h>.
48756         (sigpending): Don't use CHECK_SIGSET.
48757         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48758         <bp-checks.h>.
48759         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48760         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48761         <bp-checks.h>.
48762         (do_sigsuspend): Don't use CHECK_SIGSET.
48763         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48764         use CHECK_SIGSET.
48765         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48766         (do_sigwait): Don't use CHECK_SIGSET.
48767         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48768         use CHECK_SIGSET.
48769         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48770         include <bp-checks.h>.
48771         (sigpending): Don't use CHECK_SIGSET.
48772         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48773         include <bp-checks.h>.
48774         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48775         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48776         <bp-checks.h>.
48777         (sigpending): Don't use CHECK_SIGSET.
48778         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48779         <bp-checks.h>.
48780         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48782         [BZ #13550]
48783         * sysdeps/generic/bp-semctl.h: Remove file.
48784         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48785         <bp-checks.h> and <bp-semctl.h>.
48786         (__old_semctl): Don't use CHECK_SEMCTL.
48787         (__new_semctl): Likewise.
48788         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48789         and <bp-semctl.h>.
48790         (__old_semctl): Don't use CHECK_SEMCTL.
48791         (__new_semctl): Likewise.
48792         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48793         <bp-checks.h> and <bp-semctl.h>.
48794         (__old_semctl): Don't use CHECK_SEMCTL.
48795         (__new_semctl): Likewise.
48796         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48797         <bp-checks.h> and <bp-semctl.h>.
48798         (semctl): Don't use CHECK_SEMCTL.
48800         [BZ #13550]
48801         * Makerules (elide-bp-thunks): Remove variable.
48802         (elide-routines.oS): Don't use $(elide-bp-thunks).
48803         (elide-routines.os): Likewise.
48804         (elide-routines.o): Likewise.
48805         (elide-routines.op): Likewise.
48806         (elide-routines.og): Likewise.
48807         (objects): Don't use $(bp-thunks).
48808         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48809         include.
48810         (common-generated): Do not add s-proto-bp.d.
48811         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48812         (int): Likewise.
48813         (typ): Likewise.
48814         Do not generate makefile rules for bounded-pointer thunks.
48815         * sysdeps/generic/bp-thunks.h: Remove file.
48816         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48817         * sysdeps/unix/s-proto-bp.S: Likewise.
48819         [BZ #15062]
48820         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48821         parts of result separately when argument is not close to line from
48822         -i to i and one part of argument is small.
48823         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48824         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48825         * math/libm-test.inc (cacos_test): Add more tests.
48826         (casin_test): Likewise.
48827         (casinh_test): Likewise.
48828         * sysdeps/i386/fpu/libm-test-ulps: Update.
48829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48831 2013-01-31  David S. Miller  <davem@davemloft.net>
48833         * po/de.po: Update from translation team.
48835 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48837         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48839 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48841         * configure.in (_AC_PROG_CC_C89): New definition.
48842         * configure: Regenerate.
48844         * configure.in (AC_PROG_CPP): New definition.
48845         * configure: Regenerate.
48847 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48849         * debug/tst-backtrace.h: New file.
48850         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48851         (ret): Remove variable.
48852         (x): Likewise.
48853         (FAIL): Remove macro.
48854         (NO_INLINE): Likewise.
48855         (fn1): Use match function instead of strstr.
48856         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48857         (ret): Remove variable.
48858         (x): Likewise.
48859         (FAIL): Remove macro.
48860         (NO_INLINE): Likewise.
48861         (fn): Use match function instead of strstr.
48862         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48863         (ret): Remove variable.
48864         (x): Likewise.
48865         (FAIL): Remove macro.
48866         (NO_INLINE): Likewise.
48867         (handle_signal): Use match function instead of strstr.
48868         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48869         (ret): Remove variable.
48870         (x): Likewise.
48871         (FAIL): Remove macro.
48872         (NO_INLINE): Likewise.
48873         (handle_signal): Use match function instead of strstr.
48875 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48877         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48879 2013-01-23  David S. Miller  <davem@davemloft.net>
48881         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48882         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48883         argument of CAS if possible.
48884         * sysdeps/sparc/sparc64/bits/atomic.h
48885         (__arch_compare_and_exchange_val_32_acq): Likewise.
48886         (__arch_compare_and_exchange_val_64_acq): Likewise.
48888 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48890         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48891         * sysdeps/posix/ulimit.c: ... this.
48892         Include <limits.h>.
48893         * sysdeps/unix/bsd/ulimit.c: Remove file.
48895 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48897         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48898         (LDFLAGS-tst-array5): Likewise.
48900 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48902         [BZ #15036]
48903         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48904         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48905         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48906         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48908 2013-01-21  David S. Miller  <davem@davemloft.net>
48910         * sysdeps/sparc/backtrace.c: New file.
48911         * sysdeps/sparc/sparc32/backtrace.h: New file.
48912         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48913         * sysdeps/sparc/sparc64/backtrace.h: New file.
48914         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48915         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48916         -funwind-tables.
48918 2013-01-21  Andreas Schwab  <schwab@suse.de>
48920         [BZ #15020]
48921         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48922         closed its stdout.
48924 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48927         "mpa2.h".
48928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48930 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48931             Mark Mitchell  <mark@codesourcery.com>
48932             Tom de Vries  <tom@codesourcery.com>
48933             Paul Pluzhnikov  <ppluzhnikov@google.com>
48935         * debug/tst-backtrace2.c: New file.
48936         * debug/tst-backtrace3.c: Likewise.
48937         * debug/tst-backtrace4.c: Likewise.
48938         * debug/tst-backtrace5.c: Likewise.
48939         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48940         (CFLAGS-tst-backtrace3.c): Likewise.
48941         (CFLAGS-tst-backtrace4.c): Likewise.
48942         (CFLAGS-tst-backtrace5.c): Likewise.
48943         (LDFLAGS-tst-backtrace2): Likewise.
48944         (LDFLAGS-tst-backtrace3): Likewise.
48945         (LDFLAGS-tst-backtrace4): Likewise.
48946         (LDFLAGS-tst-backtrace5): Likewise.
48947         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48948         tst-backtrace4 and tst-backtrace5.
48950 2013-01-18  Anton Blanchard  <anton@samba.org>
48951             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48953         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48954         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48956         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48958         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48959         "+r" and remove output regs list as redundant.  Add explicit inline
48960         asm to specify register of return val to work around compiler codegen
48961         bug.  Remove (int) cast on return value.  Add return type parameter to
48962         use in macro so that this macro does not truncate return value for
48963         64-bit values.
48964         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48965         pass to INTERNAL_VSYSCALL_NCS.
48966         (INLINE_VSYSCALL): Add 'long int' as return type to
48967         INTERNAL_VSYSCALL_NCS macro invocation.
48968         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48969         INTERNAL_VSYSCALL_NCS macro invocation.
48970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48972 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48974         [BZ #14496]
48975         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48976         Fix application of SIMD FP exception mask.
48978         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48979         mp_no from a power of two.
48980         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48981         __mpexp_twomm1.  Use __pow_mp.
48983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48984         multiplication.
48986 2013-01-17  David S. Miller  <davem@davemloft.net>
48988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48990 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48992         [BZ #15023]
48993         * include/complex.h: Condition contents on [!_COMPLEX_H].
48994         (__kernel_casinhf): New prototype.
48995         (__kernel_casinh): Likewise.
48996         (__kernel_casinhl): Likewise.
48997         * math/Makefile (libm_calls): Add k_casinh.
48998         * math/k_casinh.c: New file.
48999         * math/k_casinhf.c: Likewise.
49000         * math/k_casinhl.c: Likewise.
49001         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49002         finite nonzero arguments.
49003         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49004         finite nonzero arguments.
49005         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49006         finite nonzero arguments.
49007         * math/s_casinh.c: Do not include <float.h>.
49008         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49009         * math/s_casinhf.c: Do not include <float.h>.
49010         (__casinhf): Move code for finite nonzero arguments to
49011         k_casinhf.c.
49012         * math/s_casinhl.c: Do not include <float.h>.
49013         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49014         redefine.
49015         (__casinhl): Move code for finite nonzero arguments to
49016         k_casinhl.c.
49017         * math/libm-test.inc (cacos_test): Add more tests.
49018         * sysdeps/i386/fpu/libm-test-ulps: Update.
49019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49021 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49023         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49024         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49025         [!HAVE_MREMAP]: Remove [defined linux] case.
49026         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49028 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49030         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49032 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49034         * elf/elf.h (R_386_SIZE32): New relocation.
49035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49036         R_386_SIZE32.
49037         (elf_machine_rela): Likewise.
49038         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49039         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49041 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49043         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49044         (FP_FAST_FMA): Do not define.
49045         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49046         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49047         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49048         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49049         !_SOFT_FLOAT]: Likewise.
49050         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49051         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49052         value.
49053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49054         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49055         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49056         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49057         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49058         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49059         file.
49061 2013-01-16  Andreas Schwab  <schwab@suse.de>
49063         [BZ #14327]
49064         * include/stdlib.h (__mktemp): Add declaration.
49065         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49066         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49068 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49070         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49071         definitions.
49072         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49073         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49074         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49075         definitions here.
49076         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49077         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49078         definitions.
49079         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49080         and ONE.
49081         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49082         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49083         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49084         definitions.
49085         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49086         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49087         definitions.
49088         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49090         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49092 2013-01-15  David S. Miller  <davem@davemloft.net>
49094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49095         trunc{,f} to libm-sysdep_routes.
49096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49098         file.
49099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49101         file.
49102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49103         file.
49104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49106         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49107         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49108         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49109         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49110         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49111         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49114         nearbyint{,f} to libm-sysdep_routes.
49115         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49117         New file.
49118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49119         file.
49120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49121         New file.
49122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49123         file.
49124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49126         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49127         file.
49128         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49130         file.
49131         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49132         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49133         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49135         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49136         libc_feholdexcept and libc_fesetenv.
49138 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49140         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49142 2013-01-14  David S. Miller  <davem@davemloft.net>
49144         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49145         (SPARC_ASM_VIS2_IFUNC): Likewise.
49146         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49148         use of 'siam' instruction.
49149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49150         Likewise.
49151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49152         Likewise.
49153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49154         Likewise.
49155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49160         file.
49161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49162         file.
49163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49164         file.
49165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49166         file.
49167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49169         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49172         new VIS2 routines.
49173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49176         Likewise.
49177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49182         routines to libm-sysdep_routines.
49183         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49186         fdim/fdimf to libm-sysdep_routines.
49187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49188         file.
49189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49191         file.
49192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49195         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49196         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49197         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49198         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49200 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49202         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49203         to optimize copies.
49205         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49210         local variable MPTWO.
49211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49212         Likewise.
49214 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49216         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49217         GLOB_NOESCAPE.
49219 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49221         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49223 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49225         * manual/pattern.texi (glob_t): Document gl_flags.
49226         (glob64_t): Likewise.
49228 2013-01-11  David S. Miller  <davem@davemloft.net>
49230         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49231         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49232         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49233         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49234         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49235         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49236         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49237         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49238         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49239         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49240         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49241         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49242         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49245         sparc V9 rather than using V8 code.
49246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49249         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49250         Move to...
49251         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49252         Here.
49254 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49256         [BZ #14941]
49257         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49258         not in the main loop.
49259         * configure: Regenerated.
49261 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49263         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49264         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49265         to just #else.
49266         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49267         [!__GLIBC_HAVE_LONG_LONG] case.
49268         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49269         condition to just #else.
49270         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49271         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49272         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49273         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49274         unconditional.
49275         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49276         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49277         #elif condition to just #else.
49278         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49279         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49280         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49281         #elif condition to just #else.
49283 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49285         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49286         (EF_MIPS_ARCH_64): Fix value.
49287         (EF_MIPS_ARCH_32R2): New.
49288         (EF_MIPS_ARCH_64R2): New.
49290 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49292         * Makeconfig (+link-pie-before-libc): New.
49293         (+link-pie-after-libc): Likewise.
49294         (+link-pie-tests): Likewise.
49295         (+link-pie): Rewritten.
49296         (link-before-libc): Remove $(config-LDFLAGS).
49297         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49298         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49299         (config-LDFLAGS): Renamed to ...
49300         (rtld-LDFLAGS): This.
49301         (rtld-tests-LDFLAGS): New macro.
49302         (link-libc-rpath-link): Likewise.
49303         (link-libc-tests-rpath-link): Likewise.
49304         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49305         (link-libc): Prepand $(link-libc-rpath-link).
49306         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49307         (test-program-prefix): New macro.
49308         (test-via-rtld-prefix): Likewise.
49309         (test-program-cmd): Likewise.
49310         (host-test-program-cmd): Likewise.
49311         * Makefile ($(common-objpfx)testrun.sh): Replace
49312         $(run-program-prefix) with $(test-program-prefix).
49313         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49314         $(rtld-LDFLAGS).
49315         ($(common-objpfx)shlib.lds): Likewise.
49316         (build-module-helper): Likewise.
49317         ($(common-objpfx)format.lds): Likewise.
49318         * Rules (binaries-pie-tests): New.
49319         (binaries-pie-notests): Likewise.
49320         (binaries-pie): Rewritten.
49321         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49322         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49323         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49324         (make-test-out): Replace $(host-built-program-cmd) with
49325         $(host-test-program-cmd).
49326         * config.make.in (build-hardcoded-path-in-tests): New variable.
49327         * configure.in (--enable-hardcoded-path-in-tests): New configure
49328         option.
49329         (hardcoded_path_in_tests): New AC_SUBST.
49330         * configure: Regenerated.
49331         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49332         $(built-program-cmd) with $(test-program-cmd).
49333         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49334         (test_program_cmd): This.
49335         * elf/Makefile ($(objpfx)order.out): Run test with
49336         $(test-program-prefix).
49337         ($(objpfx)order2.out): Likewise.
49338         ($(objpfx)tst-initorder.out): Likewise.
49339         ($(objpfx)tst-initorder2.out): Likewise.
49340         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49341         $(test-program-cmd).
49342         ($(objpfx)tst-array1-static.out): Likewise.
49343         ($(objpfx)tst-array2.out): Likewise.
49344         ($(objpfx)tst-array3.out): Likewise.
49345         ($(objpfx)tst-array4.out): Likewise.
49346         ($(objpfx)tst-array5.out): Likewise.
49347         ($(objpfx)tst-array5-static.out): Likewise.
49348         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49349         $(test-program-cmd).
49350         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49351         $(run-program-prefix) with $(test-program-prefix).
49352         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49353         (test_program_prefix): This.
49354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49355         $(run-program-prefix) with $(test-program-prefix).
49356         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49357         (test_program_prefix): This.
49358         * iconvdata/tst-tables.sh: Likewise.
49359         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49360         $(run-program-prefix) with $(test-program-prefix).
49361         ($(objpfx)tst-translit.out): Likewise.
49362         ($(objpfx)tst-gettext2.out): Likewise.
49363         ($(objpfx)tst-gettext4.out): Likewise.
49364         ($(objpfx)tst-gettext6.out): Likewise.
49365         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49366         (test_program_prefix): This.
49367         * intl/tst-gettext2.sh: Likewise.
49368         * intl/tst-gettext4.sh  Likewise.
49369         * intl/tst-gettext6.sh: Likewise.
49370         * intl/tst-translit.sh: Likewise.
49371         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49372         with $(test-program-cmd).
49373         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49374         $(run-program-prefix) with $(test-program-prefix).
49375         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49376         (test_program_prefix): This.
49377         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49378         $(run-program-prefix) with $(test-program-prefix).
49379         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49380         (test_program_prefix): This.
49381         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49382         * posix/Makefile ($(objpfx)globtest.out): Replace
49383         $(run-via-rtld-prefix) and $(test-wrapper) with
49384         $(test-program-prefix) and $(test-via-rtld-prefix).
49385         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49386         $(test-program-prefix).
49387         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49388         $(host-test-program-cmd).
49389         (tst-spawn-ARGS): Likewise.
49390         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49391         $(test-program-prefix).
49392         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49393         (test_via_rtld_prefix): This.
49394         (test_wrapper): Renamed to ...
49395         (test_program_prefix): This.
49396         (run_program_prefix): Replaced by test_program_prefix.
49397         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49398         (test_program_prefix): This.
49399         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49400         with $(host-test-program-cmd).
49401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49402         $(run-program-prefix) with $(test-program-prefix).
49403         ($(objpfx)tst-printf.out): Likewise.
49404         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49405         $(test-program-cmd).
49406         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49407         (test_program_prefix): This.
49408         * stdio-common/tst-unbputc.sh: Likewise.
49409         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49410         $(run-program-prefix) with $(test-program-prefix).
49411         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49412         (test_program_prefix): This.
49413         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49414         $(built-program-cmd) with $(test-program-cmd).
49416 2013-01-11  Andreas Jaeger  <aj@suse.de>
49418         [BZ #15003]
49419         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49420         value. Sync with Linux 3.7.
49422 2013-01-10  David S. Miller  <davem@davemloft.net>
49424         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49425         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49426         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49428 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49430         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49431         never set.
49432         * configure: Regenerated.
49434 2013-01-10  David S. Miller  <davem@davemloft.net>
49436         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49437         sparc V9 rather than using V8 code.
49438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49441 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49443         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49444         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49445         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49446         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49447         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49448         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49449         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49450         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49451         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49452         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49453         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49454         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49455         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49456         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49457         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49458         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49459         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49460         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49461         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49462         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49463         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49464         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49465         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49466         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49467         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49468         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49469         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49471 2013-01-10  David S. Miller  <davem@davemloft.net>
49473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49475 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49477         * posix/Makefile (tests-static): New variable.
49478         (tests): Add $(tests-static).
49479         (tst-exec-static-ARGS): New variable.
49480         (tst-spawn-static-ARGS): Likewise.
49481         * posix/tst-exec-static.c: New file.
49482         * posix/tst-spawn-static.c: Likewise.
49483         * posix/tst-exec.c: Support run directly.
49484         * posix/tst-spawn.c: Likewise.
49486 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49488         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49489         long.
49490         * math/bits/mathcalls.h (llrint): Likewise.
49491         (llround): Likewise.
49492         * stdlib/stdlib.h (struct drand48_data): Likewise.
49493         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49494         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49495         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49496         Likewise.
49497         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49498         Likewise.
49499         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49500         (elf_greg_t): Likewise.
49501         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49502         (__jmp_buf): Likewise.
49503         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49504         definitions.
49505         (llrint): Likewise, for all definitions.
49506         (llrintl): Likewise.
49508         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49509         Remove [__GNUC__] condition.
49510         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49511         condition to just [__USE_ISOC99].
49512         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49514 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49516         [BZ #14200]
49517         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49518         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49519         defined.
49520         (_POSIX_V6_ILP32_OFF32): Likewise.
49521         (_XBS5_ILP32_OFF32): Likewise.
49522         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49523         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49525 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49527         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49530         doubles __mpexp_twomm1.  Adjust usage.
49531         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49532         Remove.
49534 2013-01-10  Andreas Schwab  <schwab@suse.de>
49536         [BZ #14964]
49537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49538         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49540 2013-01-09  David S. Miller  <davem@davemloft.net>
49542         [BZ #15003]
49543         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49544         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49545         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49546         (TCP_FASTOPEN): Define.
49547         (tcp_repair_opt): New structure.
49548         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49549         enum values.
49550         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49551         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49552         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49553         (tcp_cookie_transactions): New structure.
49555 2013-01-09  Anton Blanchard  <anton@samba.org>
49557         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49558         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49559         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49560         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49562 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49564         * include/features.h (__USE_ANSI): Remove.
49566 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49568         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49570         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49572 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49574         * sysdeps/s390/fpu/libm-test-ulps: Update.
49576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49578         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49579         (__acr): Likewise.
49580         (__cpy): Likewise.
49581         (norm): Likewise.
49582         (denorm): Likewise.
49583         (__mp_dbl): Likewise.
49584         (__dbl_mp): Likewise.
49585         (add_magnitudes): Likewise.
49586         (sub_magnitudes): Likewise.
49587         (__add): Likewise.
49588         (__sub): Likewise.
49589         (__mul): Likewise.
49590         (__inv): Likewise.
49591         (__dvd): Likewise.
49592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49593         (__acr): Likewise.
49594         (__cpy): Likewise.
49595         (norm): Likewise.
49596         (denorm): Likewise.
49597         (__mp_dbl): Likewise.
49598         (__dbl_mp): Likewise.
49599         (add_magnitudes): Likewise.
49600         (sub_magnitudes): Likewise.
49601         (__add): Likewise.
49602         (__sub): Likewise.
49603         (__mul): Likewise.
49604         (__inv): Likewise.
49605         (__dvd): Likewise.
49606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49607         (__acr): Likewise.
49608         (__cpy): Likewise.
49609         (norm): Likewise.
49610         (denorm): Likewise.
49611         (__mp_dbl): Likewise.
49612         (__dbl_mp): Likewise.
49613         (add_magnitudes): Likewise.
49614         (sub_magnitudes): Likewise.
49615         (__add): Likewise.
49616         (__sub): Likewise.
49617         (__mul): Likewise.
49618         (__inv): Likewise.
49619         (__dvd): Likewise.
49621 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49623         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49624         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49625         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49626         2 && __USE_EXTERN_INLINES]: Likewise.
49628 2013-01-08  Andreas Jaeger  <aj@suse.de>
49630         [BZ# 14985]
49631         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49632         Remove.
49633         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49634         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49636 2013-01-07  Anton Blanchard  <anton@samba.org>
49638         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49639         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49640         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49641         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49643         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49644         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49645         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49647         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49652         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49653         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49654         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49656         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49662         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49663         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49664         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49665         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49667         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49668         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49671         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49672         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49673         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49674         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49675         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49676         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49678         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49679         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49680         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49682 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49684         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49685         (__MALLOC_PMT): Likewise.
49686         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49687         [__GNUC__], only on [_LIBC].
49688         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49689         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49690         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49691         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49692         forward declaration.
49693         (realloc_hook_ini): Likewise.
49694         (memalign_hook_ini): Likewise.
49695         (__libc_memalign): Do not use __MALLOC_PMT in variable
49696         declaration.
49697         (__libc_valloc): Likewise.
49698         (__libc_pvalloc): Likewise.
49699         (__libc_calloc): Likewise.
49700         (__posix_memalign): Likewise.
49702         [BZ #14996]
49703         * math/s_casinh.c: Include <float.h>.
49704         (__casinh): Do not do computation with squaring and square root
49705         for large arguments.
49706         * math/s_casinhf.c: Include <float.h>.
49707         (__casinhf): Do not do computation with squaring and square root
49708         for large arguments.
49709         * math/s_casinhl.c: Include <float.h>.
49710         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49711         (__casinhl): Do not do computation with squaring and square root
49712         for large arguments.
49713         * math/libm-test.inc (casin_test): Add more tests.
49714         (casinh_test): Likewise.
49715         * sysdeps/i386/fpu/libm-test-ulps: Update.
49716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49718 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49720         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49721         (__x86_64_raw_data_cache_size): Likewise.
49722         (__x86_64_data_cache_size_half): Likewise.
49723         (__x86_64_raw_data_cache_size_half): Likewise.
49724         (__x86_64_shared_cache_size): Likewise.
49725         (__x86_64_raw_shared_cache_size): Likewise.
49726         (__x86_64_shared_cache_size_half): Likewise.
49727         (__x86_64_raw_shared_cache_size_half): Likewise.
49728         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49729         to ...
49730         (__x86_data_cache_size): This.
49731         (__x86_64_raw_data_cache_size): Renamed to ...
49732         (__x86_raw_data_cache_size): This.
49733         (__x86_64_data_cache_size_half): Renamed to ...
49734         (__x86_data_cache_size_half): This.
49735         (__x86_64_raw_data_cache_size_half): Renamed to ...
49736         (__x86_raw_data_cache_size_half): This.
49737         (__x86_64_shared_cache_size): Renamed to ...
49738         (__x86_shared_cache_size): This.
49739         (__x86_64_raw_shared_cache_size): Renamed to ...
49740         (__x86_raw_shared_cache_size): This.
49741         (__x86_64_shared_cache_size_half): Renamed to ...
49742         (__x86_shared_cache_size_half): This.
49743         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49744         (__x86_raw_shared_cache_size_half): This.
49745         * sysdeps/x86_64/memcpy.S: Updated.
49746         * sysdeps/x86_64/memset.S: Likewise.
49747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49749         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49751 2013-01-04  David S. Miller  <davem@davemloft.net>
49753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49755 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49757         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49758         1 to avoid redefinition warning.
49759         (__USE_GNU): Don't define.
49760         (init_signaling_nan): Protoize.
49762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49764 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49766         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49768         (__cpymn): Likewise.
49769         (norm): Remove commented code.
49770         (denorm): Likewise.
49771         (__mp_dbl): Likewise.
49772         (__inv): Likewise.
49773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49774         (__cpymn): Likewise.
49775         (norm): Remove commented code.
49776         (denorm): Likewise.
49777         (__mp_dbl): Likewise.
49778         (__inv): Likewise.
49780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49781         mp_no value for 1.0 and 2.0.
49782         (norm): Use RADIXI instead of radixi.d.
49783         (denorm): Likewise.
49784         (__mul): Use 0.0 instead of zero.d.
49785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49786         mp_no value for 1.0 and 2.0.
49787         (norm): Use RADIXI instead of radixi.d.
49788         (denorm): Likewise.
49789         (__mul): Use 0.0 instead of zero.d.
49791 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49793         [BZ #14994]
49794         * math/s_casinh.c (__casinh): Reduce finite argument to first
49795         quadrant then set signs of results at the end.
49796         * math/s_casinhf.c (__casinhf): Likewise.
49797         * math/s_casinhl.c (__casinhl): Likewise.
49798         * math/libm-test.inc (casin_test): Add more tests.
49799         (casinh_test): Likewise.
49800         * sysdeps/i386/fpu/libm-test-ulps: Update.
49801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49803 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49805         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49807         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49809         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49810         declarations.
49811         (denorm): Likewise.
49812         (__mp_dbl): Likewise.
49813         (__inv): Likewise.
49815         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49816         and adjust the header comment.
49818         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49819         variable name from declaration.
49821 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49824         Initialize COMMON_CPUID_INDEX_7 element.
49825         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49826         (CPUID_RTM): Likewise.
49827         (HAS_RTM): Likewise.
49828         (COMMON_CPUID_INDEX_7): New enum.
49830 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49832         [BZ #14981]
49833         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49834         size is zero, record memory as freed.
49836 2013-01-03  Andreas Jaeger  <aj@suse.de>
49838         * po/ia.po: Add new Interlingua translation.
49840 2012-01-03  Allan McRae  <allan@archlinux.org>
49842         * locale/programs/localedef.c: Fix description of '--posix' flag.
49844 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49846         * NEWS: Update dates in second copyright notice.
49847         * README: Update copyright dates in example.
49848         * manual/libc.texinfo: Update copyright dates.
49849         * scripts/test-installation.pl: Update copyright date in --version
49850         output.
49852         * hurd/ctty-input.c: Fix copyright notice formatting.
49853         * hurd/ctty-output.c: Likewise.
49854         * hurd/dtable.c: Likewise.
49855         * hurd/hurd-raise.c: Likewise.
49856         * hurd/hurdprio.c: Likewise.
49857         * hurd/msgportdemux.c: Likewise.
49858         * misc/sys/file.h: Likewise.
49859         * misc/sys/ioctl.h: Likewise.
49860         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49861         * sysdeps/mach/hurd/chdir.c: Likewise.
49862         * sysdeps/mach/hurd/fchdir.c: Likewise.
49863         * sysdeps/mach/hurd/rename.c: Likewise.
49864         * sysdeps/mach/hurd/rmdir.c: Likewise.
49865         * sysdeps/mach/hurd/seekdir.c: Likewise.
49866         * sysdeps/mach/hurd/setsid.c: Likewise.
49867         * sysdeps/posix/wait3.c: Likewise.
49869         * All files with FSF copyright notices: Update copyright dates
49870         using scripts/update-copyrights.
49871         * intl/plural.c: Regenerated.
49872         * locale/programs/charmap-kw.h: Likewise.
49873         * locale/programs/locfile-kw.h: Likewise.
49875 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49877         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49878         four values.
49880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49881         calculation loop and add branch prediction.
49883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49884         check access beyond bounds of m1np.
49886         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49887         MPTWO.
49888         (__inv): Remove local variable MPTWO to use the global
49889         constant.
49890         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49892         variable MPTWO.
49893         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49894         MP3HALFS static const.
49896 2013-01-01  David S. Miller  <davem@davemloft.net>
49898         * po/ca.po: Update from translation team.
49900 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49902         * scripts/update-copyrights: New file.
49903         * Makeconfig: Reformat copyright notice.
49904         * ctype/ctype.h: Likewise.
49905         * debug/swprintf_chk.c: Likewise.
49906         * elf/dl-cache.c: Likewise.
49907         * elf/dl-debug.c: Likewise.
49908         * elf/dl-object.c: Likewise.
49909         * grp/initgroups.c: Likewise.
49910         * hurd/Makefile: Likewise.
49911         * hurd/hurd/signal.h: Likewise.
49912         * hurd/hurdfault.c: Likewise.
49913         * hurd/hurdioctl.c: Likewise.
49914         * hurd/hurdlookup.c: Likewise.
49915         * hurd/intr-msg.c: Likewise.
49916         * iconv/gconv_open.c: Likewise.
49917         * libio/swprintf.c: Likewise.
49918         * locale/lc-ctype.c: Likewise.
49919         * locale/nl_langinfo.c: Likewise.
49920         * mach/Machrules: Likewise.
49921         * mach/Makefile: Likewise.
49922         * malloc/obstack.h: Likewise.
49923         * manual/Makefile: Likewise.
49924         * manual/tsort.awk: Likewise.
49925         * misc/bits/stab.def: Likewise.
49926         * nis/nis_print_group_entry.c: Likewise.
49927         * nis/nis_table.c: Likewise.
49928         * nis/nss_compat/compat-pwd.c: Likewise.
49929         * nis/nss_compat/compat-spwd.c: Likewise.
49930         * po/Makefile: Likewise.
49931         * posix/fnmatch.c: Likewise.
49932         * posix/regex.h: Likewise.
49933         * resolv/Makefile: Likewise.
49934         * resolv/nss_dns/dns-network.c: Likewise.
49935         * resolv/res_hconf.c: Likewise.
49936         * scripts/gen-sorted.awk: Likewise.
49937         * soft-fp/soft-fp.h: Likewise.
49938         * stdio-common/printf.h: Likewise.
49939         * stdlib/monetary.h: Likewise.
49940         * stdlib/random.c: Likewise.
49941         * stdlib/random_r.c: Likewise.
49942         * sysdeps/generic/Makefile: Likewise.
49943         * sysdeps/gnu/Makefile: Likewise.
49944         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49945         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49946         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49948         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49950         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49951         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49956         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49957         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49967         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49968         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49970         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49971         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49972         * sysdeps/mach/hurd/errnos.awk: Likewise.
49973         * sysdeps/mach/hurd/fork.c: Likewise.
49974         * sysdeps/mach/hurd/getcwd.c: Likewise.
49975         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49976         * sysdeps/mach/hurd/mmap.c: Likewise.
49977         * sysdeps/mach/hurd/utimes.c: Likewise.
49978         * sysdeps/mach/hurd/xmknod.c: Likewise.
49979         * sysdeps/posix/profil.c: Likewise.
49980         * sysdeps/posix/readdir_r.c: Likewise.
49981         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49982         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49983         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49984         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49988         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49990         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49992         * sysdeps/pthread/lio_listio.c: Likewise.
49993         * sysdeps/sparc/dl-procinfo.h: Likewise.
49994         * sysdeps/unix/i386/sysdep.S: Likewise.
49995         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49996         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49997         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49998         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50000         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50001         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50002         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50003         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50004         * sysdeps/wordsize-32/divdi3.c: Likewise.
50005         * time/sys/time.h: Likewise.
50006         * wcsmbs/Makefile: Likewise.
50008 2013-01-01  David S. Miller  <davem@davemloft.net>
50010         * po/fr.po: Update from translation team.
50012         * catgets/gencat.c: Update copyright year.
50013         * csu/version.c: Likewise.
50014         * debug/catchsegv.sh: Likewise.
50015         * debug/pcprofiledump.c: Likewise.
50016         * debug/xtrace.sh: Likewise.
50017         * elf/ldconfig.c: Likewise.
50018         * elf/ldd.bash.in: Likewise.
50019         * elf/pldd.c: Likewise.
50020         * elf/sotruss.ksh: Likewise.
50021         * elf/sprof.c: Likewise.
50022         * iconv/iconv_prog.c: Likewise.
50023         * iconv/iconvconfig.c: Likewise.
50024         * locale/programs/locale.c: Likewise.
50025         * locale/programs/localedef.c: Likewise.
50026         * login/programs/pt_chown.c: Likewise.
50027         * malloc/memusage.sh: Likewise.
50028         * malloc/memusagestat.c: Likewise.
50029         * malloc/mtrace.pl: Likewise.
50030         * nscd/nscd.c: Likewise.
50031         * nss/getent.c: Likewise.
50032         * nss/makedb.c: Likewise.
50033         * posix/getconf.c: Likewise.
50035 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50038         numbers.
50040 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50042         * math/bits/mathcalls.h (modf): Use __nonnull.
50044 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50046         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50047         (split): Use macro CN instead of the bare value.
50048         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50049         could be used.
50050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50051         instead of the bare value.
50052         (power1): Likewise.
50054 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50057         __ATAN_TWOM.
50058         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50060         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50061         their values.
50062         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50064         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50065         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50067 2012-12-28  Andreas Jaeger  <aj@suse.de>
50069         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50070         values are from Linux 3.7.
50072         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50073         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50075 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50077         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50078         TRUE case.
50080         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50081         (norm): Likewise.
50082         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50083         variables with preprocessor constants.
50084         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50085         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50088 2012-12-27  Bruno Haible  <bruno@clisp.org>
50090         [BZ #14317]
50091         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50092         only if needed.
50094 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50097         and use variable directly.
50098         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50100         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50101         MPONE.
50102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50104         variable MPONE.
50105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50107         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50108         include directive.  Remove local variable MPONE.
50109         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50110         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50113 2012-12-25  David S. Miller  <davem@davemloft.net>
50115         * version.h (RELEASE): Set to "development".
50116         (VERSION): Set to "2.17.90".
50117         * NEWS: Add 2.18 section.
50119 2012-12-21  David S. Miller  <davem@davemloft.net>
50121         * po/hr.po: Update from translation team.
50123 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50125         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50127 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50129         * NEWS:  Mention new memcpy for MIPS.
50131 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50133         * manual/contrib.texi (Contributors): Spelling correction.
50135 2012-12-15  David S. Miller  <davem@davemloft.net>
50137         * po/ru.po: Update from translation team.
50139 2012-12-13  David S. Miller  <davem@davemloft.net>
50141         * NEWS: Mention IFUNC testsuite enhancements.
50143         * po/pl.po: Update from translation team.
50144         * po/bg.po: Likewise.
50146         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50147         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50149 2012-12-11  David S. Miller  <davem@davemloft.net>
50151         * po/sv.po: Update from translation team.
50153         * po/vi.po: Update from translation team.
50155         * po/cs.po: Update from translation team.
50157         * po/de.po: Update from translation team.
50158         * po/eo.po: Likewise.
50159         * po/nl.po: Likewise.
50161 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50163         [BZ #14246]
50164         * manual/argp.texi (Argp Helper Functions): Move node to follow
50165         Argp Parsing State.
50167         [BZ #14872]
50168         * manual/conf.texi (Limits on File System Capacity): Mention if
50169         terminating null is included in the max size.
50171 2012-12-10  Andreas Jaeger  <aj@suse.de>
50173         * po/cs.po: Update from translation team.
50175 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50177         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50178         void pointer and cast to uintptr_t.
50179         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50180         path.
50181         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50182         * sysdeps/s390/s390-64/memset.S: Likewise.
50184 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50186         [BZ #14833]
50187         * menual/message.texi (Message Translation): Fix typos.
50188         (Helper programs for gettext): Likewise.
50190 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50192         [BZ #14898]
50193         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50194         Change to -1.
50196 2012-12-07  David S. Miller  <davem@davemloft.net>
50198         * po/libc.pot: Update.
50200 2012-12-07  Richard Henderson  <rth@redhat.com>
50202         [BZ #10114]
50203         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50204         normal/normal case to before the switch.
50205         (_FP_DIV): Likewise.
50207 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50208             Mike Frysinger  <vapier@gentoo.org>
50210         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50211         check for __NR_fadvise64_64.
50213 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50215         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50216         0, not just to plain "0" as a statement.
50217         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50218         with cw.
50220 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50222         * NEWS: Use sourceware.org in Bugzilla URL.
50224 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50227         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50229         * stdio-common/tst-put-error.c (do_test): Add newline to the
50230         padded test to ensure flush.
50232 2012-12-05  Jeff Law  <law@redhat.com>
50234         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50236 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50238         * README: Don't refer to ports add-on as distributed separately.
50239         Mention AArch64 in list of systems supported in the ports add-on.
50241         * LICENSES: Add more non-FSF copyright and license notices.
50243         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50244         ((unused)).
50246         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50248         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50249         10000 as width of padded output.
50251 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50253         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50255         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50256         variable LX with __attribute__ ((unused)).
50257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50258         Likewise.
50259         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50260         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50262         with __attribute__ ((unused)).
50264 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50266         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50268 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50270         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50271         (CFLAGS-nldbl-acos.c): New variable.
50272         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50273         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50274         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50275         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50276         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50277         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50278         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50279         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50280         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50281         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50282         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50283         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50284         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50285         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50286         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50287         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50288         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50289         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50290         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50291         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50292         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50293         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50294         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50295         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50296         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50297         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50298         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50299         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50300         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50301         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50302         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50303         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50304         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50305         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50306         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50307         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50308         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50309         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50310         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50311         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50312         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50313         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50314         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50315         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50316         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50317         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50318         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50319         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50320         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50321         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50322         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50323         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50324         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50325         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50326         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50327         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50328         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50329         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50330         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50331         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50332         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50333         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50334         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50335         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50336         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50337         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50338         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50339         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50340         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50341         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50342         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50343         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50344         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50345         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50346         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50347         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50348         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50349         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50350         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50351         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50352         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50353         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50354         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50355         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50356         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50357         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50358         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50359         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50360         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50361         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50362         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50363         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50364         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50365         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50366         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50367         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50368         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50371         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50373         [BZ #14914]
50374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50375         whole low double instead of just low 47 bits when splitting values
50376         into two parts.
50378 2012-12-03  Allan McRae  <allan@archlinux.org>
50380         * manual/stdio.texi (Predefined Printf Handlers): Remove
50381         @hsep and @vsep usage.
50383 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50385         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50386         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50388 2012-12-03  Jeff Law  <law@redhat.com>
50390         * time/sys/time.h (settimeofday): Do not mark TV argument
50391         as __nonnull.
50393 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50395         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50396         when currently writing and seek to current position when not.
50397         * libio/Makefile (tests): Remove bug-fclose1.
50398         * libio/bug-fclose1.c: Delete.
50400 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50402         * manual/arith.texi (feenableexcept): Fix typo.
50403         (fedisableexcept): Likewise.
50405 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50407         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50408         second, differently-typed declaration, rather than a cast.
50410 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50412         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50413         * include/rpc/svc.h: ... here.
50415 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50417         [BZ #13013]
50418         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50419         depending n and resplen2 to catch cases where answer
50420         equals answerp2.
50422 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50424         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50425         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50427 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50429         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50431 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50433         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50435 2012-11-28  Jeff Law  <law@redhat.com>
50437         [BZ #13761]
50438         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50439         dataset_temporary.  Track alloca usage into alloca_used.
50440         If dataset is large allocate and release it via malloc/free.
50442 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50444         [BZ #14197]
50445         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50447 2012-11-28  David S. Miller  <davem@davemloft.net>
50449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50451 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50453         [BZ #14803]
50454         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50455         of pi/2 rounded to nearest to 64 bits.
50456         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50457         nearest to 64 bits.
50458         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50459         bits.
50461 2012-11-28  Jeff Law <law@redhat.com>
50462             Martin Osvald <mosvald@redhat.com>
50464         [BZ #14889]
50465         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50466         * sunrpc/svc.c: Include time.h.
50467         (__svc_accept_failed): New function.
50468         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50469         any reason other than EINTR, call __svc_accept_failed.
50470         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50471         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50473 2012-11-28  Andreas Schwab  <schwab@suse.de>
50475         * scripts/abilist.awk: Also handle indirect functions in .opd
50476         section.
50478 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50480         [BZ #13881]
50481         * sysdeps/x86/fpu/powl_helper.c: New file.
50482         * sysdeps/x86/fpu/Makefile: Likewise.
50483         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50484         (p3): New object.
50485         (__ieee754_powl): Use __powl_helper for finite arguments except
50486         integer exponents below 8.
50487         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50488         (p3): New object.
50489         (__ieee754_powl): Use __powl_helper for finite arguments except
50490         integer exponents below 8.
50491         * math/libm-test.inc (pow_test): Add more tests and enable some
50492         previously disabled tests.
50493         * sysdeps/i386/fpu/libm-test-ulps: Update.
50494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50496 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50497             Carlos O'Donell  <carlos_odonell@mentor.com>
50499         * nss/makedb.c (is_prime): Assert that input is odd and greater
50500         than 4.  Note that fact in a comment too.
50501         (next_prime): Add 4 to input.
50503 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50505         [BZ #11741]
50506         * libio/Makefile (tests): Add test case tst-fwrite-error.
50507         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50508         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50509         * libio/tst-fwrite-error.c: New test case.
50511 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50513         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50514         before casting to void *.
50515         * include/libc-internal.h (__pointer_type): New macro.
50516         (__integer_if_pointer_type_sub): Likewise.
50517         (__integer_if_pointer_type): Likewise.
50518         (cast_to_integer): Likewise.
50519         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50520         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50521         before casting to atomic64_t.
50522         (atomic_exchange_acq): Likewise.
50523         (__arch_exchange_and_add_body): Likewise.
50524         (__arch_add_body): Likewise.
50525         (atomic_add_negative): Likewise.
50526         (atomic_add_zero): Likewise.
50528 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50530         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50531         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50532         (add_fdes): Likewise.
50533         (linear_search_fdes): Likewise.
50534         (binary_search_unencoded_fdes): Likewise.
50536 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50538         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50540 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50542         * configure.in: Autodetect C++ header directories.
50543         * configure: Regenerated.
50545 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50547         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50549 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50553 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50555         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50556         LDBL_MANT_DIG == 106]: Disable some tests.
50557         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50558         Likewise.
50559         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50560         Likewise.
50562         [BZ #14871]
50563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50564         input for small inputs.  Return +/- pi/2 for large inputs.
50565         * math/libm-test.inc (atan_test): Add more tests.
50567         * sysdeps/generic/unwind-dw2-fde-glibc.c
50568         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50569         __attribute__ ((unused)).
50571         [BZ #14645]
50572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50573         x * y if x and y are nonzero and z is zero.
50575         [BZ #14811]
50576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50577         nonzero exponents with absolute value below 0x1p-117 to +/-
50578         0x1p-117.
50580         [BZ #14869]
50581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50582         up arguments below 2**-450, not just those below 2**-500.
50583         * math/libm-test.inc (hypot_test): Add another test.
50585         [BZ #14868]
50586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50587         Return a+b for ratio over 2**120, not 2**60.
50588         * math/libm-test.inc (hypot_test): Add another test.
50590         * math/libm-test.inc (clog_test): Use
50591         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50592         (clog10_test): Likewise.
50594         [BZ #6778]
50595         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50597 2012-11-22  Andreas Schwab  <schwab@suse.de>
50599         * sysdeps/i386/fpu/libm-test-ulps: Update.
50601 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50603         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50604         printf output with newline.
50606 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50608         [BZ #14865]
50609         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50610         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50611         -z nodlopen, -z initfirst and -z execstack support.
50612         * configure: Regenerated.
50614         * elf/elf.h (DF_1_NODIRECT): New macro.
50615         (DF_1_IGNMULDEF): Likewise.
50616         (DF_1_NOKSYMS): Likewise.
50617         (DF_1_NOHDR): Likewise.
50618         (DF_1_EDITED): Likewise.
50619         (DF_1_NORELOC): Likewise.
50620         (DF_1_SYMINTPOSE): Likewise.
50621         (DF_1_GLOBAUDIT): Likewise.
50622         (DF_1_SINGLETON): Likewise.
50623         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50624         DT_1_SUPPORTED_MASK bits.
50625         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50627 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50629         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50631 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50633         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50634         macro.
50636         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50637         (sendmmsg): Move declarations...
50638         * socket/sys/socket.h: ... here.
50639         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50640         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50641         include it from...
50642         * socket/recvmmsg.c: ... this new file.
50643         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50644         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50645         definition of __sendmmsg hidden.
50646         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50647         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50648         Move ENOSYS stub into and include it from...
50649         * socket/sendmmsg.c: ... this new file.
50650         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50651         (sysdep_routines): Move recvmmsg and sendmmsg...
50652         * socket/Makefile (routines): ... here.
50653         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50654         (GLIBC_PRIVATE): Add __sendmmsg.
50655         * include/sys/socket.h (__sendmmsg): Add declarations.
50656         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50657         sendmmsg.
50659 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50662         variable I1 with __attribute__ ((unused)).
50663         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50665 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50667         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50668         DUMMY variables with __attribute__ ((unused)).
50670         * bits/byteswap.h: Include <bits/types.h>.
50671         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50673 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50675         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50676         string_t.  Do not manually set errno.
50677         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50678         length with __strnlen.  Make sure to both set errno and return it on
50679         failure.
50681 2012-11-19  David S. Miller  <davem@davemloft.net>
50683         With help from Joseph Myers.
50684         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50685         very large arguments properly.
50686         * math/libm-test.inc (atan_test): New tests.
50687         (atan2_test): New tests.
50688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50691 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50693         [BZ #14856]
50694         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50695         Define to 3.
50697         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50698         [POSIX] (EADDRNOTAVAIL): Likewise.
50699         [POSIX] (EAFNOSUPPORT): Likewise.
50700         [POSIX] (EALREADY): Likewise.
50701         [POSIX] (ECONNABORTED): Likewise.
50702         [POSIX] (ECONNREFUSED): Likewise.
50703         [POSIX] (ECONNRESET): Likewise.
50704         [POSIX] (EDESTADDRREQ): Likewise.
50705         [POSIX] (EDQUOT): Likewise.
50706         [POSIX] (EHOSTUNREACH): Likewise.
50707         [POSIX] (EIDRM): Likewise.
50708         [POSIX] (EISCONN): Likewise.
50709         [POSIX] (ELOOP): Likewise.
50710         [POSIX] (EMULTIHOP): Likewise.
50711         [POSIX] (ENETDOWN): Likewise.
50712         [POSIX] (ENETUNREACH): Likewise.
50713         [POSIX] (ENOBUFS): Likewise.
50714         [POSIX] (ENODATA): Likewise.
50715         [POSIX] (ENOLINK): Likewise.
50716         [POSIX] (ENOMSG): Likewise.
50717         [POSIX] (ENOPROTOOPT): Likewise.
50718         [POSIX] (ENOSR): Likewise.
50719         [POSIX] (ENOSTR): Likewise.
50720         [POSIX] (ENOTCONN): Likewise.
50721         [POSIX] (ENOTSOCK): Likewise.
50722         [POSIX] (EOPNOTSUPP): Likewise.
50723         [POSIX] (EOVERFLOW): Likewise.
50724         [POSIX] (EPROTO): Likewise.
50725         [POSIX] (EPROTONOSUPPORT): Likewise.
50726         [POSIX] (EPROTOTYPE): Likewise.
50727         [POSIX] (ESTALE): Likewise.
50728         [POSIX] (ETIME): Likewise.
50729         [POSIX] (ETXTBSY): Likewise.
50730         [POSIX] (EWOULDBLOCK): Likewise.
50731         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50732         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50733         [POSIX] (SEEK_CUR): Likewise.
50734         [POSIX] (SEEK_END): Likewise.
50735         [POSIX || UNIX98] (mode_t): Do not require.
50736         [POSIX] (off_t): Likewise.
50737         [POSIX] (pid_t): Likewise.
50738         [POSIX] (sys/stat.h): Do not allow header.
50739         [POSIX] (unistd.h): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50741         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50742         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50743         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50744         require.
50745         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50746         sigevent): Specify elements.
50747         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50748         entry.
50749         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50750         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50752         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50753         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50754         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50755         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50756         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50757         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50758         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50759         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50760         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50761         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50762         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50763         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50764         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50765         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50766         Likewise.
50767         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50768         Likewise.
50769         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50770         Likewise.
50771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50772         Likewise.
50773         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50774         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50775         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50776         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50777         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50778         Specify lower bound on value.
50779         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50780         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50781         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50782         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50783         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50784         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50785         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50786         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50787         value.
50788         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50789         as optional.
50790         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50791         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50792         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50793         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50794         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50795         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50796         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50797         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50798         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50799         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50800         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50801         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50802         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50803         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50804         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50805         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50806         entry.
50807         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50808         optional.
50809         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50810         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50811         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50812         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50813         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50815         Likewise.
50816         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50817         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50818         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50819         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50820         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50821         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50823         as optional.
50824         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50825         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50826         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50827         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50828         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50829         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50830         specify as optional.
50831         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50832         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50833         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50834         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50835         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50836         [XPG3] (NL_LANGMAX): Likewise.
50837         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50838         [POSIX || XPG3] (NL_NMAX): Likewise.
50839         [POSIX || XPG3] (NL_SETMAX): Likewise.
50840         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50841         [XPG3] (NZERO): Likewise.
50842         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50843         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50844         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50845         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50846         (REG_ERANGE): Expect.
50847         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50848         optional-constant.
50849         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50850         Use (void) in prototype.
50851         [POSIX] (*_t): Allow.
50852         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50853         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50854         (WRDE_BADVAL): Expect.
50856         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50857         expect.
50858         [XPG3 || XPG4] (O_RSYNC): Likewise.
50859         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50860         Likewise.
50861         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50862         [XPG3 || XPG4] (sigqueue): Likewise.
50863         [XPG3 || XPG4] (sigtimedwait): Likewise.
50864         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50865         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50866         [XPG3 || XPG4] (vsnprintf): Likewise.
50867         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50868         Likewise.
50869         [XPG3 || XPG4] (blksize_t): Likewise.
50870         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50871         Likewise.
50872         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50873         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50874         [XPG3 || XPG4] (struct itimerspec): Likewise.
50875         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50876         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50877         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50878         [XPG3 || XPG4] (clockid_t): Likewise.
50879         [XPG3 || XPG4] (timer_t): Likewise.
50880         [XPG3 || XPG4] (clock_getres): Likewise.
50881         [XPG3 || XPG4] (clock_gettime): Likewise.
50882         [XPG3 || XPG4] (clock_settime): Likewise.
50883         [XPG3 || XPG4] (nanosleep): Likewise.
50884         [XPG3 || XPG4] (timer_create): Likewise.
50885         [XPG3 || XPG4] (timer_delete): Likewise.
50886         [XPG3 || XPG4] (timer_gettime): Likewise.
50887         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50888         [XPG3 || XPG4] (timer_settime): Likewise.
50889         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50890         [XPG3 || XPG4] (getlogin_r): Likewise.
50891         [XPG3 || XPG4] (pread): Likewise.
50892         [XPG3 || XPG4] (pthread_atfork): Likewise.
50893         [XPG3 || XPG4] (pwrite): Likewise.
50895         [BZ #14835]
50896         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50897         <bits/siginfo.h>.
50899 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50901         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50902         finalizing MALLSTREAM.
50904         * sysdeps/mach/hurd/syncfs.c: New file.
50906 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50908         [BZ #14719]
50909         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50910         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50911         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50912         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50913         (_nss_dns_gethostbyname4_r): Likewise.
50914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50915         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50917 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50919         [BZ #13763]
50920         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50922 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50924         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50925         * elf/cache.c (print_entry): Print ",AArch64" for
50926         FLAG_AARCH64_LIB64
50928         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50929         * elf/cache.c (print_entry): Print ",hard-float" for
50930         FLAG_ARM_LIBHF.
50932 2012-11-18  David S. Miller  <davem@davemloft.net>
50934         With help from Joseph Myers.
50935         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50936         cutoff to 2**-13.
50937         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50938         cutoff to 2**-25.
50939         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50940         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50941         small.
50942         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50943         * math/libm-test.inc (y0_test): New tests.
50944         (y1_test): New tests.
50945         * sysdeps/i386/fpu/libm-test-ulps: Update.
50946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50949 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50951         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50952         64-bit targets.
50953         * configure: Regenerated.
50955 2012-11-17  David S. Miller  <davem@davemloft.net>
50957         [BZ #14811]
50958         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50959         nonzero exponents with absolute value below 0x1p-128 to +/-
50960         0x1p-128.
50962 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50964         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50966         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50968         * posix/getconf-speclist.c: New file.
50969         * posix/posix-envs.def: Likewise.
50970         * posix/confstr.c (START_ENV_GROUP): New macro.
50971         (END_ENV_GROUP): Likewise.
50972         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50973         (KNOWN_PRESENT_ENV_STRING): Likewise.
50974         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50975         (UNKNOWN_ENVIRONMENT): Likewise.
50976         (confstr): Include posix-envs.def instead of handling
50977         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50978         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50979         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50980         (END_ENV_GROUP): Likewise.
50981         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50982         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50983         (UNKNOWN_ENVIRONMENT): Likewise.
50984         (__sysconf): Include posix-envs.def instead of handling associated
50985         cases directly here.
50986         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50987         preprocessing getconf-speclist.c rather than running getconf or
50988         generating empty file.
50990 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50992         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50994 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50996         [BZ #14672]
50997         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50999 2012-11-16  David S. Miller  <davem@davemloft.net>
51001         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51002         smaller than LDBL_EPSILON/2.0L, just return xm1.
51004 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51006         * elf/tst-array1.c (init): Set constructor priority to 1000.
51007         (fini): Set destructor priority to 1000.
51008         * elf/tst-array2dep.c: Likewise.
51010 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51012         [BZ #11741]
51013         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51014         (_IO_new_file_xsputn): Also return EOF if none of the input
51015         data was written when overflow failed.
51016         * libio/iopadn.c (_IO_padn): Likewise.
51017         * libio/iowpadn.c (_IO_wpadn): Likewise.
51018         * stdio-common/tst-put-error.c: Add copyright notice.
51019         (do_test): Add case for printing padded string.
51020         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51021         _IO_padn returned error.
51022         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51023         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51024         return EOF.
51026 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51028         * libio/libioP.h: Add comment note that the references to C++
51029         bits are now obsolete.
51031 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51033         * math/libm-test.inc (check_complex): Use asprintf.
51035 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51037         * debug/pcprofiledump.c (print_version): Update copyright year.
51038         * malloc/memusagestat.c (print_version): Likewise.
51040 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51042         [BZ #14831]
51043         * elf/Makefile (tests): Add tst-audit8.
51044         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51045         ($(objpfx)tst-audit8.out): New target.
51046         (tst-audit8-ENV): New variable.
51047         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51048         audit if l_reloc_result is NULL.
51049         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51050         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51051         * elf/tst-audit8.c: New file.
51053 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51055         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51056         * misc/Makefile (CFLAGS-select.c): Define.
51057         * posix/Makefile (CFLAGS-pause.c): Define.
51059 2012-11-13  David S. Miller  <davem@davemloft.net>
51061         * crypt/Makefile: Move test targets after toplevel Rules
51062         inclusion.  Grab any necessary sysdep routines when linking.
51063         * crypt/md5.c (md5_process_block): Remove define, we will always
51064         name it __md5_process_block.
51065         (md5_finish_ctx): Update md5_process_block call.
51066         (md5_stream): Likewise.
51067         (md5_process_bytes): Likewise.
51068         (md5_process_block): Rename to __md5_process_block and move to ...
51069         * crypt/md5-block.c: ... here.
51070         * crypt/sha256.c (sha256_process_block): Move to ...
51071         * crypt/sha256-block.c: ... here.
51072         * crypt/sha512.c (sha512_process_block): Move to ...
51073         * crypt/sha512-block.c: ... here.
51074         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51075         path.
51076         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51077         * sysdeps/sparc/sparc64/multiarch/Makefile
51078         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51079         crypt subdir.
51080         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51081         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51082         multiarch changes.
51083         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51084         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51085         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51086         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51087         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51088         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51089         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51090         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51092         file.
51093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51094         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51095         file.
51096         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51098 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51100         * timezone/tzselect.ksh: Update from tzcode git revision
51101         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51102         * timezone/zdump.c: Likewise.
51103         * timezone/zic.c: Likewise.
51104         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51105         in TZVERSION setting, not $(PKGVERSION).
51106         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51107         REPORT_BUGS_TO settings.
51109         [BZ #14838]
51110         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51111         macro.
51113 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51115         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51116         detection to immediately after _FP_ROUND().
51117         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51118         bits are 0.
51120 2012-11-11  David S. Miller  <davem@davemloft.net>
51122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51123         inttypes.h
51124         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51125         __close rather than their public counterparts.
51127 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51129         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51130         file.
51131         [UNIX98] (sem_timedwait): Do not expect.
51132         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51133         [XPG4 || UNIX98] (sockatmark): Do not expect.
51134         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51135         (clock_getcpuclockid): Do not expect.
51136         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51137         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51138         Do not expect.
51139         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51140         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51141         [UNIX98] (vwscanf): Likewise.
51142         [UNIX98] (vswscanf): Likewise.
51144 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51146         * timezone/version.h: Remove file.
51147         * timezone/README: Do not refer to version.h.
51148         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51149         $(objpfx)version.h.
51150         ($(objpfx)zdump.o): Likewise.
51151         ($(objpfx)version.h): New target.
51153         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51154         2012i.
51155         * timezone/README: Don't mention modification to tzselect.ksh.
51156         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51157         work on unmodified tzselect.ksh.  Substitute version numbers in
51158         tzselect.ksh.
51160         * Makefile (format-me): Remove.
51161         (INSTALL): Adjust indentation.  Use commands directly instead of
51162         using $(format-me).
51164         * aclocal.m4 (ACX_PKGVERSION): New macro.
51165         (ACX_BUGURL): Likewise.
51166         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51167         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51168         (REPORT_BUGS_TO): Likewise.
51169         * configure: Regenerated.
51170         * config.h.in (PKGVERSION): New macro.
51171         (REPORT_BUGS_TO): Likewise.
51172         * config.make.in (PKGVERSION): New variable.
51173         (PKGVERSION_TEXI): Likewise.
51174         (REPORT_BUGS_TO): Likewise.
51175         (REPORT_BUGS_TEXI): Likewise.
51176         * Makefile (format-me): Use -I$(common-objpfx)manual.
51177         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51178         ($(common-objpfx)manual/%): New target.
51179         (manual/%): Remove target.
51180         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51181         (print_version): Use PKGVERSION.
51182         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51183         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51184         and REPORT_BUGS_TO.
51185         ($(objpfx)xtrace): Likewise.
51186         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51187         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51188         (print_version): Use PKGVERSION.
51189         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51190         (do_version): Use PKGVERSION.
51191         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51192         REPORT_BUGS_TO.
51193         (common-ldd-rewrite): Likewise.
51194         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51195         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51196         (print_version): Use PKGVERSION.
51197         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51198         * elf/pldd.c (argp_program_bug_address): Remove variable.
51199         (more_help): New function.
51200         (argp): Use more_help.
51201         (print_version): Use PKGVERSION.
51202         * elf/sln.c (main): Use PKGVERSION.
51203         (usage): Use REPORT_BUGS_TO.
51204         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51205         (top level): Use PKGVERSION.
51206         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51207         (print_version): Use PKGVERSION.
51208         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51209         (print_version): Use PKGVERSION.
51210         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51211         (print_version): Use PKGVERSION.
51212         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51213         (print_version): Use PKGVERSION.
51214         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51215         (print_version): Use PKGVERSION.
51216         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51217         (print_version): Use PKGVERSION.
51218         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51219         and BUGURL.
51220         ($(objpfx)memusage): Likewise.
51221         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51222         (do_version): Use PKGVERSION.
51223         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51224         (print_version): Use PKGVERSION.
51225         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51226         ($PKGVERSION): New variable.
51227         ($REPORT_BUGS_TO): Likewise.
51228         (usage): Use $REPORT_BUGS_TO.
51229         (top level): Use $PKGVERSION.
51230         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51231         ($(objpfx)pkgvers.texi): New rule.
51232         ($(objpfx)stamp-pkgvers): Likewise.
51233         * manual/install.texi: Include pkgvers.texi.
51234         (--with-pkgversion): Document new configure option.
51235         (--with-bugurl): Likewise.
51236         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51237         than necessarily for this particular distribution.  Use
51238         REPORT_BUGS_TO for where to report bugs.
51239         * INSTALL: Regenerated.
51240         * manual/libc.texinfo: Include pkgvers.texi.
51241         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51242         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51243         (print_version): Use PKGVERSION.
51244         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51245         (print_version): Use PKGVERSION.
51246         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51247         (print_version): Use PKGVERSION.
51248         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51249         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51250         macro.
51251         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51252         (print_version): Use PKGVERSION.
51253         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51254         (print_version): Use PKGVERSION.
51255         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51256         and PKGVERSION.
51258         * timezone/checktab.awk: Update from tzcode 2012i.
51259         * timezone/ialloc.c: Likewise.
51260         * timezone/private.h: Likewise.
51261         * timezone/scheck.c: Likewise.
51262         * timezone/tzfile.h: Likewise.
51263         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51264         (TZVERSION): Hardcode tzcode version number.
51265         * timezone/zdump.c: Update from tzcode 2012i.
51266         * timezone/zic.c: Likewise.
51267         * timezone/version.h: New file.
51268         * timezone/README: Describe version.h.  Update upstream location.
51270         [BZ #14824]
51271         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51272         (mktemp): Enable declaration.
51273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51277         Likewise.
51278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51279         Likewise.
51280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51281         Likewise.
51282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51283         Likewise.
51284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51285         Likewise.
51286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51287         Likewise.
51289         [BZ #14821]
51290         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51291         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51292         for copies of such integer values.
51293         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51294         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51296 2012-11-09  Andreas Jaeger  <aj@suse.de>
51298         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51299         definitions and declarations that are provided by
51300         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51302 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51304         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51305         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51306         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51307         definition.
51309 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51311         * elf/elf.h: Update comment before AArch64 relocations.
51313 2012-11-07  David S. Miller  <davem@davemloft.net>
51315         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51316         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51317         (__start_context): Declare.
51318         (__makecontext_ret): Delete.
51319         (__makecontext): Hook up __start_context instead of
51320         __makecontext_ret.
51321         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51322         (sysdep_routines): Add __start_context when in stdlib.
51324 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51327         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51328         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51329         hardcoded "nm".
51330         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51331         (READELF): New variable.  Use it instead of hardcoded "readelf".
51333 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51335         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51336         * sysdeps/x86/Makefile: Here.
51337         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51338         * sysdeps/x86/tst-xmmymm.sh: This.
51340 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51342         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51343         expectations.
51344         [UNIX98] (pthread_barrier_t): Do not expect.
51345         [UNIX98] (pthread_barrierattr_t): Likewise.
51346         [UNIX98] (pthread_spinlock_t): Likewise.
51347         [UNIX98] (pthread_barrier_destroy): Likewise.
51348         [UNIX98] (pthread_barrier_init): Likewise.
51349         [UNIX98] (pthread_barrier_wait): Likewise.
51350         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51351         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51352         [UNIX98] (pthread_barrierattr_init): Likewise.
51353         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51354         [UNIX98] (pthread_getcpuclockid): Likewise.
51355         [UNIX98] (pthread_mutex_timedlock): Likewise.
51356         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51357         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51358         [UNIX98] (pthread_sigmask): Likewise.
51359         [UNIX98] (pthread_spin_destroy): Likewise.
51360         [UNIX98] (pthread_spin_init): Likewise.
51361         [UNIX98] (pthread_spin_lock): Likewise.
51362         [UNIX98] (pthread_spin_trylock): Likewise.
51363         [UNIX98] (pthread_spin_unlock): Likewise.
51364         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51365         Do not expect.
51366         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51368         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51369         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51370         [XPG3 || XPG4] (pthread_key_t): Likewise.
51371         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51372         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51373         [XPG3 || XPG4] (pthread_once_t): Likewise.
51374         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51375         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51377         [XPG3 || XPG4] (pthread_t): Likewise.
51379         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51380         not expect.
51381         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51383         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51384         Change function return type to int.
51386         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51387         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51388         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51389         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51390         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51391         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51392         [!POSIX] (posix_madvise): Likewise.
51393         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51394         && !UNIX98].
51395         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51396         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51397         (mode_t): Likewise.
51398         (posix_mem_offset): Likewise.
51399         (posix_typed_mem_get_info): Likewise.
51400         (posix_typed_mem_open): Likewise.
51402         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51403         Change condition to [XOPEN2K8].
51405         * conform/conformtest.pl: Preprocess allow-header data with -x c
51406         instead of from stdin.
51407         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51408         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51409         [C99-based standards] (cerfc): Likewise.
51410         [C99-based standards] (cexp2): Likewise.
51411         [C99-based standards] (cexpm1): Likewise.
51412         [C99-based standards] (clog10): Likewise.
51413         [C99-based standards] (clog1p): Likewise.
51414         [C99-based standards] (clog2): Likewise.
51415         [C99-based standards] (clgamma): Likewise.
51416         [C99-based standards] (ctgamma): Likewise.
51417         [C99-based standards] (cerff): Likewise.
51418         [C99-based standards] (cerfcf): Likewise.
51419         [C99-based standards] (cexp2f): Likewise.
51420         [C99-based standards] (cexpm1f): Likewise.
51421         [C99-based standards] (clog10f): Likewise.
51422         [C99-based standards] (clog1pf): Likewise.
51423         [C99-based standards] (clog2f): Likewise.
51424         [C99-based standards] (clgammaf): Likewise.
51425         [C99-based standards] (ctgammaf): Likewise.
51426         [C99-based standards] (cerfl): Likewise.
51427         [C99-based standards] (cerfcl): Likewise.
51428         [C99-based standards] (cexp2l): Likewise.
51429         [C99-based standards] (cexpm1l): Likewise.
51430         [C99-based standards] (clog10l): Likewise.
51431         [C99-based standards] (clog1pl): Likewise.
51432         [C99-based standards] (clog2l): Likewise.
51433         [C99-based standards] (clgammal): Likewise.
51434         [C99-based standards] (ctgammal): Likewise.
51435         * conform/data/inttypes.h-data [C99-based standards]: Include
51436         stdint.h-data.  Remove all expectations for stdint.h contents.
51437         [C99-based standards] (PRI*): Do not allow.
51438         [C99-based standards] (SCN*): Likewise.
51439         [C99-based standards] (*_t): Likewise.
51440         [C99-based-standards] (PRId8): Expect macro.
51441         [C99-based-standards] (PRIi8): Likewise.
51442         [C99-based-standards] (PRIo8): Likewise.
51443         [C99-based-standards] (PRIu8): Likewise.
51444         [C99-based-standards] (PRIx8): Likewise.
51445         [C99-based-standards] (PRIX8): Likewise.
51446         [C99-based-standards] (SCNd8): Likewise.
51447         [C99-based-standards] (SCNi8): Likewise.
51448         [C99-based-standards] (SCNo8): Likewise.
51449         [C99-based-standards] (SCNu8): Likewise.
51450         [C99-based-standards] (SCNx8): Likewise.
51451         [C99-based-standards] (PRIdLEAST8): Likewise.
51452         [C99-based-standards] (PRIiLEAST8): Likewise.
51453         [C99-based-standards] (PRIoLEAST8): Likewise.
51454         [C99-based-standards] (PRIuLEAST8): Likewise.
51455         [C99-based-standards] (PRIxLEAST8): Likewise.
51456         [C99-based-standards] (PRIXLEAST8): Likewise.
51457         [C99-based-standards] (SCNdLEAST8): Likewise.
51458         [C99-based-standards] (SCNiLEAST8): Likewise.
51459         [C99-based-standards] (SCNoLEAST8): Likewise.
51460         [C99-based-standards] (SCNuLEAST8): Likewise.
51461         [C99-based-standards] (SCNxLEAST8): Likewise.
51462         [C99-based-standards] (PRIdFAST8): Likewise.
51463         [C99-based-standards] (PRIiFAST8): Likewise.
51464         [C99-based-standards] (PRIoFAST8): Likewise.
51465         [C99-based-standards] (PRIuFAST8): Likewise.
51466         [C99-based-standards] (PRIxFAST8): Likewise.
51467         [C99-based-standards] (PRIXFAST8): Likewise.
51468         [C99-based-standards] (SCNdFAST8): Likewise.
51469         [C99-based-standards] (SCNiFAST8): Likewise.
51470         [C99-based-standards] (SCNoFAST8): Likewise.
51471         [C99-based-standards] (SCNuFAST8): Likewise.
51472         [C99-based-standards] (SCNxFAST8): Likewise.
51473         [C99-based-standards] (PRId16): Likewise.
51474         [C99-based-standards] (PRIi16): Likewise.
51475         [C99-based-standards] (PRIo16): Likewise.
51476         [C99-based-standards] (PRIu16): Likewise.
51477         [C99-based-standards] (PRIx16): Likewise.
51478         [C99-based-standards] (PRIX16): Likewise.
51479         [C99-based-standards] (SCNd16): Likewise.
51480         [C99-based-standards] (SCNi16): Likewise.
51481         [C99-based-standards] (SCNo16): Likewise.
51482         [C99-based-standards] (SCNu16): Likewise.
51483         [C99-based-standards] (SCNx16): Likewise.
51484         [C99-based-standards] (PRIdLEAST16): Likewise.
51485         [C99-based-standards] (PRIiLEAST16): Likewise.
51486         [C99-based-standards] (PRIoLEAST16): Likewise.
51487         [C99-based-standards] (PRIuLEAST16): Likewise.
51488         [C99-based-standards] (PRIxLEAST16): Likewise.
51489         [C99-based-standards] (PRIXLEAST16): Likewise.
51490         [C99-based-standards] (SCNdLEAST16): Likewise.
51491         [C99-based-standards] (SCNiLEAST16): Likewise.
51492         [C99-based-standards] (SCNoLEAST16): Likewise.
51493         [C99-based-standards] (SCNuLEAST16): Likewise.
51494         [C99-based-standards] (SCNxLEAST16): Likewise.
51495         [C99-based-standards] (PRIdFAST16): Likewise.
51496         [C99-based-standards] (PRIiFAST16): Likewise.
51497         [C99-based-standards] (PRIoFAST16): Likewise.
51498         [C99-based-standards] (PRIuFAST16): Likewise.
51499         [C99-based-standards] (PRIxFAST16): Likewise.
51500         [C99-based-standards] (PRIXFAST16): Likewise.
51501         [C99-based-standards] (SCNdFAST16): Likewise.
51502         [C99-based-standards] (SCNiFAST16): Likewise.
51503         [C99-based-standards] (SCNoFAST16): Likewise.
51504         [C99-based-standards] (SCNuFAST16): Likewise.
51505         [C99-based-standards] (SCNxFAST16): Likewise.
51506         [C99-based-standards] (PRId32): Likewise.
51507         [C99-based-standards] (PRIi32): Likewise.
51508         [C99-based-standards] (PRIo32): Likewise.
51509         [C99-based-standards] (PRIu32): Likewise.
51510         [C99-based-standards] (PRIx32): Likewise.
51511         [C99-based-standards] (PRIX32): Likewise.
51512         [C99-based-standards] (SCNd32): Likewise.
51513         [C99-based-standards] (SCNi32): Likewise.
51514         [C99-based-standards] (SCNo32): Likewise.
51515         [C99-based-standards] (SCNu32): Likewise.
51516         [C99-based-standards] (SCNx32): Likewise.
51517         [C99-based-standards] (PRIdLEAST32): Likewise.
51518         [C99-based-standards] (PRIiLEAST32): Likewise.
51519         [C99-based-standards] (PRIoLEAST32): Likewise.
51520         [C99-based-standards] (PRIuLEAST32): Likewise.
51521         [C99-based-standards] (PRIxLEAST32): Likewise.
51522         [C99-based-standards] (PRIXLEAST32): Likewise.
51523         [C99-based-standards] (SCNdLEAST32): Likewise.
51524         [C99-based-standards] (SCNiLEAST32): Likewise.
51525         [C99-based-standards] (SCNoLEAST32): Likewise.
51526         [C99-based-standards] (SCNuLEAST32): Likewise.
51527         [C99-based-standards] (SCNxLEAST32): Likewise.
51528         [C99-based-standards] (PRIdFAST32): Likewise.
51529         [C99-based-standards] (PRIiFAST32): Likewise.
51530         [C99-based-standards] (PRIoFAST32): Likewise.
51531         [C99-based-standards] (PRIuFAST32): Likewise.
51532         [C99-based-standards] (PRIxFAST32): Likewise.
51533         [C99-based-standards] (PRIXFAST32): Likewise.
51534         [C99-based-standards] (SCNdFAST32): Likewise.
51535         [C99-based-standards] (SCNiFAST32): Likewise.
51536         [C99-based-standards] (SCNoFAST32): Likewise.
51537         [C99-based-standards] (SCNuFAST32): Likewise.
51538         [C99-based-standards] (SCNxFAST32): Likewise.
51539         [C99-based-standards] (PRId64): Likewise.
51540         [C99-based-standards] (PRIi64): Likewise.
51541         [C99-based-standards] (PRIo64): Likewise.
51542         [C99-based-standards] (PRIu64): Likewise.
51543         [C99-based-standards] (PRIx64): Likewise.
51544         [C99-based-standards] (PRIX64): Likewise.
51545         [C99-based-standards] (SCNd64): Likewise.
51546         [C99-based-standards] (SCNi64): Likewise.
51547         [C99-based-standards] (SCNo64): Likewise.
51548         [C99-based-standards] (SCNu64): Likewise.
51549         [C99-based-standards] (SCNx64): Likewise.
51550         [C99-based-standards] (PRIdLEAST64): Likewise.
51551         [C99-based-standards] (PRIiLEAST64): Likewise.
51552         [C99-based-standards] (PRIoLEAST64): Likewise.
51553         [C99-based-standards] (PRIuLEAST64): Likewise.
51554         [C99-based-standards] (PRIxLEAST64): Likewise.
51555         [C99-based-standards] (PRIXLEAST64): Likewise.
51556         [C99-based-standards] (SCNdLEAST64): Likewise.
51557         [C99-based-standards] (SCNiLEAST64): Likewise.
51558         [C99-based-standards] (SCNoLEAST64): Likewise.
51559         [C99-based-standards] (SCNuLEAST64): Likewise.
51560         [C99-based-standards] (SCNxLEAST64): Likewise.
51561         [C99-based-standards] (PRIdFAST64): Likewise.
51562         [C99-based-standards] (PRIiFAST64): Likewise.
51563         [C99-based-standards] (PRIoFAST64): Likewise.
51564         [C99-based-standards] (PRIuFAST64): Likewise.
51565         [C99-based-standards] (PRIxFAST64): Likewise.
51566         [C99-based-standards] (PRIXFAST64): Likewise.
51567         [C99-based-standards] (SCNdFAST64): Likewise.
51568         [C99-based-standards] (SCNiFAST64): Likewise.
51569         [C99-based-standards] (SCNoFAST64): Likewise.
51570         [C99-based-standards] (SCNuFAST64): Likewise.
51571         [C99-based-standards] (SCNxFAST64): Likewise.
51572         [C99-based-standards] (PRIdMAX): Likewise.
51573         [C99-based-standards] (PRIiMAX): Likewise.
51574         [C99-based-standards] (PRIoMAX): Likewise.
51575         [C99-based-standards] (PRIuMAX): Likewise.
51576         [C99-based-standards] (PRIxMAX): Likewise.
51577         [C99-based-standards] (PRIXMAX): Likewise.
51578         [C99-based-standards] (SCNdMAX): Likewise.
51579         [C99-based-standards] (SCNiMAX): Likewise.
51580         [C99-based-standards] (SCNoMAX): Likewise.
51581         [C99-based-standards] (SCNuMAX): Likewise.
51582         [C99-based-standards] (SCNxMAX): Likewise.
51583         [C99-based-standards] (PRIdPTR): Likewise.
51584         [C99-based-standards] (PRIiPTR): Likewise.
51585         [C99-based-standards] (PRIoPTR): Likewise.
51586         [C99-based-standards] (PRIuPTR): Likewise.
51587         [C99-based-standards] (PRIxPTR): Likewise.
51588         [C99-based-standards] (PRIXPTR): Likewise.
51589         [C99-based-standards] (SCNdPTR): Likewise.
51590         [C99-based-standards] (SCNiPTR): Likewise.
51591         [C99-based-standards] (SCNoPTR): Likewise.
51592         [C99-based-standards] (SCNuPTR): Likewise.
51593         [C99-based-standards] (SCNxPTR): Likewise.
51594         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51595         allow.
51596         * conform/data/stdint.h-data: Update comments to clarify
51597         requirements.
51598         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51599         type.
51600         [C99-based standards] (INT8_MAX): Likewise.
51601         [C99-based standards] (INT16_MIN): Likewise.
51602         [C99-based standards] (INT16_MAX): Likewise.
51603         [C99-based standards] (INT32_MIN): Likewise.
51604         [C99-based standards] (INT32_MAX): Likewise.
51605         [C99-based standards] (INT64_MIN): Likewise.
51606         [C99-based standards] (INT64_MAX): Likewise.
51607         [C99-based standards] (UINT8_MAX): Likewise.
51608         [C99-based standards] (UINT16_MAX): Likewise.
51609         [C99-based standards] (UINT32_MAX): Likewise.
51610         [C99-based standards] (UINT64_MAX): Likewise.
51611         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51612         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51613         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51614         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51615         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51616         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51617         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51618         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51619         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51620         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51621         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51622         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51623         [C99-based standards] (INT_FAST8_MIN): Likewise.
51624         [C99-based standards] (INT_FAST8_MAX): Likewise.
51625         [C99-based standards] (INT_FAST16_MIN): Likewise.
51626         [C99-based standards] (INT_FAST16_MAX): Likewise.
51627         [C99-based standards] (INT_FAST32_MIN): Likewise.
51628         [C99-based standards] (INT_FAST32_MAX): Likewise.
51629         [C99-based standards] (INT_FAST64_MIN): Likewise.
51630         [C99-based standards] (INT_FAST64_MAX): Likewise.
51631         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51632         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51633         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51634         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51635         [C99-based standards] (INTPTR_MIN): Likewise.
51636         [C99-based standards] (INTPTR_MAX): Likewise.
51637         [C99-based standards] (UINTPTR_MAX): Likewise.
51638         [C99-based standards] (INTMAX_MIN): Likewise.
51639         [C99-based standards] (INTMAX_MAX): Likewise.
51640         [C99-based standards] (UINTMAX_MAX): Likewise.
51641         [C99-based standards] (PTRDIFF_MIN): Likewise.
51642         [C99-based standards] (PTRDIFF_MAX): Likewise.
51643         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51644         [C99-based standards] (SIZE_MAX): Likewise.
51645         [C99-based standards] (WCHAR_MAX): Likewise.
51646         [C99-based standards] (WINT_MAX): Likewise.
51647         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51648         constraint on value.
51649         [C99-based standards] (WCHAR_MIN): Likewise.
51650         [C99-based standards] (WINT_MIN): Likewise.
51651         [C99-based standards] (*_t): Allow.
51652         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51653         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51654         Include math.h-data and complex.h-data.  Remove all expectations
51655         of math.h and complex.h contents.
51656         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51657         at end of line.
51658         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51659         (struct tm): Expect tag.
51660         [C99-based-standards] (wcstof): Expect function.
51661         [C99-based-standards] (wcstold): Likewise.
51662         [C99-based-standards] (wcstoll): Likewise.
51663         [C99-based-standards] (wcstoull): Likewise.
51664         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51665         macro-int-constant.  Specify type.
51666         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51667         constraint on value.
51668         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51669         Specify type.
51670         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51671         Specify value.
51672         [ISO C standards]: Do not allow headers.
51673         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51674         wcs[abcdefghijklmnopqrstuvwxyz]*.
51675         [ISO C standards] (*_t): Do not allow.
51676         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51677         Expect function.
51678         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51679         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51680         Specify type.
51681         [ISO C standards]: Do not allow headers.
51682         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51683         is[abcdefghijklmnopqrstuvwxyz]*.
51684         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51685         to[abcdefghijklmnopqrstuvwxyz]*.
51686         [ISO C standards] (*_t): Do not allow.
51687         * conform/data/stdalign.h-data: New file.
51688         * conform/data/stdbool.h-data: Likewise.
51689         * conform/data/stdnoreturn.h-data: Likewise.
51691 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51693         [BZ #14815]
51694         * manual/filesys.texi (Directory Entries): Typo fix.
51695         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51697 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51699         * elf/elf.h (EM_AARCH64): New macro.
51700         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51701         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51702         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51703         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51704         (R_AARCH64_TLSDESC): Likewise.
51705         (NT_ARM_TLS): Likewise.
51706         (NT_ARM_HW_BREAK): Likewise.
51707         (NT_ARM_HW_WATCH): Likewise.
51709 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51711         [BZ #14811]
51712         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51713         (__ieee754_powl): Saturate nonzero exponents with absolute value
51714         below 0x1p-79 to +/- 0x1p-79.
51715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51716         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51717         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51718         nonzero exponents with absolute value below 0x1p-32 to +/-
51719         0x1p-32.
51720         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51721         (__ieee754_powl): Saturate nonzero exponents with absolute value
51722         below 0x1p-79 to +/- 0x1p-79.
51723         * math/libm-test.inc (pow_test): Add more tests.
51725 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51727         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51728         _dl_s390_cap_flags with kernel. Increase string length.
51729         (_dl_s390_platforms): Add z196 and zEC12.
51731 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51733         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51734         Change XOPEN21K to XOPEN2K.
51736 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51738         * string/memmove.c: Use memcpy when possible.
51740 2012-11-06  Andreas Jaeger  <aj@suse.de>
51742         * po/eo.po: Update from translation team.
51744 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51746         [BZ #14793]
51747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51748         exponent and small x and y exponents, scale x or y up.  Increase
51749         by 2 the exponent used in scaling up.
51750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51752         * math/libm-test.inc (fma_test): Add more tests.
51753         (fma_test_towardzero): Likewise.
51754         (fma_test_downward): Likewise.
51755         (fma_test_upward): Likewise.
51757 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51759         [BZ #14805]
51760         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51761         fenv_t *.
51763         [BZ #14801]
51764         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51765         namespace for names of struct fields.
51766         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51767         fenv_t fields.
51768         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51769         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51771 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51773         [BZ #3665]
51774         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51776 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51778         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51779         PTR_DEMANGLE.
51781         [BZ #5246]
51782         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51783         PTR_DEMANGLE.
51785 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51787         [BZ #14797]
51788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51789         definitely overflow as x * y not x * y + z.
51790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51792         * math/libm-test.inc (fma_test): Add more tests.
51793         (fma_test_towardzero): Likewise.
51794         (fma_test_downward): Likewise.
51795         (fma_test_upward): Likewise.
51797 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51799         [BZ #157]
51801         * include/stub-tag.h: Remove file.
51802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51803         '#include' of it.
51804         * manual/maint.texi (Porting): Don't reference it.
51805         * Makerules ($(objpfx)stubs): Likewise.
51806         * dirent/closedir.c: Don't include <stub-tag.h>.
51807         * dirent/dirfd.c: Likewise.
51808         * dirent/fdopendir.c: Likewise.
51809         * dirent/getdents.c: Likewise.
51810         * dirent/getdents64.c: Likewise.
51811         * dirent/opendir.c: Likewise.
51812         * dirent/readdir.c: Likewise.
51813         * dirent/readdir64.c: Likewise.
51814         * dirent/readdir64_r.c: Likewise.
51815         * dirent/readdir_r.c: Likewise.
51816         * dirent/rewinddir.c: Likewise.
51817         * dirent/seekdir.c: Likewise.
51818         * dirent/telldir.c: Likewise.
51819         * gmon/profil.c: Likewise.
51820         * grp/setgroups.c: Likewise.
51821         * inet/if_index.c: Likewise.
51822         * io/access.c: Likewise.
51823         * io/chdir.c: Likewise.
51824         * io/chmod.c: Likewise.
51825         * io/chown.c: Likewise.
51826         * io/close.c: Likewise.
51827         * io/dup.c: Likewise.
51828         * io/dup2.c: Likewise.
51829         * io/dup3.c: Likewise.
51830         * io/euidaccess.c: Likewise.
51831         * io/faccessat.c: Likewise.
51832         * io/fchdir.c: Likewise.
51833         * io/fchmod.c: Likewise.
51834         * io/fchmodat.c: Likewise.
51835         * io/fchown.c: Likewise.
51836         * io/fchownat.c: Likewise.
51837         * io/fcntl.c: Likewise.
51838         * io/flock.c: Likewise.
51839         * io/fstatfs.c: Likewise.
51840         * io/fstatfs64.c: Likewise.
51841         * io/fstatvfs.c: Likewise.
51842         * io/fstatvfs64.c: Likewise.
51843         * io/futimens.c: Likewise.
51844         * io/fxstat.c: Likewise.
51845         * io/fxstat64.c: Likewise.
51846         * io/fxstatat.c: Likewise.
51847         * io/fxstatat64.c: Likewise.
51848         * io/getcwd.c: Likewise.
51849         * io/isatty.c: Likewise.
51850         * io/lchmod.c: Likewise.
51851         * io/lchown.c: Likewise.
51852         * io/link.c: Likewise.
51853         * io/linkat.c: Likewise.
51854         * io/lseek.c: Likewise.
51855         * io/lseek64.c: Likewise.
51856         * io/lxstat64.c: Likewise.
51857         * io/mkdir.c: Likewise.
51858         * io/mkdirat.c: Likewise.
51859         * io/mkfifo.c: Likewise.
51860         * io/mkfifoat.c: Likewise.
51861         * io/open.c: Likewise.
51862         * io/open64.c: Likewise.
51863         * io/openat.c: Likewise.
51864         * io/openat64.c: Likewise.
51865         * io/pipe.c: Likewise.
51866         * io/pipe2.c: Likewise.
51867         * io/poll.c: Likewise.
51868         * io/posix_fadvise.c: Likewise.
51869         * io/posix_fadvise64.c: Likewise.
51870         * io/posix_fallocate.c: Likewise.
51871         * io/posix_fallocate64.c: Likewise.
51872         * io/read.c: Likewise.
51873         * io/readlink.c: Likewise.
51874         * io/readlinkat.c: Likewise.
51875         * io/rmdir.c: Likewise.
51876         * io/sendfile.c: Likewise.
51877         * io/sendfile64.c: Likewise.
51878         * io/statfs.c: Likewise.
51879         * io/statfs64.c: Likewise.
51880         * io/statvfs.c: Likewise.
51881         * io/statvfs64.c: Likewise.
51882         * io/symlink.c: Likewise.
51883         * io/symlinkat.c: Likewise.
51884         * io/ttyname.c: Likewise.
51885         * io/ttyname_r.c: Likewise.
51886         * io/umask.c: Likewise.
51887         * io/unlink.c: Likewise.
51888         * io/unlinkat.c: Likewise.
51889         * io/utime.c: Likewise.
51890         * io/utimensat.c: Likewise.
51891         * io/write.c: Likewise.
51892         * io/xmknod.c: Likewise.
51893         * io/xmknodat.c: Likewise.
51894         * io/xstat.c: Likewise.
51895         * io/xstat64.c: Likewise.
51896         * login/getpt.c: Likewise.
51897         * login/grantpt.c: Likewise.
51898         * login/unlockpt.c: Likewise.
51899         * math/e_acoshl.c: Likewise.
51900         * math/e_acosl.c: Likewise.
51901         * math/e_asinl.c: Likewise.
51902         * math/e_atan2l.c: Likewise.
51903         * math/e_atanhl.c: Likewise.
51904         * math/e_coshl.c: Likewise.
51905         * math/e_expl.c: Likewise.
51906         * math/e_fmodl.c: Likewise.
51907         * math/e_gammal_r.c: Likewise.
51908         * math/e_hypotl.c: Likewise.
51909         * math/e_j0l.c: Likewise.
51910         * math/e_j1l.c: Likewise.
51911         * math/e_jnl.c: Likewise.
51912         * math/e_lgammal_r.c: Likewise.
51913         * math/e_log10l.c: Likewise.
51914         * math/e_log2l.c: Likewise.
51915         * math/e_logl.c: Likewise.
51916         * math/e_powl.c: Likewise.
51917         * math/e_rem_pio2l.c: Likewise.
51918         * math/e_sinhl.c: Likewise.
51919         * math/e_sqrtl.c: Likewise.
51920         * math/fclrexcpt.c: Likewise.
51921         * math/fedisblxcpt.c: Likewise.
51922         * math/feenablxcpt.c: Likewise.
51923         * math/fegetenv.c: Likewise.
51924         * math/fegetexcept.c: Likewise.
51925         * math/fegetround.c: Likewise.
51926         * math/feholdexcpt.c: Likewise.
51927         * math/fesetenv.c: Likewise.
51928         * math/fesetround.c: Likewise.
51929         * math/feupdateenv.c: Likewise.
51930         * math/fgetexcptflg.c: Likewise.
51931         * math/fraiseexcpt.c: Likewise.
51932         * math/fsetexcptflg.c: Likewise.
51933         * math/ftestexcept.c: Likewise.
51934         * math/k_cosl.c: Likewise.
51935         * math/k_rem_pio2l.c: Likewise.
51936         * math/k_sinl.c: Likewise.
51937         * math/k_tanl.c: Likewise.
51938         * math/s_asinhl.c: Likewise.
51939         * math/s_atanl.c: Likewise.
51940         * math/s_cbrtl.c: Likewise.
51941         * math/s_erfl.c: Likewise.
51942         * math/s_expm1l.c: Likewise.
51943         * math/s_log1pl.c: Likewise.
51944         * math/s_tanhl.c: Likewise.
51945         * misc/acct.c: Likewise.
51946         * misc/brk.c: Likewise.
51947         * misc/chflags.c: Likewise.
51948         * misc/chroot.c: Likewise.
51949         * misc/fchflags.c: Likewise.
51950         * misc/fgetxattr.c: Likewise.
51951         * misc/flistxattr.c: Likewise.
51952         * misc/fremovexattr.c: Likewise.
51953         * misc/fsetxattr.c: Likewise.
51954         * misc/fsync.c: Likewise.
51955         * misc/ftruncate.c: Likewise.
51956         * misc/futimes.c: Likewise.
51957         * misc/futimesat.c: Likewise.
51958         * misc/getdomain.c: Likewise.
51959         * misc/getdtsz.c: Likewise.
51960         * misc/gethostid.c: Likewise.
51961         * misc/gethostname.c: Likewise.
51962         * misc/getloadavg.c: Likewise.
51963         * misc/getpagesize.c: Likewise.
51964         * misc/getsysstats.c: Likewise.
51965         * misc/getxattr.c: Likewise.
51966         * misc/gtty.c: Likewise.
51967         * misc/ioctl.c: Likewise.
51968         * misc/lgetxattr.c: Likewise.
51969         * misc/listxattr.c: Likewise.
51970         * misc/llistxattr.c: Likewise.
51971         * misc/lremovexattr.c: Likewise.
51972         * misc/lsetxattr.c: Likewise.
51973         * misc/lutimes.c: Likewise.
51974         * misc/madvise.c: Likewise.
51975         * misc/mincore.c: Likewise.
51976         * misc/mlock.c: Likewise.
51977         * misc/mlockall.c: Likewise.
51978         * misc/mmap.c: Likewise.
51979         * misc/mprotect.c: Likewise.
51980         * misc/msync.c: Likewise.
51981         * misc/munlock.c: Likewise.
51982         * misc/munlockall.c: Likewise.
51983         * misc/munmap.c: Likewise.
51984         * misc/preadv.c: Likewise.
51985         * misc/preadv64.c: Likewise.
51986         * misc/ptrace.c: Likewise.
51987         * misc/pwritev.c: Likewise.
51988         * misc/pwritev64.c: Likewise.
51989         * misc/readv.c: Likewise.
51990         * misc/reboot.c: Likewise.
51991         * misc/remap_file_pages.c: Likewise.
51992         * misc/removexattr.c: Likewise.
51993         * misc/revoke.c: Likewise.
51994         * misc/select.c: Likewise.
51995         * misc/setdomain.c: Likewise.
51996         * misc/setegid.c: Likewise.
51997         * misc/seteuid.c: Likewise.
51998         * misc/sethostid.c: Likewise.
51999         * misc/sethostname.c: Likewise.
52000         * misc/setregid.c: Likewise.
52001         * misc/setreuid.c: Likewise.
52002         * misc/setxattr.c: Likewise.
52003         * misc/sstk.c: Likewise.
52004         * misc/stty.c: Likewise.
52005         * misc/swapoff.c: Likewise.
52006         * misc/swapon.c: Likewise.
52007         * misc/sync.c: Likewise.
52008         * misc/syncfs.c: Likewise.
52009         * misc/syscall.c: Likewise.
52010         * misc/truncate.c: Likewise.
52011         * misc/ualarm.c: Likewise.
52012         * misc/usleep.c: Likewise.
52013         * misc/ustat.c: Likewise.
52014         * misc/utimes.c: Likewise.
52015         * misc/vhangup.c: Likewise.
52016         * misc/writev.c: Likewise.
52017         * posix/_exit.c: Likewise.
52018         * posix/alarm.c: Likewise.
52019         * posix/execve.c: Likewise.
52020         * posix/fexecve.c: Likewise.
52021         * posix/fork.c: Likewise.
52022         * posix/fpathconf.c: Likewise.
52023         * posix/getaddrinfo.c: Likewise.
52024         * posix/getegid.c: Likewise.
52025         * posix/geteuid.c: Likewise.
52026         * posix/getgid.c: Likewise.
52027         * posix/getgroups.c: Likewise.
52028         * posix/getlogin.c: Likewise.
52029         * posix/getlogin_r.c: Likewise.
52030         * posix/getpgid.c: Likewise.
52031         * posix/getpid.c: Likewise.
52032         * posix/getppid.c: Likewise.
52033         * posix/getresgid.c: Likewise.
52034         * posix/getresuid.c: Likewise.
52035         * posix/getsid.c: Likewise.
52036         * posix/getuid.c: Likewise.
52037         * posix/glob64.c: Likewise.
52038         * posix/nanosleep.c: Likewise.
52039         * posix/pathconf.c: Likewise.
52040         * posix/pause.c: Likewise.
52041         * posix/posix_madvise.c: Likewise.
52042         * posix/pread.c: Likewise.
52043         * posix/pread64.c: Likewise.
52044         * posix/pwrite.c: Likewise.
52045         * posix/pwrite64.c: Likewise.
52046         * posix/sched_getaffinity.c: Likewise.
52047         * posix/sched_getp.c: Likewise.
52048         * posix/sched_gets.c: Likewise.
52049         * posix/sched_primax.c: Likewise.
52050         * posix/sched_primin.c: Likewise.
52051         * posix/sched_rr_gi.c: Likewise.
52052         * posix/sched_setaffinity.c: Likewise.
52053         * posix/sched_setp.c: Likewise.
52054         * posix/sched_sets.c: Likewise.
52055         * posix/sched_yield.c: Likewise.
52056         * posix/setgid.c: Likewise.
52057         * posix/setlogin.c: Likewise.
52058         * posix/setpgid.c: Likewise.
52059         * posix/setresgid.c: Likewise.
52060         * posix/setresuid.c: Likewise.
52061         * posix/setsid.c: Likewise.
52062         * posix/setuid.c: Likewise.
52063         * posix/sleep.c: Likewise.
52064         * posix/spawni.c: Likewise.
52065         * posix/sysconf.c: Likewise.
52066         * posix/times.c: Likewise.
52067         * posix/wait.c: Likewise.
52068         * posix/wait3.c: Likewise.
52069         * posix/wait4.c: Likewise.
52070         * posix/waitpid.c: Likewise.
52071         * resolv/gai_sigqueue.c: Likewise.
52072         * resource/getpriority.c: Likewise.
52073         * resource/getrlimit.c: Likewise.
52074         * resource/getrusage.c: Likewise.
52075         * resource/nice.c: Likewise.
52076         * resource/setpriority.c: Likewise.
52077         * resource/setrlimit.c: Likewise.
52078         * resource/ulimit.c: Likewise.
52079         * rt/aio_cancel.c: Likewise.
52080         * rt/aio_fsync.c: Likewise.
52081         * rt/aio_read.c: Likewise.
52082         * rt/aio_sigqueue.c: Likewise.
52083         * rt/aio_suspend.c: Likewise.
52084         * rt/aio_write.c: Likewise.
52085         * rt/clock_getres.c: Likewise.
52086         * rt/clock_gettime.c: Likewise.
52087         * rt/clock_nanosleep.c: Likewise.
52088         * rt/clock_settime.c: Likewise.
52089         * rt/lio_listio.c: Likewise.
52090         * rt/mq_close.c: Likewise.
52091         * rt/mq_getattr.c: Likewise.
52092         * rt/mq_notify.c: Likewise.
52093         * rt/mq_open.c: Likewise.
52094         * rt/mq_receive.c: Likewise.
52095         * rt/mq_send.c: Likewise.
52096         * rt/mq_setattr.c: Likewise.
52097         * rt/mq_timedreceive.c: Likewise.
52098         * rt/mq_timedsend.c: Likewise.
52099         * rt/mq_unlink.c: Likewise.
52100         * rt/shm_open.c: Likewise.
52101         * rt/shm_unlink.c: Likewise.
52102         * rt/timer_create.c: Likewise.
52103         * rt/timer_delete.c: Likewise.
52104         * rt/timer_getoverr.c: Likewise.
52105         * rt/timer_gettime.c: Likewise.
52106         * rt/timer_settime.c: Likewise.
52107         * setjmp/__longjmp.c: Likewise.
52108         * setjmp/setjmp.c: Likewise.
52109         * signal/kill.c: Likewise.
52110         * signal/killpg.c: Likewise.
52111         * signal/raise.c: Likewise.
52112         * signal/sigaction.c: Likewise.
52113         * signal/sigaltstack.c: Likewise.
52114         * signal/sigblock.c: Likewise.
52115         * signal/sigignore.c: Likewise.
52116         * signal/sigintr.c: Likewise.
52117         * signal/signal.c: Likewise.
52118         * signal/sigpause.c: Likewise.
52119         * signal/sigpending.c: Likewise.
52120         * signal/sigqueue.c: Likewise.
52121         * signal/sigreturn.c: Likewise.
52122         * signal/sigset.c: Likewise.
52123         * signal/sigsetmask.c: Likewise.
52124         * signal/sigstack.c: Likewise.
52125         * signal/sigsuspend.c: Likewise.
52126         * signal/sigtimedwait.c: Likewise.
52127         * signal/sigvec.c: Likewise.
52128         * signal/sigwait.c: Likewise.
52129         * signal/sigwaitinfo.c: Likewise.
52130         * signal/sysv_signal.c: Likewise.
52131         * socket/accept.c: Likewise.
52132         * socket/accept4.c: Likewise.
52133         * socket/bind.c: Likewise.
52134         * socket/connect.c: Likewise.
52135         * socket/getpeername.c: Likewise.
52136         * socket/getsockname.c: Likewise.
52137         * socket/getsockopt.c: Likewise.
52138         * socket/isfdtype.c: Likewise.
52139         * socket/listen.c: Likewise.
52140         * socket/recv.c: Likewise.
52141         * socket/recvfrom.c: Likewise.
52142         * socket/recvmsg.c: Likewise.
52143         * socket/send.c: Likewise.
52144         * socket/sendmsg.c: Likewise.
52145         * socket/sendto.c: Likewise.
52146         * socket/setsockopt.c: Likewise.
52147         * socket/shutdown.c: Likewise.
52148         * socket/sockatmark.c: Likewise.
52149         * socket/socket.c: Likewise.
52150         * socket/socketpair.c: Likewise.
52151         * stdio-common/ctermid.c: Likewise.
52152         * stdio-common/cuserid.c: Likewise.
52153         * stdio-common/remove.c: Likewise.
52154         * stdio-common/rename.c: Likewise.
52155         * stdio-common/renameat.c: Likewise.
52156         * stdio-common/tempname.c: Likewise.
52157         * stdlib/getcontext.c: Likewise.
52158         * stdlib/makecontext.c: Likewise.
52159         * stdlib/setcontext.c: Likewise.
52160         * stdlib/swapcontext.c: Likewise.
52161         * stdlib/system.c: Likewise.
52162         * streams/fattach.c: Likewise.
52163         * streams/fdetach.c: Likewise.
52164         * streams/getmsg.c: Likewise.
52165         * streams/getpmsg.c: Likewise.
52166         * streams/putmsg.c: Likewise.
52167         * streams/putpmsg.c: Likewise.
52168         * sysdeps/unix/bsd/getpt.c: Likewise.
52169         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52170         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52171         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52173         Likewise.
52174         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52175         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52176         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52177         * sysvipc/msgctl.c: Likewise.
52178         * sysvipc/msgget.c: Likewise.
52179         * sysvipc/msgrcv.c: Likewise.
52180         * sysvipc/msgsnd.c: Likewise.
52181         * sysvipc/semctl.c: Likewise.
52182         * sysvipc/semget.c: Likewise.
52183         * sysvipc/semop.c: Likewise.
52184         * sysvipc/semtimedop.c: Likewise.
52185         * sysvipc/shmat.c: Likewise.
52186         * sysvipc/shmctl.c: Likewise.
52187         * sysvipc/shmdt.c: Likewise.
52188         * sysvipc/shmget.c: Likewise.
52189         * termios/tcdrain.c: Likewise.
52190         * termios/tcflow.c: Likewise.
52191         * termios/tcflush.c: Likewise.
52192         * termios/tcgetattr.c: Likewise.
52193         * termios/tcgetpgrp.c: Likewise.
52194         * termios/tcsendbrk.c: Likewise.
52195         * termios/tcsetattr.c: Likewise.
52196         * termios/tcsetpgrp.c: Likewise.
52197         * time/adjtime.c: Likewise.
52198         * time/clock.c: Likewise.
52199         * time/getitimer.c: Likewise.
52200         * time/gettimeofday.c: Likewise.
52201         * time/setitimer.c: Likewise.
52202         * time/settimeofday.c: Likewise.
52203         * time/stime.c: Likewise.
52204         * time/time.c: Likewise.
52206 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52208         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52209         /usr/old/bin.
52211         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52212         instead of spaces.
52213         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52215 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52217         [BZ #14796]
52218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52219         FE_TONEAREST before applying Dekker multiplication and Knuth
52220         addition.  Clear inexact exceptions and check for exact zero
52221         results afterwards.
52222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52223         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52225         * math/libm-test.inc (fma_test): Add more tests.
52226         (fma_test_towardzero): Likewise.
52227         (fma_test_downward): Likewise.
52228         (fma_test_upward): Likewise.
52229         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52230         function.
52231         (libc_fesetround): New macro.
52232         (libc_fesetroundf): Likewise.
52233         (libc_fesetroundl): Likewise.
52234         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52235         function.
52236         (libc_fesetround_387): Likewise.
52237         (libc_fesetroundf): New macro.
52238         (libc_fesetround): Likewise.
52239         (libc_fesetroundl): Likewise.
52240         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52241         function.
52242         (libc_fesetroundf): New macro.
52243         (libc_fesetround): Likewise.
52244         (libc_fesetroundl): Likewise.
52245         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52246         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52247         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52248         libm_hidden_ver.
52249         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52250         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52251         libm_hidden_def.
52252         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52253         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52254         libm_hidden_ver.
52255         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52256         libm_hidden_def.
52258         [BZ #3439]
52259         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52260         integer constant usable in #if and use that to give value to enum
52261         constant.
52262         (FE_DIVBYZERO): Likewise.
52263         (FE_UNDERFLOW): Likewise.
52264         (FE_OVERFLOW): Likewise.
52265         (FE_INVALID): Likewise.
52266         (FE_INVALID_SNAN): Likewise.
52267         (FE_INVALID_ISI): Likewise.
52268         (FE_INVALID_IDI): Likewise.
52269         (FE_INVALID_ZDZ): Likewise.
52270         (FE_INVALID_IMZ): Likewise.
52271         (FE_INVALID_COMPARE): Likewise.
52272         (FE_INVALID_SOFTWARE): Likewise.
52273         (FE_INVALID_SQRT): Likewise.
52274         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52275         (FE_TONEAREST): Likewise.
52276         (FE_TOWARDZERO): Likewise.
52277         (FE_UPWARD): Likewise.
52278         (FE_DOWNWARD): Likewise.
52279         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52280         (FE_DIVBYZERO): Likewise.
52281         (FE_OVERFLOW): Likewise.
52282         (FE_UNDERFLOW): Likewise.
52283         (FE_INEXACT): Likewise.
52284         (FE_TONEAREST): Likewise.
52285         (FE_DOWNWARD): Likewise.
52286         (FE_UPWARD): Likewise.
52287         (FE_TOWARDZERO): Likewise.
52288         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52289         (FE_UNDERFLOW): Likewise.
52290         (FE_OVERFLOW): Likewise.
52291         (FE_DIVBYZERO): Likewise.
52292         (FE_INVALID): Likewise.
52293         (FE_TONEAREST): Likewise.
52294         (FE_TOWARDZERO): Likewise.
52295         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52296         (FE_OVERFLOW): Likewise.
52297         (FE_UNDERFLOW): Likewise.
52298         (FE_DIVBYZERO): Likewise.
52299         (FE_INEXACT): Likewise.
52300         (FE_TONEAREST): Likewise.
52301         (FE_TOWARDZERO): Likewise.
52302         (FE_UPWARD): Likewise.
52303         (FE_DOWNWARD): Likewise.
52304         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52305         (FE_DIVBYZERO): Likewise.
52306         (FE_OVERFLOW): Likewise.
52307         (FE_UNDERFLOW): Likewise.
52308         (FE_INEXACT): Likewise.
52309         (FE_TONEAREST): Likewise.
52310         (FE_DOWNWARD): Likewise.
52311         (FE_UPWARD): Likewise.
52312         (FE_TOWARDZERO): Likewise.
52314 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52316         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52318 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52320         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52321         commands.  Quote $PWD.
52322         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52323         -x" by "export".
52324         (remove_newlines): Remove.
52326 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52328         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52329         * stdlib/stdlib.h (atof): Moved to ...
52330         * include/bits/stdlib-float.h: Here.  New file.
52331         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52332         * stdlib/bits/stdlib-float.h: New file.
52333         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52334         -mno-sse -mno-mmx.
52335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52336         <xmmintrin.h>.
52338 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52340         * conform/conformtest.pl (@headers): Add fenv.h.
52341         * conform/data/fenv.h-data: New file.
52342         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52343         include of <math/fenv.h>.
52345         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52346         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52347         && !UNIX98].  Enables tests for XOPEN2K8.
52348         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52349         POSIX2008]: Likewise.
52351         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52352         (struct rusage): Do not expect type or its members.
52354         [BZ #3439]
52355         * math/math.h (FP_NAN): Define macro to integer constant usable in
52356         #if and use that to give value to enum constant.
52357         (FP_INFINITE): Likewise.
52358         (FP_ZERO): Likewise.
52359         (FP_SUBNORMAL): Likewise.
52360         (FP_NORMAL): Likewise.
52362 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52364         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52365         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52366         arguments.
52368 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52370         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52371         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52372         autoconf-time if not.
52373         * configure.in: Remove AC_PREREQ.
52375 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52377         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52378         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52379         of the internal implementation.
52381 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52383         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52384         except include of <misc/sys/syslog.h>.
52386 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52389         function returns with a NULL context exit with zero.
52391 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52393         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52395 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52397         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52398         (run_program_cmd): This.
52399         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52400         (tst_langinfo): New variable.  Use it.
52402 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52404         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52405         floating point opcodes.
52407 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52409         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52410         variable.
52412         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52414         * sysdeps/mach/hurd/powerpc: Remove directory.
52415         * sysdeps/mach/powerpc: Likewise.
52417 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52419         * scripts/check-local-headers.sh: Ignore c++ headers.
52421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52423         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52424         __libc_cleanup_region_start argument.
52426 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52428         [BZ #14784]
52429         [BZ #14785]
52430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52431         x * y using scaling, not as x * y + z.
52432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52434         * math/libm-test.inc (fma_test): Add more tests.
52435         (fma_test_towardzero): Likewise.
52436         (fma_test_downward): Likewise.
52437         (fma_test_upward): Likewise.
52439 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52441         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52443 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52445         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52446         New variable.
52448 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52450         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52452 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52455         Fix sort order.
52456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52457         Likewise.
52459 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52462         Fix the order of the list for glibc 2.17.
52463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52464         Likewise.
52466 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52470 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52472         [BZ #14610]
52473         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52474         for low part of x being zero before using __atanl (y).
52475         * math/libm-test.inc (atan2_test): Add another test.
52477         * manual/install.texi (Configuring and compiling): Document
52478         general use of test-wrapper and test-wrapper-env.
52479         * INSTALL: Regenerated.
52481         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52482         (__fma): Do not extract and scale down low bits on after-rounding
52483         systems when result rounded to normal precision would have normal
52484         exponent.
52485         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52486         (__fmal): Do not extract and scale down low bits on after-rounding
52487         systems when result rounded to normal precision would have normal
52488         exponent.
52489         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52490         (__fmal): Do not extract and scale down low bits on after-rounding
52491         systems when result rounded to normal precision would have normal
52492         exponent.
52493         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52494         macro.
52495         (fma_test): Add more tests.
52496         (fma_test_towardzero): Likewise.
52497         (fma_test_downward): Likewise.
52498         (fma_test_upward): Likewise.
52500 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52502         * sysdeps/i386/tininess.h: Renamed to ...
52503         * sysdeps/x86/tininess.h: This.
52504         * sysdeps/x86_64/tininess.h: Removed.
52506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52508         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52509         input.  Use $(build-program-cmd).
52510         ($(objpfx)tst-array1-static.out): Likewise.
52511         ($(objpfx)tst-array2.out): Likewise.
52512         ($(objpfx)tst-array3.out): Likewise.
52513         ($(objpfx)tst-array4.out): Likewise.
52514         ($(objpfx)tst-array5.out): Likewise.
52515         ($(objpfx)tst-array5-static.out): Likewise.
52517 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52519         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52520         if defined.
52522         * nss/nsswitch.h (nss_interface_function): Provide new
52523         macro for use with NSS functions.
52524         * grp/initgroups.c: Use new macro.
52525         * nss/getXXbyYY.c: Likewise.
52526         * nss/getXXbyYY_r.c: Likewise.
52527         * nss/getXXent.c: Likewise.
52528         * nss/getXXent_r.c: Likewise.
52529         * sysdeps/posix/getaddrinfo.c: Likewise.
52531 2012-10-30  Andreas Jaeger  <aj@suse.de>
52533         * po/ru.po: Update Russion translation from translation project.
52535 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52537         [BZ #14152]
52538         [BZ #14783]
52539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52540         result and shift together with sticky bit instead of replicating
52541         round-to-nearest rounding.
52542         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52544         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52545         missing underflow exceptions.
52546         (fma_test_towardzero): Add more tests.
52547         (fma_test_downward): Likewise.
52548         (fma_test_upward): Likewise.
52550         [BZ #14047]
52551         * sysdeps/generic/tininess.h: New file.
52552         * sysdeps/i386/tininess.h: Likewise.
52553         * sysdeps/sh/tininess.h: Likewise.
52554         * sysdeps/x86_64/tininess.h: Likewise.
52555         * stdlib/tst-strtod-underflow.c: Likewise.
52556         * stdlib/tst-tininess.c: Likewise.
52557         * stdlib/strtod_l.c: Include <tininess.h>.
52558         (round_and_return): Do not set errno for exact underflow cases.
52559         Force an underflow exception when setting errno for underflow.
52560         Determine underflow based on rounding to normal precision if
52561         TININESS_AFTER_ROUNDING.
52562         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52563         ERANGE for exact underflow cases.
52564         * stdlib/Makefile (tests): Add tst-tininess and
52565         tst-strtod-underflow.
52566         ($(objpfx)tst-tininess): Use $(link-libm).
52567         ($(objpfx)tst-strtod-underflow): Likewise.
52569 2012-10-30  Andreas Jaeger  <aj@suse.de>
52571         [BZ#14767]
52572         * elf/Makefile (tests): Remove conditional for have-initfini-array
52573         since this is now always required and the variable does not exist
52574         anymore.
52575         (tests-static): Likewise.
52576         (modules-names): Likewise.
52578         * po/eo.po: Add Esperanto translation from translation project.
52580         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52581         merged with constructor/destructor.
52582         (init_array): Likewise.
52583         * elf/tst-array2dep.c (fini_array): Likewise.
52584         (init_array): Likewise.
52586 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52588         * manual/message.texi: Delete @cartouche tags.
52590 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52592         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52593         EOPNOTSUPP.
52594         * sysdeps/mach/hurd/fsync.c: Likewise.
52596         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52597         [_POSIX_REALTIME_SIGNALS]: Change condition to
52598         [_POSIX_REALTIME_SIGNALS > 0].
52600 2012-10-27  Andreas Jaeger  <aj@suse.de>
52602         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52603         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52605         [__WORDSIZE != 64]: Likewise.
52607 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52609         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52610         *  iconvdata/tst-tables.sh: Likewise.
52612 2012-10-25  David S. Miller  <davem@davemloft.net>
52614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52615         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52616         of strtoull.
52618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52619         ifunc-impl-list.c
52620         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52621         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52622         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52623         file.
52625 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52628         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52629         __getdirentries.
52631 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52632             Jim Blandy  <jimb@codesourcery.com>
52634         * scripts/cross-test-ssh.sh: New file.
52635         * manual/install.texi (Configuring and compiling): Document use of
52636         cross-test-ssh.sh.
52637         * INSTALL: Regenerated.
52639 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52641         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52642         EOPNOTSUPP.
52644 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52646         * Makeconfig (run-program-prefix): Fix comment.
52648 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52649             Jim Blandy  <jimb@codesourcery.com>
52651         * Makeconfig (test-wrapper): New variable,
52652         (test-wrapper-env): Likewise.
52653         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52654         (run-built-tests): Define to yes.
52655         (run-program-prefix): Use $(test-wrapper).
52656         (built-program-cmd): Likewise.
52657         * Rules (make-test-out): Use $(test-wrapper-env) and
52658         $(host-built-program-cmd).
52659         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52660         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52661         tst-pathopt.sh.
52662         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52663         $(test-wrapper-env) to tst-rtld-load-self.sh.
52664         ($(objpfx)order2.out): Use $(test-wrapper).
52665         ($(objpfx)tst-initorder.out): Likewise.
52666         ($(objpfx)tst-initorder2.out): Likewise.
52667         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52668         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52669         (test_wrapper_env): New variable.  Use it to run ld.so.
52670         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52671         Use it to run ld.so.
52672         (test_wrapper_env): Likewise.
52673         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52674         $(test-wrapper) to run-iconv-test.sh.
52675         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52676         (ICONV): Use $test_wrapper.
52677         * posix/Makefile ($(objpfx)globtest.out): Pass
52678         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52679         globtest.sh, not $(run-program-prefix).
52680         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52681         (test_wrapper): Likewise.
52682         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52683         set together with run_via_rtld_prefix.
52684         (run_program_prefix): Define in terms of test_wrapper and
52685         run_via_rtld_prefix.
52687 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52689         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52690         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52691         Targets removed.
52693         [BZ #14743]
52694         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52695         Declare __clock_getres, __clock_gettime, __clock_settime,
52696         __clock_nanosleep, and __clock_getcpuclockid.
52697         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52698         Remove librt_hidden_def (clock_gettime).
52699         * sysdeps/unix/clock_gettime.c: Likewise.
52700         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52701         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52702         * rt/clock_getres.c: Define __clock_getres as an alias.
52703         * sysdeps/posix/clock_getres.c: Likewise.
52704         * rt/clock_settime.c: Define __clock_settime as an alias.
52705         * sysdeps/unix/clock_settime.c: Likewise.
52706         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52707         * sysdeps/unix/clock_nanosleep.c: Likewise.
52708         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52709         * rt/clock-compat.c: New file.
52710         * rt/Makefile (librt-routines): Add clock-compat and move
52711         $(clock-routines) to ...
52712         (routines): ... here, new variable.
52713         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52714         Don't add get_clockfreq here.
52715         * rt/Versions (libc: GLIBC_2.17): New version set.
52716         Add clock_* symbols here.
52717         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52719         (GLIBC_2.17): Add clock_* symbols.
52720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52724         Likewise.
52725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52726         Likewise.
52727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52731         * NEWS: Mention the move.
52733         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52734         Use __open, __read, __close rather than their public counterparts.
52735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52736         (__get_clockfreq_via_cpuinfo): Likewise.
52737         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52738         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52740         * config.h.in (HAVE_IFUNC): New #undef.
52741         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52742         was successful.
52743         * configure: Regenerated.
52745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52747         * configure.in: Move READELF check to start of file.
52748         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52749         libc_cv_asm_gnu_indirect_function in the process.
52750         * configure: Regenerated.
52752 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52754         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52755         send the output to /dev/null.
52756         (libc_cv_cc_with_libunwind): Likewise.
52757         (libc_cv_as_noexecstack): Likewise.
52758         * configure: Regenerate.
52760 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52762         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52764         * posix/globtest.sh (TMPDIR): Do not set.
52765         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52766         (testout): Likewise.
52768 2012-10-24  Andreas Jaeger  <aj@suse.de>
52770         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52771         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52772         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52773         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52774         posix_fadvise64, posix_fallocate64.
52776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52777         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52778         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52779         Likewise.
52780         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52781         Likewise.
52782         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52785         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52786         <bits/fcntl-linux.h>.
52787         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52790         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52791         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52792         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52793         [__WORDSIZE != 64]: Likewise.
52795 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52797         * Makeconfig (run-built-tests): New variable.
52798         * Rules [$(cross-compiling) = yes]: Change condition to
52799         [$(run-built-tests) = no].
52800         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52801         to [$(run-built-tests) = yes].
52802         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52803         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52804         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52805         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52806         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52807         * io/Makefile [$(cross-compiling) = no]: Likewise.
52808         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52809         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52810         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52811         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52812         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52813         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52814         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52815         * string/Makefile [$(cross-compiling) = no]: Likewise.
52817         * posix/Makefile ($(objpfx)globtest.out): Pass
52818         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52819         $(rtld-installed-name).
52820         * posix/globtest.sh (elf_objpfx): Remove variable.
52821         (rtld_installed_name): Likewise.
52822         (library_path): Likewise.
52823         (run_program_prefix): New variable.  Use for running globtest
52824         binary.
52826 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52827             Joseph Myers  <joseph@codesourcery.com>
52829         * Makeconfig (host-built-program-cmd): New variable.
52830         * elf/Makefile (tst-stackguard1-ARGS): Use
52831         $(host-built-program-cmd).
52832         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52833         (tst-spawn-ARGS): Likewise.
52834         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52836 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52837             Jim Blandy  <jimb@codesourcery.com>
52839         * Makeconfig (run-via-rtld-prefix): New variable.
52840         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52841         (built-program-cmd): Likewise.
52843 2012-10-22  Andreas Jaeger  <aj@suse.de>
52845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52846         __O_RSYNC if it exists, otherwise to O_SYNC.
52848 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52849             Joseph Myers  <joseph@codesourcery.com>
52851         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52852         /dev/null.
52853         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52854         from /dev/null
52855         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52856         /dev/null.
52858 2012-10-22  Andreas Jaeger  <aj@suse.de>
52860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52861         Define always.
52862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52865         bits/fcntl-linux.h.
52867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52868         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52871         to __O_LARGEFILE.
52872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52873         to __O_LARGEFILE.
52875 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52876             Joseph Myers  <joseph@codesourcery.com>
52878         * config.make.in (NM): New variable.
52880 2012-10-21  Andreas Jaeger  <aj@suse.de>
52882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52883         definitions and declarations that are provided by
52884         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52886 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52888         [BZ #14683]
52889         * elf/Makefile (tests-static): Add tst-leaks1-static.
52890         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52891         ($(objpfx)tst-leaks1-static): New rule.
52892         ($(objpfx)tst-leaks1-static-mem): Likewise.
52893         (tst-leaks1-static-ENV): New macro.
52894         * elf/dl-open.c (dl_open_worker): Check the main application
52895         only if SHARED is defined.
52896         * elf/tst-leaks1-static.c: New file.
52898 2012-10-20  Andreas Jaeger  <aj@suse.de>
52900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52901         generic values for Linux.
52902         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52903         and declarations that are provided by <bits/fcntl-linux.h> and
52904         include <bits/fcntl-linux.h>.
52905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52906         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52908 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52910         * io/fcntl.h: Move include of <bits/types.h> to the top and
52911         include it unconditionally.
52913 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52915         * wcsmbs/Makefile (tests-ifunc): New variable.
52916         (tests): Add $(tests-ifunc).
52917         * wcsmbs/test-wcschr-ifunc.c: New file.
52918         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52919         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52920         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52921         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52922         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52924         * string/Makefile (tests-ifunc): New variable.
52925         (tests): Add $(tests-ifunc).
52926         * string/test-memccpy.c (TEST_NAME): New macro.
52927         * string/test-memchr.c (TEST_NAME): Likewise.
52928         * string/test-memcmp.c (TEST_NAME): Likewise.
52929         * string/test-memcpy.c (TEST_NAME): Likewise.
52930         * string/test-memmem.c (TEST_NAME): Likewise.
52931         * string/test-memmove.c (TEST_NAME): Likewise.
52932         * string/test-memset.c (TEST_NAME): Likewise.
52933         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52934         * string/test-stpcpy.c (TEST_NAME): Likewise.
52935         * string/test-stpncpy.c (TEST_NAME): Likewise.
52936         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52937         * string/test-strcasestr.c (TEST_NAME): Likewise.
52938         * string/test-strcat.c (TEST_NAME): Likewise.
52939         * string/test-strchr.c (TEST_NAME): Likewise.
52940         * string/test-strcmp.c(TEST_NAME): Likewise.
52941         * string/test-strcpy.c (TEST_NAME): Likewise.
52942         * string/test-strcspn.c (TEST_NAME): Likewise.
52943         * string/test-strlen.c (TEST_NAME): Likewise.
52944         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52945         * string/test-strncmp.c (TEST_NAME): Likewise.
52946         * string/test-strncpy.c (TEST_NAME): Likewise.
52947         * string/test-strnlen.c (TEST_NAME): Likewise.
52948         * string/test-strpbrk.c (TEST_NAME): Likewise.
52949         * string/test-strrchr.c (TEST_NAME): Likewise.
52950         * string/test-strspn.c (TEST_NAME): Likewise.
52951         * string/test-strstr.c (TEST_NAME): Likewise.
52952         * string/test-bcopy-ifunc.c: New file.
52953         * string/test-bzero-ifunc.c: Likewise.
52954         * string/test-memccpy-ifunc.c: Likewise.
52955         * string/test-memchr-ifunc.c: Likewise.
52956         * string/test-memcmp-ifunc.c: Likewise.
52957         * string/test-memcpy-ifunc.c: Likewise.
52958         * string/test-memmem-ifunc.c: Likewise.
52959         * string/test-memmove-ifunc.c: Likewise.
52960         * string/test-mempcpy-ifunc.c: Likewise.
52961         * string/test-memset-ifunc.c: Likewise.
52962         * string/test-rawmemchr-ifunc.c: Likewise.
52963         * string/test-stpcpy-ifunc.c: Likewise.
52964         * string/test-stpncpy-ifunc.c: Likewise.
52965         * string/test-strcasecmp-ifunc.c: Likewise.
52966         * string/test-strcasestr-ifunc.c: Likewise.
52967         * string/test-strcat-ifunc.c: Likewise.
52968         * string/test-strchr-ifunc.c: Likewise.
52969         * string/test-strchrnul-ifunc.c: Likewise.
52970         * string/test-strcmp-ifunc.c: Likewise.
52971         * string/test-strcpy-ifunc.c: Likewise.
52972         * string/test-strcspn-ifunc.c: Likewise.
52973         * string/test-strlen-ifunc.c: Likewise.
52974         * string/test-strncasecmp-ifunc.c: Likewise.
52975         * string/test-strncat-ifunc.c: Likewise.
52976         * string/test-strncmp-ifunc.c: Likewise.
52977         * string/test-strncpy-ifunc.c: Likewise.
52978         * string/test-strnlen-ifunc.c: Likewise.
52979         * string/test-strpbrk-ifunc.c: Likewise.
52980         * string/test-strrchr-ifunc.c: Likewise.
52981         * string/test-strspn-ifunc.c: Likewise.
52982         * string/test-strstr-ifunc.c: Likewise.
52984         * debug/Makefile (tests-ifunc): New variable.
52985         (tests): Add $(tests-ifunc).
52986         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52987         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52988         * debug/test-stpcpy_chk-ifunc.c: New file.
52989         * debug/test-strcpy_chk-ifunc.c: Likewise.
52991 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52993         [BZ #13601]
52994         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52995         header is not read in.
52997 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52999         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53000         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53001         directly.  Pass built executable to script as
53002         $(built-program-cmd).
53003         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53004         $testprogram without using LD_LIBRARY_PATH and $ldso.
53006         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53007         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53008         $(rtld-installed-name).
53009         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53010         (rtld_installed_name): Likewise.
53011         (library_path): Likewise.
53012         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53013         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53014         $(run-program-prefix) to tst-tables.sh.
53015         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53016         it to run tst-table-from and tst-table-to.
53017         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53018         Pass it to tst-table.sh.
53019         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53020         $(run-program-prefix) to tst-gettext.sh.
53021         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53022         tst-translit.sh.
53023         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53024         tst-gettext2.sh.
53025         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53026         to run tst-gettext.
53027         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53028         to run tst-gettext2.
53029         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53030         to run tst-translit.
53031         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53032         $(run-program-prefix) to tst-mtrace.sh.
53033         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53034         to run tst-mtrace.
53035         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53036         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53037         $(rtld-installed-name).
53038         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53039         (rtld_installed_name): Likewise.
53040         (run_program_prefix): New variable.  Use it to run wordexp-test.
53042         * Makeconfig (ARCH): Remove all definitions.
53043         (machine): Likewise.
53044         [ARCH]: Remove conditional code.
53045         [!objdir]: Give error.
53046         [!objdir] (objpfx): Remove.
53047         [!objdir] (common-objpfx): Likewise.
53048         [!objdir] (common-objdir): Likewise.
53049         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53050         AC_CONFIG_FILES call.
53051         * configure: Regenerated.
53053         [BZ #13888]
53054         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53055         or TMPDIR.
53056         (testout): Likewise.
53058         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53059         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53060         $(rtld-installed-name).
53061         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53062         (rtld_installed_name): Likwise.
53063         (runit): Remove function.
53064         (run_getconf): New variable,  Use it for running getconf binary.
53066 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53068         [BZ #14716]
53069         * string/test-memmem.c (check_result): New function.
53070         (do_one_test): Use it.
53071         (check1): New function.
53072         (test_main): Use it.
53074 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53076         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53078 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53080         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53081         (_G_LSEEK64): Likewise.
53082         (_G_MMAP64): Likewise.
53083         (_G_FSTAT64): Likewise.
53084         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53085         (_G_LSEEK64): Likewise.
53086         (_G_MMAP64): Likewise.
53087         (_G_FSTAT64): Likewise.
53088         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53089         unconditional.  Call __mmap64 directly.
53090         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53091         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53092         __lseek64 directly.
53093         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53094         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53095         __mmap64 directly.
53096         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53097         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53098         __lseek64 directly.
53099         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53100         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53101         __lseek64 directly.
53102         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53103         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53104         __lseek64 directly.
53105         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53106         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53107         __fxstat64 directly.
53108         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53109         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53110         unconditional.
53111         (freopen64) [!_G_OPEN64]: Remove conditional code.
53112         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53113         unconditional.
53114         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53115         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53116         unconditional.
53117         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53118         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53119         unconditional.
53120         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53121         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53122         unconditional.
53123         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53124         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53125         unconditional.
53126         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53127         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53128         unconditional.
53129         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53130         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53131         unconditional.
53132         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53134 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53136         [BZ #12140]
53137         * manual/memory.texi (Malloc Tunable Parameters): Add note
53138         about free list pointers overwriting some perturb bytes.
53139         Wording suggested by Roland McGrath.
53141 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53143         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53144         (lgamma_test): Likewise.
53145         (tgamma_test): Likewise.
53147 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53149         [BZ #14700]
53150         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53151         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53153 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53155         * NEWS: Mention BZ #14716.
53156         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53157         when removing AVAILABLE1_USES_J macro.
53159 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53161         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53162         (__bswap_64): __uint64_t for unsigned 64-bit int.
53164 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53166         * include/string.h (memmem): Declare libc hidden alias.
53167         * string/memmem.c (memmem): Define libc hidden alias.
53168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53169         __read, __close instead of open, read, close.
53171 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53174         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53175         global and hidden.
53176         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53177         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53178         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53179         Likewise.
53180         (__rawmemchr_sse2): Likewise.
53181         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53182         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53183         (__strchr_sse2): Likewise.
53184         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53185         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53186         (__strcasecmp_sse2): Likewise.
53187         (__strncasecmp_sse2): Likewise.
53188         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53189         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53190         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53191         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53192         (__strrchr_sse2): Likewise.
53193         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53194         ifunc-impl-list.c.
53195         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53196         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53197         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53199         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53200         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53201         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53202         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53203         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53204         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53205         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53206         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53207         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53208         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53209         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53211         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53212         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53213         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53214         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53215         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53216         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53217         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53218         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53219         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53220         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53221         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53222         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53223         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53224         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53226         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53227         global and hidden.
53228         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53229         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53230         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53231         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53232         Likewise.
53233         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53234         Likewise.
53235         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53236         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53237         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53238         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53239         ifunc-impl-list.c.
53240         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53241         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53242         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53243         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53244         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53245         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53246         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53247         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53248         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53249         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53250         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53251         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53252         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53253         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53254         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53255         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53256         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53257         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53258         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53259         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53260         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53261         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53262         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53263         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53264         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53265         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53266         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53267         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53268         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53269         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53270         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53271         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53272         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53273         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53274         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53275         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53276         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53277         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53278         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53279         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53280         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53282         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53283         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53284         * include/ifunc-impl-list.h: New file.
53285         * misc/ifunc-impl-list.c: Likewise.
53286         * misc/Makefile (routines): Add ifunc-impl-list.
53287         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53288         * string/test-string.h: Include <ifunc-impl-list.h>.
53289         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53290         TEST_NAME]: New variables.
53291         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53292         are defined.
53293         (test_init): Call __libc_ifunc_impl_list to initialize
53294         func_list if TEST_IFUNC and TEST_NAME are defined.
53296         * string/Makefile (strop-tests): Add bcopy and bzero.
53297         * string/test-bcopy.c: New file.
53298         * string/test-bzero.c: Likewise.
53299         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53300         defined.
53301         * string/test-memset.c: Support bzero test if TEST_BZERO is
53302         defined.
53303         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53304         __libc_memmove.
53305         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53306         __libc_memset.
53307         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53308         of memset.
53310 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53312         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53313         * configure: Regenerated.
53315         * Makeconfig (+link-static-before-libc): Don't include
53316         $(link-static-libc).
53318         * libio/libio.h (_IO_pos_t): Remove.
53320 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53322         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53323         McGrath.
53325 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53327         * crypt/crypt-entry.c: Include fips-private.h.
53328         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53329         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53330         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53331         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53333 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53335         * crypt/crypt-private.h: Include stdbool.h.
53336         (_ufc_setup_salt_r): Return bool.
53337         * crypt/crypt-entry.c: Include errno.h.
53338         (__crypt_r): Return NULL with EINVAL for bad salt.
53339         * crypt/crypt_util.c (bad_for_salt): New.
53340         (_ufc_setup_salt_r): Check that salt is long enough and within
53341         the specified alphabet.
53342         * crypt/badsalttest.c: New file.
53343         * crypt/Makefile (tests): Add it.
53344         ($(objpfx)badsalttest): New.
53346 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53348         * NEWS: Add entry for BZ #14602.
53350 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53352         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53353         type-generic.
53354         * math/libm-test.inc: Update comment listing what functions and
53355         macros are tested.
53356         (isgreater_test): New function.
53357         (isgreaterequal_test): Likewise.
53358         (isless_test): Likewise.
53359         (islessequal_test): Likewise.
53360         (islessgreater_test): Likewise.
53361         (isunordered_test): Likewise.
53362         (main): Call the new functions.
53364 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53366         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53367         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53368         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53369         * sysdeps/i386/configure: Regenerated.
53370         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53371         * sysdeps/mach/configure: Regenerated.
53372         * sysdeps/mach/hurd/configure: Regenerated.
53373         * sysdeps/powerpc/configure: Regenerated.
53374         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53375         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53376         * sysdeps/s390/s390-32/configure: Regenerated.
53377         * sysdeps/s390/s390-64/configure: Regenerated.
53378         * sysdeps/sh/configure: Regenerated.
53379         * sysdeps/sparc/configure: Regenerated.
53380         * sysdeps/unix/sysv/linux/configure: Regenerated.
53381         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53382         * sysdeps/x86_64/configure: Regenerated.
53384         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53385         defined.  Don't check if MAP is NULL.
53387 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53389         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53390         (_G_stat64): Likewise.
53391         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53392         (_G_stat64): Likewise.
53393         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53394         instead of struct _G_stat64.
53395         * libio/fileops.c (mmap_remap_check): Likewise.
53396         (decide_maybe_mmap): Likewise.
53397         (_IO_new_file_seekoff): Likewise.
53398         (_IO_file_stat): Likewise.
53399         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53400         _G_off64_t.
53401         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53402         instead of struct _G_stat64.
53403         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53405 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53407         [BZ #14602]
53408         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53409         Replace with ...
53410         (CHECK_EOL): New macro.
53411         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53412         CHECK_EOL.
53413         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53414         Replace with CHECK_EOL.
53415         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53416         Replace with CHECK_EOL.
53418 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53420         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53421         type-generic.
53422         * math/libm-test.inc: Update comment listing what functions and
53423         macros are tested.
53424         (finite_test): New function.
53425         (isinf_test): Likewise.
53426         (isnan_test): Likewise.
53427         (fpclassify_test): Test subnormal input.
53428         (isfinite_test): Likewise.
53429         (isnormal_test): Likewise.
53430         (main): Call the new functions.
53432 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53434         [BZ #14660]
53435         * Makerules (%.dynsym): Force C locale when running
53436         $(OBJDUMP) --dynamic-syms.
53438 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53440         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53441         <stdint.h>.
53443 2012-10-06  David S. Miller  <davem@davemloft.net>
53445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53446         upper 32-bits of the length value in %o2 since we use branch-on-register
53447         tests which consider the entire 64-bit register.
53449 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53451         * string/test-strstr.c (check2): Add a test for page boundary.
53453 2012-10-05  David S. Miller  <davem@davemloft.net>
53455         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53456         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53457         file.
53458         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53459         sysdep_routines.
53460         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53461         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53462         and bzero when HWCAP_SPARC_CRYPTO is present.
53464 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53466         [BZ #14602]
53467         * string/test-strstr.c (check2): New function.
53468         (test_main): Call check2.
53470         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53471         and bug-strchr1.
53472         * string/bug-strcasestr1.c (do_test): Moved to ...
53473         * string/test-strcasestr.c (check1): Here.  New function.
53474         (do_one_test): Break out result checking code into ...
53475         (check_result): This.  New function.
53476         (do_one_test): Call check_result.
53477         (test_main): Call check1.
53478         * string/bug-strchr1.c (do_test): Moved to ...
53479         * string/test-strchr.c (check1): Here.  New function.
53480         (do_one_test): Break out result checking code into ...
53481         (check_result): This.  New function.
53482         (do_one_test): Call check_result.
53483         (test_main): Call check1.
53484         * string/bug-strstr1.c (main): Moved to ...
53485         * string/test-strstr.c (check1): Here.  New function.
53486         (do_one_test): Break out result checking code into ...
53487         (check_result): This.  New function.
53488         (do_one_test): Call check_result.
53489         (test_main): Call check1.
53490         * string/bug-strcasestr1.c: Removed.
53491         * string/bug-strchr1.c: Likewise.
53492         * string/bug-strstr1.c: Likewise.
53494         * elf/Makefile (dl-routines): Add hwcaps.
53495         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53496         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53497         (_dl_important_hwcaps): Moved to ...
53498         * elf/dl-hwcaps.c: Here.  New file.
53499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53501         [BZ #14557]
53502         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53503         if IS_IN_rtld isn't defined.
53505         * elf/dl-support.c (_dl_sysinfo_map): New.
53506         Include "get-dynamic-info.h" and "setup-vdso.h".
53507         (_dl_non_dynamic_init): Call setup_vdso.
53508         * elf/dynamic-link.h: Don't include <assert.h>.
53509         (elf_get_dynamic_info): Moved to ...
53510         * elf/get-dynamic-info.h: Here.  New file.
53511         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53512         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53513         * elf/setup-vdso.h: Here.  New file.
53514         * elf/rtld.c: Include "setup-vdso.h".
53515         (dl_main): Call setup_vdso.
53517 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53519         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53520         creal in comment listing functions tested.  List finite, isinf,
53521         isnan, isless, islessequal, isgreater, isgreaterequal,
53522         islessgreater, isunordered, lgamma_r and pow10 as functions and
53523         macros not tested.  Mention which functions not tested are aliases
53524         for other functions.  Fix typo.  Note that signs of NaNs are not
53525         tested.
53527         * scripts/config.guess: Update from config.git.
53528         * scripts/config.sub: Likewise.
53530 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53532         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53533         * misc/madvise.c (madvise): Renamed to __madvise.
53534         Make madvise a weak alias.
53535         * include/sys/mman.h: Declare __madvise.
53536         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53537         * sysdeps/unix/syscalls.list
53538         (madvise): Make __madvise the strong name, and madvise a weak alias.
53539         * sysdeps/unix/sysv/linux/syscalls.list
53540         (madvise, mmap): Remove redundant entries.
53541         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53542         * malloc/malloc.c (mtrim): Likewise.
53543         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53545 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53547         * sysdeps/mach/hurd/dl-cache.c: File removed.
53548         * config.h.in (USE_LDCONFIG): New #undef.
53549         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53550         * configure: Regenerated.
53551         * elf/Makefile (dl-routines): Add dl-cache only under
53552         [$(use-ldconfig) = yes].
53553         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53554         cache on [USE_LDCONFIG].
53555         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53556         [USE_LDCONFIG].
53557         * elf/rtld.c (dl_main): Likewise.
53559 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53561         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53562         _SC_LEVEL4_CACHE_LINESIZE.
53564 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53566         * sysdeps/unix/bsd/confstr.h: File removed.
53568 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53570         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53571         sys/sdt-config.h.
53573 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53575         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53576         Make 'mapoff' field ElfW(Off) rather than off_t.
53578 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53580         * nscd/Makefile: Remove nscd-cflags and all its users.
53581         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53582         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53584         [BZ #10631]
53585         * malloc.c (malloc_printerr): Clarify error message.
53587 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53589         [BZ #14648]
53590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53591         Set bit_FMA_Usable if FMA is supported.
53592         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53593         macro.
53594         (bit_FMA4_Usable): Updated.
53595         (index_FMA_Usable): New macro.
53596         (CPUID_FMA): Likewise.
53597         (HAS_FMA): Defined with bit_FMA_Usable.
53599 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53601         * bits/types.h (__swblk_t): Type removed.
53602         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53603         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53605         (__SWBLK_T_TYPE): Likewise.
53606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53607         (__SWBLK_T_TYPE): Likewise.
53608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53609         (__SWBLK_T_TYPE): Likewise.
53610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53611         (__SWBLK_T_TYPE): Likewise.
53613 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53614             Honza Horak <hhorak@redhat.com>
53616         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53617         (xdr_mapname): Use YPMAXMAP as maxsize.
53618         (xdr_peername): Use YPMAXPEER as maxsize.
53619         (xdr_keydat): Use YPAXRECORD as maxsize.
53620         (xdr_valdat): Use YPMAXRECORD as maxsize.
53622 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53624         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53626         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53627         * csu/init-first.c: ... here.
53628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53629         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53630         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53631         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53632         * sysdeps/i386/init-first.c: File removed.
53633         * sysdeps/sh/init-first.c: File removed.
53635 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53637         [BZ #14645]
53638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53639         if x * y might underflow to zero and z is zero.
53640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53642         * math/libm-test.inc (min_subnorm_value): New variable.
53643         (fma_test): Add more tests.
53644         (fma_test_towardzero): Likewise.
53645         (fma_test_downward): Likewise.
53646         (fma_test_upward): Likewise.
53647         (initialize): Set min_subnorm_value.
53649 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53651         [BZ #14638]
53652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53653         0 + 0.
53654         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53655         mode for addition resulting in exact zero.
53656         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53658         exact 0 + 0.
53659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53661         * math/libm-test.inc (fma_test): Add more tests.
53662         (fma_test_towardzero): New function.
53663         (fma_test_downward): Likewise.
53664         (fma_test_upward): Likewise.
53665         (main): Call the new functions.
53667 2012-09-28  David S. Miller  <davem@davemloft.net>
53669         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53671 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53673         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53674         instead of SIGALRM.
53676         * sysdeps/gnu/_G_config.h: Moved to ...
53677         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53678         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53679         * sysdeps/generic/_G_config.h: ... here.
53681         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53683         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53685         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53686         Conditionalize target on [libnss_test1.so-version].
53688         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53690         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53691         (elfobjdir): Move out of conditionals.
53693         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53694         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53695         (__nss_lookup_function): Conditionalize label remove_from_tree on
53696         [!DO_STATIC_NSS || SHARED], matching its only use.
53698 2012-09-28  David S. Miller  <davem@davemloft.net>
53700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53701         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53702         file.
53703         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53704         sysdep_routines.
53705         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53707         when HWCAP_SPARC_CRYPTO is present.
53709 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53711         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53713 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53715         [BZ #6530]
53716         * stdio-common/vfprintf.c (process_string_arg): Revert
53717         2000-07-22 change.
53719 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53721         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53722         for testcase.
53723         * stdio-common/tst-sprintf.c: Include <locale.h>
53724         (main): Test sprintf's handling of incomplete multibyte
53725         characters.
53727 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53729         * elf/dl-runtime.c (VERSYMIDX): Removed.
53730         * elf/dl-version.c (VERSYMIDX): Likewise.
53731         * elf/do-rel.h (VERSYMIDX): Likewise.
53732         (VALIDX): Likewise.
53733         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53734         * elf/rtld.c (VALIDX): Likewise.
53735         (ADDRIDX): Likewise.
53736         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53737         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53738         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53739         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53740         (VALIDX): Likewise.
53741         (ADDRIDX): Likewise.
53743 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53745         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53747 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53749         [BZ #11438]
53750         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53751         to global scope.
53752         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53753         addresses are in the same scope as 192.0.2/24.
53754         * posix/gai.conf: Document new scope table defaults.
53756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53758         [BZ #5298]
53759         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53760         for ftell.  Compute offsets from write pointers instead.
53761         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53763 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53765         [BZ #14543]
53766         * libio/Makefile (tests): New test case tst-fseek.
53767         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53768         combination works in wide mode.
53769         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53770         state when the external buffer state changes.
53772 2012-09-27  David S. Miller  <davem@davemloft.net>
53774         [BZ #14376]
53775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53776         pass reloc->r_addend in as the 'high' argument to
53777         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53781 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53783         * rt/tst-aio2.c: Include <pthread.h>.
53784         * rt/tst-aio3.c: Likewise.
53786 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53788         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53790 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53792         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53793         contents on [SHARED].
53795 2012-09-26  Marek Polacek  <polacek@redhat.com>
53797         [BZ #14530]
53798         [BZ #13741]
53799         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53800         for C++ and GCC <4.3 as well as for non GCC compilers.
53802 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53806 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53808         * Makefile.in (all, install): Declare with .PHONY.
53809         Reported by Michael Hope <michael.hope@linaro.org>.
53811 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53813         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53814         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53815         system header.
53816         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53817         Likewise.
53818         (sydep_routines): Add the new and the internal functions.
53819         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53820         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53822         (GLIBC_2.17): Add the new function.
53823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53824         (GLIBC_2.17): Likewise.
53825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53826         (GLIBC_2.17): Likewise.
53827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53828         (GLIBC_2.17): Likewise.
53829         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53831 2012-09-25  Alan Modra  <amodra@gmail.com>
53833         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53834         Add release barrier before setting once_control to say
53835         initialisation is done.  Add hints on lwarx.  Use macro in
53836         place of isync.
53837         (clear_once_control): Add release barrier.
53839 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53841         [BZ #13629]
53842         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53843         specially.
53844         * math/s_clog10.c (__clog10): Likewise.
53845         * math/s_clog10f.c (__clog10f): Likewise.
53846         * math/s_clog10l.c (__clog10l): Likewise.
53847         * math/s_clogf.c (__clogf): Likewise.
53848         * math/s_clogl.c (__clogl): Likewise.
53849         * math/Makefile (libm-calls): Add x2y2m1.
53850         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53851         (__x2y2m1): Likewise.
53852         (__x2y2m1l): Likewise.
53853         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53854         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53855         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53857         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53858         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53859         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53860         * sysdeps/i386/fpu/libm-test-ulps: Update.
53861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53863         [BZ #14621]
53864         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53865         int as type of variable DEPTH.
53866         (glob): Use size_t instead of int as type of variables NEWCOUNT
53867         and OLD_PATHC.
53869 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53871         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53872         Add s_sincosf-sse2.
53873         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53874         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53875         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53876         macros for using routine as __sincosf_ia32.
53877         Use macro for function declaration and weak_alias.
53878         * sysdeps/i386/fpu/libm-test-ulps: Update.
53880         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53883         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53884         subnormal argument.
53885         * math/s_cexpf.c (__cexpf): Likewise.
53886         * math/s_csinf.c (__csinf): Likewise.
53887         * math/s_csinhf.c (__csinhf): Likewise.
53888         * math/s_ctanf.c (__ctanf): Likewise.
53889         * math/s_ctanhf.c (__ctanhf): Likewise.
53890         * math/s_ccosh.c (__ccoshf): Likewise.
53891         * math/s_cexp.c (__cexpl): Likewise.
53892         * math/s_csin.c (__csin): Likewise.
53893         * math/s_csinh.c (__csinh): Likewise.
53894         * math/s_ctan.c (__ctan): Likewise.
53895         * math/s_ctanh.c (ctanh): Likewise.
53896         * math/s_ccoshl.c (__ccoshl): Likewise.
53897         * math/s_cexpl.c (__cexpl): Likewise.
53898         * math/s_csinl.c (__csinl): Likewise.
53899         * math/s_csinhl.c (__csinhl): Likewise.
53900         * math/s_ctanl.c (__ctanl): Likewise.
53901         * math/s_ctanhl.c (__ctanhl): Likewise.
53903 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53905         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53906         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53907         (_IO_off_t): Define to __off_t, not _G_off_t.
53908         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53909         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53910         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53911         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53912         type of __dummy and __dummy2 fields.
53913         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53914         (_G_ssize_t): Likewise.
53915         (_G_off_t): Likewise.
53916         (_G_pid_t): Likewise.
53917         (_G_uid_t): Likewise.
53918         (_G_wchar_t): Likewise.
53919         (_G_wint_t): Likewise.
53920         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53921         (_G_ssize_t): Likewise.
53922         (_G_off_t): Likewise.
53923         (_G_pid_t): Likewise.
53924         (_G_uid_t): Likewise.
53925         (_G_wchar_t): Likewise.
53926         (_G_wint_t): Likewise.
53927         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53928         (_G_ssize_t): Likewise.
53929         (_G_off_t): Likewise.
53930         (_G_pid_t): Likewise.
53931         (_G_uid_t): Likewise.
53932         (_G_wchar_t): Likewise.
53933         (_G_wint_t): Likewise.
53935 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53937         * malloc/arena.c: Include malloc-sysdep.h.
53938         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53939         is sufficient to shrink the heap or an unmap is needed.
53940         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53941         new function check_may_shrink_heap.
53942         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53943         new function check_may_shrink_heap.
53945 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53947         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53948         comments.
53950 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53952         * catgets/test-gencat.sh: Add "set -e".
53953         * elf/tst-pathopt.sh: Likewise.
53954         * grp/tst_fgetgrent.sh: Likewise.
53955         * iconvdata/run-iconv-test.sh: Likewise.
53956         * intl/tst-gettext.sh: Likewise.
53957         * intl/tst-gettext2.sh: Likewise.
53958         * intl/tst-gettext4.sh: Likewise.
53959         * intl/tst-gettext6.sh: Likewise.
53960         * intl/tst-translit.sh: Likewise.
53961         * io/ftwtest-sh: Likewise.
53962         * libio/test-freopen.sh: Likewise.
53963         * malloc/tst-mtrace.sh: Likewise.
53964         * posix/globtest.sh: Likewise.
53965         * posix/tst-getconf.sh: Likewise.
53966         * posix/wordexp-tst.sh: Likewise.
53967         * stdio-common/tst-printf.sh: Likewise.
53968         * stdio-common/tst-unbputc.sh: Likewise.
53969         * stdlib/tst-fmtmsg.sh: Likewise.
53970         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53971         * catgets/Makefile: Do not specify -e option when running
53972         testsuite shell scripts.
53973         * elf/Makefile: Likewise.
53974         * grp/Makefile: Likewise.
53975         * iconvdata/Makefile: Likewise.
53976         * intl/Makefile: Likewise.
53977         * io/Makefile: Likewise.
53978         * libio/Makefile: Likewise.
53979         * malloc/Makefile: Likewise.
53980         * posix/Makefile: Likewise.
53981         * stdio-common/Makefile: Likewise.
53982         * stdlib/Makefile: Likewise.
53983         * sysdeps/x86_64/Makefile: Likewise.
53985         * io/ftwtest-sh: Add copyright header.
53986         * posix/globtest.sh: Likewise.
53987         * posix/tst-getconf.sh: Likewise.
53988         * posix/wordexp-tst.sh: Likewise.
53989         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53991 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53993         [BZ #13679]
53994         * Makeconfig (+link): Defined as $(+link-static) if
53995         $(build-shared) isn't yes.
53996         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53997         isn't yes.
53998         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54000         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54002         [BZ #14562]
54003         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54004         new chunk size with MALLOC_ALIGN_MASK.
54006 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54008         [BZ #5044]
54009         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54010         <rounding-mode.h>.
54011         (__printf_fphex): Determine rounding using get_rounding_mode and
54012         round_away.
54013         * stdio-common/tst-printf-round.c (struct hex_test): New
54014         structure.
54015         (hex_tests): New variable.
54016         (test_hex_in_one_mode): New function.
54017         (do_test): Also run tests for hex float output.
54019 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54021         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54023         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54024         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54025         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54026         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54027         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54030 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54032         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54033         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54034         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54035         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54037 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54039         [BZ #14579]
54040         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54041         mode only.
54042         * elf/tst-rtld-load-self.sh: New test.
54043         * elf/Makefile: Run it.
54045 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54047         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54048         (tst-writev-ENV): Remove.
54049         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54051 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54053         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54055 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54057         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54058         unconditional.
54059         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54060         Likewise.
54061         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54062         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54063         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54064         Likewise.
54066 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54068         [BZ #14587]
54069         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54070         * config.make.in (have-cpp-asm-debuginfo): Removed.
54071         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54072         * configure: Regenerated.
54074 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54076         [BZ #5044]
54077         * stdio-common/printf_fp.c: Include <stdbool.h> and
54078         <rounding-mode.h>.
54079         (___printf_fp): Determine rounding using get_rounding_mode and
54080         round_away.
54081         * stdio-common/tst-printf-round.c: New file.
54082         * stdio-common/Makefile (tests): Add tst-printf-round.
54083         (link-libm): New variable.
54084         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54086 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54088         [BZ #14576]
54089         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54090         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54091         Likewise.
54092         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54093         Likewise.
54095 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54097         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54098         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54099         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54100         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54102 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54104         [BZ #14518]
54105         * include/rounding-mode.h: New file.
54106         * sysdeps/generic/get-rounding-mode.h: Likewise.
54107         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54108         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54109         (MAX_VALUE): New macro.
54110         (MIN_VALUE): Likewise.
54111         (overflow_value): New function.
54112         (underflow_value): Likewise.
54113         (round_and_return): Use overflow_value and underflow_value to
54114         determine return values in overflow and underflow cases.  Use
54115         round_away to determine rounding depending on rounding mode.
54116         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54117         determine return values in overflow and underflow cases.
54118         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54119         (struct test_results): New structure.
54120         (struct test): Use struct test_results to store expected results
54121         for all rounding modes.
54122         (TEST): Include expected results for all rounding modes.
54123         (test_in_one_mode): New function.
54124         (do_test): Use test_in_one_mode to compute and check results.
54125         Check results for all rounding modes.
54126         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54127         $(link-libm).
54129 2012-12-09  Allan McRae  <allan@archlinux.org>
54131         * sysdeps/i386/fpu/libm-test-ulps: Update
54133 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54135         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54136         (_G_int32_t): Likewise.
54137         (_G_uint16_t): Likewise.
54138         (_G_uint32_t): Likewise.
54139         (_G_HAVE_BOOL): Likewise.
54140         (_G_HAVE_ATEXIT): Likewise.
54141         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54142         (_G_HAVE_IO_FILE_OPEN): Likewise.
54143         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54144         (_G_int32_t): Likewise.
54145         (_G_uint16_t): Likewise.
54146         (_G_uint32_t): Likewise.
54147         (_G_HAVE_BOOL): Likewise.
54148         (_G_HAVE_ATEXIT): Likewise.
54149         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54150         (_G_HAVE_IO_FILE_OPEN): Likewise.
54151         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54152         (_G_int32_t): Likewise.
54153         (_G_uint16_t): Likewise.
54154         (_G_uint32_t): Likewise.
54155         (_G_HAVE_BOOL): Likewise.
54156         (_G_HAVE_ATEXIT): Likewise.
54157         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54158         (_G_HAVE_IO_FILE_OPEN): Likewise.
54160 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54162         * csu/libc-tls.c: Update copyright years.
54164 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54166         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54167         [!_G_USING_THUNKS]: Remove conditional code.
54168         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54169         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54171         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54172         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54173         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54174         (_G_VTABLE_LABEL_PREFIX): Likewise.
54175         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54176         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54177         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54178         (_G_VTABLE_LABEL_PREFIX): Likewise.
54179         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54180         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54182         (_G_VTABLE_LABEL_PREFIX): Likewise.
54183         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54185 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54187         * libio/Makefile: Include ../Makeconfig before tests.
54188         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54189         only if $(build-shared) is yes.
54191         * iconv/gconv_db.c: Update copyright years.
54193 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54195         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54196         unwind info if defined PIC. Fix special cases description.
54197         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54199         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54200         DP_HI_MASK entry.
54201         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54203 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54205         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54207         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54208         is NULL.
54210         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54211         (LDLIBS-tst-chk4): This.
54212         (LDFLAGS-tst-chk5): Renamed to ...
54213         (LDLIBS-tst-chk5): This.
54214         (LDFLAGS-tst-chk6): Renamed to ...
54215         (LDLIBS-tst-chk6): This.
54216         (LDFLAGS-tst-lfschk4): Renamed to ...
54217         (LDLIBS-tst-lfschk4): This.
54218         (LDFLAGS-tst-lfschk5): Renamed to ...
54219         (LDLIBS-tst-lfschk5): This.
54220         (LDFLAGS-tst-lfschk6): Renamed to ...
54221         (LDLIBS-tst-lfschk6): This.
54223         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54224         on $(common-objpfx)soversions.mk.
54226 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54228         [BZ #10014]
54229         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54230         example host name.
54232 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54234         * malloc/arena.c (arena_get_retry): New function that gets
54235         another arena for the caller to try its request on.
54236         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54237         current arena cannot fulfill the request.
54238         (__libc_memalign): Likewise.
54239         (__libc_memalign): Likewise.
54240         (__libc_pvalloc): Likewise.
54241         (__libc_calloc): Likewise.
54243 2012-09-05  John Tobey  <john.tobey@gmail.com>
54245         [BZ #13542]
54246         * manual/arith.texi (Operations on Complex): Fix description
54247         of carg branch cut.
54249 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54251         [BZ #10014]
54252         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54253         host name.
54255         [BZ #10038]
54256         * manual/memory.texi (Memory): Make order of menu items match
54257         order of sections.
54259 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54261         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54262         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54263         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54267         * csu/libc-tls.c (static_dtv): Renamed to ...
54268         (_dl_static_dtv): This.  Make it global.
54269         (_dl_initial_dtv): Removed.
54270         (__libc_setup_tls): Updated.
54271         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54272         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54273         DL_INITIAL_DTV.
54275 2012-09-06  Petr Machata  <pmachata@redhat.com>
54277         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54278         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54279         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54280         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54284         [BZ #14545]
54285         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54286         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54287         freeing dtv[-1].
54289 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54291         [BZ #14544]
54292         * Makeconfig (link-static-before-libc): Replace $(+prector)
54293         with $(+prectorT).
54294         (link-static-after-libc): Replace $(+postctor) with
54295         $(+postctorT).
54296         (link-bounded): Replace $(+prector)/$(+postctor) with
54297         $(+prectorT)/$(+postctorT).
54298         (+prectorT): New macro.
54299         (+postctorT): Likewise.
54301 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54303         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54304         (round_str): Handle values above the maximum for IBM long double
54305         as inexact.
54306         * stdlib/tst-strtod-round.c (tests): Regenerated.
54308 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54310         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54311         assembler flag.
54312         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54313         zarch_nohighgprs around the zarch optimized routines.
54314         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54315         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54316         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54317         for zarch.
54319 2012-09-05  David S. Miller  <davem@davemloft.net>
54321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54323         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54324         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54325         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54326         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54327         entries.
54329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54331         * malloc/arena.c: Fold copyright years.
54332         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54334 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54336         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54340         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54342 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54344         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54345         change internal state upon failure.
54347 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54349         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54350         * malloc/memusage.c (mmap): Likewise.
54351         (mmap64, mremap): Likewise.  Adjust name in comment.
54353 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54355         * libio/fileops.c: Fix typos in comments.
54356         * libio/oldfileops.c: Likewise.
54357         * libio/wfileops.c: Likewise.
54359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54361         [BZ #1349]
54362         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54363         (tst-malloc-usable-ENV): Set environment for test case.
54364         * malloc/hooks.c (malloc_check_get_size): New function to get
54365         requested size.
54366         * malloc/malloc.c (musable): Use malloc_check_get_size.
54367         * malloc/tst-malloc-usable.c: New test case.
54369 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54371         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54373 2012-09-05  Allan McRae  <allan@archlinux.org>
54375         [BZ #13966]
54376         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54377         determine header location.
54378         * configure: Regenerated.
54380 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54382         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54383         float format.
54384         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54385         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54386         format.
54387         (test): Regenerate.
54389 2012-09-04  David S. Miller  <davem@davemloft.net>
54391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54393         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54395 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54397         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54398         failures.
54400         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54402 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54404         [BZ #9914]
54405         * libio/iogetdelim.c: Include <limits.h>.
54406         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54407         + len + 1 would overflow.
54409 2012-09-03  Andreas Jaeger  <aj@suse.de>
54411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54412         * sysdeps/i386/fpu/libm-test-ulps: Update.
54414 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54416         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54417         Add s_sinf-sse2, s_conf-sse2.
54419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54420         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54421         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54422         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54424         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54425         for using routine as __sinf_ia32.
54426         Use macro for function declaration and weak_alias.
54427         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54428         for using routine as __cosf_ia32.
54429         Use macro for function declaration and weak_alias.
54431         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54432         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54434         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54435         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54438         * math/libm-test.inc (cos_test): Add more test cases.
54439         (sin_test): Likewise.
54440         (sincos_test): Likewise.
54442 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54445         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54446         hidden.
54447         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54449 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54451         [BZ #14538]
54452         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54453         first element of the GOT.
54454         (elf_machine_load_address): Return the difference between
54455         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54457 2012-09-01  Allan McRae  <allan@archlinux.org>
54459         [BZ #13412]
54460         * configure.in (AWK): Require gawk version 3.0 or later.
54461         * configure: Regenerated.
54463 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54465         * sysdeps/unix/sysv/linux/kernel-features.h
54466         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54467         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54468         [__NR_clock_getres]: Make code unconditional.
54469         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54470         (clock_getcpuclockid): Remove code left unreachable by removal of
54471         conditionals.
54472         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54473         code unconditional.
54474         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54476         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54477         Make code unconditional.
54478         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54479         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54480         * sysdeps/unix/sysv/linux/clock_settime.c
54481         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54482         conditional code.
54483         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54484         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54486 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54488         [BZ #14476]
54489         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54490         scripts/test-installation.pl.
54492         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54493         and $ld_so_version if it is set.
54495 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54497         [BZ #14516]
54498         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54499         failure if reading from procfs failed.
54500         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54504         * sysdeps/unix/sysv/linux/kernel-features.h
54505         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54506         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54507         Remove conditional code.
54508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54509         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54510         Remove conditional code.
54511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54512         * sysdeps/unix/sysv/linux/i386/fxstat.c
54513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54515         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54518         * sysdeps/unix/sysv/linux/i386/lxstat.c
54519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54521         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54522         Remove conditional code.
54523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54524         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54525         Remove conditional code.
54526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54527         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54528         <kernel-features.h>.
54529         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54530         Remove.
54531         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54532         Remove conditional code.
54533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54534         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54535         Remove conditional.
54537 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54539         [BZ #5400]
54540         * NEWS: Add fixed bug number.
54542 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54544         [BZ #14519]
54545         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54546         underflowing exponent in case of negative sign.
54547         * stdlib/tst-strtod-round-data: Add more tests.
54548         * stdlib/tst-strtod-round.c (tests): Regenerated.
54550         [BZ #3479]
54551         * stdlib/strtod_l.c (NDIG): Remove.
54552         (HEXNDIG): Likewise.
54553         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54554         smallest representable value.
54555         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54556         lie within an exact representation of 1/2 ulp of the result.
54557         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54558         unconditionally.
54559         (TENS_P9_IDX): Define unconditionally.
54560         (TENS_P9_SIZE): Likewise.
54561         (TENS_P10_IDX): Likewise.
54562         (TENS_P10_SIZE): Likewise.
54563         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54564         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54565         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54566         entries for 10^2^13 and 10^2^14.
54567         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54568         (TENS_P13_IDX): Define.
54569         (TENS_P13_SIZE): Likewise.
54570         (TENS_P14_IDX): Likewise.
54571         (TENS_P14_SIZE): Likewise.
54572         (_fpioconst_pow10): Change array size to
54573         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54574         unconditional.
54575         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54576         1024]: Add entries for 10^2^13 and 10^2^14.
54577         [LAST_POW10 > _LAST_POW10]: Remove #error.
54578         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54579         (_fpioconst_pow10): Change array size to
54580         FPIOCONST_POW10_ARRAY_SIZE.
54581         * stdlib/gen-fpioconst.c: New file.
54582         * stdlib/gen-tst-strtod-round.c: Likewise.
54583         * stdlib/tst-strtod-round-data: Likewise.
54584         * stdlib/tst-strtod-round.c: Likewise.
54585         * stdlib/Makefile (tests): Add tst-strtod-round.
54587         [BZ #14459]
54588         * stdlib/strtod_l.c: Include <stdint.h>.
54589         (NDEBUG): Do not define.
54590         (round_and_return): Change EXPONENT parameter to type intmax_t.
54591         Rearrange calculations to avoid internal overflow possibilities.
54592         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54593         Rearrange calculations to avoid internal overflow possibilities.
54594         Assert that number fits inside MPNSIZE limbs.
54595         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54596         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54597         calculations and add assertions to avoid internal overflow
54598         possibilities.  Add casts to avoid signed/unsigned operations.
54599         * stdlib/tst-strtod-overflow.c: New file.
54600         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54602 2012-08-25  Marek Polacek  <polacek@redhat.com>
54604         * time/time.h: Fix some typos in comments.
54606 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54608         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54609         * posix/tst-rfc3484-2.c: Likewise.
54610         * posix/tst-rfc3484-3.c: Likewise.
54612 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54614         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54615         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54617 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54619         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54620         #include of fxstatat64.c.
54622 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54624         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54625         * shadow/getspent_r.c: Likewise.
54626         * shadow/getspnam.c: Likewise.
54627         * shadow/getspnam_r.c: Likewise.
54628         * gshadow/getsgent.c: Likewise.
54629         * gshadow/getsgent_r.c: Likewise.
54630         * gshadow/getsgnam.c: Likewise.
54631         * gshadow/getsgnam_r.c: Likewise.
54632         * inet/getnetbyad.c: Likewise.
54633         * inet/getnetbyad_r.c: Likewise.
54634         * inet/getnetbynm.c: Likewise.
54635         * inet/getnetbynm_r.c: Likewise.
54636         * inet/getnetent.c: Likewise.
54637         * inet/getnetent_r.c: Likewise.
54638         * inet/getproto.c: Likewise.
54639         * inet/getproto_r.c: Likewise.
54640         * inet/getprtent.c: Likewise.
54641         * inet/getprtent_r.c: Likewise.
54642         * inet/getprtname.c: Likewise.
54643         * inet/getprtname_r.c: Likewise.
54644         * inet/getrpcbyname.c: Likewise.
54645         * inet/getrpcbyname_r.c: Likewise.
54646         * inet/getrpcbynumber.c: Likewise.
54647         * inet/getrpcbynumber_r.c: Likewise.
54648         * inet/getrpcent.c: Likewise.
54649         * inet/getrpcent_r.c: Likewise.
54650         * inet/getaliasent.c: Likewise.
54651         * inet/getaliasent_r.c: Likewise.
54652         * inet/getaliasname.c: Likewise.
54653         * inet/getaliasname_r.c: Likewise.
54654         * nscd/getgrgid_r.c: Likewise.
54655         * nscd/getgrnam_r.c: Likewise.
54656         * nscd/gethstbyad_r.c: Likewise.
54657         * nscd/gethstbynm3_r.c: Likewise.
54658         * nscd/getpwnam_r.c: Likewise.
54659         * nscd/getpwuid_r.c: Likewise.
54660         * nscd/getsrvbynm_r.c: Likewise.
54661         * nscd/getsrvbypt_r.c: Likewise.
54662         * nscd/gai.c: Likewise.
54664         * configure.in (build_nscd): New substituted variable, set
54665         by --disable-build-nscd and defaults to $use_nscd.
54666         * configure: Regenerated.
54667         * config.make.in (build-nscd): New substituted variable.
54668         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54669         Change conditional to require [$(build-nscd) = yes] as well.
54670         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54672         [BZ# 13696]
54673         * configure.in (use_nscd): New substituted variable, set by
54674         --disable-nscd.  If enabled, define USE_NSCD.
54675         * configure: Regenerated.
54676         * config.h.in: Add USE_NSCD.
54677         * config.make.in (use-nscd): New substituted variable.
54678         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54679         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54680         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54681         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54682         (CFLAGS-getgrnam_r.c): Likewise.
54683         (CFLAGS-initgroups.c): Likewise.
54684         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54685         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54686         Variables removed.
54687         * inet/getnetgrent_r.c
54688         (nscd_setnetgrent): New function, broken out of ...
54689         (setnetgrent): ... here.  Call it.
54690         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54691         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54692         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54693         * nscd/Makefile (routines, aux): Move definitions after include of
54694         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54695         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54696         Conditionalize on [USE_NSCD].
54697         (is_nscd, nscd_init_cb): Likewise.
54698         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54699         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54700         * nss/nss_db/db-init.c: Likewise.
54701         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54702         [USE_NSCD].
54703         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54704         (make_request): Use it.
54705         (cache_valid_p): New function.
54706         (__check_pf): Use it.
54707         * NEWS: Add item for --disable-nscd.
54709 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54711         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54712         to support sed >= 4.2.1-20-ga9bf076.
54713         * configure: Regenerated.
54715 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54717         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54718         Conditionalize whole body on [IREL].
54720 2012-08-22  Jeff Law <law@redhat.com>
54722         [BZ #14505]
54723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54724         if the family is PF_UNSPEC.
54726 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54728         * Makerules (lib-version): Rename from V.
54729         (install-lib-nosubdir): Change V to lib-version.
54731 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54733         [BZ #14252]
54734         * powerpc32/power6/wcschr.c: New file.
54735         * powerpc32/power6/wcscpy.c: New file.
54736         * powerpc32/power6/wcsrchr.c: New file.
54737         * powerpc64/power6/wcschr.c: New file.
54738         * powerpc64/power6/wcscpy.c: New file.
54739         * powerpc64/power6/wcsrchr.c: New file.
54741 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54743         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54744         (two_way_short_needle): Use it.
54745         * string/strstr.c (AVAILABLE1_USES_J): Define.
54746         * string/strcasestr.c: Likewise.
54748         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54749         array references.
54750         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54752         [BZ #11607]
54753         * NEWS: Add an entry.
54754         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54755         define their defaults.
54756         (two_way_short_needle): Detect end-of-string on-the-fly.
54757         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54758         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54759         * string/bug-strcasestr1.c: New test.
54760         * string/Makefile: Run it.
54762 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54764         [BZ #11607]
54765         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54766         the first character.
54768 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54770         * csu/elf-init.c (__libc_csu_irel): Function removed.
54771         * csu/libc-start.c (apply_irel): New function.
54772         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54774 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54776         * sysdeps/unix/sysv/linux/kernel-features.h
54777         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54778         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54779         <kernel-features.h>.
54780         [__NR_fadvise64_64]: Make code unconditional.
54781         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54782         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54783         !__NR_fadvise64_64)]: Likewise.
54784         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54785         !__NR_fadvise64_64))]: Likewise.
54786         [__NR_fadvise64]: Make code unconditional.
54787         [!__NR_fadvise64]: Remove conditional code.
54788         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54789         <kernel-features.h>.
54790         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54791         unconditional.
54792         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54793         conditional code.
54794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54795         not include <kernel-features.h>.
54796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54797         unconditional.
54798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54799         conditional code.
54800         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54801         include <kernel-features.h>.
54802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54803         unconditional.
54804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54805         conditional code.
54807 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54810         slight instruction rearrangements per scrollpipe analysis.
54811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54813 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54815         * manual/syslog.texi (syslog; vsyslog, closelog):
54816         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54817         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54819         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54820         DSOCAPS to match condition on defining it.
54822 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54824         * sysdeps/unix/sysv/linux/kernel-features.h
54825         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54836         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54837         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54839         * sysdeps/unix/sysv/linux/kernel-features.h
54840         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54841         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54842         unconditional.
54843         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54844         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54847         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54848         Make code unconditional.
54849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54850         (__mmap64) [!__NR_mmap2]: Likewise.
54851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54852         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54853         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54854         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54855         [__NR_mmap2]: Make code unconditional.
54856         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54857         (__mmap64) [!__NR_mmap2]: Likewise.
54859 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54861         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54863 2012-08-18  Andreas Jaeger  <aj@suse.de>
54865         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54869         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54870         * include/unistd.h (__have_sock_cloexec): Likewise.
54871         (__have_pipe2): Likewise.
54872         (__have_dup3): Likewise.
54874 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54876         [BZ #9685]
54877         * include/unistd.h (__have_pipe2): Change define into an extern int.
54878         (__have_dup3): Likewise.
54879         * socket/have_sock_cloexec.c: Include fcntl.h.
54880         (__have_pipe2): New variable.
54881         (__have_dup3): Likewise.
54883 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54885         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54887 2012-08-17  Marek Polacek  <polacek@redhat.com>
54889         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54890         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54892 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54894         * configure.in: Add AC_SUBST for sysheaders.
54895         * configure: Regenerated.
54896         * config.make.in (sysheaders): New substituted variable.
54898         * sysdeps/unix/mkfifo.c: Moved ...
54899         * sysdeps/posix/mkfifo.c: ... here.
54900         * sysdeps/unix/mkfifoat.c: Moved ...
54901         * sysdeps/posix/mkfifoat.c: ... here.
54903         * sysdeps/unix/utime.c: Moved ...
54904         * sysdeps/posix/utime.c: ... here.
54906         * sysdeps/unix/time.c: Moved ...
54907         * sysdeps/posix/time.c: ... here.
54908         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54909         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54911         * sysdeps/unix/nice.c: Moved ...
54912         * sysdeps/posix/nice.c: ... here.
54914         * sysdeps/unix/alarm.c: Moved ...
54915         * sysdeps/posix/alarm.c: ... here.
54917         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54919 2012-08-17  Jeff Law <law@redhat.com>
54921         * intl/Makefile (codeset_mo): New variable.
54922         ($(codeset_mo)): New target.
54923         (tst-codeset.out): Depend on that.  Remove explicit rule.
54924         (tst-gettext3.out, tst-gettext5.out): Likewise.
54925         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54926         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54927         * intl/tst-codeset.sh: Remove.
54928         * intl/tst-gettext3.sh: Likewise.
54929         * intl/tst-gettext5.sh: Likewise.
54931 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54933         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54934         * sysdeps/unix/syscalls.list: ... here.
54936         * sysdeps/posix/getaddrinfo.c
54937         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54938         (gaiconf_init, gaiconf_reload): Use them.
54939         [!_STATBUF_ST_NSEC]
54940         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54941         Define using time_t rather than struct timespec.
54943         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54944         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54945         Macros removed.
54946         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54947         [!NO_THREADS].
54948         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54949         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54950         Likewise.
54952         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54953         __libc_cleanup_push argument.
54955         * bits/param.h: New file.
54956         * misc/sys/param.h: New file.
54957         * include/sys/param.h: New file.
54958         * misc/Makefile (headers): Add bits/param.h.
54959         * sysdeps/generic/sys/param.h: File removed.
54960         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54961         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54962         * sysdeps/mach/hurd/bits/param.h: New file.
54963         * sysdeps/mach/hurd/sys/param.h: File removed.
54965         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54966         last change.
54968         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54969         [_IO_MTSAFE_IO].
54970         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54971         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54972         New macros.
54974         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54975         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54976         rather than -D_IO_MTSAFE_IO conditionally.
54977         * stdio-common/Makefile (CPPFLAGS): Likewise.
54978         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54979         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54980         Use $(libio-mtsafe).
54981         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54982         of -D_IO_MTSAFE_IO.
54983         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54984         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54985         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54986         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54987         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54988         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54989         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54990         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54991         (CFLAGS-fread_u_chk.c): Likewise.
54992         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54993         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54994         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54995         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54996         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54997         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54998         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54999         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55000         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55002         * libio/Makefile: Test [$(libc-reentrant) = yes]
55003         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55005         * Makeconfig
55006         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55007         * sysdeps/pthread/configure: File removed.
55008         * sysdeps/pthread/Makeconfig: New file.
55009         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55010         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55012 2012-08-16  Gary Benson  <gbenson@redhat.com>
55014         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55015         unmapping the first object in a namespace.
55017 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55019         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55020         (__internal_setnetgrent): ... this.  Add internal_function to
55021         definition.  Add libc_hidden_def.
55022         (setnetgrent): Update caller.
55023         (internal_endnetgrent): Renamed to ...
55024         (__internal_endnetgrent): ... this.  Add internal_function to
55025         definition.  Add libc_hidden_def.
55026         (endnetgrent): Update caller.
55027         (internal_getnetgrent_r): Renamed to ...
55028         (__internal_getnetgrent_r): ... this.  Add internal_function to
55029         definition.  Add libc_hidden_def.
55030         (__getnetgrent_r): Update caller.
55031         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55033 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55035         * stdlib/longlong.h: Update from GCC.
55037 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55039         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55040         on _QL, which is set by umul_ppmm but never used.
55041         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55042         variables, which are set by GMP macros but never used.
55043         * stdio-common/_itowa.c (_itowa): Likewise.
55044         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55045         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55047 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55049         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55050         struct La_sh_regs is not constant.
55051         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55052         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55053         and struct La_sparc64_regs are not constant.
55055 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55057         * sysdeps/unix/sysv/linux/kernel-features.h
55058         (__ASSUME_POSIX_TIMERS): Remove.
55059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55061         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55062         Make code unconditional.
55063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55064         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55065         Make code unconditional.
55066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55067         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55068         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55070         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55071         Make code unconditional.
55072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55073         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55074         (__libc_missing_posix_timers): Remove.
55076 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55078         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55079         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55081         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55083         * elf/dl-sym.c: Include <stdlib.h>.
55085         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55086         constants, which avoids warnings in 32-bit builds.
55088         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55089         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55091         * misc/lseek.c: File moved to ...
55092         * io/lseek.c: ... here.
55094         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55096         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55097         shifting LEN more than 31 bits at once.
55099 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55101         [BZ #14195]
55102         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55103         segmentation fault for a case of two empty input strings.
55104         * string/test-strncasecmp.c (check1): Renamed to...
55105         (bz12205): ...this.
55106         (bz14195): Add new testcase for two empty input strings and N > 0.
55107         (test_main): Call new testcase, adapt for renamed function.
55109 2012-08-15  Andreas Jaeger  <aj@suse.de>
55111         [BZ #14090]
55112         * crypt/md5test2.c: New test, based on test supplied by Serge
55113         Belyshev <belyshev@depni.sinp.msu.ru>.
55114         * crypt/Makefile (xtests): Add md5test-giant..
55115         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55117 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55119         [BZ #14090]
55120         * crypt/md5.c (md5_process_block): Don't assume the buffer
55121         length is less than 2**32.
55122         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55123         length is less than 2**64.
55125 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55127         * string/str-two-way.h: Include <sys/param.h>.
55128         (MAX): Macro removed.
55130         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55131         Move #define and #undef of memmove to just before and after
55132         including <string.h>.
55134         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55135         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55136         and after including <string.h>.  Move declarations of
55137         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55138         to before #include "string/memmove.c".
55140         * include/dirent.h: Declare __getdirentries.
55142         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55143         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55145 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55147         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55148         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55149         * sysdeps/i386/configure: Regenerated.
55150         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55151         STABS_CURRENT_FILE, and STABS_FUN.
55152         (END): Remove call to STABS_FUN_END.
55153         (STABS_CURRENT_FILE1): Delete.
55154         (STABS_CURRENT_FILE): Likewise.
55155         (STABS_FUN): Likewise.
55156         (STABS_FUN_END): Likewise.
55157         (STABS_FUN2): Likewise.
55158         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55159         * sysdeps/x86_64/configure: Regenerated.
55161 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55163         * elf/dl-open.c: Include <atomic.h>.
55164         * elf/dl-lookup.c: Likewise.
55166 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55168         * sysdeps/unix/sysv/linux/kernel-features.h
55169         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55170         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55171         unconditionally.
55172         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55173         unconditionally.
55174         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55175         condition on __ASSUME_CLONE_THREAD_FLAGS.
55177 2012-08-14  Andreas Jaeger  <aj@suse.de>
55179         * sysdeps/i386/fpu/libm-test-ulps: Update.
55181 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55183         * include/atomic.h (atomic_exchange_and_add): Split into ...
55184         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55185         New atomic macros.
55187 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55191 2012-08-13  Jeff Law <law@redhat.com>
55193         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55194         null byte in the output string.
55196 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55198         * sysdeps/unix/sysv/linux/kernel-features.h
55199         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55200         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55201         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55202         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55203         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55204         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55205         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55207 2012-08-09  Jeff Law <law@redhat.com>
55209         [BZ #13939]
55210         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55211         When avoid_arena is set, don't retry in the that arena.  Pick the
55212         next one, whatever it might be.
55213         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55214         (arena_lock): Pass in new parameter to arena_get2.
55215         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55216         arena_get2.
55217         (__libc_malloc): Unify retrying after main arena failure with
55218         __libc_memalign version.
55219         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55221 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55223         [BZ #14166]
55224         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55225         to __redirect_strstr.
55226         (__strstr_sse42): Use typeof __redirect_strstr.
55227         (__strstr_ia32): Likewise.
55228         (__libc_strstr): New prototype.
55229         (strstr): Renamed to ...
55230         (__libc_strstr): This.
55231         (strstr): New strong alias of __libc_strstr.
55232         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55233         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55234         __redirect_time.
55235         Include <time.h>.
55236         (__libc_time): New prototype.
55237         (time_ifunc): Replace time with __libc_time.
55238         (time): New strong alias and hidden definition of __libc_time.
55239         (__GI_time): Remove strong alias.
55240         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55241         Include <stddef.h>.
55242         (memmove): Redefined to __redirect_memmove.
55243         (__memmove_sse2): Use typeof __redirect_memmove.
55244         (__memmove_ssse3): Likewise.
55245         (__memmove_ssse3_back): Likewise.
55246         (__libc_memmove): New prototype.
55247         (memmove): Renamed to ...
55248         (__libc_memmove): This.
55249         (memmove): New strong alias of __libc_memmove.
55251 2012-08-08  Mark Salter  <msalter@redhat.com>
55253         * elf/elf.h
55254         (R_MN10300_TLS_GD): Define.
55255         (R_MN10300_TLS_LD): Likewise.
55256         (R_MN10300_TLS_LDO): Likewise.
55257         (R_MN10300_TLS_GOTIE): Likewise.
55258         (R_MN10300_TLS_IE): Likewise.
55259         (R_MN10300_TLS_LE): Likewise.
55260         (R_MN10300_TLS_DTPMOD): Likewise.
55261         (R_MN10300_TLS_DTPOFF): Likewise.
55262         (R_MN10300_TLS_TPOFF): Likewise.
55263         (R_MN10300_SYM_DIFF): Likewise.
55264         (R_MN10300_ALIGN): Likewise.
55265         (R_MN10300_NUM): Update.
55267 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55270         Remove.
55272 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55274         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55276         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55277         sysdeps/unix -> sysdeps/posix move.
55278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55280 2012-08-07      Allan McRae     <allan@archlinux.org>
55282         [BZ #14303]
55283         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55284         (SUNOS_CPP): Likewise.
55285         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55286         not found.
55287         (open_input): Call CPP using execvp.
55289 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55291         * sysdeps/unix/sysv/linux/kernel-features.h
55292         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55293         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55294         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55295         (__ASSUME_WAITID_SYSCALL): Likewise.
55296         * sysdeps/unix/sysv/linux/dl-execstack.c
55297         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55298         code unconditional.
55299         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55300         conditional code.
55301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55302         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55303         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55304         code.
55305         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55306         unconditional.
55307         [__ASSUME_WAITID_SYSCALL]: Likewise.
55308         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55310 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55312         * sysdeps/unix/closedir.c: Renamed to ...
55313         * sysdeps/posix/closedir.c: ... here.
55314         * sysdeps/unix/dirfd.c: Renamed to ...
55315         * sysdeps/posix/dirfd.c: ... here.
55316         * sysdeps/unix/dirstream.h: Renamed to ...
55317         * sysdeps/posix/dirstream.h: ... here.
55318         * sysdeps/unix/fdopendir.c: Renamed to ...
55319         * sysdeps/posix/fdopendir.c: ... here.
55320         * sysdeps/unix/opendir.c: Renamed to ...
55321         * sysdeps/posix/opendir.c: ... here.
55322         * sysdeps/unix/readdir.c: Renamed to ...
55323         * sysdeps/posix/readdir.c: ... here.
55324         * sysdeps/unix/readdir_r.c: Renamed to ...
55325         * sysdeps/posix/readdir_r.c: ... here.
55326         * sysdeps/unix/rewinddir.c: Renamed to ...
55327         * sysdeps/posix/rewinddir.c: ... here.
55328         * sysdeps/unix/seekdir.c: Renamed to ...
55329         * sysdeps/posix/seekdir.c: ... here.
55330         * sysdeps/unix/telldir.c: Renamed to ...
55331         * sysdeps/posix/telldir.c: ... here.
55332         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55333         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55334         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55335         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55338         * bits/fcntl.h: ... here.
55340         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55341         not 0.
55342         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55343         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55344         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55345         (struct flock): Move l_start, l_len to the beginning.
55346         Use __pid_t for l_pid.
55347         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55348         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55349         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55350         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55351         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55352         [__USE_LARGEFILE64] (struct flock64): New type.
55353         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55356         * bits/dirent.h: ... here.
55358         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55359         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55361 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55363         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55364         Change from 2.6.0 to 2.6.16.
55365         * sysdeps/unix/sysv/linux/configure: Regenerated.
55366         * sysdeps/unix/sysv/linux/kernel-features.h
55367         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55368         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55369         version.
55370         (__ASSUME_UTIMES): Likewise.
55371         (__ASSUME_CLONE_STOPPED): Remove.
55372         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55373         architectures, not kernel version.
55374         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55375         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55376         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55377         (__ASSUME_WAITID_SYSCALL): Likewise.
55378         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55379         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55380         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55381         refer to older versions.
55383 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55385         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55386         Define alphasort64 as an alias.
55387         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55388         Define versionsort64 as an alias.
55389         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55390         Define scandir64 as an alias.
55391         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55392         Define scandirat64 as an alias.
55393         * dirent/alphasort64.c (alphasort64):
55394         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55395         * dirent/versionsort64.c: Likewise.
55396         * dirent/scandir64.c: Likewise.
55397         * dirent/scandirat64.c: Likewise.
55398         * sysdeps/wordsize-64/alphasort.c: File removed.
55399         * sysdeps/wordsize-64/alphasort64.c: File removed.
55400         * sysdeps/wordsize-64/scandir.c: File removed.
55401         * sysdeps/wordsize-64/scandir64.c: File removed.
55402         * sysdeps/wordsize-64/scandirat.c: File removed.
55403         * sysdeps/wordsize-64/scandirat64.c: File removed.
55404         * sysdeps/wordsize-64/versionsort.c: File removed.
55405         * sysdeps/wordsize-64/versionsort64.c: File removed.
55406         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55407         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55412         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55415         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55417         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55419         [defined __arch64__ || defined __sparcv9]
55420         (__INO_T_MATCHES_INO64_T): New macro.
55421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55422         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55423         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55424         * sysdeps/unix/sysv/linux/bits/dirent.h
55425         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55426         (_DIRENT_MATCHES_DIRENT64): New macro.
55428         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55429         Define lockf64 as an alias.
55430         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55431         Define fseeko64 as an alias.
55432         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55433         Define ftello64 as an alias.
55434         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55435         Define _IO_fgetpos64 and fgetpos64 as aliases.
55436         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55437         Define _IO_fsetpos64 and fsetpos64 as aliases.
55438         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55439         Conditionalize body on this.
55440         * libio/fseeko64.c: Likewise.
55441         * libio/ftello64.c: Likewise.
55442         * libio/iofgetpos64.c: Likewise.
55443         * libio/iofsetpos64.c: Likewise.
55444         * sysdeps/wordsize-64/lockf.c: File removed.
55445         * sysdeps/wordsize-64/lockf64.c: File removed.
55446         * sysdeps/wordsize-64/fseeko.c: File removed.
55447         * sysdeps/wordsize-64/fseeko64.c: File removed.
55448         * sysdeps/wordsize-64/ftello.c: File removed.
55449         * sysdeps/wordsize-64/ftello64.c: File removed.
55450         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55451         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55452         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55453         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55454         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55455         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55456         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55457         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55458         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55459         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55460         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55461         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55465         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55467         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55469         [defined __arch64__ || defined __sparcv9]
55470         (__OFF_T_MATCHES_OFF64_T): New macro.
55471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55472         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55474         (__OFF_T_MATCHES_OFF64_T): New macro.
55476 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55478         * stdlib/secure-getenv.c (__secure_getenv): Replace
55479         GLIBC_2_16 with GLIBC_2_17.
55481 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55483         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55484         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55486 2012-08-03  David S. Miller  <davem@davemloft.net>
55488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55490 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55493         Remove.
55494         (__ASSUME_CORRECT_SI_PID): Likewise.
55495         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55496         (__ASSUME_TMPFS_NAME): Likewise.
55497         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55498         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55499         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55500         (HAVE_AUX_SECURE): Make definition unconditional.
55501         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55502         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55504 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55506         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55507         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55508         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55509         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55510         __eloop_threshold instead of SYMLOOP_MAX.
55512         * sysdeps/generic/eloop-threshold.h: New file.
55513         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55514         of MAXSYMLINKS.
55515         * elf/chroot_canon.c (chroot_canon): Likewise.
55517 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55519         [BZ #13717]
55520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55521         Change to 2.6.0 everywhere.
55522         * sysdeps/unix/sysv/linux/configure: Regenerated.
55523         * sysdeps/unix/sysv/linux/kernel-features.h
55524         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55525         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55526         kernel versions.
55527         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55528         (__ASSUME_FUTEX_REQUEUE): Remove.
55529         (__ASSUME_STATFS64): Define unconditionally.
55530         (__ASSUME_AT_SECURE): Likewise.
55531         (__ASSUME_CORRECT_SI_PID): Likewise.
55532         (__ASSUME_TGKILL): Define without depending on kernel version for
55533         i386.
55534         (__ASSUME_UTIMES): Likewise.
55535         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55536         kernel version.
55537         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55538         (__ASSUME_TMPFS_NAME): Likewise.
55539         * README: Update reference to Linux kernel versions.
55541 2012-08-02  Marek Polacek  <polacek@redhat.com>
55543         [BZ# 14150]
55544         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55545         libc_cv_asm_type_prefix with %.
55546         * configure: Regenerated.
55547         * include/libc-symbols.h: Remove comment about
55548         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55549         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55550         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55551         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55552         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55553         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55554         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55555         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55556         * elf/tst-unique2mod1.c: Likewise.
55557         * elf/tst-unique1mod2.c: Likewise.
55558         * elf/tst-unique1mod1.c: Likewise.
55559         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55560         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55561         Replace ASM_TYPE_DIRECTIVE with .type.
55562         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55563         * sysdeps/i386/sysdep.h: Likewise.
55564         * sysdeps/x86_64/sysdep.h: Likewise.
55565         * sysdeps/sh/sysdep.h: Likewise.
55566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55567         Do not define ASM_TYPE_DIRECTIVE.
55568         * sysdeps/powerpc/sysdep.h: Likewise.
55569         * sysdeps/powerpc/powerpc32/sysdep.h:
55570         Replace ASM_TYPE_DIRECTIVE with .type.
55571         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55572         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55573         * sysdeps/i386/fpu/e_powf.S: Likewise.
55574         * sysdeps/i386/fpu/e_expl.S: Likewise.
55575         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55576         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55577         * sysdeps/i386/fpu/e_pow.S: Likewise.
55578         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55579         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55580         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55581         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55582         * sysdeps/i386/fpu/e_log2.S: Likewise.
55583         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55584         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55585         * sysdeps/i386/fpu/e_powl.S: Likewise.
55586         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55587         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55588         * sysdeps/i386/fpu/e_logl.S: Likewise.
55589         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55590         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55591         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55592         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55594         * sysdeps/i386/fpu/e_log.S: Likewise.
55595         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55596         * sysdeps/i386/fpu/e_logf.S: Likewise.
55597         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55598         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55599         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55600         * sysdeps/i386/fpu/e_log10.S: Likewise.
55601         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55602         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55603         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55604         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55605         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55606         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55607         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55608         * sysdeps/i386/i686/strtok.S: Likewise.
55609         * sysdeps/i386/i386-mcount.S: Likewise.
55610         * sysdeps/i386/strtok.S: Likewise.
55611         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55614         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55617         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55618         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55619         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55620         * sysdeps/x86_64/_mcount.S: Likewise.
55621         * sysdeps/x86_64/strtok.S: Likewise.
55622         * sysdeps/sh/_mcount.S: Likewise.
55624 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55626         * libio/iofopen.c: Include <fcntl.h>.
55627         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55628         (_IO_fopen64, fopen64): Define as aliases.
55629         * libio/iofopen64.c: Include <fcntl.h>.
55630         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55631         Conditionalize body on this.
55632         * sysdeps/wordsize-64/iofopen.c: File removed.
55633         * sysdeps/wordsize-64/iofopen64.c: File removed.
55635 2012-08-01  Marek Polacek  <polacek@redhat.com>
55637         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55638         Use dlfcn directly instead of a variable.
55639         (binfmt-subdir): Do not define.
55640         (dlfcn): Likewise.
55642 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55645         Remove all definitions.
55646         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55647         <kernel-features.h>.
55648         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55649         (miss_F_GETOWN_EX): Remove all definitions.
55650         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55651         macro definition.
55652         [!__ASSUME_FCNTL64]: Remove conditional code.
55653         [__ASSUME_FCNTL64]: Make code unconditional.
55654         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55655         <kernel-features.h>.
55656         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55657         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55658         (lockf64) [__NR_fcntl64]: Make code unconditional.
55659         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55661         * sysdeps/unix/sysv/linux/kernel-features.h
55662         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55663         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55664         Make code unconditional.
55665         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55666         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55668         [__NR_vfork]: Make code unconditional.
55669         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55670         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55672         [__NR_vfork]: Make code unconditional.
55673         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55674         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55676 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55678         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55679         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55681         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55682         Define mkstemp64 as an alias.
55683         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55684         Define mkstemps64 as an alias.
55685         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55686         Define mkostemp64 as an alias.
55687         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55688         Define mkostemps64 as an alias.
55689         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55690         Conditionalize body on this.
55691         * misc/mkostemp64.c: Likewise.
55692         * misc/mkostemps64.c: Likewise.
55693         * misc/mkstemps64.c: Likewise.
55694         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55695         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55696         * sysdeps/wordsize-64/mkostemp.c: File removed.
55697         * sysdeps/wordsize-64/mkstemp.c: File removed.
55698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55699         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55700         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55701         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55703         [BZ #14138]
55704         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55705         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55706         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55707         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55709         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55710         compat_symbol macros from <shlib-compat.h> rather than the underlying
55711         default_symbol_version and symbol_version macros, so that DEFAULT
55712         lines in shlib-versions are respected.
55713         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55715 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55717         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55718         Declare with warn_unused_result.
55719         (setgid, setregid, setegid, setresgid): Likewise.
55720         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55721         Likewise.
55722         * WUR-REPORT: Remove set*id functions.
55724 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55726         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55728 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55730         [BZ #10191]
55731         * include/sys/socket.h (__libc_accept, __libc_accept4):
55732         Add attribute_hidden.
55733         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55735         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55736         use of PTR_MANGLE.
55737         * inet/getnetgrent_r.c (setup): Likewise.
55739         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55741 2012-07-31  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55745 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55747         [BZ #13629]
55748         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55749         value between 1.0 and 2.0 and smaller part has absolute value less
55750         than 1.0.
55751         * math/s_clog10.c (__clog10): Likewise.
55752         * math/s_clog10f.c (__clog10f): Likewise.
55753         * math/s_clog10l.c (__clog10l): Likewise.
55754         * math/s_clogf.c (__clogf): Likewise.
55755         * math/s_clogl.c (__clogl): Likewise.
55756         * math/libm-test.inc (clog_test): Add more tests.
55757         (clog10_test): Likewise.
55758         * sysdeps/i386/fpu/libm-test-ulps: Update.
55759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55761 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55763         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55764         Exit with zero in case no suitable GID is found, and write a
55765         message to standard error.
55767 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55769         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55770         rather than to 1.
55771         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55772         (MAXPATHLEN): Removed.
55773         (NOGROUP, NODEV): New macros.
55774         (setbit, clrbit, isset, isclr): New macros.
55775         (howmany, roundup, powerof2): New macros.
55776         (DEV_BSIZE): New macro.
55778         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55779         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55781         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55782         definition on [!__NO_LONG_DOUBLE_MATH].
55784         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55785         PTR_MANGLE and PTR_DEMANGLE.
55787         * socket/accept4.c (accept4): Rename to __libc_accept4.
55788         Define accept4 as a weak alias.
55790         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55791         on [_DIRENT_HAVE_D_TYPE].
55792         * io/ftw.c (ftw_dir): Likewise.
55794         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55796         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55798         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55799         Use the BSD numbers rather than the arbitrary ones we had.
55800         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55801         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55802         (SIGXCPU, SIGXFSZ): New macros.
55803         (_NSIG): Now 32.
55805         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55806         initializer on [_LIBC_REENTRANT].
55808         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55809         definitions inside [_POSIX_MAPPED_FILES].
55811         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55813         * dirent/opendir.c: Include <fcntl.h>.
55815         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55816         (__libc_getspecific): Likewise.
55817         (__libc_key_create): Likewise.
55819         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55820         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55821         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55822         (tmpfile64): Define as alias.
55823         * sysdeps/wordsize-64/tmpfile.c: File removed.
55824         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55825         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55826         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55828         * stdio-common/vfscanf.c: Include <stdbool.h>.
55829         * nss/makedb.c: Likewise.
55830         * stdio-common/_i18n_number.h: Likewise.
55831         * argp/argp-help.c: Likewise.
55832         * posix/wordexp.c: Likewise.
55833         * sysdeps/posix/spawni.c: Likewise.
55834         * nss/nss_files/files-initgroups.c: Likewise.
55835         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55836         * nss/nss_files/files-initgroups.c: Likewise.
55837         * nss/nss_db/db-netgrp.c: Likewise.
55838         * nss/nss_db/db-initgroups.c: Likewise.
55839         * io/fchmodat.c: Include <sys/stat.h>.
55841         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55842         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55844         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55845         [HAVE_MMAP].
55847         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55848         Add multiple inclusion protection.
55850 2012-07-27  David S. Miller  <davem@davemloft.net>
55852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55854 2012-07-27  Gary Benson  <gbenson@redhat.com>
55856         [BZ #14298]
55857         * elf/rtld.c: Include <stap-probe.h>.
55858         (dl_main): Added static probes "init_start" and "init_complete".
55859         * elf/dl-load.c: Include <stap-probe.h>.
55860         (lose): Take new parameter "nsid".
55861         Added static probe "map_failed".
55862         (_dl_map_object_from_fd): Pass namespace id to lose.
55863         Added static probe "map_start".
55864         (open_verify): Pass namespace id to lose.
55865         * elf/dl-open.c: Include <stap-probe.h>.
55866         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55867         and "reloc_complete".
55868         * elf/dl-close.c: Include <stap-probe.h>.
55869         (_dl_close_worker): Added static probes "unmap_start" and
55870         "unmap_complete".
55871         * elf/rtld-debugger-interface.txt: New file documenting the above.
55873 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55875         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55876         rather than a string variable.
55877         * sunrpc/rpc_main.c (h_output): Likewise.
55878         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55880 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55882         * inet/check_native.c: New file.
55884 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55886         [BZ #13629]
55887         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55888         if larger part has absolute value 1.0.
55889         * math/s_clog10.c (__clog10): Likewise.
55890         * math/s_clog10f.c (__clog10f): Likewise.
55891         * math/s_clog10l.c (__clog10l): Likewise.
55892         * math/s_clogf.c (__clogf): Likewise.
55893         * math/s_clogl.c (__clogl): Likewise.
55894         * math/libm-test.inc (clog_test): Add more tests.
55895         (clog10_test): Likewise.
55896         * sysdeps/i386/fpu/libm-test-ulps: Update.
55897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55899         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55900         (pltexit): Likewise.
55901         (La_regs): Likewise.
55902         (La_retval): Likewise.
55903         (int_retval): Likewise.
55904         Update #error for removed macros to refer only to definitions in
55905         tst-audit.h.
55906         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55907         macro.
55908         (pltexit): Likewise.
55909         (La_regs): Likewise.
55910         (La_retval): Likewise.
55911         (int_retval): Likewise.
55912         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55913         macro.
55914         (pltexit): Likewise.
55915         (La_regs): Likewise.
55916         (La_retval): Likewise.
55917         (int_retval): Likewise.
55918         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55919         macro.
55920         (pltexit): Likewise.
55921         (La_regs): Likewise.
55922         (La_retval): Likewise.
55923         (int_retval): Likewise.
55924         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55925         macro.
55926         (pltexit): Likewise.
55927         (La_regs): Likewise.
55928         (La_retval): Likewise.
55929         (int_retval): Likewise.
55930         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55931         macro.
55932         (pltexit): Likewise.
55933         (La_regs): Likewise.
55934         (La_retval): Likewise.
55935         (int_retval): Likewise.
55936         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55937         macro.
55938         (pltexit): Likewise.
55939         (La_regs): Likewise.
55940         (La_retval): Likewise.
55941         (int_retval): Likewise.
55942         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55943         macro definitions in tst-audit.h.
55944         * sysdeps/i386/tst-audit.h: New file.
55945         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55946         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55947         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55948         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55949         * sysdeps/sh/tst-audit.h: Likewise.
55950         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55951         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55952         * sysdeps/x86_64/tst-audit.h: Likewise.
55954 2012-07-26  Andreas Jaeger  <aj@suse.de>
55956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55957         ptrace.
55959         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55960         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55961         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55962         PTRACE_O_MASK.
55963         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55964         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55965         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55967         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55968         value.
55970         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55971         _sigsys.
55972         (si_call_addr, si_syscall, si_arch): Define new macro.
55973         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55974         _sigsys.
55975         (si_call_addr, si_syscall, si_arch): Define new marcro.
55976         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55977         _sigsys.
55978         (si_call_addr, si_syscall, si_arch): Define new macro.
55979         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55980         _sigsys.
55981         (si_call_addr, si_syscall, si_arch): Define new macro.
55983 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55985         [BZ #13717]
55986         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55987         Change to 2.4.21 where previously 2.4.1.
55988         * sysdeps/unix/sysv/linux/configure: Regenerated.
55989         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55990         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55991         Linux kernel version.
55992         (__ASSUME_STD_AUXV): Remove.
55993         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55994         kernel version.
55995         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55996         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55997         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55998         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55999         (__ASSUME_NETLINK_SUPPORT): Likewise.
56000         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56001         (__no_netlink_support): Remove conditional definition.
56002         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56003         Remove.
56004         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56005         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56006         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56007         (if_nameindex_ioctl): Remove.
56008         (if_nameindex_netlink): Do not handle __no_netlink_support.
56009         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56010         code.
56011         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56012         Remove conditional code.
56013         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56014         code.
56015         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56016         unconditional.
56017         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56018         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56019         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56020         Remove.
56021         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56022         [!__ASSUME_STD_AUXV]: Remove conditional code.
56023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56024         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56025         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56027         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56028         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56029         code.
56030         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56032         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56034         conditional code.
56035         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56037         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56038         code.
56039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56040         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56041         conditional code.
56042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56043         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56044         code unconditional.
56045         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56046         conditional code.
56047         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56048         unconditional.
56049         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56050         conditional code.
56051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56052         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56053         unconditional.
56054         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56055         conditional code.
56056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56057         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56058         code unconditional.
56059         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56060         conditional code.
56061         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56062         unconditional.
56063         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56064         conditional code.
56065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56066         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56067         code unconditional.
56068         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56069         conditional code.
56070         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56071         unconditional.
56072         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56073         conditional code.
56075 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56077         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56078         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56079         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56080         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56081         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56082         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56083         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56084         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56085         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56086         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56087         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56088         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56089         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56090         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56091         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56092         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56093         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56094         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56095         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56097         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56098         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56101 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56103         * Versions.def: Add GLIBC_2.17.
56104         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56105         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56106         Introduce __libc_secure_getenv.
56107         * stdlib/Versions (2.17): Add secure_getenv
56108         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56109         * stdlib/secure-getenv.c: Rename __secure_getenv to
56110         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56111         symbol __secure_getenv for GLIBC_2.0.
56112         * stdlib/tst-secure-getenv.c: New.
56113         * stdlib/Makefile (tests): Add testcase.
56114         * manual/startup.texi (Environment Access): Document
56115         secure_getenv.
56116         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56117         __libc_secure_getenv.
56118         * inet/ruserpass.c (ruserpass): Likewise.
56119         * malloc/mtrace.c (mtrace): Likewise.
56120         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56121         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56122         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56123         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56124         HAVE_SECURE_GETENV.
56125         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56126         __secure_getenv to __libc_secure_getenv.
56127         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56129         Likewise.
56130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56131         Likewise.
56132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56140 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56142         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56143         (struct La_i86_retval): Likewise.
56144         (struct La_x86_64_regs): Likewise.
56145         (struct La_x86_64_retval): Likewise.
56146         (struct La_x32_regs): Likewise.
56147         (struct La_x32_retval): Likewise.
56148         (struct La_ppc32_regs): Likewise.
56149         (struct La_ppc32_retval): Likewise.
56150         (struct La_ppc64_regs): Likewise.
56151         (struct La_ppc64_retval): Likewise.
56152         (struct La_sh_regs): Likewise.
56153         (struct La_sh_retval): Likewise.
56154         (struct La_s390_32_regs): Likewise.
56155         (struct La_s390_32_retval): Likewise.
56156         (struct La_s390_64_regs): Likewise.
56157         (struct La_s390_64_retval): Likewise.
56158         (struct La_sparc32_regs): Likewise.
56159         (struct La_sparc32_retval): Likewise.
56160         (struct La_sparc64_regs): Likewise.
56161         (struct La_sparc64_retval): Likewise.
56162         (struct audit_ifaces): Remove architecture-specific pltenter and
56163         pltexit members.
56164         * sysdeps/i386/ldsodefs.h: New file.
56165         * sysdeps/powerpc/ldsodefs.h: Likewise.
56166         * sysdeps/s390/ldsodefs.h: Likewise.
56167         * sysdeps/sh/ldsodefs.h: Likewise.
56168         * sysdeps/sparc/ldsodefs.h: Likewise.
56169         * sysdeps/x86_64/ldsodefs.h: Likewise.
56171 2012-07-25  Marek Polacek  <polacek@redhat.com>
56173         [BZ #6808]
56174         * math/libm-test.inc (yn_test): Add another test.
56175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56176         to ERANGE when the result is +-Inf.
56177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56178         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56179         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56180         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56182 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56184         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56185         equal to 0.
56186         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56187         clock_t.
56188         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56190 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56192         * configure.in <sysdeps resolving>: Correct printing
56193         Implies_before.
56194         * configure: Regenerate.
56196 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56198         * math/w_ilogb.c: Include <limits.h>.
56199         * math/w_ilogbl.c: Likewise.
56201 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56203         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56204         va_copy.  Document allowing for unavailable va_copy only as
56205         pre-C99 compatibility.
56206         * manual/string.texi (Copying and Concatenation): Use va_copy
56207         instead of __va_copy in concat example.
56209 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56211         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56212         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56213         it if not null.
56215         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56216         with O_NOLINK passed to __file_name_lookup.
56218         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56219         with O_NOLINK passed to __file_name_lookup.
56221         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56222         negative N or less than NGIDS.
56224         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56225         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56226         enough.  Use memcpy instead of strncpy.
56228 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56230         * elf/Makefile (check-data): Remove.
56231         (localplt.data): New vpath directive.
56232         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56233         instead of $(check-data).
56234         * scripts/data/localplt-generic.data: Move to ...
56235         * sysdeps/generic/localplt.data: ... here.
56236         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56238         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56240         ... here.
56241         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56243         ... here.
56244         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56246         ... here.
56247         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56249         ... here.
56250         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56252         ... here.
56253         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56255         ... here.
56257 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56259         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56260         PPC32 and PPC64 files.
56261         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56262         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56264 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56266         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56267         __makecontext_ret to ...
56268         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56269         ... here and call exit if uc_link is NULL.  New file.
56270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56271         __makecontext_ret.S.
56272         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56273         __makecontext_ret to ...
56274         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56275         ... here and call exit if uc_link is NULL.  New file.
56276         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56277         __makecontext_ret.S.
56279 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56281         * elf/elf.h (R_390_IRELATIVE): New definition.
56282         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56283         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56284         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56286         (elf_machine_lazy_rel): Likewise.
56287         * sysdeps/s390/dl-irel.h: New file.
56288         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56289         * sysdeps/s390/s390-64/memset.S: New asm code.
56290         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56291         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56292         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56293         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56294         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56295         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56297         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56298         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56299         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56300         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56301         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56302         * sysdeps/s390/s390-32/memset.S: New asm code.
56303         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56305 2012-07-17  Marek Polacek  <polacek@redhat.com>
56307         [BZ #14349]
56308         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56309         * sysdeps/s390/s390-64/configure.in: Likewise.
56310         * sysdeps/sparc/configure.in: Likewise.
56311         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56312         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56313         * sysdeps/i386/configure.in: Likewise.
56314         * sysdeps/x86_64/configure.in: Likewise.
56315         * sysdeps/sh/configure.in: Likewise.
56316         * sysdeps/s390/s390-32/configure: Regenerated.
56317         * sysdeps/s390/s390-64/configure: Likewise.
56318         * sysdeps/x86_64/configure: Likewise.
56319         * sysdeps/sh/configure: Likewise.
56320         * sysdeps/powerpc/powerpc64/configure: Likewise.
56321         * sysdeps/powerpc/powerpc32/configure: Likewise.
56322         * sysdeps/sparc/configure: Likwise.
56323         * sysdeps/i386/configure: Likewise.
56325         * elf/dl-open.c: Comment fixes.
56327 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56329         * Makefile [CXX] (check-data): Remove.
56330         [CXX] (c++-types.data): New vpath directive.
56331         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56332         vpath.  Do not allow for C++ type data being missing.
56333         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56334         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56335         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56336         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56337         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56338         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56339         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56341         ... here.
56342         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56344         ... here.
56345         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56347         ... here.
56348         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56350         ... here.
56351         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56353         ... here.
56354         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56356         ... here.
56357         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56359         ... here.
56360         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56363         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56364         definitions to architecture-specific files.
56365         (TLS_IE): Likewise.
56366         (TLS_LD): Likewise.
56367         (TLS_GD): Likewise.
56368         * sysdeps/i386/tls-macros.h: New file.
56369         * sysdeps/powerpc/tls-macros.h: Likewise.
56370         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56371         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56372         * sysdeps/sh/tls-macros.h: Likewise.
56373         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56374         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56375         * sysdeps/x86_64/tls-macros.h: Likewise.
56377 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56380         zero value for regular exit case.
56382         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56383         (__start_context): Preserve zero value for regular exit case.
56385 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56386             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56388         * manual/setjmp.texi (setcontext): Clarify normal process
56389         termination when uc_link is the null pointer.
56390         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56391         exit call.
56393 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56395         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56396         preprocessor.  Test for each exception mask separately.
56398 2012-07-16  Andreas Jaeger  <aj@suse.de>
56400         * po/ru.po: Update from translation team.
56402 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56404         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56405         equal to 0.
56406         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56407         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56408         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56409         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56412 2012-07-13  Andreas Jaeger  <aj@suse.de>
56414         * po/fr.po: Update from translation team.
56416 2012-07-12  Marek Polacek  <polacek@redhat.com>
56418         [BZ #14173]
56419         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56420         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56421         loop condition.
56423 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56425         [BZ #13717]
56426         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56427         Change to 2.4.1 where previously 2.4.0.
56428         * sysdeps/unix/sysv/linux/configure: Regenerated.
56429         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56430         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56431         version.
56432         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56433         (__ASSUME_AT_CLKTCK): Remove.
56434         (__ASSUME_AT_PAGESIZE): Likewise.
56435         (__ASSUME_AT_XID): Likewise.
56436         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56437         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56438         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56439         unconditionally.
56440         (HAVE_AUX_PAGESIZE): Likewise.
56441         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56442         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56443         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56445 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56447         [BZ #14307]
56448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56449         the temporary buffer used to invoke __gethostbyname2_r,
56450         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56451         host_data / struct gaih_addrtuple.
56452         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56453         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56454         header file nss/nsswitch.h.
56455         * nss/nsswitch.h (global scope): Add definition of implementation
56456         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56457         resolv/nss_dns/dns-host.c).
56459 2012-07-11  Andreas Jaeger  <aj@suse.de>
56461         * po/fr.po: Update from translation team.
56463         * po/sv.po: Update from translation team
56464         * po/fr.po: Another update from translation team.
56466 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56469         for subnormals or multiply small sinh result by itself.
56470         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56473 2012-07-11  David S. Miller  <davem@davemloft.net>
56475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56477 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56479         [BZ #14347]
56480         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56481         (INTERNAL_MARK): Shift it here.
56483 2012-07-10  Marek Polacek  <polacek@redhat.com>
56485         [BZ #14151]
56486         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56487         libc_cv_asm_global_directive with .globl.
56488         * configure: Regenerated.
56489         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56490         with .globl.
56491         * sysdeps/i386/configure: Regenerated.
56492         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56493         with .globl.
56494         * sysdeps/x86_64/configure: Regenerated.
56495         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56496         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56497         * elf/tst-unique2mod2.c: Likewise.
56498         * elf/tst-unique2mod1.c: Likewise.
56499         * elf/tst-unique1mod2.c: Likewise.
56500         * elf/tst-unique1mod1.c: Likewise.
56501         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56502         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56503         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56504         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56505         * sysdeps/mach/sysdep.h: Likewise.
56506         * sysdeps/i386/sysdep.h: Likewise.
56507         * sysdeps/i386/i386-mcount.S: Likewise.
56508         * sysdeps/x86_64/_mcount.S: Likewise.
56509         * sysdeps/x86_64/sysdep.h: Likewise.
56510         * sysdeps/sh/_mcount.S: Likewise.
56511         * sysdeps/sh/sysdep.h: Likewise.
56512         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56513         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56514         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56516         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56517         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56518         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56519         * locale/localeinfo.h: Likewise.
56520         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56521         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56523 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56525         [BZ #14336]
56526         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56527         system".
56528         * manual/message.texi (The Uniforum approach): Likewise.
56529         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56530         (glibc iconv Implementation): Likewise.
56532 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56534         [BZ #14337]
56535         * math/s_clog.c (__clog): Avoid scaling a value down where that
56536         could result in underflow.
56537         * math/s_clog10.c (__clog10): Likewise.
56538         * math/s_clog10f.c (__clog10f): Likewise.
56539         * math/s_clog10l.c (__clog10l): Likewise.
56540         * math/s_clogf.c (__clogf): Likewise.
56541         * math/s_clogl.c (__clogl): Likewise.
56542         * math/libm-test.inc (clog_test): Add more tests.
56543         (clog10_test): Likewise.
56544         * sysdeps/i386/fpu/libm-test-ulps: Update.
56545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56547 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56549         [BZ #14283]
56550         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56551         by 7 not 8 to examine high bit of fractional part.
56553         [BZ #14042]
56554         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56555         for call to __mcount_internal.
56556         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56557         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56558         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56560 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56562         [BZ #14154]
56563         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56564         approximation for values within 0x1p-13f of an odd multiple of
56565         pi/4.
56566         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56567         exception.  Add more tests.
56568         * sysdeps/i386/fpu/libm-test-ulps: Update.
56570         [BZ #6778]
56571         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56572         inputs and return -1 for them.  Do not check for +Inf in case not
56573         reachable for +Inf.
56574         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56575         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56576         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56577         and return -1 for them.  Do not check for +Inf in case not
56578         reachable for +Inf.
56579         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56580         define.
56581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56582         and return -1 for them.  Do not check for +Inf in case not
56583         reachable for +Inf.
56584         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56585         spurious underflow.
56586         * sysdeps/i386/fpu/libm-test-ulps: Update.
56587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56589 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56591         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56593 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56595         [BZ #14157]
56596         [BZ #14331]
56597         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56598         could result in spurious underflow.  Scale down values above
56599         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56600         * math/s_csqrtf.c (__csqrtf): Likewise.
56601         * math/s_csqrtl.c (__csqrtl): Likewise.
56602         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56603         spurious underflow.
56604         * sysdeps/i386/fpu/libm-test-ulps: Update.
56605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56607 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56609         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56610         xopen-msg.sed.
56611         * catgets/xopen-msg.awk: New file.
56612         * catgets/xopen-msg.sed: Removed.
56614         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56615         po2text.sed.
56616         * intl/po2test.awk: New file.
56617         * intl/po2test.sed: Removed.
56619 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56621         [BZ #14328]
56622         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56623         or multiply small sinh result by itself.
56624         * math/s_ctanf.c (__ctanf): Likewise.
56625         * math/s_ctanh.c (__ctanh): Likewise.
56626         * math/s_ctanhf.c (__ctanhf): Likewise.
56627         * math/s_ctanhl.c (__ctanhl): Likewise.
56628         * math/s_ctanl.c (__ctanl): Likewise.
56629         * math/libm-test.inc (ctan_test_tonearest): New function.
56630         (ctan_test_towardzero): Likewise.
56631         (ctan_test_downward): Likewise.
56632         (ctan_test_upward): Likewise.
56633         (ctanh_test_tonearest): Likewise.
56634         (ctanh_test_towardzero): Likewise.
56635         (ctanh_test_downward): Likewise.
56636         (ctanh_test_upward): Likewise.
56637         (main): Call these new functions.
56638         * sysdeps/i386/fpu/libm-test-ulps: Update.
56639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56641 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56643         * .gitignore: Delete /ports entry.
56645 2012-07-03  Andreas Jaeger  <aj@suse.de>
56647         * po/bg.po: Update from translation team.
56648         * po/cs.po: Likewise.
56649         * po/de.po: Likewise.
56650         * po/hr.po: Likewise.
56651         * po/nl.pl: Likewise.
56652         * po/pl.po: Likewise.
56653         * po/vi.po: Likewise.
56655 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56657         * Makeconfig [!+link] (+link-before-libc): New variable.
56658         [!+link] (+link-after-libc): Likewise.
56659         [!+link] (+link-tests): Likewise.
56660         [!+link] (+link): Define in terms of $(+link-before-libc) and
56661         $(+link-after-libc).
56662         [!+link-static] (+link-static-before-libc): New variable.
56663         [!+link-static] (+link-static-after-libc): Likewise.
56664         [!+link-static] (+link-static-tests): Likewise.
56665         [!+link-static] (+link-static): Define in terms of
56666         $(+link-static-before-libc) and $(+link-static-after-libc).
56667         [build-shared] (link-libc-before-gnulib): New variable.
56668         [build-shared] (link-libc-tests): Likewise.
56669         [build-shared] (link-libc): Define in terms of
56670         $(link-libc-before-gnulib).
56671         [!build-shared] (link-libc-tests): New variable.
56672         (link-libc-static-tests): New variable.
56673         [!gnulib] (gnulib-arch): New variable.
56674         [!gnulib] (gnulib-tests): Likewise.
56675         [!gnulib] (static-gnulib-arch): Likewise.
56676         [!gnulib] (static-gnulib-tests): Likewise.
56677         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56678         Define with "=" instead of ":=".
56679         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56680         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56681         * Rules (binaries-all-notests): New variable.
56682         (binaries-all-tests): Likewise.
56683         (binaries-static-notests): Likewise.
56684         (binaries-static-tests): Likewise.
56685         (binaries-all): Define using $(binaries-all-notests) and
56686         $(binaries-all-tests).
56687         (binaries-static): Define using $(binaries-static-notests) and
56688         $(binaries-static-tests).
56689         (binaries-shared-tests): New variable.
56690         (binaries-shared-notests): Likewise.
56691         (binaries-shared): Remove variable.
56692         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56693         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56694         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56695         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56696         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56697         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56698         * elf/Makefile (sln-modules): New variable.
56699         (extra-objs): Add $(sln-modules:=.o).
56700         (ldconfig-modules): Add static-stubs.
56701         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56702         * elf/static-stubs.c: New file.
56704         [BZ #14283]
56705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56706         by 7 not 8 to examine high bit of fractional part.  Use volatile
56707         variables when splitting into final array of floats if
56708         __FLT_EVAL_METHOD__ != 0.
56709         * math/libm-test.inc (cos_test): Add another test.
56710         (sin_test): Likewise.
56711         * sysdeps/i386/fpu/libm-test-ulps: Update.
56713         [BZ #14273]
56714         * math/libm-test.inc (cosh_test): Add more tests.
56716         * version.h (RELEASE): Set to "development".
56717         (VERSION): Set to "2.16.90".
56719 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56721         * NEWS: Update copyright. Remove last-updated date.
56722         Mention math library bug fixes and timezone data changes.
56723         * README: Mention GNU/Hurd, x32, and HPPA support status.
56725 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56727         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56729 2012-06-27  Andreas Jaeger  <aj@suse.de>
56731         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56733 2012-06-25  Andreas Jaeger  <aj@suse.de>
56735         * sysdeps/s390/fpu/libm-test-ulps: Update.
56737 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56738             Thomas Schwinge  <thomas@codesourcery.com>
56740         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56741         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56742         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56743         fanotify_mark.
56745 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56747         * sysdeps/mach/start.c: Remove file.
56748         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56749         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56750         * sysdeps/sh/init-first.c: Likewise.
56752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56753         registers for frame unwinding purposes, add CFI directives.
56754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56755         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56756         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56757         Likewise.
56759         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56760         __fortify_fail returning.
56761         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56763         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56764         sysdeps/sh/____longjmp_chk.S.
56765         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56766         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56767         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56768         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56770         * sysdeps/sh/abort-instr.h: New file.
56771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56772         process in case exit returns.
56774         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56775         initialize the GOT register before use.
56777         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56778         calculation of ARGC > 4.
56780         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56781         meaningful names to some local labels.
56783 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56784             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56786         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56787         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56788         (__arch_compare_and_exchange_val_16_acq): Likewise.
56789         (__arch_compare_and_exchange_val_32_acq): Likewise.
56790         (atomic_exchange_and_add): Fix gUSA sequence.
56791         (atomic_add): Likewise.
56792         (atomic_add_negative): Likewise.
56793         (atomic_add_zero): Likewise.
56794         (atomic_bit_test_set): Likewise.
56796 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56798         [BZ #13579]
56799         * include/link.h (struct link_map): Add l_free_initfini.
56800         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56801         l_initfini.
56802         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56803         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56804         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56805         set.
56807 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56809         * configure.in: Use AC_LANG_SOURCE.
56810         * configure: Regenerate.
56812 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56814         * configure.in (libc_cv_localstatedir): New substituted variable.
56815         * configure: Regenerated.
56816         * config.make.in (localstatedir): New variable, substituted from
56817         libc_cv_localstatedir.
56818         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56819         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56820         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56821         * sysdeps/gnu/configure: Regenerated.
56823 2012-06-21  Jeff Law  <law@redhat.com>
56825         [BZ #14277]
56826         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56827         free.  Simplify list management for _LIBC case.
56829 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56831         [BZ #14273]
56832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56833         Clear sign bit of 64-bit integer value before comparing against
56834         overflow value.
56836         * sysdeps/mach/configure: Regenerated.
56838 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56840         [BZ #14278]
56841         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56843 2012-06-21  Jeff Law  <law@redhat.com>
56845         [BZ #13882]
56846         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56847         uint16_t for elements in the "seen" array to avoid char overflows.
56848         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56849         * elf/dl-open.c (dl_open_worker): Likewise.
56851 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56853         * scripts/list-sources.sh: Scan PORTS for translations.
56854         * po/libc.pot: Regenerated.
56856 2012-06-21  Andreas Jaeger  <aj@suse.de>
56858         [BZ #12194]
56859         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56860         warning.
56861         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56862         * bits/byteswap-16.h (__bswap_16): Likewise.
56863         * bits/byteswap.h (__bswap_constant_16): Likewise.
56865 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56867         [BZ #14117]
56868         * sysdeps/i386/fpu_control.h: Removed.
56869         * sysdeps/x86_64/fpu_control.h: Moved to ...
56870         * sysdeps/x86/fpu_control.h: Here.
56872         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56873         (_FPU_SETCW): Likewise.
56875 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56877         [BZ #14117]
56878         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56879         * sysdeps/x86/fpu/bits/mathinline.h: This.
56880         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56882         [BZ #14050]
56883         [BZ #14117]
56884         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56885         functions if __x86_64__ is defined.
56887 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56889         * string/endian.h: Add !__ASSEMBLER__ condition for including
56890         conversion interfaces.
56892 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56894         [BZ #14241]
56895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56896         of ABS(x) in calculating zero to negative powers other than odd
56897         integers.
56898         * math/libm-test.inc (pow_test): Add more tests.
56900 2012-06-15  Andreas Jaeger  <aj@suse.de>
56902         * manual/contrib.texi (Contributors): Update entry of Liubov
56903         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56904         Machado Filho.
56906 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56908         * string/string.h: Add __wur to GNU version of strerror_r.
56910 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56912         [BZ #14229]
56913         * string/Makefile (tests): Add tst-strtok_r.
56914         * string/tst-strtok_r.c: New file.
56915         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56916         RAX_LP/RDX_LP on SAVE_PTR.
56918 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56920         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56922 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56924         * libm_test.inc (csqrt_test): Allow more spurious underflow
56925         exceptions.
56926         (j0_test): Likewise.
56927         (j1_test): Likewise.
56928         (y0_test): Likewise.
56929         (y1_test): Likewise.
56931 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56933         * po/Makefile (libc.pot): Use UTF-8 charset.
56935 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56937         [BZ #14210]
56938         Suppress sign-conversion warning from FD_SET.
56939         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56940         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56941         not unsigned long int.
56942         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56944 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56946         [BZ #14050]
56947         [BZ #14117]
56948         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56949         __extern_always_inline instead of __extern_inline.
56950         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56951         (__signbit): Likewise.
56952         (__signbitl): Support C++ namespace.
56953         (lrintf): New inline function.
56954         (lrint): Likewise.
56955         (llrintf): Likewise.
56956         (llrint): Likewise.
56957         (fmaxf): Likewise.
56958         (fmax): Likewise.
56959         (fminf): Likewise.
56960         (fmin): Likewise.
56961         (rint): Likewise.
56962         (rintf): Likewise.
56963         (ceil): Likewise.
56964         (ceilf): Likewise.
56965         (floor): Likewise.
56966         (floorf): Likewise.
56967         (nearbyint): Likewise.
56968         (nearbyintf): Likewise.
56970 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56972         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56973         non-default versions.
56975 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56977         [BZ #14218]
56978         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56980 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56982         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56983         (FE_UPWARD, FE_DOWNWARD): Don't define.
56984         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56987         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56988         reading it.
56989         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56990         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56992 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56996         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56997         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56999 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57001         [BZ #14117]
57002         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57003         * sysdeps/i386/fpu/Implies: New file.
57004         * sysdeps/x86_64/fpu/Implies: Likewise.
57005         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57006         * sysdeps/x86/fpu/bits/fenv.h: This.
57008         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57009         __SSE_MATH__.
57011 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57013         [BZ #14134]
57014         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57015         character 0xffff that matches the last element of the
57016         conversion table.
57018 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57021         fmodl commit.
57023 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57026         values higher than 25.6283.
57028 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57030         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57031         subnormal exponent extraction and add some __builtin_expect.
57032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57033         Fix for subnormal mantissa calculation.
57035 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57037         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57038         cpu2 is -1 and errno is not ENOSYS.
57040 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57042         [BZ #14117]
57043         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57044         * sysdeps/x86/bits/string.h: This.
57045         * sysdeps/x86_64/bits/string.h: Removed.
57047         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57048         if not compiling for x86-64, but compiling for >= i486.
57050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57051         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57053         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57054         New macro from Linux kernel 3.4.0.
57055         (FP_XSTATE_MAGIC2): Likewise.
57056         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57057         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57058         (struct _fpx_sw_bytes): New struct.
57059         (struct _xsave_hdr): Likewise.
57060         (struct _ymmh_state): Likewise.
57061         (struct _xstate): Likewise.
57063         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57064         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57065         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57066         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57067         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57068         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57070         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57071         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57072         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57073         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57074         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57075         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57077 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57079         [BZ #13743]
57080         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57081         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57082         (sysdep_headers): Include sys/platform/ppc.h.
57083         * sysdeps/powerpc/test-gettimebase.c: Test for
57084         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57085         * manual/Makefile (appendices): Include platform.texi.
57086         * manual/contrib.texi (Contributors): Update @node pointers.
57087         * manual/maint.texi (Maintenance): Likewise.
57088         (Platform): New node.
57089         * manual/platform.texi: New file.  Document the new features.
57091 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57092             Jakub Jelinek  <jakub@redhat.com>
57094         [BZ #14188]
57095         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57096         where __builtin_expect is unavailable.
57098 2012-06-03  David S. Miller  <davem@davemloft.net>
57100         * stdlib/longlong.h: Updated from GCC.
57102 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57104         [BZ #14042]
57105         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57106         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57107         __mcount_internal.
57108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57109         (GLIBC_2.16): Likewise.
57111 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57118         (default-abi): New variable.
57119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57120         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57121         variable.
57122         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57123         Likewise.
57124         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57125         Likewise.
57126         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57127         Likewise.
57129         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57130         definition.  Document in comment.
57132 2012-06-01  David S. Miller  <davem@davemloft.net>
57134         * stdlib/longlong.h: Updated from GCC.
57136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57138         [BZ #14117]
57139         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57140         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57141         sys/debugreg.h sys/io.h here.
57142         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57143         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57144         sys/io.h.
57145         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57146         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57147         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57148         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57149         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57150         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57153         Define only if __x86_64__ is defined.
57155 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57157         [BZ #14048]
57158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57159         Use int64_t for variable i.
57160         * math/libm-test.inc (fmod_test): Add more tests.
57162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57163         z computation is not scheduled after fetestexcept.
57164         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57165         Use math_force_eval instead of asm to ensure calculation scheduled
57166         before exception test.
57167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57168         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57170 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57173         computation is not scheduled after fetestexcept.
57175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57177         [BZ #14117]
57178         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57179         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57181 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57183         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57184         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57186 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57188         [BZ #14117]
57189         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57190         <bits/wordsize.h>.
57191         (__WCHAR_MIN): Support __WORDSIZE == 64.
57192         (__WCHAR_MAX): Likewise.
57194         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57197         [BZ #14183]
57198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57199         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57201         [BZ #14117]
57202         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57206         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57209         Defined to 1 if __x86_64__ isn't defined.
57210         (_STAT_VER_LINUX_OLD): New.
57211         (st_atime): Remove duplicate.
57212         (st_mtime): Likewise.
57213         (st_ctime): Likewise.
57215 2012-05-31  David S. Miller  <davem@davemloft.net>
57217         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57218         entries.
57220 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57222         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57223         gen-libm-test.pl.
57225         [BZ #14132]
57226         * elf/dl-reloc.c: Include <_itoa.h>.
57227         (_dl_reloc_bad_type): Remove use of INTUSE.
57228         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57229         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57230         * stdio-common/psiginfo.c (psiginfo): Likewise.
57231         * stdio-common/psignal.c (psignal): Likewise.
57232         * string/strsignal.c (strsignal): Likewise.
57233         * include/signal.h (_sys_siglist): Declare hidden proto.
57234         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57235         INTVARDEF with libc_hidden_data_def.
57236         * stdio-common/itoa-udigits.c: Likewise.
57237         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57238         (_itoa_lower_digits_internal): Remove declaration.
57239         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57240         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57241         (_sys_sigabbrev_internal): Remove aliases.
57242         (_sys_siglist): Define hidden alias.
57244 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57247         bits/sysctl.h.
57249 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57251         [BZ #14117]
57252         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57253         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57255         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57256         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57257         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57258         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57259         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57260         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57262         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57263         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57264         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57266         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57267         with __addr.
57268         (insw): Likewise.
57269         (insl): Likewise.
57270         (outsb): Likewise.
57271         (outsw): Likewise.
57272         (outsl): Likewise.
57274         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57275         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57276         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57278         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57279         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57280         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57281         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57282         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57283         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57285         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57286         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57288         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57289         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57293         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57295         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57296         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57297         to ...
57298         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57300         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57301         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57302         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57304         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57305         for x86-64.
57306         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57308 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57310         * math/math.h (M_El): Use two more decimal places.
57311         (M_LOG2El): Likewise.
57312         (M_LOG10El): Likewise.
57313         (M_LN2l): Likewise.
57314         (M_LN10l): Likewise.
57315         (M_PIl): Likewise.
57316         (M_PI_2l): Likewise.
57317         (M_PI_4l): Likewise.
57318         (M_1_PIl): Likewise.
57319         (M_2_PIl): Likewise.
57320         (M_2_SQRTPIl): Likewise.
57321         (M_SQRT2l): Likewise.
57322         (M_SQRT1_2l): Likewise.
57324 2012-05-31  David S. Miller  <davem@davemloft.net>
57326         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57327         values between float registers.
57328         * sysdeps/sparc/sparc64/memset.S: Likewise.
57329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57331 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57333         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57334         -D_FORTIFY_SOURCE=1.
57335         (CPPFLAGS-tst-longjmp_chk.c): Define.
57336         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57337         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57338         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57339         CFLAGS-tst-wchar-h.c.
57341 2012-05-31  Marek Polacek  <polacek@redhat.com>
57343         [BZ #14132]
57344         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57345         __endmntent_internal): Remove declaration.
57346         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57347         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57348         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57350 2012-05-30  David S. Miller  <davem@davemloft.net>
57352         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57353         (___Q_simulate_exceptions): Use real FP ops rather than writing
57354         into the %fsr.
57355         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57356         Likewise.
57358 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57360         [BZ #14117]
57361         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57362         * sysdeps/x86/bits/xtitypes.h: This.
57364         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57365         * sysdeps/x86/bits/wordsize.h: This.
57367         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57368         * sysdeps/x86/bits/huge_vall.h: This.
57370         * sysdeps/i386/bits/select.h: Removed.
57371         * sysdeps/x86_64/bits/select.h: Renamed to ...
57372         * sysdeps/x86/bits/select.h: This.
57374         * sysdeps/i386/bits/setjmp.h: Removed.
57375         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57376         * sysdeps/x86/bits/setjmp.h: This.
57378         * sysdeps/i386/bits/mathdef.h: Removed.
57379         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57380         * sysdeps/x86/bits/mathdef.h: This.
57382 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57384         [BZ #14132]
57385         * include/sys/socket.h (__connect_internal)
57386         (__libc_sa_len_internal): Remove declaration.
57387         (__connect, __libc_sa_len): Declare hidden_proto.
57388         (SA_LEN): Remove use of INTUSE.
57389         * socket/connect.c: Add libc_hidden_def.
57390         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57391         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57392         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57393         alias.
57394         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57395         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57396         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57397         of adding _internal alias.
57399 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57401         [BZ #14117]
57402         * sysdeps/i386/bits/link.h: Removed.
57403         * sysdeps/i386/bits/linkmap.h: Likewise.
57404         * sysdeps/x86_64/bits/link.h: Renamed to ...
57405         * sysdeps/x86/bits/link.h: This.
57406         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57407         * sysdeps/x86/bits/linkmap.h: This.
57409         * sysdeps/i386/bits/endian.h: Removed.
57410         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57411         * sysdeps/x86/bits/endian.h: This.
57413         * sysdeps/i386/bits/byteswap.h: Removed.
57414         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57415         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57416         * sysdeps/x86/bits/byteswap.h: This.
57417         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57418         * sysdeps/x86/bits/byteswap-16.h: This.
57419         * sysdeps/i386/Implies: Add x86.
57420         * sysdeps/x86_64/Implies: Likewise.
57422 2012-05-30  David S. Miller  <davem@davemloft.net>
57424         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57425         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57427         (FP_TRAPPING_EXCEPTIONS): Define.
57428         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57429         (FP_TRAPPING_EXCEPTIONS): Define.
57430         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57431         subnormals only when inexact has been signalled or underflow
57432         exceptions are enabled.
57433         (_FP_PACK_CANONICAL): Likewise.
57435 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57437         [BZ #14183]
57438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57439         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57441 2012-05-30  Richard Henderson  <rth@twiddle.net>
57443         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57444         with #ifndef NOT_IN_libc.
57446         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57447         marked to avoid plt entry.
57449 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57451         [BZ #14112]
57452         * Makeconfig (default-abi): New macro.
57453         (abi-includes): Likewise.
57454         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57455         $(abi-$(default-abi)-lib-soname) for soname if defined.
57456         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57457         abi-variants.
57458         * Makefile (installed-stubs): Likewise.
57459         * include/stubs-biarch.h: Removed.
57460         * scripts/lib-names.awk: Only handle one library at a time.
57461         * scripts/soversions.awk: Remove WORDSIZE support.
57462         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57463         entries.
57464         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57465         Removed.
57466         (syscall-list-default-condition): Likewise.
57467         (syscall-list-default-condition): Likewise.
57468         (syscall-list-includes): Likewise.
57469         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57470         syscall-list-* with abi-*.  Handle undefined abi-variants.
57471         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57472         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57473         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57474         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57475         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57476         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57477         Removed.
57478         (syscall-list-32-options): Likewise.
57479         (syscall-list-32-condition): Likewise.
57480         (syscall-list-64-options): Likewise.
57481         (syscall-list-64-condition): Likewise.
57482         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57483         macro.
57484         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57485         Renamed to ...
57486         (abi-*): This.
57487         (abi-64-ld-soname): New macro.
57488         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57489         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57490         Renamed to ...
57491         (abi-*): This.
57492         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57493         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57495 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57497         * sysdeps/unix/sysv/linux/kernel-features.h
57498         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57499         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57500         include <kernel-features.h>.
57501         [!__NR_ftruncate64]: Remove conditional code.
57502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57503         [__NR_ftruncate64]: Make code unconditional.
57504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57505         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57506         include <kernel-features.h>.
57507         [!__NR_ftruncate64]: Remove conditional code.
57508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57509         [__NR_ftruncate64]: Make code unconditional.
57510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57512         include <kernel-features.h>.
57513         [!__NR_ftruncate64]: Remove conditional code.
57514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57515         [__NR_ftruncate64]: Make code unconditional.
57516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57518         include <kernel-features.h>.
57519         [!__NR_ftruncate64]: Remove conditional code.
57520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57521         [__NR_ftruncate64]: Make code unconditional.
57522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57524         * configure.in (libc_cv_fpie): Weaken to a compile test using
57525         LIBC_TRY_CC_OPTION.
57526         * configure: Regenerated.
57528 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57534         Refreshed.
57535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57541         Refreshed.
57543 2012-05-27  David S. Miller  <davem@davemloft.net>
57545         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57546         (___Q_zero): New.
57547         (__Q_simulate_exceptions): Return void.  Change to simulate
57548         exceptions by writing into the %fsr.
57549         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57550         (__Qp_handle_exceptions): Likewise.
57551         (numbers): Delete.
57552         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57553         __Qp_handle_exceptions.
57554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57555         __Qp_handle_exceptions.
57556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57557         as unused and give dummy FP_RND_NEAREST initializer.
57558         (FP_INHIBIT_RESULTS): Define.
57559         (___Q_simulate_exceptions): Update declaration.
57560         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57561         formatting.
57562         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57563         as unused and give dummy FP_RND_NEAREST initializer.
57564         (__Qp_handle_exceptions): Update declaration.
57565         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57566         formatting.
57568 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57570         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57571         the temporary FPU control word.
57572         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57573         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57575         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57576         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57577         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57578         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57580         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57581         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57582         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57584 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57586         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57587         fields.
57589 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57591         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57592         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57593         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57594         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57595         Likewise.
57596         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57597         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57598         Likewise.
57600 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57602         * po/h.po: Update from translation team.
57604 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57606         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57608         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57609         handling of denormals.
57610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57611         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57612         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57613         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57615         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57617         Likewise.
57619 2012-05-26  Marek Polacek  <polacek@redhat.com>
57621         [BZ #14152]
57622         * math/libm-test.inc (fma_test): Don't always expect underflow
57623         exception.
57625 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57627         [BZ #12416]
57628         * elf/tst-execstack.c: Include stackinfo.h.
57629         (do_test): Adjust test case to ensure that pthread_getattr_np
57630         behaviour remains the same after marking stack executable.
57632 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57634         * sysdeps/unix/sysv/linux/kernel-features.h
57635         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57636         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57637         kernel-features.h.
57638         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57639         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57640         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57641         kernel-features.h.
57642         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57643         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57645 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57647         * configure.in: Define the default includes to being none.
57648         * configure: Regenerated.
57650 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57652         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57653         * sysdeps/x86_64/setjmp.S: Likewise.
57654         * sysdeps/i386/bsd-setjmp.S: Likewise.
57655         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57656         * sysdeps/i386/setjmp.S: Likewise.
57657         * sysdeps/i386/__longjmp.S: Likewise.
57658         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57659         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57661         * include/stap-probe.h: New file.
57662         * configure.in: Handle --enable-systemtap.
57663         * configure: Regenerated.
57664         * config.h.in (USE_STAP_PROBE): New #undef.
57665         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57666         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57667         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57669 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57671         [BZ #13717]
57672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57673         to 2.4.0 where earlier.
57674         * sysdeps/unix/sysv/linux/configure: Regenerated.
57675         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57676         <kernel-features.h>.
57677         [__ASSUME_32BITUIDS]: Make code unconditional.
57678         [!__ASSUME_32BITUIDS]: Remove conditional code.
57679         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57680         <kernel-features.h>.
57681         [__ASSUME_32BITUIDS]: Make code unconditional.
57682         [!__ASSUME_32BITUIDS]: Remove conditional code.
57683         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57684         [__ASSUME_32BITUIDS]: Make code unconditional.
57685         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57686         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57687         <kernel-features.h>.
57688         [__ASSUME_32BITUIDS]: Make code unconditional.
57689         [!__ASSUME_32BITUIDS]: Remove conditional code.
57690         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57691         <kernel-features.h>.
57692         [__ASSUME_32BITUIDS]: Make code unconditional.
57693         [!__ASSUME_32BITUIDS]: Remove conditional code.
57694         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57695         <kernel-features.h>.
57696         [__ASSUME_32BITUIDS]: Make code unconditional.
57697         [!__ASSUME_32BITUIDS]: Remove conditional code.
57698         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57699         <kernel-features.h>.
57700         [__ASSUME_32BITUIDS]: Make code unconditional.
57701         [!__ASSUME_32BITUIDS]: Remove conditional code.
57702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57703         <kernel-features.h>.
57704         [__ASSUME_32BITUIDS]: Make code unconditional.
57705         [!__ASSUME_32BITUIDS]: Remove conditional code.
57706         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57707         <kernel-features.h>.
57708         [__ASSUME_32BITUIDS]: Make code unconditional.
57709         [!__ASSUME_32BITUIDS]: Remove conditional code.
57710         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57711         <kernel-features.h>.
57712         [__ASSUME_32BITUIDS]: Make code unconditional.
57713         [!__ASSUME_32BITUIDS]: Remove conditional code.
57714         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57715         <kernel-features.h>.
57716         [__ASSUME_32BITUIDS]: Make code unconditional.
57717         [!__ASSUME_32BITUIDS]: Remove conditional code.
57718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57719         <kernel-features.h>.
57720         [__ASSUME_32BITUIDS]: Make code unconditional.
57721         [!__ASSUME_32BITUIDS]: Remove conditional code.
57722         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57723         <kernel-features.h>.
57724         [__ASSUME_32BITUIDS]: Make code unconditional.
57725         [!__ASSUME_32BITUIDS]: Remove conditional code.
57726         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57727         <kernel-features.h>.
57728         [__NR_setresgid] (__setresgid): Do not declare.
57729         [__ASSUME_32BITUIDS]: Make code unconditional.
57730         [!__ASSUME_32BITUIDS]: Remove conditional code.
57731         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57732         <kernel-features.h>.
57733         [__NR_setresuid] (__setresuid): Do not declare.
57734         [__ASSUME_32BITUIDS]: Make code unconditional.
57735         [!__ASSUME_32BITUIDS]: Remove conditional code.
57736         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57737         <kernel-features.h>.
57738         [__ASSUME_32BITUIDS]: Make code unconditional.
57739         [!__ASSUME_32BITUIDS]: Remove conditional code.
57740         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57741         <kernel-features.h>.
57742         [__ASSUME_32BITUIDS]: Make code unconditional.
57743         [!__ASSUME_32BITUIDS]: Remove conditional code.
57744         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57745         <kernel-features.h>.
57746         [__ASSUME_32BITUIDS]: Make code unconditional.
57747         [!__ASSUME_32BITUIDS]: Remove conditional code.
57748         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57749         <kernel-features.h>.
57750         [__ASSUME_32BITUIDS]: Make code unconditional.
57751         [!__ASSUME_32BITUIDS]: Remove conditional code.
57752         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57753         <kernel-features.h>.
57754         [__ASSUME_32BITUIDS]: Make code unconditional.
57755         [!__ASSUME_32BITUIDS]: Remove conditional code.
57756         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57757         <kernel-features.h>.
57758         [__ASSUME_32BITUIDS]: Make code unconditional.
57759         [!__ASSUME_32BITUIDS]: Remove conditional code.
57760         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57761         <kernel-features.h>.
57762         [__ASSUME_32BITUIDS]: Make code unconditional.
57763         [!__ASSUME_32BITUIDS]: Remove conditional code.
57764         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57765         <kernel-features.h>.
57766         [__ASSUME_32BITUIDS]: Make code unconditional.
57767         [!__ASSUME_32BITUIDS]: Remove conditional code.
57768         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57769         <kernel-features.h>.
57770         [__ASSUME_32BITUIDS]: Make code unconditional.
57771         [!__ASSUME_32BITUIDS]: Remove conditional code.
57772         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57773         <kernel-features.h>.
57774         [__ASSUME_32BITUIDS]: Make code unconditional.
57775         [!__ASSUME_32BITUIDS]: Remove conditional code.
57776         * sysdeps/unix/sysv/linux/kernel-features.h
57777         (__ASSUME_SETRESUID_SYSCALL): Remove.
57778         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57779         (__ASSUME_32BITUIDS): Likewise.
57780         (__ASSUME_LDT_WORKS): Likewise.
57781         (__ASSUME_O_DIRECTORY): Likewise.
57782         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57783         architecture but not kernel version.
57784         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57785         (__ASSUME_MMAP2_SYSCALL): Likewise.
57786         (__ASSUME_STAT64_SYSCALL): Likewise.
57787         (__ASSUME_IPC64): Likewise.
57788         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57789         <kernel-features.h>.
57790         [__ASSUME_32BITUIDS]: Make code unconditional.
57791         [!__ASSUME_32BITUIDS]: Remove conditional code.
57792         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57793         <kernel-features.h>.
57794         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57795         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57796         132096]: Remove conditional code.
57797         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57798         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57799         <kernel-features.h>.
57800         [__ASSUME_32BITUIDS]: Make code unconditional.
57801         [!__ASSUME_32BITUIDS]: Remove conditional code.
57802         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57803         <kernel-features.h>.
57804         [__ASSUME_32BITUIDS]: Make code unconditional.
57805         [!__ASSUME_32BITUIDS]: Remove conditional code.
57806         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57807         <kernel-features.h>.
57808         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57809         unconditional.
57810         (__setresgid): Do not declare.
57811         [__ASSUME_32BITUIDS]: Make code unconditional.
57812         [!__ASSUME_32BITUIDS]: Remove conditional code.
57813         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57814         <kernel-features.h>.
57815         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57816         unconditional.
57817         (__setresuid): Do not declare.
57818         [__ASSUME_32BITUIDS]: Make code unconditional.
57819         [!__ASSUME_32BITUIDS]: Remove conditional code.
57820         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57821         <kernel-features.h>.
57822         [__ASSUME_32BITUIDS]: Make code unconditional.
57823         [!__ASSUME_32BITUIDS]: Remove conditional code.
57824         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57825         <kernel-features.h>.
57826         [__ASSUME_32BITUIDS]: Make code unconditional.
57827         [!__ASSUME_32BITUIDS]: Remove conditional code.
57829 2012-05-25  Richard Henderson  <rth@twiddle.net>
57831         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57832         dl_hwcap to ifunc resolver.
57833         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57834         elf_ifunc_invoke.
57835         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57836         dl_hwcap to ifunc resolver.
57837         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57839 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57841         [BZ #14153]
57842         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57843         for |x| <= 2**-26, not 2**-57.
57844         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57845         exception.
57847 2012-05-24  Jeff Law  <law@redhat.com>
57849         * stdio-common/Makefile (tests): Add bug25.
57850         * stdio-common/bug25.c: New test.
57852 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57854         [BZ #13576]
57855         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57856         multiple of MALLOC_ALIGNMENT in size.
57857         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57859 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57861         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57862         Require >= 256.
57863         (FILENAME_MAX): Use macro-int-constant.
57864         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57865         (_IOFBF): Use macro-int-constant.
57866         (_IOLBF): Likewise.
57867         (_IONBF): Likewise.
57868         (SEEK_CUR): Likewise.
57869         (SEEK_END): Likewise.
57870         (SEEK_SET): Likewise.
57871         (TMP_MAX): Likewise.
57872         (EOF): Use macro-int-constant.  Require < 0.
57873         (NULL): Use macro-constant.  Require == 0.
57874         (stdin): Require type to be FILE *.
57875         (stdout): Likewise.
57876         (stderr): Likewise.
57877         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57878         macro-int-constant.
57879         (EXIT_SUCCESS): Likewise.
57880         (NULL): Use macro-constant.  Require == 0.
57881         (RAND_MAX): Use macro-int-constant.
57882         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57883         [C99-based standards] (strtof): Require function.
57884         [C99-based standards] (strtold): Likewise.
57885         [C99-based standards] (strtoll): Likewise.
57886         [C99-based standards] (strtoull): Likewise.
57887         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57888         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57889         [ISO || ISO99 || ISO11] (math.h): Likewise.
57890         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57891         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57894 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57896         [BZ #14132]
57897         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57898         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57899         * intl/dgettext.c (DCGETTEXT): Likewise.
57900         * intl/gettext.c (DCGETTEXT): Likewise.
57901         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57902         * posix/regex_internal.h (gettext): Likewise.
57903         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57904         Remove declaration.
57905         * include/argz.h (__argz_count_internal)
57906         (__argz_stringify_internal): Remove declaration.
57907         (__argz_count, __argz_stringify): Declare hidden proto.
57908         * intl/dcgettext.c: Remove use of INTDEF.
57909         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57910         * string/argz-stringify.c: Likewise.
57911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57913         Declare hidden proto.
57914         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57915         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57916         Declare hidden proto.
57917         * include/stdio.h (__asprintf_internal): Don't declare.
57918         (__asprintf): Don't define as macro.  Declare hidden proto.
57919         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57920         (__fsetlocking): Declare hidden proto.
57921         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57922         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57923         hidden proto.
57924         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57925         (_IO_setlinebuf): Remove use of INTUSE.
57926         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57927         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57928         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57929         Remove declaration.
57930         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57931         (_IO_do_flush): Remove use of INTUSE.
57932         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57933         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57934         (_IO_adjust_column, _IO_least_wmarker)
57935         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57936         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57937         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57938         (_IO_default_doallocate, _IO_wdefault_doallocate)
57939         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57940         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57941         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57942         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57943         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57944         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57945         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57946         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57947         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57948         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57949         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57950         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57951         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57952         proto.
57953         (_IO_flush_all_internal, _IO_adjust_column_internal)
57954         (_IO_default_uflow_internal, _IO_default_finish_internal)
57955         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57956         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57957         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57958         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57959         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57960         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57961         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57962         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57963         (_IO_file_close_internal, _IO_file_close_it_internal)
57964         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57965         (_IO_file_init_internal, _IO_file_attach_internal)
57966         (_IO_file_fopen_internal, _IO_file_read_internal)
57967         (_IO_file_sync_internal, _IO_file_seek_internal)
57968         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57969         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57970         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57971         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57972         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57973         (_IO_list_all_internal, _IO_link_in_internal)
57974         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57975         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57976         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57977         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57978         (_IO_do_write_internal, _IO_padn_internal)
57979         (_IO_getline_info_internal, _IO_getline_internal)
57980         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57981         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57982         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57983         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57984         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57985         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57986         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57987         with libc_hidden_ver, remove use of INTUSE.
57988         * libio/genops.c: Likewise.
57989         * libio/freopen.c: Likewise.
57990         * libio/freopen64.c: Likewise.
57991         * libio/iofclose.c: Likewise.
57992         * libio/iofdopen.c: Likewise.
57993         * libio/iofflush.c: Likewise.
57994         * libio/iofflush_u.c: Likewise.
57995         * libio/iofgets.c: Likewise.
57996         * libio/iofgets_u.c: Likewise.
57997         * libio/iofopen.c: Likewise.
57998         * libio/iofopncook.c: Likewise.
57999         * libio/iofread.c: Likewise.
58000         * libio/iofread_u.c: Likewise.
58001         * libio/ioftell.c: Likewise.
58002         * libio/iofwrite.c: Likewise.
58003         * libio/iogetline.c: Likewise.
58004         * libio/iogets.c: Likewise.
58005         * libio/iogetwline.c: Likewise.
58006         * libio/iopadn.c: Likewise.
58007         * libio/iopopen.c: Likewise.
58008         * libio/ioseekoff.c: Likewise.
58009         * libio/ioseekpos.c: Likewise.
58010         * libio/iosetbuffer.c: Likewise.
58011         * libio/iosetvbuf.c: Likewise.
58012         * libio/ioungetc.c: Likewise.
58013         * libio/ioungetwc.c: Likewise.
58014         * libio/iovdprintf.c: Likewise.
58015         * libio/iovsprintf.c: Likewise.
58016         * libio/iovsscanf.c: Likewise.
58017         * libio/memstream.c: Likewise.
58018         * libio/obprintf.c: Likewise.
58019         * libio/oldfileops.c: Likewise.
58020         * libio/oldiofclose.c: Likewise.
58021         * libio/oldiofdopen.c: Likewise.
58022         * libio/oldiofopen.c: Likewise.
58023         * libio/oldiopopen.c: Likewise.
58024         * libio/oldstdfiles.c: Likewise.
58025         * libio/putc.c: Likewise.
58026         * libio/setbuf.c: Likewise.
58027         * libio/setlinebuf.c: Likewise.
58028         * libio/stdfiles.c: Likewise.
58029         * libio/strops.c: Likewise.
58030         * libio/vasprintf.c: Likewise.
58031         * libio/vscanf.c: Likewise.
58032         * libio/vsnprintf.c: Likewise.
58033         * libio/vswprintf.c: Likewise.
58034         * libio/wfiledoalloc.c: Likewise.
58035         * libio/wfileops.c: Likewise.
58036         * libio/wgenops.c: Likewise.
58037         * libio/wmemstream.c: Likewise.
58038         * libio/wstrops.c: Likewise.
58039         * libio/__fpurge.c: Likewise.
58040         * libio/__fsetlocking.c: Likewise.
58041         * assert/assert.c: Likewise.
58042         * debug/fgets_chk.c: Likewise.
58043         * debug/fgets_u_chk.c: Likewise.
58044         * debug/fread_chk.c: Likewise.
58045         * debug/fread_u_chk.c: Likewise.
58046         * debug/gets_chk.c: Likewise.
58047         * debug/obprintf_chk.c: Likewise.
58048         * debug/vasprintf_chk.c: Likewise.
58049         * debug/vdprintf_chk.c: Likewise.
58050         * debug/vsnprintf_chk.c: Likewise.
58051         * debug/vsprintf_chk.c: Likewise.
58052         * malloc/mtrace.c: Likewise.
58053         * misc/error.c: Likewise.
58054         * misc/syslog.c: Likewise.
58055         * stdio-common/asprintf.c: Likewise.
58056         * stdio-common/fxprintf.c: Likewise.
58057         * stdio-common/getw.c: Likewise.
58058         * stdio-common/isoc99_fscanf.c: Likewise.
58059         * stdio-common/isoc99_scanf.c: Likewise.
58060         * stdio-common/isoc99_vfscanf.c: Likewise.
58061         * stdio-common/isoc99_vscanf.c: Likewise.
58062         * stdio-common/isoc99_vsscanf.c: Likewise.
58063         * stdio-common/printf-prs.c: Likewise.
58064         * stdio-common/printf_fp.c: Likewise.
58065         * stdio-common/printf_fphex.c: Likewise.
58066         * stdio-common/printf_size.c: Likewise.
58067         * stdio-common/putw.c: Likewise.
58068         * stdio-common/scanf.c: Likewise.
58069         * stdio-common/sprintf.c: Likewise.
58070         * stdio-common/tmpfile.c: Likewise.
58071         * stdio-common/vfprintf.c: Likewise.
58072         * stdio-common/vfscanf.c: Likewise.
58073         * stdlib/strfmon_l.c: Likewise.
58074         * sunrpc/openchild.c: Likewise.
58075         * sunrpc/xdr_stdio.c: Likewise.
58076         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58077         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58079 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58081         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58083         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58084         in the third column, to generate for the shared library an IFUNC
58085         that uses _dl_vdso_vsym.
58086         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58087         * Makeconfig (object-suffixes-noshared): New variable.
58089         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58090         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58091         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58092         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58094         [BZ #14132]
58095         * include/sys/time.h (__gettimeofday): Remove macro.
58096         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58097         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58098         Remove INTDEF.
58099         (__gettimeofday): Add libc_hidden_def.
58100         (gettimeofday): Add libc_hidden_weak.
58101         * sysdeps/mach/gettimeofday.c: Likewise.
58102         * sysdeps/posix/gettimeofday.c: Likewise.
58103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58104         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58105         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58106         (__gettimeofday_internal): Remove strong_alias.
58107         (__gettimeofday): Add libc_hidden_def.
58108         (gettimeofday): Add libc_hidden_weak.
58109         * sysdeps/unix/syscalls.list (gettimeofday):
58110         Remove __gettimeofday_internal alias.
58112 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58113             H.J. Lu  <hongjiu.lu@intel.com>
58115         [BZ #12495]
58116         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58117         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58118         (largebin_index_32_big): New.
58119         (largebin_index): Use it for 16-byte alignment.
58120         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58121         correction with front_misalign.
58123 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58127         Likewise.
58128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58129         Likewise.
58130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58131         Likewise.
58132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58133         Likewise.
58134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58135         Likewise.
58136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58137         Likewise.
58138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58139         Likewise.
58140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58141         Likewise.
58142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58143         Likewise.
58144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58145         Likewise.
58146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58147         Likewise.
58148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58149         Likewise.
58151         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58152         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58154 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58156         [BZ #10846]
58157         [BZ #14036]
58158         * math/libm-test.inc (exp_test): Add test from bug 14036.
58159         (pow_test): Add test from bug 10846.
58161         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58162         and other flags.
58163         (special_function): Do not include flags in test name.
58164         (parse_args): Likewise.
58165         * sysdeps/i386/fpu/libm-test-ulps: Update.
58166         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58167         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58168         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58171         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58172         exceptions.
58173         * math/libm-test.inc ("Philosophy"): Update comment about
58174         exception testing.
58175         (UNDERFLOW_EXCEPTION): New macro.
58176         (UNDERFLOW_EXCEPTION_OK): Likewise.
58177         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58178         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58179         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58180         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58181         (INVALID_EXCEPTION_OK): Update value.
58182         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58183         (OVERFLOW_EXCEPTION_OK): Likewise.
58184         (IGNORE_ZERO_INF_SIGN): Likewise.
58185         (test_exceptions): Handle underflow exceptions.
58186         (acos_test): Update for underflow exception expectations.
58187         (cexp_test): Likewise.
58188         (clog_test): Likewise.
58189         (clog10_test): Likewise.
58190         (csqrt_test): Likewise.
58191         (ctan_test): Likewise.
58192         (ctanh_test): Likewise.
58193         (exp_test): Likewise.
58194         (exp10_test): Likewise.
58195         (exp2_test): Likewise.
58196         (expm1_test): Likewise.
58197         (fma_test): Likewise.
58198         (j0_test): Likewise.
58199         (jn_test): Likewise.
58200         (nexttoward_test): Likewise.
58201         (pow_test): Likewise.
58202         (scalbn_test): Likewise.
58203         (scalbln_test): Likewise.
58204         (tan_test): Likewise.
58205         (y1_test): Likewise.
58206         * sysdeps/i386/fpu/libm-test-ulps: Update.
58207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58209 2012-05-23  David S. Miller  <davem@davemloft.net>
58211         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58212         (__libc_sigaction): Remove unused local variables.
58214 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58216         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58218 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58220         mktime: avoid signed integer overflow
58221         * time/mktime.c (__mktime_internal): Do not mishandle the case
58222         where diff == INT_MIN.
58224         mktime: simplify computation of average
58225         * time/mktime.c (ranged_convert): Use new time_t_avg function
58226         instead of rolling our own (probably-slower) code.
58228         mktime: do not assume signed right shift propagates sign bit
58229         * time/mktime.c (isdst_differ): New static function.
58230         (__mktime_internal): No need to normalize tm_isdst now.
58231         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58232         tm_isdst values.
58234         mktime: merge another wrapv change from gnulib
58235         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58236         from some compilers.
58238         mktime: remove incorrect attempt at unusual arithmetics
58239         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58240         The code didn't really work on such machines anyway.
58241         (TYPE_MINIMUM): Assume two's complement.
58242         (twos_complement_arithmetic): Verify that long_int and time_t
58243         are two's complement (or unsigned, in the latter case).
58245         mktime: check signed shifts on long_int and time_t, too
58246         * time/mktime.c (SHR): Check that shifts work as desired
58247         on the types long_int and time_t too, as SHR is used on
58248         such types.
58250         mktime: do not assume 'long' is wide enough
58251         * time/mktime.c (verify): Move decl up.
58252         (long_int): New type.
58253         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58254         to remove assumption in the code that 'long' is wide enough to
58255         store year values.  This assumption is not true on x32 and on
58256         some non-glibc platforms.
58258         mktime: merge wrapv change from gnulib
58259         * time/mktime.c (WRAPV): New macro.
58260         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58261         (guess_time_tm, __mktime_internal): Do not assume that signed
58262         integer overflow wraps around; modern compilers generate code
58263         where this assumption is no longer valid.
58265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58267         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58268         Replace "jmp L(pseudo_end)" with "ret".
58269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58270         Likewise.
58272 2012-05-23  Andreas Jaeger  <aj@suse.de>
58274         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58275         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58277 2012-05-23  Andreas Jaeger  <aj@suse.de>
58278             Maximilian Attems  <max@stro.at>
58280         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58281         New macros.
58283 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58286         code so that pseudo_end is just ret and the stack pointer is
58287         correct also for static library in error case.
58289 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58291         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58292         move to syscalls.list.
58293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58298         * manual/install.texi (Running make install): Do not mention Linux
58299         kernel version for which pt_chown is not needed.
58300         (Linux): Do not mention problems with nscd with 2.0 kernels.
58301         * INSTALL: Regenerated.
58303 2012-05-23  Andreas Jaeger  <aj@suse.de>
58305         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58306         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58307         macro.
58308         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58309         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58310         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58311         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58312         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58313         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58316         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58318         * sysdeps/unix/sysv/linux/bits/in.h
58319         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58321 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58323         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58324         (PREPARE_VERSION): Just use assert instead, it will be elided
58325         under [NDEBUG] anyway.
58327 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58329         * sysdeps/unix/sysv/linux/Makefile: Include
58330         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58331         (sysdep_routines): Remove sysctl.
58332         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58333         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58334         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58335         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58336         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58338 2012-05-22  Andreas Jaeger  <aj@suse.de>
58340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58341         that pseudo_end is just ret and the stack pointer is correct also
58342         for static library in error case.
58344 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58346         [BZ #14122]
58347         * nss/nsswitch.c (defconfig_entries): New variable.
58348         (__nss_database_lookup): Don't leak defconfig entries.
58349         (nss_parse_service_list): Don't leak on error paths.
58350         (free_database_entries): New function.
58351         (free_defconfig): New function.
58352         (free_mem): Move common code to free_database_entries.
58354 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58356         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58357         Add arch_prctl.
58358         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58360         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58361         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58363         New macro.
58364         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58365         (INTERNAL_SYSCALL_TYPES): Likewise.
58366         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58367         (LOAD_REGS_TYPES_[1-6]): Likewise.
58368         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58369         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58371 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58373         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58374         copysignl for GLIBC_2_0.
58375         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58376         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58378         logbl for GLIBC_2_0.
58379         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58380         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58382 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58385         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58387         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58388         Use "neg %eax".
58390         * time/mktime.c: Update copyright years.
58392 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58394         mktime: merge comment-quoting-style change from gnulib
58395         * time/mktime.c: Quote 'like this' in comments.
58396         The GNU coding standards suggest that we no longer quote `like this',
58397         as "`" and "'" are typically rendered asymmetrically nowadays.
58398         The typical gnulib style is to quote 'like this' when quoting
58399         code, and "like this" when quoting English.
58401         * time/mktime.c (compile-command): Add "-I.".
58403         mktime: merge mktime-internal.h change from gnulib
58404         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58406         mktime: merge time_r change from gnulib
58407         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58409         mktime: merge DEBUG change from gnulib
58410         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58411         case system <time.h> has a #define.
58413         mktime: merge <sys/types.h> change from gnulib
58414         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58415         since <time.t> is now guaranteed to define time_t.
58417         mktime: merge HAVE_CONFIG_H change from gnulib
58418         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58420 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58423         Use "neg %eax".
58425         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58426         __rlim_t cast.
58427         (struct rusage): Use anonymous union to pad each field to
58428         __syscall_slong_t.
58430 2012-05-21  David S. Miller  <davem@davemloft.net>
58432         * Makefules (o-iterator): Remove .s cases.
58433         (compile-command.s): Delete.
58434         (COMPILE.s): Delete.
58435         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58437 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58439         * configure.in (libc_cv_predef_stack_protector): Only consider
58440         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58441         * configure: Regenerated.
58443 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58446         New macro.  Use R*LP on int and pointer.
58447         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58448         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58449         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58450         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58452         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58453         [__WORDSIZE_TIME64_COMPAT32] instead of
58454         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58455         (struct utmp): Likewise.
58456         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58457         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58458         Renamed to ...
58459         (__WORDSIZE_TIME64_COMPAT32): This.
58460         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58461         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58462         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58463         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58464         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58465         (__WORDSIZE_TIME64_COMPAT32): New macro.
58467 2012-05-21  Andreas Jaeger  <aj@suse.de>
58469         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58470         only if [SHARED]. Add prototype for __wcschr_ia32.
58472 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58474         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58475         of %rbp unmolested in the jmp_buf while mangling the low bits.
58476         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58477         unmolested high bits of %rbp while demangling the low bits.
58478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58480 2012-05-21  Andreas Jaeger  <aj@suse.de>
58482         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58483         * sunrpc/svc_simple.c: Use it for registerrpc.
58484         * sunrpc/xcrypt.c: Use it for passwd2des.
58486         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58488 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58490         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58491         Don't define if [__SYSCALL_WORDSIZE != 32].
58492         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58493         New macro.
58495 2012-05-21  Bruno Haible  <bruno@clisp.org>
58496             Andreas Jaeger  <aj@suse.de>
58498         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58499         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58500         inptr and inend for must_buffer_ch.
58501         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58502         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58503         * stdio-common/Makefile (tests): Remove bug15.
58504         (bug15-ENV): Remove macro.
58505         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58506         anymore.
58508 2012-05-19  Andreas Jaeger  <aj@suse.de>
58509             Roland McGrath  <roland@hack.frob.com>
58511         * manual/contrib.texi: Completely rewritten. It contains now an
58512         alphabetical list of contributors and their contributions.
58514 2012-05-21  Richard Henderson  <rth@twiddle.net>
58516         * misc/getauxval.c (__getauxval): Use unsigned long int.
58517         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58518         (getauxval): Use unsigned long int.
58520 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58522         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58524 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58526         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58527         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58528         __alignof__ (long double).
58530 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58534 2012-05-20  Richard Henderson  <rth@twiddle.net>
58536         * misc/getauxval.c: New file.
58537         * misc/sys/auxv.h: New file.
58538         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58539         (routines): Add getauxval.
58540         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58542         * elf/dl-sysdep.c (_dl_auxv): Remove.
58543         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58544         * elf/dl-support.c (_dl_auxv): New variable.
58545         (_dl_aux_init): Initialize it.
58546         * manual/startup.texi (Auxiliary Vector): New node.
58547         * sysdeps/generic/bits/hwcap.h: New file.
58548         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58549         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58550         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58551         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58552         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58555         Update.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58565 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58569 2012-05-19  David S. Miller  <davem@davemloft.net>
58571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58573 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58575         [BZ #14123]
58576         * math/s_ccosh.c: Include <float.h>
58577         (__ccosh): Avoid internal overflow calculating sinh and cosh
58578         values before multiplying by sin and cos values.
58579         * math/s_ccoshf.c: Likewise.
58580         * math/s_ccoshl.c: Likewise.
58581         * math/s_csin.c: Likewise.
58582         * math/s_csinf.c: Likewise.
58583         * math/s_csinl.c: Likewise.
58584         * math/s_csinh.c: Likewise.
58585         * math/s_csinhf.c: Likewise.
58586         * math/s_csinhl.c: Likewise.
58587         * math/libm-test.inc (ccos_test): Add more tests.
58588         (ccosh_test): Likewise.
58589         (csin_test): Likewise.
58590         (csinh_test): Likewise.
58591         * sysdeps/i386/fpu/libm-test-ulps: Update.
58592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58594 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58596         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58597         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58599         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58601 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58603         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58604         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58605         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58606         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58607         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58608         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58609         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58610         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58611         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58612         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58613         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58614         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58615         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58616         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58617         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58618         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58619         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58620         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58621         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58622         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58623         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58624         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58625         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58626         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58627         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58628         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58629         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58630         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58631         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58632         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58633         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58635 2012-05-18  Andreas Jaeger  <aj@suse.de>
58637         * csu/.gitignore: Delete.
58639 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58641         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58642         (timex): Use __syscall_slong_t.
58644 2012-05-18  Andreas Jaeger  <aj@suse.de>
58645             Carlos O'Donell  <carlos_odonell@mentor.com>
58647         * manual/install.texi (Configuring and compiling): Update
58648         description about files modified in the source directory.
58649         * INSTALL: Regenerated.
58651 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58653         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58654         value.  Use "or" to set return value to -1.
58655         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58656         negate return value.
58658 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58660         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58661         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58662         failure if the compiler has Graphite support disabled.
58663         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58664         Likewise.
58665         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58666         (CFLAGS-memmove.c): Likewise.
58667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58668         Likewise.
58670 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58672         * sysdeps/x86_64/x32/_itoa.h: New file.
58674         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58675         getdents system call only if kernel and user dirents have the
58676         same d_ino and d_off.
58678         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58679         LLONG_MAX != LONG_MAX.
58680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58681         (_fitoa_word): Likewise.
58683         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58684         years.
58685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58686         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58687         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58689         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58690         include <bits/wordsize.h>.  Check __x86_64__ instead of
58691         __WORDSIZE.
58692         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58693         if __x86_64__ is defined.  Use anonymous union on fpstate.
58695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58696         anonymous union.
58698 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58700         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58701         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58702         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58703         Refer to _rtld_local_ro instead of _rtld_global_ro.
58704         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58705         Likewise.
58706         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58707         Likewise.
58708         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58709         Likewise.
58710         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58711         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58712         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58714         [BZ #10882]
58715         * sysdeps/powerpc/powerpc32/dl-machine.c
58716         (__elf_machine_runtime_setup) [PROF]: Don't reference
58717         _dl_prof_resolve.
58719 2012-05-18  Andreas Jaeger  <aj@suse.de>
58721         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58722         function only available for GCCs before 3.4 since GCC 3.4
58723         introduced a builtin.
58724         (lrint): Likewise.
58725         (llrintf): Likewise.
58726         (llrint): Likewise.
58727         (fmaxf): Likewise.
58728         (fmax): Likewise.
58729         (fminf): Likewise.
58730         (fmin): Likewise.
58731         (rint): Likewise.
58732         (rintf): Likewise.
58733         (nearbyint): Likewise.
58734         (nearbyintf): Likewise.
58735         (ceil): Likewise.
58736         (ceilf): Likewise.
58737         (floor): Likewise.
58738         (floorf): Likewise.
58740 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58742         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58743         on both fields and cast pointer to __syscall_ulong_t.
58745         * bits/types.h (__fsword_t): New type.
58746         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58747         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58749         (__FSWORD_T_TYPE): Likewise.
58750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58751         (__FSWORD_T_TYPE): Likewise.
58752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58753         (__FSWORD_T_TYPE): Likewise.
58754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58755         (__FSWORD_T_TYPE): Likewise.
58756         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58757         __SWORD_TYPE with __fsword_t.
58758         (statfs64): Likewise.
58760 2012-05-17  David S. Miller  <davem@davemloft.net>
58762         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58764 2012-05-17  Andreas Jaeger  <aj@suse.de>
58766         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58767         warning.
58769 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58771         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58773 2012-05-17  Andreas Jaeger  <aj@suse.de>
58775         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58776         when it is used.
58778 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58780         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58782 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58784         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58785         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58787 2012-05-17  Andreas Jaeger  <aj@suse.de>
58788             Carlos O'Donell  <carlos_odonell@mentor.com>
58790         [BZ #14059]
58791         * sysdeps/x86_64/multiarch/init-arch.h
58792         (bit_YMM_Usable): Rename to...
58793         (bit_AVX_Usable): ... this.
58794         (bit_FMA4_Usable): New macro.
58795         (bit_XMM_state): New macro.
58796         (bit_YMM_state): New macro.
58797         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58798         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58799         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58800         (CPUID_OSXSAVE): New macro.
58801         (CPUID_AVX): New macro.
58802         (CPUID_FMA4): New macro.
58803         (index_YMM_Usable): Rename to...
58804         (index_AVX_Usable): ... this.
58805         (HAS_AVX): Use HAS_ARCH_FEATURE.
58806         (HAS_FMA4): Likewise.
58807         (HAS_YMM_USABLE): Remove.
58808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58809         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58810         are present.
58811         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58812         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58813         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58814         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58815         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58817 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58819         * math/libm-test.c: Support platforms without multiple rounding modes.
58820         * math/bug-nextafter.c: Support platforms without FP exceptions.
58821         * math/bug-nexttoward.c: Likewise.
58822         * math/test-fenv.c: Likewise.
58823         * math/test-misc.c: Likewise.
58824         * stdlib/bug-getcontext.c: Likewise.
58826 2012-05-17  Andreas Jaeger  <aj@suse.de>
58828         * manual/examples/search.c (critter_cmp): Change signature to
58829         avoid warnings.
58830         * manual/string.texi (Collation Functions): Likewise.
58832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58834         * bits/types.h: Fold copyright years.
58835         * bits/typesizes.h: Likewise.
58836         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58837         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58840         * time/time.h: Likewise.
58842 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58844         [BZ #208]
58845         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58846         in instead of returning them.  Return void.
58847         (__libc_mallinfo): Accumulate over all arenas.
58848         (__malloc_stats): Adjust for change in int_mallinfo interface.
58850 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58852         [BZ #10375]
58853         * configure.in (NM): Add AC_CHECK_TOOL for it.
58854         (libc_extra_cflags): New substituted variable.
58855         Check for -fstack-protector being used implicitly.
58856         * configure: Regenerated.
58857         * config.make.in (config-extra-cflags): New variable,
58858         gets @libc_extra_cflags@.
58859         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58861         [BZ #10375]
58862         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58863         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58864         * configure: Regenerated.
58865         * config.make.in (CPPUNDEFS): New substituted variable.
58866         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58867         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58868         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58872         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58873         (mq_attr): Use __syscall_slong_t.
58875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58877         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58878         Check __x86_64__ instead of __WORDSIZE.
58879         (_STAT_VER_LINUX): Likewise.
58880         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58881         __syscall_ulong_t and __syscall_slong_t.
58882         (stat64): Likewise.
58884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58890         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58894         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58895         __syscall_ulong_t.
58897         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58898         include <bits/wordsize.h>.  Check __x86_64__ instead of
58899         __WORDSIZE.
58900         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58901         defined.
58902         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58904         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58905         include <bits/wordsize.h>.  Check __x86_64__ instead of
58906         __WORDSIZE.
58907         (user_regs_struct): Use "__extension__ unsigned long long"
58908         instead of "unsigned long" if __x86_64__ is defined.
58909         (user): Likewise.  Pad after pointer field if __ILP32__ is
58910         defined.
58912 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58914         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58915         versions 5 to 9.
58916         * configure: Regenerated.
58917         * manual/install.texi (texinfo): Increase version requirement to
58918         4.5 or later.
58919         * INSTALL: Regenerated.
58921         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58925         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58927         * sysdeps/x86_64/x32/ffs.c: New file.
58929         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58930         __syscall_ulong_t.
58931         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58932         defined.  Use __syscall_ulong_t.
58933         (shminfo): Use __syscall_ulong_t.
58934         (shm_info): Likewise.
58936         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58937         __syscall_ulong_t.
58939         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58940         <bits/wordsize.h>.
58941         (msgqnum_t): Use __syscall_ulong_t.
58942         (msglen_t): Likewise.
58943         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58944         __syscall_ulong_t.
58946         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58947         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58949         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58951         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58952         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58954         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58955         __syscall_slong_t.
58957         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58958         include <bits/wordsize.h>.  Check __x86_64__ instead of
58959         __WORDSIZE.
58961         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58962         "unsigned long long int" if __x86_64__ is defined.
58963         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58965         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58966         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58967         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58969         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58970         <stdint.h>.
58971         (GET_PC): Cast to uintptr_t first.
58972         (GET_FRAME): Likewise.
58973         (GET_STACK): Likewise.
58975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58976         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58977         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58978         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58979         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58980         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58981         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58982         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58983         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58985         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58986         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58987         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58988         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58989         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58991         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58992         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58993         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58994         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58995         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59000         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59001         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59003         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59005 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59007         * Makerules (+depfiles): Also collect depfiles from .oS in
59008         $(extra-objs).
59009         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59010         .oS, $(libnldbl-routines)).
59012         * Makerules (native-compile-mkdep-flags): Define.
59013         * sunrpc/Makefile (extra-objs): Add $(addprefix
59014         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59015         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59016         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59017         calling $(make-target-directory).
59019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59021         * bits/types.h (__snseconds_t): Removed.
59022         * time/time.h (struct timespec): Replace __snseconds_t with
59023         __syscall_slong_t.
59024         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59025         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59026         Likewise.
59027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59028         (__SNSECONDS_T_TYPE): Likewise.
59029         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59030         (__SNSECONDS_T_TYPE): Likewise.
59031         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59032         (__SNSECONDS_T_TYPE): Likewise.
59034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59036         * sysdeps/mach/hurd/bits/typesizes.h
59037         (__SYSCALL_SLONG_TYPE): New macro.
59038         (__SYSCALL_ULONG_TYPE): Likewise.
59040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59042         * bits/types.h (__syscall_slong_t): New type.
59043         (__syscall_ulong_t): Likewise.
59045         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59046         (__SYSCALL_ULONG_TYPE): Likewise.
59047         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59048         (__SYSCALL_SLONG_TYPE): Likewise.
59049         (__SYSCALL_ULONG_TYPE): Likewise.
59050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59051         (__SYSCALL_SLONG_TYPE): Likewise.
59052         (__SYSCALL_ULONG_TYPE): Likewise.
59053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59054         (__SYSCALL_SLONG_TYPE): Likewise.
59055         (__SYSCALL_ULONG_TYPE): Likewise.
59057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59059         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59060         Add sigaltstack-offsets.sym.
59061         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59062         <sigaltstack-offsets.h>.
59063         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59064         longjmp_msg pointer.
59065         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59066         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59067         signal stack.
59068         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59070 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59072         * elf/stackguard-macros.h: Remove file.
59073         * sysdeps/generic/stackguard-macros.h: New file.
59074         * sysdeps/i386/stackguard-macros.h: Likewise.
59075         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59076         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59077         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59078         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59079         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59080         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59081         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59082         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59083         <elf/stackguard-macros.h>.
59085         [BZ #14109]
59086         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59087         __aligned__ in attribute.
59088         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59089         (gregset_t): Likewise.
59091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59093         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59094         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59095         * sysdeps/x86_64/x32/Implies-after: New file.
59097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59099         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59100         and access return value for _dl_profile_fixup.  Use R10_LP to
59101         load frame size.
59103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59105         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59109         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59110         * sysdeps/x86_64/x32/sysdep.h: New file.
59112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59114         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59115         * sysdeps/x86_64/setjmp.S: Likewise.
59117 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59119         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59120         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59121         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59123         remove unused global constant.
59125 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59127         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59128         include of <not-cancel.h>.
59130 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59132         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59134 2012-05-15  Jeff Law  <law@redhat.com>
59135             Andreas Jaeger  <aj@suse.de>
59137         [BZ #13594]
59138         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59139         out from...
59140         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59141         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59142         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59143         code changing __hst_map_handle.map.
59145 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59147         * configure.in (sysnames): Look for Implies-before and Implies-after
59148         files.
59149         * configure: Regenerated.
59151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59153         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59154         8-byte data alignment with LP_SIZE alignment.
59156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59158         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59159         into R10_LP.
59161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59163         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59167         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59168         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59169         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59170         Likewise.
59171         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59175         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59176         (stackinfo_sub_sp): Likewise.
59178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59180         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59181         RAX_LP.
59183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59185         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59186         into R*_LP.
59188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59190         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59191         sizes into R*_LP.
59193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59195         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59199         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59200         into R11_LP and load __x86_64_shared_cache_size_half into
59201         R8_LP.
59203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59205         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59206         R8_LP.
59208 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59211         logb for POWER7.
59212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59213         logbf for POWER7.
59214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59215         logbl for POWER7.
59216         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59217         powerpc32/power7/fpu/s_logb.c via #include.
59218         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59219         powerpc32/power7/fpu/s_logbf.c via #include.
59220         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59221         powerpc32/power7/fpu/s_logbl.c via #include.
59223 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59225         * README.libm: Remove file.
59227 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59229         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59230         count for x32.  Use R*_LP and omit operand-size suffix.
59232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59234         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59235         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59236         * sysdeps/x86_64/x32/shlib-versions: New file.
59238 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59240         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59241         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59242         Use _dl_fatal_printf instead.
59244 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59246         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59247         set if not set by the user.  Do not allow for being unset.
59248         * sysdeps/unix/sysv/linux/configure: Regenerated.
59250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59252         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59253         the `q' suffix from lea and replace .quad with ASM_ADDR.
59255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59258         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59259         instead of $17.
59260         (PTR_DEMANGLE): Likewise.
59262 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59264         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59265         (LP_OP): Likewise.
59266         (ASM_ADDR): Likewise.
59267         (RAX_LP): Likewise.
59268         (RBP_LP): Likewise.
59269         (RBX_LP): Likewise.
59270         (RCX_LP): Likewise.
59271         (RDI_LP): Likewise.
59272         (RSI_LP): Likewise.
59273         (RSP_LP): Likewise.
59274         (R8_LP): Likewise.
59275         (R9_LP): Likewise.
59276         (R10_LP): Likewise.
59277         (R10_LP): Likewise.
59278         (R11_LP): Likewise.
59279         (R12_LP): Likewise.
59280         (R13_LP): Likewise.
59281         (R14_LP): Likewise.
59282         (R15_LP): Likewise.
59284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59286         * sysdeps/x86_64/x32/dl-machine.h: New file.
59288 2012-05-14  Andreas Jaeger  <aj@suse.de>
59290         * manual/Makefile (subdir): Remove export of subdir.
59291         (all): Remove target.
59292         (.PHONY): Remove all from list.
59293         (mkinstalldirs): Remove.
59294         (.PHONY): Remove installdirs from list.
59295         ($(inst_infodir)/libc.info): Use make-target-directory.
59296         (installdirs): Remove.
59297         (subdir_%): Remove.
59298         (glibc-targets): Remove.
59299         (lib): Remove.
59300         (stubs): Remove.
59301         ($(objpfx)stubs ../po/manual.pot): Remove.
59302         ($(objpfx)stamp%): Remove.
59303         (make-target-directory): Remove.
59304         (subdir_install): Remove.
59305         (routines): Remove.
59306         (aux): Remove.
59307         (sources): Remove.
59308         (objects): Remove.
59309         (headers): Remove.
59311         [BZ #13750]
59312         * manual/.gitignore: Remove, it's not needed anymore.
59313         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59314         all files in it.
59315         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59316         directory.
59317         (texis): Renamed to $(objpfx)texis.
59318         (texis-path): New, contains path to generated files.
59319         (chapters.%): Use texis-path for complete path, add extra argument
59320         libc-texinfo.sh.
59321         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59322         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59323         (summary,texi, stamp-summary): Use complete path of
59324         files. Generate files in build dir.
59325         (dir-add.texi): Build in build dir.
59326         (libm-err.texi,stamp-libm-err): Likewise.
59327         (version.texi, stamp-version): Likewise.
59328         (.%c.texi): Likewise.
59329         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59330         (mostlyclean): Remove target.
59331         (realclean): Remove target.
59332         (generated): Add new variable with contents from mostlyclean and
59333         realclean, remove entries duplicated in common-mostlyclean, add
59334         stamp-libm-err and stamp-version.
59335         (generated-dirs): Add libc directory.
59336         ($(inst_infodir)/libc.info): Install files from build dir.
59338         * manual/install.texi (Configuring and compiling): Adjust since
59339         the info files are not part of the tar ball anymore.
59341 2012-05-14  Andreas Jaeger  <aj@suse.de>
59343         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59344         variable.
59346 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59348         [BZ #13717]
59349         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59350         to 2.2.0 where earlier.
59351         * sysdeps/unix/sysv/linux/configure: Regenerated.
59352         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59353         Remove conditional code.
59354         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59355         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59356         Remove conditional code.
59357         [!__NR_lchown]: Likewise.
59358         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59359         [__NR_lchown]: Likewise.
59360         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59361         comment referencing __ASSUME_LCHOWN_SYSCALL.
59362         * sysdeps/unix/sysv/linux/i386/sigaction.c
59363         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59364         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59365         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59366         Remove conditional code.
59367         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59368         (__protocol_available): Remove #if 0 code.
59369         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59370         conditional code.
59371         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59372         * sysdeps/unix/sysv/linux/kernel-features.h
59373         (__ASSUME_GETCWD_SYSCALL): Don't define.
59374         (__ASSUME_REALTIME_SIGNALS): Likewise.
59375         (__ASSUME_PREAD_SYSCALL): Likewise.
59376         (__ASSUME_PWRITE_SYSCALL): Likewise.
59377         (__ASSUME_POLL_SYSCALL): Likewise.
59378         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59379         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59380         non-SPARC.
59381         (__ASSUME_SIOCGIFNAME): Don't define.
59382         (__ASSUME_MSG_NOSIGNAL): Likewise.
59383         (__ASSUME_SENDFILE): Define unconditionally.
59384         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59385         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59386         conditional code.
59387         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59388         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59389         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59390         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59391         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59392         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59393         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59395         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59396         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59398         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59399         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59401         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59404         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59407         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59410         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59416         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59418         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59419         Remove conditional code.
59420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59421         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59422         Remove conditional code.
59423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59424         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59425         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59426         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59427         Remove conditional code.
59428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59429         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59430         Remove conditional code.
59431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59432         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59433         Remove conditional code.
59434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59435         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59436         Remove conditional code.
59437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59438         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59439         Remove conditional code.
59440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59441         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59444         * sysdeps/unix/sysv/linux/sigaction.c
59445         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59446         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59447         * sysdeps/unix/sysv/linux/sigpending.c
59448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59450         * sysdeps/unix/sysv/linux/sigprocmask.c
59451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59453         * sysdeps/unix/sysv/linux/sigsuspend.c
59454         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59455         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59456         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59457         (__libc_missing_rt_sigs): Remove.
59458         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59459         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59460         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59461         Remove conditional code.
59462         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59463         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59464         return 1.
59465         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59466         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59467         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59468         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59470 2012-05-14  Andreas Jaeger  <aj@suse.de>
59472         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59473         it's not used in glibc.
59474         (__coshm1): Likewise.
59475         (__acosh1p): Likewise.
59476         (__sgn): Likewise.
59478         * manual/string.texi (Copying and Concatenation): Add missing
59479         variable in concat example.
59480         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59484         [BZ #14103]
59485         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59486         __builtin_clzl with __builtin_clzll.
59488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59490         [BZ #14104]
59491         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59492         libc_freeres_ptr.
59494 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59496         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59497         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59498         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59499         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59501 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59503         * NEWS: Update ia64 info.
59505 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59507         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59508         used as bcopy.
59510 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59512         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59513         * sysdeps/unix/syscalls.list (dup3): Likewise.
59514         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59515         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59517 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59519         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59520         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59522 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59524         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59525         thread pointer.
59526         (TLS_IE): Use mov/add instead of movq/addq to load thread
59527         pointer.
59528         (TLS_GD_PREFIX): New.
59529         (TLS_GD): Use it.
59531 2012-05-11  David S. Miller  <davem@davemloft.net>
59533         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59534         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59535         (_FPU_SETCW): Likewise.
59537 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59539         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59540         is 32-byte aligned.
59542 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59544         [BZ #11837]
59545         * iconvdata/gb18030.c: Update tables.
59546         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59547         characters specially.
59548         (BODY for TO_LOOP): Add encoding of missing ranges.
59550 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59552         [BZ #13673]
59553         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59554         * sysdeps/mach/hurd/dup3.c: Likewise.
59555         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59556         * sysdeps/powerpc/memmove.c:: Likewise.
59558 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59560         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59561         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59565         * elf/elf.h (R_X86_64_RELATIVE64): New.
59566         (R_X86_64_NUM): Updated.
59567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59568         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59569         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59570         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59571         tst-quad1pie tst-quad2pie
59572         (modules-names): Add tst-quadmod1 tst-quadmod2.
59573         ($(objpfx)tst-quad1): New dependency.
59574         ($(objpfx)tst-quad2): Likewise.
59575         ($(objpfx)tst-quad1pie): Likewise.
59576         ($(objpfx)tst-quad2pie): Likewise.
59577         * sysdeps/x86_64/tst-quad1.c: New file.
59578         * sysdeps/x86_64/tst-quad1pie.c: New file.
59579         * sysdeps/x86_64/tst-quad2.c: Likewise.
59580         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59581         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59582         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59583         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59584         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59588         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59589         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59590         * streams/stropts.h (t_scalar_t): Define type.
59592         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59593         (_PATH_PRESERVE): Set to "/var/lib".
59594         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59596         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59597         instead of int.
59599         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59600         if __dir_mkfile succeeded.
59602         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59603         checking for _hurd_dtablesize.  Unlock it right after having
59604         finished _hurd_dtable allocation.
59606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59608         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59609         * sysdeps/mach/hurd/configure: Regenerated.
59610         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59611         special-casing to...
59612         * sysdeps/gnu/configure.in: ... this new file.
59613         * sysdeps/unix/sysv/linux/configure: Regenerated.
59614         * sysdeps/gnu/configure: New generated file.
59616         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59617         for Linux: use nsec instead of usec, as well as:
59618         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59619         members of type struct timespec.
59620         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59621         New macros.
59622         (struct stat64): Likewise.
59623         (_STATBUF_ST_NSEC): New macro.
59624         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59626         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59627         __strtoul_internal rather than strtoul.
59629 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59631         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59632         and reject them.
59634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59636         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59637         which preserves existing values.
59638         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59640 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59642         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59643         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59644         greater than FD_SETSIZE.
59646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59648         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59649         allocated, call __vm_protect to finish enabling the existing space, and
59650         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59651         allocate the remainder.
59653 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59655         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59656         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59660         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59661         sysdeps/mach/hurd/readlink.c.
59663         * posix/tst-sysconf.c (posix_options): Only use
59664         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59665         _POSIX_SYNCHRONIZED_IO when they are defined
59666         * sysdeps/mach/hurd/bits/posix_opt.h:
59667         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59668         (_XOPEN_REALTIME): Undefine macro.
59669         (_XOPEN_REALTIME_THREADS): Undefine macro.
59670         (_XOPEN_SHM): Undefine macro.
59671         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59672         macro to -1.
59673         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59674         macro to -1.
59675         (_POSIX_ASYNC_IO): Undefine macro.
59676         (_POSIX_PRIORITIZED_IO): Undefine macro.
59677         (_POSIX_SPIN_LOCKS): Define macro to -1.
59679         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59680         SA_NODEFER, SA_RESETHAND.
59681         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59682         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59683         F_DUPFD_CLOEXEC.
59685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59687         * elf/Makefile (pldd-modules): Define unconditionally.
59689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59691         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59695         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59696         Return ENOENT when name is empty.
59697         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59701         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59703         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59707         Fix mlock in all cases except non-readable pages.
59708         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59709         instead of VM_PROT_ALL as parameter to __vm_wire function.
59711         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59712         (__mkdir): When path is `/', just fail with EEXIST.
59713         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59715 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59717         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59718         <sys/uio.h> (for writev).
59719         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59720         and <sys/param.h> (for MIN).
59722 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59724         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59725         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59726         if interrupted.
59728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59730         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59731         Depend on against $(link-rpcuserlibs).
59733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59735         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59736         (__libc_stack_end): Do not use attribute_relro.
59737         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59738         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59739         to libthread-provided value.
59740         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59741         attribute_relro.
59743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59745         [BZ #3748]
59746         * bits/libc-lock.h (__libc_once_get): New macro.
59747         * sysdeps/mach/bits/libc-lock.h: Likewise.
59748         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59750         instead of using implementation details.
59752         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59753         * libio/freopen.c: Likewise.
59754         * libio/freopen64.c: Likewise.
59755         * misc/syslog.c: Likewise.
59756         * nscd/connections.c: Likewise.
59757         * nscd/netgroupcache.c: Likewise.
59758         * sysdeps/posix/getcwd.c: Likewise.
59760 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59762         * math/w_ilogbf.c: Add #include <limits.h>.
59764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59766         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59767         path instead of returning without unlocking.
59769         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59770         immediate-write ioctls.
59771         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59775         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59776         __builtin_frame_address instead of making assumptions about the
59777         location of the return address relative to DATA.  Force early load of
59778         the return address.
59779         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59780         __builtin_frame_address.
59782         dup3 for GNU Hurd.
59783         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59784         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59785         implement dup3 and do some further code clean-ups.
59786         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59787         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59791         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59793         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59794         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59795         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59796         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59797         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59798         d->port.lock.
59800         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59801         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59802         when handler == SIG_ERR, not when handler != SIG_ERR.
59804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59806         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59807         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59808         definitions.
59810         accept4 for GNU Hurd.
59811         * include/sys/socket.h (__libc_accept4): New prototype.
59812         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59813         to implement __libc_accept4.
59814         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59815         __libc_accept4.
59816         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59818         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59819         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59820         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59821         signal-defines.sym.
59823 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59825         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59829         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59830         assertion on O_CLOEXEC flag.
59831         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59832         * hurd/intern-fd.c: Likewise.
59833         * hurd/port2fd.c: Likewise.
59835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59837         [BZ #3906]
59838         * bits/in.h (IPV6_PKTINFO): Define new macro.
59839         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59841 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59843         [BZ #13954]
59844         [BZ #13955]
59845         [BZ #13956]
59846         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59847         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59848         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59849         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59851         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59852         * math/libm-test.inc (logb_test) : Additional logb tests.
59854 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59855             Andreas Jaeger  <aj@suse.de>
59857         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59858         * configure: Regenerated.
59859         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59860         * config.make.in (link-obsolete-rpc): New substituted variable.
59861         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59862         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59863         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59864         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59865         so that libc.a contains the symbols.
59866         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59867         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59868         * sunrpc/auth_none.c: Likewise.
59869         * sunrpc/auth_unix.c: Likewise.
59870         * sunrpc/authdes_prot.c: Likewise.
59871         * sunrpc/authuxprot.c: Likewise.
59872         * sunrpc/clnt_gen.c: Likewise.
59873         * sunrpc/clnt_perr.c: Likewise.
59874         * sunrpc/clnt_raw.c: Likewise.
59875         * sunrpc/clnt_simp.c: Likewise.
59876         * sunrpc/clnt_tcp.c: Likewise.
59877         * sunrpc/clnt_udp.c: Likewise.
59878         * sunrpc/clnt_unix.c: Likewise.
59879         * sunrpc/des_crypt.c: Likewise.
59880         * sunrpc/des_soft.c: Likewise.
59881         * sunrpc/get_myaddr.c: Likewise.
59882         * sunrpc/key_call.c: Likewise.
59883         * sunrpc/key_prot.c: Likewise.
59884         * sunrpc/netname.c: Likewise.
59885         * sunrpc/pm_getmaps.c: Likewise.
59886         * sunrpc/pm_getport.c: Likewise.
59887         * sunrpc/pmap_clnt.c: Likewise.
59888         * sunrpc/pmap_prot.c: Likewise.
59889         * sunrpc/pmap_prot2.c: Likewise.
59890         * sunrpc/pmap_rmt.c: Likewise.
59891         * sunrpc/publickey.c: Likewise.
59892         * sunrpc/rpc_cmsg.c: Likewise.
59893         * sunrpc/rpc_common.c: Likewise.
59894         * sunrpc/rpc_dtable.c: Likewise.
59895         * sunrpc/rpc_prot.c: Likewise.
59896         * sunrpc/rpc_thread.c: Likewise.
59897         * sunrpc/rtime.c: Likewise.
59898         * sunrpc/svc.c: Likewise.
59899         * sunrpc/svc_auth.c: Likewise.
59900         * sunrpc/svc_raw.c: Likewise.
59901         * sunrpc/svc_run.c: Likewise.
59902         * sunrpc/svc_tcp.c: Likewise.
59903         * sunrpc/svc_udp.c: Likewise.
59904         * sunrpc/svc_unix.c: Likewise.
59905         * sunrpc/svcauth_des.c: Likewise.
59906         * sunrpc/xcrypt.c: Likewise.
59907         * sunrpc/xdr.c: Likewise.
59908         * sunrpc/xdr_array.c: Likewise.
59909         * sunrpc/xdr_float.c: Likewise.
59910         * sunrpc/xdr_intXX_t.c: Likewise.
59911         * sunrpc/xdr_mem.c: Likewise.
59912         * sunrpc/xdr_rec.c: Likewise.
59913         * sunrpc/xdr_ref.c: Likewise.
59914         * sunrpc/xdr_sizeof.c: Likewise.
59915         * sunrpc/xdr_stdio.c: Likewise.
59917 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59919         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59920         change.  Update copyright years.
59922 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59924         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59926 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59927             Joseph Myers  <joseph@codesourcery.com>
59928             Paul Pluzhnikov  <ppluzhnikov@google.com>
59930         [BZ #14012]
59931         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59932         requiring rpcgen.
59933         [cross-compiling] (extra-libs): Likewise.
59934         [cross-compiling] (extra-libs-others): Likewise.
59935         [cross-compiling] (librpcsvc-routines): Likewise.
59936         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59937         [cross-compiling] (omit-deps): Likewise.
59938         (sunrpc-CPPFLAGS): New variable.
59939         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59940         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59941         (cross-rpcgen-objs): New variable.
59942         (extra-objs): Append $(cross-rpcgen-objs).
59943         ($(cross-rpcgen-objs)): New rule.
59944         ($(objpfx)cross-rpcgen): Likewise.
59945         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59946         comment.
59947         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59948         ($(objpfx)x%.stmp): Likewise.
59949         * sunrpc/proto.h [IS_IN_build] (_): Define.
59950         [IS_IN_build] (_libc_intl_domainname): Likewise.
59952 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59954         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59955         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59956         and R_X86_64_TPOFF64.
59958 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59960         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59961         sysdeps/unix/sysv/syscalls.list.
59962         (stime): Likewise.
59963         (utime): Likewise.
59964         * sysdeps/unix/sysv/syscalls.list: Remove file.
59966 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59968         [BZ #3440]
59969         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59970         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59971         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59972         (__LC_IDENTIFICATION): Make these macros useful in #if
59973         expressions, as required by C99.
59975 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59977         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59978         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59979         after this.
59981 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59983         * stdlib/longlong.h: Updated from GCC.
59985 2012-05-09  Andreas Jaeger  <aj@suse.de>
59987         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59988         default is first entry.
59989         (run_mode): Set type.
59990         (main): Remove informal message about syslog.
59991         (options): Fix typo.
59993         [BZ #14053]
59994         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59995         to asm.
59996         (lrint): Likewise.
59997         (llrintf): Likewise.
59998         (llrint): Likewise.
59999         (rint): Likewise.
60000         (rintf): Likewise.
60001         (nearbyint): Likewise.
60002         (nearbyintf): Likewise.
60004 2012-05-09  Andreas Jaeger  <aj@suse.de>
60005             Pedro Alves  <palves@redhat.com>
60007         * nscd/nscd.c (run_mode): Use enum.
60008         (main): Cleanup coding style issue.
60010 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60011             Andreas Jaeger  <aj@suse.de>
60013         * nscd/nscd.c (go_background): Replaced with...
60014         (run_mode): ... this.
60015         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60016         (options): Add -F --foreground.
60017         (main): Implement it.
60018         (parse_opt): Parse it.
60020 2012-05-09  Andreas Jaeger  <aj@suse.de>
60022         [BZ #14083]
60023         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60024         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60025         -Wconversion warning.
60026         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60027         Likewise.
60029 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60031         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60032         == 0.
60033         (LC_ALL): Use macro-int-constant.
60034         (LC_COLLATE): Likewise.
60035         (LC_CTYPE): Likewise.
60036         (LC_MESSAGES): Likewise.
60037         (LC_MONETARY): Likewise.
60038         (LC_NUMERIC): Likewise.
60039         (LC_TIME): Likewise.
60040         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60041         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60043         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60044         Specify type.
60045         [C99-based standards] (float_t): Expect type.
60046         [C99-based standards] (double_t): Expect type.
60047         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60048         type.
60049         [C99-based standards] (HUGE_VALL): Likewise.
60050         [C99-based standards] (INFINITY): Likewise.
60051         [C99-based standards] (NAN): Likewise.
60052         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60053         [C99-based standards] (FP_NAN): Likewise.
60054         [C99-based standards] (FP_NORMAL): Likewise.
60055         [C99-based standards] (FP_SUBNORMAL): Likewise.
60056         [C99-based standards] (FP_ZERO): Likewise.
60057         [C99-based standards] (FP_FAST_FMA): Use
60058         optional-macro-int-constant.  Specify type.  Require == 1.
60059         [C99-based standards] (FP_FAST_FMAF): Likewise.
60060         [C99-based standards] (FP_FAST_FMAL): Likewise.
60061         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60062         [C99-based standards] (FP_ILOGBNAN): Likewise.
60063         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60064         Specify type.
60065         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60066         [C99-based standards] (math_errhandling): Specify type.
60067         [ISO99 || ISO11] (signgam): Do not allow.
60068         [non-C99-based standards] (copysignf): Do not allow.
60069         [non-C99-based standards] (exp2f): Likewise.
60070         [non-C99-based standards] (log2f): Likewise.
60071         [non-C99-based standards] (modff): Allow.
60072         [non-C99-based standards] (erff): Do not allow.
60073         [non-C99-based standards] (erfcf): Likewise.
60074         [non-C99-based standards] (gammaf): Likewise.
60075         [non-C99-based standards] (hypotf): Likewise.
60076         [non-C99-based standards] (j0f): Likewise.
60077         [non-C99-based standards] (j1f): Likewise.
60078         [non-C99-based standards] (jnf): Likewise.
60079         [non-C99-based standards] (lgammaf): Likewise.
60080         [non-C99-based standards] (tgammaf): Likewise.
60081         [non-C99-based standards] (y0f): Likewise.
60082         [non-C99-based standards] (y1f): Likewise.
60083         [non-C99-based standards] (ynf): Likewise.
60084         [non-C99-based standards] (isnanf): Likewise.
60085         [non-C99-based standards] (acoshf): Likewise.
60086         [non-C99-based standards] (asinhf): Likewise.
60087         [non-C99-based standards] (atanhf): Likewise.
60088         [non-C99-based standards] (cbrtf): Likewise.
60089         [non-C99-based standards] (expm1f): Likewise.
60090         [non-C99-based standards] (ilogbf): Likewise.
60091         [non-C99-based standards] (log1pf): Likewise.
60092         [non-C99-based standards] (logbf): Likewise.
60093         [non-C99-based standards] (nextafterf): Likewise.
60094         [non-C99-based standards] (remainderf): Likewise.
60095         [non-C99-based standards] (rintf): Likewise.
60096         [non-C99-based standards] (scalbf): Likewise.
60097         [non-C99-based standards] (copysignl): Likewise.
60098         [non-C99-based standards] (exp2l): Likewise.
60099         [non-C99-based standards] (log2l): Likewise.
60100         [non-C99-based standards] (modfl): Allow.
60101         [non-C99-based standards] (erfl): Do not allow.
60102         [non-C99-based standards] (erfcl): Likewise.
60103         [non-C99-based standards] (gammal): Likewise.
60104         [non-C99-based standards] (hypotl): Likewise.
60105         [non-C99-based standards] (j0l): Likewise.
60106         [non-C99-based standards] (j1l): Likewise.
60107         [non-C99-based standards] (jnl): Likewise.
60108         [non-C99-based standards] (lgammal): Likewise.
60109         [non-C99-based standards] (tgammal): Likewise.
60110         [non-C99-based standards] (y0l): Likewise.
60111         [non-C99-based standards] (y1l): Likewise.
60112         [non-C99-based standards] (ynl): Likewise.
60113         [non-C99-based standards] (isnanl): Likewise.
60114         [non-C99-based standards] (acoshl): Likewise.
60115         [non-C99-based standards] (asinhl): Likewise.
60116         [non-C99-based standards] (atanhl): Likewise.
60117         [non-C99-based standards] (cbrtl): Likewise.
60118         [non-C99-based standards] (expm1l): Likewise.
60119         [non-C99-based standards] (ilogbl): Likewise.
60120         [non-C99-based standards] (log1pl): Likewise.
60121         [non-C99-based standards] (logbl): Likewise.
60122         [non-C99-based standards] (nextafterl): Likewise.
60123         [non-C99-based standards] (remainderl): Likewise.
60124         [non-C99-based standards] (rintl): Likewise.
60125         [non-C99-based standards] (scalbl): Likewise.
60126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60127         [non-C99-based standards] (FP_*): Do not allow.
60128         [C99-based standards] (FP_*): Change to
60129         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60130         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60131         allow.
60132         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60133         (SIG_ERR): Likewise.
60134         [X/Open-based standards] (SIG_HOLD): Likewise.
60135         (SIG_IGN): Likewise.
60136         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60137         positive value.
60138         (SIGFPE): Likewise.
60139         (SIGILL): Likewise.
60140         (SIGINT): Likewise.
60141         (SIGSEGV): Likewise.
60142         (SIGTER): Likewise.
60143         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60144         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60145         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60146         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60147         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60148         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60149         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60150         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60151         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60152         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60153         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60154         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60155         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60156         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60157         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60158         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60159         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60160         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60161         [X/Open-based standards] (SIGTRAP): Likewise.
60162         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60163         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60164         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60165         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60166         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60167         allow.
60169 2012-05-08  Ian Wienand  <ianw@vmware.com>
60171         [BZ #14080]
60172         * time/tzset.c (__tzset_parse_tz): Update default rules for
60173         daylight time changes in the Energy Policy Act of 2005.
60175 2012-05-09  Andreas Jaeger  <aj@suse.de>
60177         [BZ #13983]
60178         * elf/ldconfig.c (parse_conf): Change string to make clear that
60179         ldconfig only issued a warning if ld.so.conf does not exist.
60181 2012-05-08  David S. Miller  <davem@davemloft.net>
60183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60184         movxtod instead of popping the value on the stack.
60186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60188 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60190         * config.h.in: Add HAVE_ARM_PCS_VFP.
60192 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60194         [BZ #13979]
60195         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60196         checking but the checks are disabled for any reason.
60198 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60200         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60201         and ELF64_R_TYPE with ELFW(R_TYPE).
60203 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60205         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60206         (ulimit): Likewise.
60208         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60209         (settimeofday): Likewise.
60211 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60213         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60214         a struct th_u2 inside the union, and move tu_block/tu_code into
60215         a new th_u3 union of tu_block/tu_code inside of that.  Move
60216         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60217         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60218         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60219         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60220         (th_stuff): Change to th_u1.tu_stuff.
60221         (th_data): Define.
60222         (th_msg): Change to th_u1.th_u2.tu_data.
60224 2012-05-07  David S. Miller  <davem@davemloft.net>
60226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60228         [BZ #14074]
60229         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60230         (SETUP_PIC_REG): Use it.
60231         (SETUP_PIC_REG_LEAF): Use it.
60233 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60235         [BZ #13885]
60236         [BZ #13923]
60237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60238         USE_AS_EXPM1L.
60239         (EXPL_FINITE): Likewise.
60240         (FLDLOG): Likewise.
60241         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60242         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60243         e_expl.S.
60244         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60245         USE_AS_EXPM1L.
60246         (EXPL_FINITE): Likewise.
60247         (FLDLOG): Likewise.
60248         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60249         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60250         e_expl.S.
60251         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60252         test of -max_value argument for long double.
60253         * sysdeps/i386/fpu/libm-test-ulps: Update.
60254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60256 2012-05-06  David S. Miller  <davem@davemloft.net>
60258         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60259         quad soft-float symbols whose references which are compiler
60260         generated.
60261         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60263 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60265         [BZ #13884]
60266         [BZ #13914]
60267         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60268         USE_AS_EXP10L.
60269         (EXPL_FINITE): Likewise.
60270         (FLDLOG): Likewise.
60271         (c0): Likewise.
60272         (c1): Likewise.
60273         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60274         Adjust comments for base varying.
60275         (__expl_finite): Change alias to EXPL_FINITE.
60276         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60277         e_expl.S.
60278         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60279         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60280         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60281         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60282         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60283         USE_AS_EXP10L.
60284         (EXPL_FINITE): Likewise.
60285         (FLDLOG): Likewise.
60286         (c0): Likewise.
60287         (c1): Likewise.
60288         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60289         Adjust comments for base varying.
60290         (__expl_finite): Change alias to EXPL_FINITE.
60291         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60292         tests for bugs.
60293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60295         [BZ #14064]
60296         * math/libm-test.inc (check_float_internal): Correct ulp
60297         calculation for subnormal expected results.
60299 2012-05-06  Andreas Jaeger  <aj@suse.de>
60301         * Makeconfig (+math-flags): New, set to -frounding-math.
60302         (+cflags): Add +math-flags so that all of glibc gets compiled with
60303         it.
60305         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60307 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60309         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60310         Disable one test.
60312         [BZ #13787]
60313         [BZ #13922]
60314         [BZ #14036]
60315         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60316         (__ieee754_expl): Allow for and saturate large arguments.
60317         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60318         (u_threshold): Likewise.
60319         (__exp): Call __ieee754_exp before checking for overflow and
60320         underflow.
60321         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60322         (u_threshold): Likewise.
60323         (__expf): Call __ieee754_expf before checking for overflow and
60324         underflow.
60325         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60326         (u_threshold): Likewise.
60327         (__expl): Call __ieee754_expl before checking for overflow and
60328         underflow.
60329         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60330         (__ieee754_expl): Allow for and saturate large arguments.
60331         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60332         missing overflow exception on overflow.
60333         (expm1_test): Do not allow missing overflow exception on overflow.
60335         * sysdeps/i386/fpu/e_expl.c: Move to ...
60336         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60337         rather than using inline asm.
60338         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60339         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60340         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60342         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60343         (nice): Likewise.
60344         (poll): Likewise.
60345         (signal): Likewise.
60346         (time): Likewise.
60347         (times): Likewise.
60349 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60351         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60352         sysdeps/unix/common/syscalls.list.
60353         (fchmod): Likewise.
60354         (fchown): Likewise.
60355         (ftruncate): Likewise.
60356         (getrusage): Likewise.
60357         (gettimeofday): Likewise.
60358         (setpgid): Likewise.
60359         (setregid): Likewise.
60360         (setreuid): Likewise.
60361         (sigaction): Likewise.
60362         (truncate): Likewise.
60363         (vhangup): Likewise.
60364         * sysdeps/unix/common/syscalls.list: Remove file.
60365         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60366         * sysdeps/unix/sysv/linux/Implies: Likewise.
60368 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60370         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60372         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60373         Moved to ...
60374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60375         Here.
60376         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60377         to ...
60378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60379         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60380         to ...
60381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60382         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60383         to ...
60384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60385         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60386         to ...
60387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60388         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60389         to ...
60390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60391         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60392         to ...
60393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60394         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60395         to ...
60396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60397         Here.
60398         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60399         to ...
60400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60401         Here.
60402         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60403         to ...
60404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60405         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60406         Moved to ...
60407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60408         Here.
60409         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60410         to ...
60411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60415         * sysdeps/unix/common/bits/dirent.h: Remove file.
60416         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60418         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60419         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60420         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60421         * sysdeps/unix/bsd/isatty.c: Likewise.
60422         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60423         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60424         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60426 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60428         [BZ #13563]
60429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60430         long double comparison inaccuracies.
60431         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60434 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60436         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60439 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60441         [BZ #14049]
60442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60443         nonzero digits before rounding a hex value.
60444         * stdlib/tst-strtod.c (tests): Add another test.
60446 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60448         * sysdeps/s390/fpu/libm-test-ulps: Update.
60450 2012-05-03  Andreas Jaeger  <aj@suse.de>
60452         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60453         does not get optimized out.
60454         (malloc_opt_barrier): New.
60456 2012-05-03  Andreas Jaeger  <aj@suse.de>
60457             Roland McGrath  <roland@hack.frob.com>
60459         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60460         intermediate file deletion.
60461         (generated): Add .symlist files.
60463 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60465         [BZ #13775]
60466         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60467         Redirect under this condition.
60468         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60469         [__USE_GNU] (__dprintf_chk): Not under this condition.
60470         [__USE_GNU] (__vdprintf_chk): Likewise.
60471         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60472         under this condition.
60473         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60474         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60475         [__USE_XOPEN2K8] (vdprintf): Likewise.
60476         [__USE_GNU] (__dprintf_chk): Not under this condition.
60477         [__USE_GNU] (__vdprintf_chk): Likewise.
60478         [__USE_GNU] (dprintf): Likewise.
60479         [__USE_GNU] (vdprintf): Likewise.
60481 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60483         * elf/Makefile (common-generated): Set this instead of generated for
60484         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60485         $(all-built-dso)-derived lists.
60487 2012-05-03  Andreas Jaeger  <aj@suse.de>
60489         * sysdeps/i386/fpu/libm-test-ulps: Update.
60491         * FAQ: Removed.
60492         * FAQ.in: Likewise.
60493         * scripts/gen-FAQ.pl: Likewise.
60494         * manual/install.texi (Installation): Point to online location of
60495         FAQ.
60496         * Makefile (files-for-dist): Remove FAQ.
60497         (FAQ): Remove.
60499 2012-05-02  Allan McRae  <allan@archlinux.org>
60501         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60502         (LDFLAGS-reldepmod5.so): Likewise.
60503         (LDFLAGS-reldep6mod1.so): Likewise.
60504         (LDFLAGS-reldep6mod4.so): Likewise.
60505         (LDFLAGS-reldep8mod3.so): Likewise.
60506         (LDFLAGS-unload4mod1.so): Likewise.
60507         (LDFLAGS-unload4mod2.so): Likewise.
60508         (LDFLAGS-tst-initorder): Likewise.
60509         (LDFLAGS-tst-initordera2.so): Likewise.
60510         (LDFLAGS-tst-initordera3.so): Likewise.
60511         (LDFLAGS-tst-initordera4.so): Likewise.
60512         (LDFLAGS-tst-initorderb2.so): Likewise.
60513         (LDFLAGS-noload): Likewise.
60514         (LDFLAGS-next): Likewise.
60515         (LDFLAGS-order2mod1.so): Likewise.
60516         (LDFLAGS-order2mod2.so): Likewise.
60517         (LDFLAGS-tst-initorder2): Likewise.
60518         (LDFLAGS-tst-initorder2a.so): Likewise.
60519         (LDFLAGS-tst-initorder2b.so): Likewise.
60520         (LDFLAGS-tst-initorder2c.so): Likewise.
60521         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60523 2012-05-02  David S. Miller  <davem@davemloft.net>
60525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60527 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60529         [BZ #14055]
60530         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60532 2012-05-02  Andreas Jaeger  <aj@suse.de>
60534         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60535         since we manipulate rounding mode.
60536         (CPPFLAGS-test-idouble.c): Likewise.
60537         (CPPFLAGS-test-ifloat.c): Likewise.
60538         (CFLAGS-test-ldouble.c): Likewise.
60539         (CFLAGS-test-double.c): Likewise.
60540         (CFLAGS-test-float.c): Likewise.
60541         (CFLAGS-test-misc.c): Likewise.
60542         (CFLAGS-test-test-fenv.c): Likewise.
60544 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60546         [BZ #2550]
60547         [BZ #2570]
60548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60549         comparisons to determine direction to adjust input.
60551 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60553         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60554         output to the target.
60556         * scripts/localplt.awk: New file.
60557         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60558         (check-localplt-CFLAGS): Variable removed.
60559         ($(all-built-dso:=.jmprel)): New static pattern rule.
60560         (generated): Add those targets.
60561         (localplt-built-dso): New variable.
60562         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60564         * elf/check-localplt.c: File removed.
60566         * scripts/check-execstack.awk: New file.
60567         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60568         (check-execstack-CFLAGS): Variable removed.
60569         ($(objpfx)check-execstack.h): Target removed.
60570         ($(objpfx)execstack-default): New target.
60571         (generated): Add that instead of check-execstack.h.
60572         ($(all-built-dso:=.phdr)): New static pattern rule.
60573         (generated): Add those targets.
60574         * elf/check-execstack.c: File removed.
60576         * scripts/check-textrel.awk: New file.
60577         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60578         (check-textrel-CFLAGS): Variable removed.
60579         (all-built-dso): Use := to define.o
60580         ($(all-built-dso:=.dyn)): New static pattern rule.
60581         (generated): Add those targets.
60582         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60583         * config.make.in (READELF): New substituted variable.
60584         * elf/check-textrel.c: File removed.
60586 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60588         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60589         allow.
60590         * conform/data/ctype.h-data [C99-based standards] (isblank):
60591         Expect function.
60592         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60593         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60594         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60595         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60596         Specify type.  Require positive value.
60597         (EILSEQ): Likewise.
60598         (ERANGE): Likewise.
60599         [ISO || POSIX] (EILSEQ): Do not expect.
60600         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60601         Specify type.  Require positive value.
60602         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60603         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60604         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60605         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60606         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60607         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60608         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60609         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60610         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60611         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60612         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60613         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60614         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60615         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60616         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60617         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60618         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60619         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60620         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60621         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60622         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60623         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60624         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60625         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60626         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60627         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60628         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60629         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60630         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60631         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60632         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60633         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60634         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60635         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60636         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60637         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60638         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60639         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60640         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60641         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60642         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60643         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60644         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60645         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60646         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60647         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60648         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60649         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60650         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60651         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60652         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60653         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60654         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60655         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60656         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60657         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60658         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60659         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60660         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60661         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60662         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60663         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60664         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60665         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60666         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60667         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60668         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60669         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60670         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60671         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60672         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60673         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60674         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60675         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60676         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60677         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60678         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60679         Require >= 2.
60680         (FLT_ROUNDS): Expect as macro, not constant.
60681         (FLT_MANT_DIG): Use macro-int-constant.
60682         (DBL_MANT_DIG): Likewise.
60683         (LDBL_MANT_DIG): Likewise.
60684         (FLT_DIG): Likewise.
60685         (DBL_DIG): Likewise.
60686         (LDBL_DIG): Likewise.
60687         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60688         (DBL_MIN_EXP): Likewise.
60689         (LDBL_MIN_EXP): Likewise.
60690         (FLT_MAX_EXP): Use macro-int-constant.
60691         (DBL_MAX_EXP): Likewise.
60692         (LDBL_MAX_EXP): Likewise.
60693         (FLT_MAX_10_EXP): Likewise.
60694         (DBL_MAX_10_EXP): Likewise.
60695         (LDBL_MAX_10_EXP): Likewise.
60696         (FLT_MAX): Use macro-constant.
60697         (DBL_MAX): Likewise.
60698         (LDBL_MAX): Likewise.
60699         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60700         (DBL_EPSILON): Likewise.
60701         (LDBL_EPSILON): Likewise.
60702         (FLT_MIN): Likewise.
60703         (DBL_MIN): Likewise.
60704         (LDBL_MIN): Likewise.
60705         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60706         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60707         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60708         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60709         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60710         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60711         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60712         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60713         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60714         [ISO11] (FLT_TRUE_MIN): Likewise.
60715         [ISO11] (LDBL_TRUE_MIN): Likewise.
60716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60717         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60718         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60719         (SCHAR_MAX): Likewise.
60720         (UCHAR_MAX): Likewise.
60721         (CHAR_MIN): Likewise.
60722         (CHAR_MAX): Likewise.
60723         (MB_LEN_MAX): Use macro-int-constant.
60724         (SHRT_MIN): Use macro-int-constant.  Specify type.
60725         (SHRT_MAX): Likewise.
60726         (USHRT_MAX): Likewise.
60727         (INT_MAX): Likewise.
60728         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60729         bound negative.
60730         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60731         bound with "U".
60732         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60733         bound with "L".
60734         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60735         bound negative.  Suffix upper bound with "L".
60736         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60737         bound with "UL".
60738         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60739         Specify type.
60740         [C99-based standards] (LLONG_MAX): Likewise.
60741         [C99-based standards] (ULLONG_MAX): Likewise.
60742         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60743         == 0.
60744         [ISO11] (max_align_t): Require type.
60745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60747         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60748         from $CFLAGS, without defining away __attribute__ calls.
60749         (checknamespace): Use $CFLAGS_namespace.
60751         * conform/conformtest.pl (@keywords): Only include C99 keywords
60752         for standards based on C99 or C11.
60754         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60755         Disable tests.
60756         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60757         UNIX98]: Likewise.
60759         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60760         usability of symbols in #if.
60762         * conform/conformtest.pl: If macro or constant types start
60763         "promoted:", expect the symbol to be of the following type
60764         promoted by the integer promotions.
60766         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60767         in one place.  Also handle "macro-constant".
60769         * conform/conformtest.pl: Only accept expected macro values with
60770         "==".  Parse all "macro" lines in one place.
60771         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60773         * conform/conformtest.pl: Handle braced types on "constant" lines
60774         instead of handling "typed-constant".
60775         * conform/data/signal.h-data: Use "constant" instead of
60776         "typed-constant".
60778         * conform/conformtest.pl: Handle "optional-" at start of lines in
60779         one place rather than duplicating several cases.  Handle each
60780         format of "macro" line with initial "optional-".
60782         * conform/conformtest.pl: Only accept expected constant or
60783         optional-constant values with "==".  Parse all "constant" lines in
60784         one place.  Parse all "optional-constant" lines in one place.
60785         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60786         * conform/data/fmtmsg.h-data: Likewise.
60787         * conform/data/netinet/in.h-data: Likewise.
60788         * conform/data/tar.h-data: Likewise.
60789         * conform/data/limits.h-data: Use "==" form on "constant" and
60790         "optional-constant" lines.
60792         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60793         Use -std=c99 for XOPEN2K.
60794         (@knownproblems): Remove.
60795         (newtoken): Don't check %isknown.
60797         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60798         Do not expect macro.
60799         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60800         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60801         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60802         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60803         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60804         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60805         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60806         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60807         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60808         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60809         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60810         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60811         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60812         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60813         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60814         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60815         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60816         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60817         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60818         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60819         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60820         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60821         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60822         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60823         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60824         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60825         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60826         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60827         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60828         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60829         [XPG3] (acosh): Likewise.
60830         [XPG3] (asinh): Likewise.
60831         [XPG3] (atanh): Likewise.
60832         [XPG3] (cbrt): Likewise.
60833         [XPG3] (expm1): Likewise.
60834         [XPG3] (ilogb): Likewise.
60835         [XPG3] (log1p): Likewise.
60836         [XPG3] (logb): Likewise.
60837         [XPG3] (nextafter): Likewise.
60838         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60839         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60840         [XPG3] (remainder): Likewise.
60841         [XPG3] (rint): Likewise.
60842         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60843         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60844         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60845         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60846         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60847         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60848         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60849         [UNIX98 || XOPEN2K] (scalb): Expect.
60850         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60851         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60852         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60853         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60854         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60855         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60856         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60857         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60858         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60859         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60860         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60861         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60862         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60863         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60864         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60865         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60866         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60867         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60868         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60869         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60870         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60871         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60872         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60873         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60874         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60875         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60876         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60877         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60878         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60879         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60880         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60881         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60882         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60883         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60884         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60885         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60886         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60887         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60888         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60889         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60890         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60891         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60892         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60893         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60894         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60895         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60896         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60897         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60898         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60899         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60900         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60901         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60902         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60903         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60904         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60905         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60906         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60907         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60908         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60909         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60910         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60911         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60912         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60913         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60914         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60915         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60916         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60917         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60918         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60919         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60920         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60921         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60922         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60923         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60924         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60925         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60926         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60927         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60928         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60929         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60930         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60931         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60932         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60933         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60934         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60935         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60936         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60937         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60938         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60939         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60940         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60941         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60942         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60943         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60944         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60945         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60946         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60947         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60948         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60949         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60950         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60951         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60952         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60953         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60954         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60955         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60956         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60957         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60958         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60959         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60960         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60961         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60962         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60963         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60964         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60965         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60966         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60967         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60968         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60969         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60970         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60971         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60972         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60973         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60974         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60975         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60976         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60977         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60978         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60979         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60980         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60981         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60982         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60983         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60984         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60985         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60986         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60988         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60989         _XOPEN_SOURCE_EXTENDED for XPG4.
60991         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60993         * Makeconfig (localtime): Remove variable.
60994         (inst_localtime-file): Likewise.
60996 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60999         Update.
61000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61001         Update.
61002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61003         Update.
61004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61005         Update.
61006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61007         Update.
61008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61009         Update.
61010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61011         Update.
61012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61013         Update.
61014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61015         Update.
61017 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61019         [BZ #2550]
61020         [BZ #2570]
61021         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61022         comparisons to determine direction to adjust input.
61023         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61024         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61025         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61026         Likewise.
61027         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61028         Likewise.
61029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61030         Likewise.
61031         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61032         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61033         Likewise.
61034         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61035         Likewise.
61036         * math/libm-test.inc (nexttoward_test): Add more tests.
61038 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61040         [BZ #14040]
61041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61042         in version GLIBC_2.1, not GLIBC_2.0.
61043         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61044         Likewise.
61046 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61048         [BZ #13942]
61049         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61050         (1 - x) * (1 + x).
61051         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61052         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61053         * math/libm-test.inc (acos_test): Add more tests.
61054         (asin_test): Likewise.
61055         * sysdeps/i386/fpu/libm-test-ulps: Update.
61056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61058         [BZ #14034]
61059         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61060         of square root.
61061         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61062         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61063         * math/libm-test.inc (acos_test_tonearest): New function.
61064         (acos_test_towardzero): Likewise.
61065         (acos_test_downward): Likewise.
61066         (acos_test_upward): Likewise.
61067         (asin_test_tonearest): Likewise.
61068         (asin_test_towardzero): Likewise.
61069         (asin_test_downward): Likewise.
61070         (asin_test_upward): Likewise.
61071         (main): Call the new functions.
61072         * sysdeps/i386/fpu/libm-test-ulps: Update.
61073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61075         [BZ #13884]
61076         [BZ #13924]
61077         * math/e_exp10.c: Include <float.h>.
61078         (__ieee754_exp10): Handle underflow here rather than multiplying
61079         large negative argument by M_LN10.
61080         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61081         of __ieee754_expf.
61082         * math/e_exp10l.c: Include <float.h>.
61083         (__ieee754_exp10l): Handle underflow here rather than multiplying
61084         large negative argument by M_LN10l.
61085         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61086         spurious overflow exception on underflow.
61088 2012-04-29  Marek Polacek  <polacek@redhat.com>
61090         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61091         (__fortify_function): New macro.
61092         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61093         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61094         __extern_always_inline.
61095         * libio/bits/stdio2.h: Likewise.
61096         * libio/bits/stdio.h: Likewise.
61097         * string/string.h: Likewise.
61098         * string/bits/string3.h: Likewise.
61099         * include/stdio.h: Likewise.
61100         * stdlib/bits/stdlib.h: Likewise.
61101         * stdlib/stdlib.h: Likewise.
61102         * rt/bits/mqueue2.h: Likewise.
61103         * rt/mqueue.h: Likewise.
61104         * posix/bits/unistd.h: Likewise.
61105         * posix/unistd.h: Likewise.
61106         * io/bits/poll2.h: Likewise.
61107         * io/bits/fcntl2.h: Likewise.
61108         * io/fcntl.h: Likewise.
61109         * io/sys/poll.h: Likewise.
61110         * misc/bits/syslog.h: Likewise.
61111         * misc/bits/syslog-ldbl.h: Likewise.
61112         * misc/sys/syslog.h: Likewise.
61113         * socket/bits/socket2.h: Likewise.
61114         * socket/sys/socket.h: Likewise.
61115         * debug/tst-chk1.c: Likewise.
61116         * wcsmbs/bits/wchar2.h: Likewise.
61117         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61118         * wcsmbs/wchar.h: Likewise.
61120 2012-04-29  Andreas Jaeger  <aj@suse.de>
61122         * Makerules (tests): Remove enable-check-abi protection.
61123         (check-abi-warn): Remove.
61124         (check-abi-%): Remove check-abi-warn usage.
61126         * configure.in: Remove check-abi configure option.
61127         * configure: Regenerated.
61128         * config.make.in (enable-check-abi): Remove.
61130 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61132         [BZ #14033]
61133         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61134         double functions to double *_finite functions.
61136         [BZ #13941]
61137         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61138         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61139         LDBL_MIN_EXP.
61140         * stdio-common/Makefile (tests): Add tst-sprintf3.
61141         * stdio-common/tst-sprintf3.c: New file.
61143         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61144         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61146 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61148         * conform/conformtest.pl: Remove duplicate typed-constant
61149         handling.
61151 2012-04-28  David S. Miller  <davem@davemloft.net>
61153         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61154         (check-abi-%): Remove AWK script prerequisite and explicit
61155         abilist directory.
61156         (check-abi): Rewrite to just diff the symlist with the abilist.
61157         (config-tls, config-abi-config): Delete, no longer used.
61158         (update-abi-%): Remove AWK script and explicit abilist directory.
61159         (update-abi): Rewrite to simply compare and conditionally copy the
61160         symlist and the sysdep abilist file.  Remove update-abi-config
61161         checks.
61162         * abilist/ld.abilist: Remove.
61163         * abilist/libBrokenLocale.abilist: Remove.
61164         * abilist/libanl.abilist: Remove.
61165         * abilist/libcrypt.abilist: Remove.
61166         * abilist/libdl.abilist: Remove.
61167         * abilist/librt.abilist: Remove.
61168         * abilist/libthread_db.abilist: Remove.
61169         * abilist/libutil.abilist: Remove.
61170         * scripts/extract-abilist.awk: Remove.
61171         * scripts/merge-abilist.awk: Remove.
61172         * sysdeps/generic/libcidn.abilist: New file.
61173         * sysdeps/generic/libnss_compat.abilist: New file.
61174         * sysdeps/generic/libnss_db.abilist: New file.
61175         * sysdeps/generic/libnss_dns.abilist: New file.
61176         * sysdeps/generic/libnss_files.abilist: New file.
61177         * sysdeps/generic/libnss_hesiod.abilist: New file.
61178         * sysdeps/generic/libnss_nis.abilist: New file.
61179         * sysdeps/generic/libnss_nisplus.abilist: New file.
61180         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61181         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61182         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61183         file.
61184         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61185         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61186         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61187         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61188         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61189         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61190         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61191         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61192         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61193         file.
61194         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61195         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61196         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61197         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61198         file.
61199         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61200         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61201         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61202         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61203         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61204         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61205         file.
61206         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61207         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61208         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61209         file.
61210         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61212         New file.
61213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61214         New file.
61215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61216         New file.
61217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61218         New file.
61219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61220         New file.
61221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61222         New file.
61223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61224         New file.
61225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61226         New file.
61227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61228         New file.
61229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61230         New file.
61231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61232         New file.
61233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61234         New file.
61235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61236         New file.
61237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61238         file.
61239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61240         New file.
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61242         New file.
61243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61244         file.
61245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61246         New file.
61247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61248         New file.
61249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61250         file.
61251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61252         New file.
61253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61254         New file.
61255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61256         New file.
61257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61258         New file.
61259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61260         New file.
61261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61262         New file.
61263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61265         file.
61266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61267         New file.
61268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61269         file.
61270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61271         file.
61272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61273         file.
61274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61275         file.
61276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61277         file.
61278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61279         New file.
61280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61281         file.
61282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61283         file.
61284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61285         New file.
61286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61287         file.
61288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61290         file.
61291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61292         New file.
61293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61294         file.
61295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61296         file.
61297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61298         file.
61299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61300         file.
61301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61302         file.
61303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61304         New file.
61305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61306         file.
61307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61308         file.
61309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61310         New file.
61311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61312         file.
61313         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61314         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61315         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61316         file.
61317         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61318         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61319         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61320         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61321         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61322         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61323         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61324         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61325         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61326         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61329         file.
61330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61331         New file.
61332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61333         file.
61334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61335         file.
61336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61337         file.
61338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61339         file.
61340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61341         file.
61342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61343         New file.
61344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61345         New file.
61346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61347         file.
61348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61349         New file.
61350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61351         file.
61352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61354         file.
61355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61356         New file.
61357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61358         file.
61359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61360         file.
61361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61362         file.
61363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61364         file.
61365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61366         file.
61367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61368         New file.
61369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61370         New file.
61371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61372         file.
61373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61374         New file.
61375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61376         file.
61378 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61380         * conform/conformtest.pl: Fix typo in handling typed-constant from
61381         allow-header.
61383 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61385         * README: Cut down references to pre-2.6 Linux kernels and
61386         Linuxthreads.  Update lists of configurations in libc and ports
61387         and sort alphabetically.  Say "or newer" with Linux kernel version
61388         requirements.
61390         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61392 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61394         [BZ #887]
61395         * math/libm-test.inc (logb_test_downward): New test to expose
61396         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61397         rounding mode.
61399 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61401         [BZ #14027]
61402         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61403         to be done.
61404         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61405         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61407 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61409         * sysdeps/unix/i386/brk.S: Remove file.
61410         * sysdeps/unix/i386/dl-brk.S: Likewise.
61411         * sysdeps/unix/i386/pipe.S: Likewise.
61412         * sysdeps/unix/i386/sigreturn.S: Likewise.
61413         * sysdeps/unix/i386/syscall.S: Likewise.
61414         * sysdeps/unix/i386/vfork.S: Likewise.
61415         * sysdeps/unix/i386/wait.S: Likewise.
61417         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61418         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61420         * configure.in (arm*-none*): Do not allow without
61421         --enable-hacker-mode.
61422         (netbsd*): Remove case setting base_os.
61423         (386bsd*): Likewise.
61424         (freebsd*): Likewise.
61425         (bsdi*): Likewise.
61426         (osf*): Likewise.
61427         (sunos*): Likewise.
61428         (ultrix*): Likewise.
61429         (newsos*): Likewise.
61430         (dynix*): Likewise.
61431         (*bsd*): Likewise.
61432         (sysv*): Likewise.
61433         (isc*): Likewise.
61434         (esix*): Likewise.
61435         (sco*): Likewise.
61436         (minix*): Likewise.
61437         (irix4*): Likewise.
61438         (irix6*): Likewise.
61439         (solaris[2-9]*): Likewise.
61440         (none): Likewise.
61441         * configure: Regenerated.
61443 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61445         [BZ #11521]
61446         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61447         overflow or cancellation in calculating denominator.
61448         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61450         down expression to avoid unexpected rounding in newer GCCs.
61451         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61453 2012-04-26  David S. Miller  <davem@davemloft.net>
61455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61456         long-double compat symbols.
61457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61471 2012-04-25  David S. Miller  <davem@davemloft.net>
61473         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61474         HWCAP_* values only after the memory barriers have been defined.
61475         (atomic_full_barrier): Define.
61476         (atomic_read_barrier): Define.
61477         (atomic_write_barrier): Define.
61479 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61481         * shlib-versions: Add libgcc_s version information.
61482         * sysdeps/generic/libgcc_s.h: Remove.
61483         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61484         libgcc_s.h.
61485         * sysdeps/gnu/unwind-resume.c: Likewise.
61486         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61488 2012-04-25  David S. Miller  <davem@davemloft.net>
61490         * sysdeps/unix/sparc/brk.S: Delete.
61491         * sysdeps/unix/sparc/dl-brk.S: Delete.
61492         * sysdeps/unix/sparc/pipe.S: Delete.
61493         * sysdeps/unix/sparc/sysdep.S: Delete.
61494         * sysdeps/unix/sparc/sysdep.h: Delete.
61495         * sysdeps/unix/sparc/vfork.S: Delete.
61496         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61497         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61498         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61499         (ret_ERRVAL, r0, r1, MOVE): Define.
61500         (JUMPTARGET): Remove.
61501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61502         sysdeps/unix/sparc/sysdep.h
61503         (ENTRY, END): Remove.
61504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61506 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61508         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61509         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61510         -DIS_IN_build.
61512         * timezone/README: Update upstream location and email address for
61513         tzcode and tzdata.
61514         * timezone/zdump.c: Update from tzcode 2012b.
61515         * timezone/zic.c: Likewise.
61517         * configure.in (libc_cv_as_needed): Remove test.
61518         * configure: Regenerated.
61519         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61520         conditional definition.
61521         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61522         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61523         * config.make.in (have-as-needed): Remove variable.
61525 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61526             Paul Pluzhnikov  <ppluzhnikov@google.com>
61528         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61529         strings correctly.
61531 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61533         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61534         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61535         * sysdeps/sh/strlen.S: Likewise.
61537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61539         * sysdeps/unix/fork.S: Remove file.
61540         * sysdeps/unix/i386/fork.S: Likewise.
61541         * sysdeps/unix/sparc/fork.S: Likewise.
61543         * sysdeps/unix/system.c: Remove file.
61544         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61546         * sysdeps/unix/getegid.S: Remove file.
61547         * sysdeps/unix/geteuid.S: Likewise.
61549 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61551         * scripts/check-localplt.awk: New file.
61552         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61553         of diff.
61554         * scripts/data/localplt-generic.data: Add a comment.
61556         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61557         NODE when __dir_mkfile failed.
61558         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61559         Reported by Ludovic Courtès <ludo@gnu.org>.
61561 2012-04-24  Andreas Jaeger  <aj@suse.de>
61563         * Makerules (common-clean): Also remove gen-as-const-headers
61564         files.
61566 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61568         * Makerules (native-compile): Do not change working directory for
61569         build.  Use $(OUTPUT_OPTION) in command.
61570         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61572 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61574         [BZ #13886]
61575         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61576         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61577         * math/libm-test.inc (floor_test): Add more tests.
61578         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61580 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61582         * sysdeps/unix/getdents.c: Remove file.
61583         * sysdeps/unix/sysv/getdents.c: Likewise.
61584         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61586         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61587         sysdeps/unix/mman/syscalls.list.
61588         (mmap): Likewise.
61589         (mprotect): Likewise.
61590         (msync): Likewise.
61591         (munmap): Likewise.
61592         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61593         * sysdeps/unix/mman/syscalls.list: Remove.
61594         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61596         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61597         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61598         * configure: Regenerated.
61599         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61600         $(libgcc_s_suffix).
61601         * config.make.in (libgcc_s_suffix): Remove variable.
61603 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61605         * sysdeps/unix/sysv/gethostname.c: Move to ...
61606         * sysdeps/posix/gethostname.c: ... here.
61608         * sysdeps/unix/execve.S: Remove file.
61610         * sysdeps/unix/_exit.S: Remove file.
61612 2012-04-23  Andreas Jaeger  <aj@suse.de>
61614         [BZ #13739]
61615         * manual/Makefile: Remove make dist support, there's no
61616         need for a stand-alone documentation tar ball.
61617         (TEXI2DVI): Define always, it's not in Makeconfig.
61618         (dist): Removed.
61619         (tar-it): Removed.
61620         (edition): Removed.
61621         (glibc-doc-$(edition).tar): Removed
61622         (%.Z): Removed.
61623         (%.gz): Removed.
61624         (%.uu): Removed.
61625         (ETAGS): Remove, it's in Makeconfig.
61626         (move-if-change): Remove, it's in Makeconfig.
61628 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61630         [BZ #13970]
61631         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61632         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61633         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61634         (strtod_l, strtof_l, strtold_l): Remove __wur.
61635         It is not necessarily an error to ignore strtol's return value.
61636         One can reliably look at the stored endptr to decide whether
61637         the number had valid syntax.
61639 2012-04-21  Andreas Jaeger  <aj@suse.de>
61641         [BZ #13739]
61642         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61644 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61646         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61647         * sysdeps/unix/sysv/Versions: Remove file.
61649 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61651         [BZ #13927]
61652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61654 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61656         [BZ #7064]
61657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61658         version from __vm86.
61660 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61662         * sysdeps/unix/common/lxstat.c: Remove file.
61663         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61665         * sysdeps/unix/sysv/Makefile: Remove file.
61667         * sysdeps/unix/sysv/direct.h: Remove file.
61669         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61670         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61671         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61672         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61673         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61674         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61675         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61677         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61679         * sysdeps/unix/xmknod.c: Remove file.
61680         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61682         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61684         * sysdeps/unix/sysv/i386/time.S: Remove file.
61686         * sysdeps/unix/fxstat.c: Remove file.
61687         * sysdeps/unix/xstat.c: Likewise.
61688         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61690         * sysdeps/unix/sysv/sigaction.c: Remove file.
61692         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61693         (sysdep_headers): Remove variable.
61694         [termio.h not in sysdep_headers] (generated): Likewise.
61695         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61696         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61697         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61698         * sysdeps/unix/sysv/tcflow.c: Likewise.
61699         * sysdeps/unix/sysv/tcflush.c: Likewise.
61700         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61701         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61702         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61703         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61704         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61706         * sysdeps/unix/siglist.c: Remove file.
61708         * sysdeps/unix/getppid.S: Remove file.
61710         * sysdeps/unix/mkdir.c: Remove file.
61711         * sysdeps/unix/rmdir.c: Likewise.
61713 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61715         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61716         ERR_MAX value.
61717         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61718         errlist-compat value.
61720 2012-04-18  David S. Miller  <davem@davemloft.net>
61722         * sysdeps/generic/memcopy.h (reg_char): Delete.
61723         * debug/strcat_chk.c: Use char, not reg_char.
61724         * debug/strcpy_chk.c: Likewise.
61725         * debug/strncat_chk.c: Likewise.
61726         * debug/strncpy_chk.c: Likewise.
61727         * string/memchr.c: Likewise.
61728         * string/memrchr.c: Likewise.
61729         * string/rawmemchr.c: Likewise.
61730         * string/strcat.c: Likewise.
61731         * string/strchr.c: Likewise.
61732         * string/strchrnul.c: Likewise.
61733         * string/strcmp.c: Likewise.
61734         * string/strcpy.c: Likewise.
61735         * string/strncat.c: Likewise.
61736         * string/strncmp.c: Likewise.
61737         * string/strncpy.c: Likewise.
61739 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61741         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61742         __builtin_memcopy is called when src and dest ranges are known to not
61743         overlap.
61745 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61747         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61748         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61749         fwd_align_merge macro call.
61750         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61751         bwd_align_merge macro call.
61752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61754 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61756         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61757         bwd_align_merge macros.
61758         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61759         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61760         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61762 2012-04-18  David S. Miller  <davem@davemloft.net>
61764         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61766 2012-04-18  Andreas Jaeger  <aj@suse.de>
61768         [BZ# 6794]
61769         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61770         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61771         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61774         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61775         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61777         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61778         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61779         Adjust for changed ldbl-128 files.
61781         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61782         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61783         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61785 2012-04-17  David S. Miller  <davem@davemloft.net>
61787         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61789 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61791         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61792         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61793         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61794         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61795         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61796         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61798 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61800         [BZ #6794]
61801         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61802         * math/libm-test.inc: Add ilogb errno and exception tests.
61803         * math/w_ilogb.c: New file: ilogb wrapper.
61804         * math/w_ilogbf.c: New file: ilogbf wrapper.
61805         * math/w_ilogbl.c: New file: ilogbl wrapper.
61806         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61807         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61808         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61809         exception being thrown with 0.0 as argument.
61810         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61811         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61812         exception being thrown with 0.0 as argument.
61813         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61814         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61815         exception being thrown with 0.0 as argument.
61816         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61817         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61818         exception being thrown with 0.0 as argument.
61819         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61820         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61821         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61822         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61823         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61824         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61825         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61826         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61827         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61829 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61831         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61832         with altivec.
61834 2012-04-16  Marek Polacek  <polacek@redhat.com>
61836         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61838 2012-04-16  Marek Polacek  <polacek@redhat.com>
61840         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61841         operands of fdivp instruction.
61843 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61845         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61846         * elf/tst-auditmod3b.c: Likewise.
61847         * elf/tst-auditmod4b.c: Likewise.
61848         * elf/tst-auditmod5b.c: Likewise.
61849         * elf/tst-auditmod6b.c: Likewise.
61850         * elf/tst-auditmod6c.c: Likewise.
61851         * elf/tst-auditmod7b.c: Likewise.
61852         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61853         * sysdeps/x86_64/preconfigure.in: Likewise.
61854         * sysdeps/x86_64/preconfigure: Regenerated.
61856 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61858         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61859         __ILP32__.
61861 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61864         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61866 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61868         [BZ #13973]
61869         * locale/iso-639.def: Fix gl language name. Spotted by
61870         Yaron Shahrabani.
61872 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61874         [BZ #2074]
61875         * libio/libio.h (__io_write_fn): Update comment.
61877 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61879         [BZ #2074]
61880         * stdio.texi (Hook Functions): The user provided writer function
61881         is not allowed to return -1.
61883 2012-04-11  David S. Miller  <davem@davemloft.net>
61885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61887 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61889         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61890         Add a leading slash to rtkaio.
61892 2012-04-11  Jim Meyering  <meyering@redhat.com>
61894         [BZ #11959]
61895         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61896         It is not necessarily an error to ignore fwrite's return
61897         value.  One can reliably use ferror to test for errors after
61898         the fact.
61900 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61902         * bits/types.h (__snseconds_t): New type.
61903         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61905         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61907         (__SNSECONDS_T_TYPE): Likewise.
61908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61909         (__SNSECONDS_T_TYPE): Likewise.
61910         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61911         (__SNSECONDS_T_TYPE): Likewise.
61913 2012-04-10  Andreas Jaeger  <aj@suse.de>
61915         [BZ #2636]
61916         * manual/time.texi (Processor Time): Return type of times is
61917         elapsed real time since an arbitrary point in the past.
61918         (CPU Time): Move CLK_TCK from here...
61919         (Processor Time): ...to here.  Correct description.
61920         * manual/conf.texi (Constants for Sysconf): Correct description of
61921         _SC_CLK_TCK.
61923 2012-04-10  David S. Miller  <davem@davemloft.net>
61925         [BZ #13967]
61926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61927         where the is a gap between DT_REL(A) and DT_JMPREL.
61929 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61931         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61932         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61933         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61935 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61937         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61938         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61939         (dl_main): Handle --inhibit-cache.
61940         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61941         _dl_inhibit_cache.
61942         * elf/dl-load.c (_dl_map_object): Use it.
61943         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61945 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61947         [BZ #13872]
61948         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61949         (__ieee754_powl): Saturate large exponents rather than testing for
61950         overflow of y*log2(x).
61951         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61952         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61953         exceptions.
61955         [BZ #11521]
61956         * math/s_ctan.c: Include <float.h>.
61957         (__ctan): Avoid internal overflow or cancellation in calculating
61958         denominator.
61959         * math/s_ctanf.c: Likewise.
61960         * math/s_ctanl.c: Likewise.
61961         * math/s_ctanh.c: Likewise.
61962         * math/s_ctanhf.c: Likewise.
61963         * math/s_ctanhl.c: Likewise.
61964         * math/libm-test.inc (ctan_test): Add more tests.
61965         (ctanh_test): Likewise.
61966         * sysdeps/i386/fpu/libm-test-ulps: Update.
61967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61969 2012-04-09  Andreas Jaeger  <aj@suse.de>
61971         [BZ #6894]
61972         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61973         is an optional BSD extension.
61975         [BZ #10254]
61976         * manual/stdio.texi (Opening Streams): Document additional fopen
61977         parameters.
61979 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61981         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61982         %eax without telling the compiler.
61984 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61986         [BZ # 13963]
61987         * manual/install.texi: Use sourceware.org.
61989 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61991         [BZ #13873]
61992         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61993         (__ieee754_pow): Generate overflow and underflow using huge*huge
61994         and tiny*tiny rather than just returning constant infinity or zero
61995         for large exponents.
61996         * math/libm-test.inc (pow_test): Require overflow exceptions for
61997         applicable cases of large exponents.
61999         [BZ #706]
62000         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62001         (__ieee754_pow): Use iterative multiplication algorithm only for
62002         integer exponents with absolute value below 1024.  Check for odd
62003         integer exponents when using algorithm for real exponents.
62004         * math/libm-test.inc (pow_test): Add more tests.
62005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62007 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62009         [BZ #13705]
62010         * math/libm-test.inc (exp_test): Do not allow overflow exception
62011         on underflow test.
62013 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62015         [BZ #13705]
62016         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62017         instead of __kernel_standard_f.
62019 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62021         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62022         * sysdeps/x86_64/memset_chk.S: Likewise.
62024 2012-04-08  Andreas Jaeger  <aj@suse.de>
62026         [BZ #10153]
62027         * manual/startup.texi (Environment Access): Describe return value
62028         for putenv and setenv.
62030         [BZ #6895]
62031         * manual/filesys.texi (Directory Entries): Add description for
62032         DT_LNK.
62034         [BZ #6890]
62035         * manual/filesys.texi (Directory Entries): Clarify that it's file
62036         system not operating system in the description of DT_UNKNOWN.
62038         [BZ #6578]
62039         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62041 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62043         [BZ #6649]
62044         * manual/llio.texi (Opening and Closing Files): Add cross
62045         reference to explain mode argument.
62047 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62049         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62050         * sysdeps/x86_64/memset_chk.S: Likewise.
62052 2012-04-07  David S. Miller  <davem@davemloft.net>
62054         * elf/elf.h (R_SPARC_WDISP10): Define.
62055         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62056         R_SPARC_SIZE32.
62057         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62058         R_SPARC_SIZE64 and R_SPARC_H34.
62060 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62062         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62063         conditions and remove no longer applicable assertion.
62065 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62067         * bits/byteswap.h: Include <features.h>.
62068         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62069         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62071 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62073         * bits/byteswap.h (__bswap_16): Removed.
62074         Include <bits/byteswap-16.h> to get __bswap_16.
62075         * sysdeps/i386/bits/byteswap.h: Likewise.
62076         * sysdeps/s390/bits/byteswap.h: Likewise.
62077         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62078         * bits/byteswap-16.h: New file.
62079         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62080         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62081         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62082         * string/Makefile (headers): Add bits/byteswap-16.h.
62084 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62086         [BZ #13895]
62087         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62088         extra indirection.
62089         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62090         * nss/tst-nss-static.c: New.
62092 2012-04-06  Robert Millan  <rmh@gnu.org>
62094         [BZ #6486]
62095         * manual/llio.texi (File Position Primitive): lseek
62096         refers to WHENCE when it really means OFFSET.
62098 2012-04-06  Andreas Jaeger  <aj@suse.de>
62100         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62101         strncmp declarations.
62103         * abilist/libc.abilist: Add __poll and __ppoll.
62105 2012-04-05  David S. Miller  <davem@davemloft.net>
62107         * scripts/check-local-headers.sh: Accept a host triplet in the
62108         path matched by the exclude regexp.
62110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62111         definition.
62112         * sysdeps/powerpc/powerpc32/dl-machine.h
62113         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62114         * sysdeps/s390/s390-32/dl-machine.h
62115         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62116         * sysdeps/sparc/sparc32/dl-machine.h
62117         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62118         * sysdeps/sparc/sparc64/dl-machine.h
62119         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62121         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62122         lazy binding.
62123         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62124         undefined symbol errors.
62126         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62127         DT_NEEDED entries.
62129 2012-04-05  Michael Matz  <matz@suse.de>
62131         [BZ #13592]
62132         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62134 2012-04-05  Andreas Jaeger  <aj@suse.de>
62136         [BZ #13908]
62137         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62138         comment.
62140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62142         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62143         which ROUND is no valid rounding mode.
62145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62147         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62148         read again.
62149         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62151 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62153         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62154         an exception using FPU order intentionally.
62156 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62158         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62159         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62160         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62161         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62163 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62165         [BZ #12340]
62166         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62167         EINVAL when BUFLEN is too smal.
62169 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62171         [BZ #13553]
62172         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62173         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62175 2012-04-03  Andreas Jaeger  <aj@suse.de>
62177         [BZ #13938]
62178         * manual/setjmp.texi (System V contexts): Fix sentence.
62180         [BZ #13926]
62181         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62182         New macro for this case.
62183         [!__GNUC__] (__bswap_64): New inline function for this case.
62184         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62185         * bits/byteswap.h: Likewise.
62186         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62187         ull, guard with __GLIBC_HAVE_LONG_LONG.
62189         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62190         __GLIBC_HAVE_LONG_LONG.
62192         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62193         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62195 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62197         [BZ #13691]
62198         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62199         inptr and inend, rather than using last_ch.
62201 2012-04-02  David S. Miller  <davem@davemloft.net>
62203         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62204         * stdio-common/printf-parse.h (read_int): Change return type to
62205         'int', return -1 on INT_MAX overflow.
62206         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62207         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62208         overflows INT_MAX.  Check for overflow of in-format-string precision
62209         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62210         SIZE_MAX not INT_MAX for integer overflow test.
62211         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62212         skip the construct in the format string but do not record anything.
62213         * stdio-common/bug22.c: Adjust to test both width/prevision
62214         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62215         explicitly for proper errno values.
62217 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62219         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62220         CHAR_MAX.
62221         * string/test-strcmp.c [! WIDE]: Likewise.
62222         * time/tst-mktime2.c: Likewise for INT_MAX.
62223         * string/test-string.h: #include <sys/param.h> for MIN.
62225         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62226         * sysdeps/i386/init-first.c (init): Likewise.
62227         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62228         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62229         * sysdeps/sh/init-first.c (init): Likewise.
62231 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62233         * po/ru.po: Update from translation team.
62234         * po/vi.po: Likewise.
62236 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62238         * resolv/nss_dns/dns-host.c: Merge copyright years.
62240 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62242         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62243         Optimize memcpy with prefetch if
62244         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62245         src, dst pointers have unequal 16 byte alignments.
62247 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62249         [BZ #13928]
62250         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62251         from a CNAME entry and return the minimum ttl for the query.
62252         (gaih_getanswer_slice): Likewise.
62254 2012-03-30  Jeff Law  <law@redhat.com>
62256         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62257         due to long keys.
62258         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62259         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62261         * resolv/nss_dns/dns-host.c: Update copyright year.
62263 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62265         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62266         requests to save a system call.  Fix check that all bytes are sent.
62268         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62269         comments for sendmmsg.
62271 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62273         [BZ #13691]
62274         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62275         with only 1 character between 0x0041 and 0x01b0.
62276         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62277         * wcsmbs/tst-mbsnrtowcs.c: New file.
62279 2012-03-29  David S. Miller  <davem@davemloft.net>
62281         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62282         small copies by hand.
62284 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62286         [BZ #13761]
62287         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62288         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62289         group memberships.
62291 2012-03-28  David S. Miller  <davem@davemloft.net>
62293         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62294         that branches into memcpy.
62295         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62297         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62298         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62300         bits.
62301         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62302         implementation too.
62303         * sysdeps/sparc/mempcpy.S: New file.
62305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62306         the IFUNC routine in the libc case.
62307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62309         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62310         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62311         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62312         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62313         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62314         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62315         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62316         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62318         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62319         loop to 256 bytes instead of 64 bytes and fix test signedness.
62321         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62322         * sysdeps/sparc/sparc32/Makefile: rather than here...
62323         * sysdeps/sparc/sparc64/Makefile: and here.
62325 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62327         * malloc/mallocbug.c: Avoid warnings about unused variables.
62329 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62331         [BZ #13760]
62332         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62333         in the right place. Discard and retry query if response is
62334         larger than input buffer size.
62336 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62338         [BZ #369]
62339         [BZ #2678]
62340         [BZ #3866]
62341         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62342         x for large integer exponent.
62343         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62344         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62345         sign of result as needed afterwards.
62346         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62347         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62348         result for underflowing pow the same as for overflow.
62349         (__kernel_standard_l): Handle powl overflow and underflow here
62350         rather than calling __kernel_standard.
62351         * math/libm-test.inc (pow_test): Add more tests.
62353         [BZ #3868]
62354         [BZ #13879]
62355         [BZ #13910]
62356         [BZ #13911]
62357         [BZ #13912]
62358         [BZ #13913]
62359         [BZ #13915]
62360         [BZ #13916]
62361         [BZ #13917]
62362         [BZ #13918]
62363         [BZ #13919]
62364         [BZ #13920]
62365         [BZ #13921]
62366         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62367         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62368         (__kernel_standard_l): New function.
62369         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62370         __kernel_standard.
62371         * math/w_acosl.c (__acosl): Likewise.
62372         * math/w_asinl.c (__asinl): Likewise.
62373         * math/w_atan2l.c (__atan2l): Likewise.
62374         * math/w_atanhl.c (__atanhl): Likewise.
62375         * math/w_coshl.c (__coshl): Likewise.
62376         * math/w_exp10l.c (__exp10l): Likewise.
62377         * math/w_exp2l.c (__exp2l): Likewise.
62378         * math/w_fmodl.c (__fmodl): Likewise.
62379         * math/w_hypotl.c (__hypotl): Likewise.
62380         * math/w_j0l.c (__j0l, __y0l): Likewise.
62381         * math/w_j1l.c (__j1l, __y1l): Likewise.
62382         * math/w_jnl.c (__jnl, __ynl): Likewise.
62383         * math/w_lgammal.c (__lgammal): Likewise.
62384         * math/w_log10l.c (__log10l): Likewise.
62385         * math/w_log2l.c (__log2l): Likewise.
62386         * math/w_logl.c (__logl): Likewise.
62387         * math/w_powl.c (__powl): Likewise.
62388         * math/w_remainderl.c (__remainderl): Likewise.
62389         * math/w_scalbl.c (sysv_scalbl): Likewise.
62390         * math/w_sinhl.c (__sinhl): Likewise.
62391         * math/w_sqrtl.c (__sqrtl): Likewise.
62392         * math/w_tgammal.c (__tgammal): Likewise.
62393         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62394         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62395         * math/libm-test.inc (acos_test): Add more tests.
62396         (acosh_test): Likewise.
62397         (asin_test): Likewise.
62398         (atanh_test): Likewise.
62399         (exp_test): Likewise.
62400         (exp10_test): Likewise.
62401         (exp2_test): Likewise.
62402         (expm1_test): Likewise.
62403         (lgamma_test): Likewise.
62404         (log_test): Likewise.
62405         (log10_test): Likewise.
62406         (log1p_test): Likewise.
62407         (log2_test): Likewise.
62408         (pow_test): Do not allow some spurious overflow exceptions.
62409         (sqrt_test): Add more tests.
62410         (tgamma_test): Likewise.
62411         (y0_test): Likewise.
62412         (y1_test): Likewise.
62413         (yn_test): Likewise.
62415 2012-03-27  Anton Blanchard  <anton@samba.org>
62417         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62418         MAP_HUGETLB.
62419         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62420         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62423 2012-03-27  David S. Miller  <davem@davemloft.net>
62425         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62427         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62428         have-as-vis3 check.
62430 2012-03-27  Andreas Jaeger  <aj@suse.de>
62432         * sysdeps/x86_64/elf/configure.in: Moved to ...
62433         * sysdeps/x86_64/configure.in: ... here.
62434         * sysdeps/x86_64/elf/start.S: Moved to ...
62435         * sysdeps/x86_64/start.S: ... here.
62436         * sysdeps/x86_64/elf/configure: Delete.
62438         * sysdeps/x86_64/configure.in: Merge contents from
62439         sysdeps/i386/configure.in (without i686 check).
62441         * sysdeps/i386/elf/Versions: Merge into ...
62442         * sysdeps/i386/Versions: ... this.
62443         * sysdeps/i386/elf/Versions: Delete file.
62444         * sysdeps/i386/elf/start.S: Moved to ...
62445         * sysdeps/i386/start.S: ...here.
62446         * sysdeps/i386/elf/configure.in: Merge into...
62447         * sysdeps/i386/configure.in: ...here.
62448         * sysdeps/i386/elf/configure.in: Delete file.
62449         * sysdeps/i386/elf/configure: Delete file.
62451         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62452         * debug/backtracesyms.c: ... here.
62453         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62454         * debug/backtracesymsfd.c: ... here.
62455         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62456         * sysdeps/generic/ifunc-sel.h: ... here.
62458         * sysdeps/unix/i386/start.c: Delete file.
62459         * sysdeps/unix/sparc/start.c: Delete file.
62460         * sysdeps/unix/start.c: Delete file.
62462         * sysdeps/sh/elf/configure.in: Moved to ...
62463         * sysdeps/sh/configure.in: ... here.
62464         * sysdeps/sh/elf/start.S: Moved to ...
62465         * sysdeps/sh/start.S: ... here.
62466         * sysdeps/sh/elf/configure: Delete file.
62468         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62469         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62470         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62471         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62472         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62473         * sysdeps/powerpc/powerpc64/start.S: here.
62474         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62475         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62476         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62477         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62478         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62480         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62481         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62482         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62483         * sysdeps/powerpc/powerpc32/start.S: ... here.
62484         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62485         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62486         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62488         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62489         * sysdeps/powerpc/ifunc-sel.h: ... here.
62490         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62491         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62493         * sysdeps/sparc/elf/configure.in: Moved to ...
62494         * sysdeps/sparc/configure.in: ... here.
62495         * sysdeps/sparc/elf/configure: Delete file.
62496         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62497         * sysdeps/sparc/sparc32/start.S: ... here.
62498         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62499         * sysdeps/sparc/sparc64/start.S: ... here.
62500         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62501         * sysdeps/sparc/sparc32/Makefile: ... this.
62502         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62503         * sysdeps/sparc/sparc64/Makefile: ... this.
62505         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62506         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62507         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62508         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62509         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62510         * sysdeps/s390/s390-32/setjmp.S: ... here.
62511         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62512         * sysdeps/s390/s390-32/configure.in: ... here.
62513         * sysdeps/s390/s390-32/elf/configure: Delete file.
62514         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62515         * sysdeps/s390/s390-32/start.S: ... here.
62517         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62518         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62519         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62520         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62521         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62522         * sysdeps/s390/s390-64/setjmp.S: ... here.
62523         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62524         * sysdeps/s390/s390-64/configure.in: ... here
62525         * sysdeps/s390/s390-64/elf/configure: Delete file.
62526         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62527         * sysdeps/s390/s390-64/start.S: ... here.
62528         * sysdeps/s390/s390-64/elf/configure: Delete.
62530         * configure.in: Remove support for elf directories in sysdeps.
62532         * configure: Regenerated.
62533         * sysdeps/i386/configure: Regenerated.
62534         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62535         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62536         * sysdeps/s390/s390-32/configure: Regenerated.
62537         * sysdeps/s390/s390-64/configure: Regenerated.
62538         * sysdeps/sh/configure: Regenerated.
62539         * sysdeps/sparc/configure: Regenerated.
62540         * sysdeps/x86_64/configure: Regenerated.
62542 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62546         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62547         denormal result into account.
62549 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62551         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62552         Reported by Allan McRae <allan@archlinux.org>.
62554 2012-03-23  Jeff Law  <law@redhat.com>
62556         * nss/getnssent.c (__nss_getent): Fix typo.
62558 2012-03-23  David S. Miller  <davem@davemloft.net>
62560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62562 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62564         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62565         to pad to uint64_t for each field.
62566         (dl_tls_index): Replace unsigned long with uint64_t.
62568 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62569         Paul Pluzhnikov  <ppluzhnikov@google.com>
62571         [BZ #6528]
62572         * grp/Makefile (otherlibs): Don't set it.
62573         * inet/Makefile (otherlibs): Likewise.
62574         * login/Makefile (otherlibs): Likewise.
62575         * nscd/Makefile (otherlibs): Likewise.
62576         * posix/Makefile (otherlibs): Likewise.
62577         * pwd/Makefile (otherlibs): Likewise.
62578         * rt/Makefile (otherlibs): Likewise.
62579         * sunrpc/Makefile (otherlibs): Likewise.
62580         * nss/Makefile (otherlibs): Likewise.
62581         Add libnss_files to routines and static-only-routines.
62582         ($(objpfx)getent): Remove rule.
62583         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62584         static-only-routines.
62586 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62588         [BZ #13892]
62589         * math/s_cexp.c: Include <float.h>.
62590         (__cexp): Handle exp result overflowing not necessarily
62591         overflowing both real and imaginary parts of result.
62592         * math/s_cexpf.c: Likewise.
62593         * math/s_cexpl.c: Likewise.
62594         * math/libm-test.inc (cexp_test): Add more tests.
62595         * sysdeps/i386/fpu/libm-test-ulps: Update.
62596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62600         * include/link.h (ELFW): New macro.
62601         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62602         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62604 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62606         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62607         with uint64_t.
62609 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62611         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62612         declaration.
62613         (struct La_x32_retval): Likewise.
62615 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62617         * sysdeps/x86_64/preconfigure.in: New file.
62618         * sysdeps/x86_64/preconfigure: New generated file.
62620 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62622         [BZ #13824]
62623         * math/e_exp2l.c: Include <float.h>.
62624         (__ieee754_exp2l): Handle overflow and underflow cases
62625         separately.  Only pass fractional part of argument to
62626         __ieee754_expl.
62627         * math/libm-test.inc (exp2_test): Add more tests.
62629         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62630         negating x to take absolute value.
62631         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62632         Likewise.
62633         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62634         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62635         Likewise.
62636         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62637         computing low part if x was negated.
62638         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62642         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62643         la_x32_gnu_pltexit.
62644         (pltexit): Cast int_retval to ptrdiff_t.
62645         * elf/tst-auditmod3b.c: Likewise.
62646         * elf/tst-auditmod4b.c: Likewise.
62647         * elf/tst-auditmod5b.c: Likewise.
62648         * elf/tst-auditmod6b.c: Likewise.
62649         * elf/tst-auditmod6c.c: Likewise.
62650         * elf/tst-auditmod7b.c: Likewise.
62652         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62653         and x32_gnu_pltexit.
62655         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62656         __ELF_NATIVE_CLASS.
62657         (La_x32_regs): New macro.
62658         (La_x32_retval): Likewise.
62659         (la_x32_gnu_pltenter): New function prototype.
62660         (la_x32_gnu_pltexit): Likewise.
62662 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62664         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62665         exponent.
62667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62669         * configure.in (libc_cv_cc_nofma): Check for option to disable
62670         generation of FMA instructions.
62671         * configure: Regenerate.
62672         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62673         * sysdeps/ieee754/dbl-64/Makefile: New file.
62674         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62675         Remove brandred-fma4.
62676         (CFLAGS-brandred-fma4.c): Remove.
62677         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62678         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62679         define.
62680         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62681         define.
62683 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62685         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62686         LLONG_MAX != LONG_MAX.
62687         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62688         (_fitoa_word): Likewise.
62689         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62690         LLONG_MAX != LONG_MAX.
62691         * stdio-common/_itowa.h: Include <_itoa.h>.
62692         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62693         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62694         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62695         only if not defined.
62696         (_ITOA_WORD_TYPE): Likewise.
62697         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62698         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62700 2012-03-21  David S. Miller  <davem@davemloft.net>
62702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62704 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62706         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62707         of x86_64 when setting libc_cv_slibdir, libdir and
62708         libc_cv_localedir.
62709         * sysdeps/unix/sysv/linux/configure: Regenerated.
62711 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62713         * manual/lang.texi (Old Varargs): Remove section.
62714         (How Variadic): Update menu.
62715         (va_start): Do not mention varargs.h.
62717 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62718             Joseph Myers  <joseph@codesourcery.com>
62720         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62721         link test.
62722         * configure: Regenerated.
62724 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62726         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62727         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62728         conformtest.pl
62730 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62732         * NOTES: Remove.
62733         * Makefile (files-for-dist): Remove NOTES.
62734         (NOTES): Remove rule.
62735         * README: Don't refer to NOTES.
62736         * manual/creature.texi: Don't include macros.texi.
62737         * manual/intro.texi (creature.texi): Remove comment referring to
62738         NOTES.
62740         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62741         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62742         * configure: Regenerated.
62743         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62744         LIBC_TRY_CC_OPTION.
62745         (libc_cv_as_i686): Likewise.
62746         (libc_cv_cc_avx): Likewise.
62747         (libc_cv_cc_sse2avx): Likewise.
62748         (libc_cv_cc_fma4): Likewise.
62749         (libc_cv_cc_novzeroupper): Likewise.
62750         * sysdeps/i386/configure: Regenerated.
62752         [BZ #13883]
62753         * sysdeps/i386/fpu/s_cexp.S: Remove.
62754         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62755         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62756         * math/libm-test.inc (cexp_test): Add more tests.
62757         * sysdeps/i386/fpu/libm-test-ulps: Update.
62758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62760 2012-03-21  Allan McRae  <allan@archlinux.org>
62762         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62764 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62766         [BZ #13871]
62767         * math/w_exp2.c: Do not include <float.h>.
62768         (o_threshold, u_threshold): Remove.
62769         (__exp2): Calculate result before checking finiteness and calling
62770         __kernel_standard.
62771         * math/w_exp2f.c: Likewise.
62772         * math/w_exp2l.c: Likewise.
62773         * math/libm-test.inc (exp2_test): Require overflow exception for
62774         1e6 input.
62776         [BZ #3866]
62777         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62778         range of signed 64-bit integers before using fistpll.  Remove
62779         checks for whether integers fit in mantissa bits.
62780         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62781         the range of signed 32-bit integers before using fistpl.  Remove
62782         checks for whether integers fit in mantissa bits.
62783         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62784         (__ieee754_powl): Test for y outside the range of signed 64-bit
62785         integers before using fistpll.  Reduce 64-bit values to 63-bit
62786         ones as needed.
62787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62788         divide-by-zero is raised for zero to large negative powers.
62789         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62790         (__ieee754_powl): Test for y outside the range of signed 64-bit
62791         integers before using fistpll.  Reduce 64-bit values to 63-bit
62792         ones as needed.
62793         * math/libm-test.inc (pow_test): Add more tests.
62795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62797         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62798         <stdio-common/_itoa.h>.
62799         * debug/segfault.c: Likewise.
62800         * elf/dl-cache.c: Likewise.
62801         * elf/dl-minimal.c: Likewise.
62802         * elf/dl-misc.c: Likewise.
62803         * elf/dl-sysdep.c: Likewise.
62804         * elf/dl-version.c: Likewise.
62805         * elf/rtld.c: Likewise.
62806         * hurd/hurdsock.c: Likewise.
62807         * hurd/lookup-retry.c: Likewise.
62808         * malloc/malloc.c: Likewise.
62809         * malloc/mtrace.c: Likewise.
62810         * nscd/nscd_getgr_r.c: Likewise.
62811         * nscd/nscd_getpw_r.c: Likewise.
62812         * nscd/nscd_getserv_r.c: Likewise.
62813         * posix/getopt_init.c: Likewise.
62814         * posix/wordexp.c: Likewise.
62815         * stdio-common/_itoa.c: Likewise.
62816         * stdio-common/printf_fphex.c: Likewise.
62817         * stdio-common/vfprintf.c: Likewise.
62818         * string/_strerror.c: Likewise.
62819         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62820         * sysdeps/i386/i686/hp-timing.h: Likewise.
62821         * sysdeps/mach/_strerror.c: Likewise.
62822         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62823         * sysdeps/mach/hurd/sethostid.c: Likewise.
62824         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62825         * sysdeps/mach/xpg-strerror.c: Likewise.
62826         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62828         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62829         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62830         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62831         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62832         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62833         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62834         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62835         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62836         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62837         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62838         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62839         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62840         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62841         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62842         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62843         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62844         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62845         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62846         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62848         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62850         * stdio-common/_itoa.h: Moved to ...
62851         * sysdeps/generic/_itoa.h: Here.
62853         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62855         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62856         instead of "_itoa.h" and "_itowa.h".
62857         * stdio-common/vfprintf.: Likewise.
62859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62861         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62862         <bits/wordsize.h>.
62863         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62864         (__signbit): Likwise.
62865         (llrintf): Likwise.
62866         (llrint): Likwise.
62868 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62870         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62871         __WORDSIZE != 64.
62873 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62875         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62876         OVERFLOW_EXCEPTION_OK.
62877         * math/libm-test.inc ("Philosophy"): Update comment about
62878         exception testing.
62879         (OVERFLOW_EXCEPTION): Define.
62880         (OVERFLOW_EXCEPTION_OK): Likewise.
62881         (INVALID_EXCEPTION_OK): Renumber.
62882         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62883         (IGNORE_ZERO_INF_SIGN): Likewise.
62884         (test_exceptions): Handle FE_OVERFLOW.
62885         (exp10_test): Expect overflow exceptions.
62886         (exp2_test): Likewise.
62887         (expm1_test): Likewise.
62888         (nextafter_test): Likewise.
62889         (pow_test): Likewise.
62890         (scalbn_test): Likewise.
62891         (scalbln_test): Likewise.
62893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62895         * sysdeps/x86_64/bits/atomic.h
62896         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62897         64bit integer.
62898         (atomic_exchange_acq): Likewise.
62899         (__arch_exchange_and_add_body): Likewise.
62900         (__arch_add_body): Likewise.
62901         (atomic_add_negative): Likewise.
62902         (atomic_add_zero): Likewise.
62904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62906         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62907         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62911         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62912         Check __x86_64__ instead of __WORDSIZE.
62914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62916         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62918 2012-03-19  David S. Miller  <davem@davemloft.net>
62920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62922         * sysdeps/sparc/fpu/fenv_private.h: New file.
62923         * sysdeps/sparc/fpu/math_private.h: Use it.
62924         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62925         Remove.
62926         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62927         (libc_feholdexcept_setroundl): Remove.
62928         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62929         Remove.
62930         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62931         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62935         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62936         int64_t instead of long int.
62937         (INSERT_WORDS64): Likwise.
62939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62941         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62942         _Unwind_GetCFA return to _Unwind_Ptr first.
62944 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62946         [BZ #13629]
62947         * math/s_clog.c: Include <float.h>.
62948         (__clog): Scale large or subnormal inputs.
62949         * math/s_clogf.c: Likewise.
62950         * math/s_clogl.c: Likewise.
62951         * math/s_clog10.c: Include <float.h>.
62952         (M_LOG10_2): Define.
62953         (__clog10): Scale large or subnormal inputs.
62954         * math/s_clog10f.c: Likewise.
62955         * math/s_clog10l.c: Likewise.
62956         * math/libm-test.inc (clog_test): Add more tests.
62957         (clog10_test): Likewise.
62958         * sysdeps/i386/fpu/libm-test-ulps: Update.
62959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62961         [BZ #11451]
62962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62963         x and y.
62964         * math/libm-test.inc (atan2_test): Add another test.
62966         * Makerules (common-objdir-compile): Remove.
62967         * sysdeps/unix/Makefile (config-generated): Do not add
62968         $(unix-generated) to variable.
62969         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62970         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62971         Remove rule.
62972         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62973         Likewise.
62974         [generic bits/local_lim.h] (before-compile): Do not append to
62975         variable.
62976         [generic bits/local_lim.h] (common-generated): Likewise.
62977         [generic sys/param.h] (before-compile): Do not append to variable.
62978         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62979         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62980         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62981         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62982         include.
62983         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62984         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62985         [generic sys/param.h] ($(addprefix
62986         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62987         [generic sys/param.h] (common-generated): Do not append to
62988         variable.
62989         [generic sys/param.h] (sysdep_headers): Likewise.
62990         [generic bits/errno.h] (before-compile): Do not append to
62991         variable.
62992         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62993         rule.
62994         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62995         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62996         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62997         [generic bits/errno.h] (common-generated): Do not append to
62998         variable.
62999         [generic bits/ioctls.h] (before-compile): Do not append to
63000         variable.
63001         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63002         rule.
63003         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63004         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63005         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63006         rule.
63007         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63008         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63009         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63010         [generic bits/ioctls.h] (common-generated): Do not append to
63011         variable.
63012         [generic sys/syscall.h] (syscall.h): Remove variable.
63013         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63014         rule.
63015         [generic sys/syscall.h] (before-compile): Do not append to
63016         variable.
63017         [generic sys/syscall.h] (common-generated): Likewise.
63018         * sysdeps/unix/errnos-tmpl.c: Remove file.
63019         * sysdeps/unix/errnos.awk: Likewise.
63020         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63021         * sysdeps/unix/ioctls.awk: Likewise.
63022         * sysdeps/unix/mk-local_lim.c: Likewise.
63023         * sysdeps/unix/snarf-ioctls: Likewise.
63025 2012-03-19  Richard Henderson  <rth@twiddle.net>
63027         * sysdeps/i386/fpu/fenv_private.h: New file.
63028         * sysdeps/i386/fpu/math_private.h: Use it.
63029         (math_opt_barrier, math_force_eval): Remove.
63030         (libc_feholdexcept_setround_53bit): Remove.
63031         (libc_feupdateenv_53bit): Remove.
63032         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63033         (math_opt_barrier, math_force_eval): Remove.
63034         (libc_feholdexcept): Remove.
63035         (libc_feholdexcept_setround): Remove.
63036         (libc_fetestexcept, libc_fesetenv): Remove.
63037         (libc_feupdateenv_test): Remove.
63038         (libc_feupdateenv, libc_feholdsetround): Remove.
63039         (libc_feresetround): Remove.
63041         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63042         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63044         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63045         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63046         (libc_feupdateenv_testl): New.
63047         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63048         (libc_feupdateenv_testf): New.
63049         (libc_feupdateenv): Use libc_feupdateenv_test.
63050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63051         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63053         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63054         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63055         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63056         (libc_feresetround_noex): New.
63057         (libc_feresetround_noexf): New.
63058         (libc_feresetround_noexl): New.
63059         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63060         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63061         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63062         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63063         SET_RESTORE_ROUND.
63064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63066         (__cos): Likewise.
63067         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63068         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63069         SET_RESTORE_ROUND_NOEX.
63070         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63071         SET_RESTORE_ROUND_NOEXF.
63072         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63073         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63074         (libc_feholdsetroundf): New.
63075         (libc_feresetround, libc_feresetroundf): New.
63077         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63078         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63079         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63081         * sysdeps/generic/math_private.h: Include <fenv.h>.
63082         (default_libc_feholdexcept): New.
63083         (default_libc_feholdexcept_setround): New.
63084         (default_libc_fesetenv, default_libc_feupdateenv): New.
63085         (libc_feholdexcept): Only define if undefined.
63086         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63087         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63088         (libc_feholdexcept_setroundl): Likewise.
63089         (libc_feholdexcept_setround_53bit): Likewise.
63090         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63091         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63092         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63093         (libc_feupdateenv_53bit): Likewise.
63094         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63095         (libc_feholdexcept): Convert from macro to inline function.
63096         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63097         (libc_fesetenv, libc_feupdateenv): Likewise.
63099         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63100         not previously defined.
63101         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63102         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63103         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63104         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63105         * sysdeps/ieee754/flt-32/math_private.h: New file.
63106         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63107         math_private.h below SET_FLOAT_WORD.
63108         (__isnan, __isinf_ns, __finite): Remove.
63109         (__isnanf, __isinf_nsf, __finitef): Remove.
63111 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63115 2012-03-17  David S. Miller  <davem@davemloft.net>
63117         [BZ #6471]
63118         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63119         for 2.16.
63121 2012-03-16  David S. Miller  <davem@davemloft.net>
63123         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63124         warnings.
63126         [BZ #6471]
63127         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63128         properly.
63129         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63130         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63131         sysdep_routines when subdir is sysvipc.
63132         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63133         __getshmlba helper.
63135         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63137 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63139         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63140         [__LP64__].
63142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63145         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63146         (__lround): Renamed to ...
63147         (__llround): This.  Replace long int with long long int.
63148         Define lround functions as aliases of llround functions.
63149         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63153         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63154         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63155         adresses to uintptr_t.  Replace "long int" and "unsigned long
63156         int" with "greg_t" on va_arg.
63158 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63160         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63161         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63163         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63164         Move e_machine check before EI_CLASS check.  Handle x32
63165         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63166         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63167         SKIP_EM_IA_64 and include
63168         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63170         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63171         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63172         (add_system_dir): New macro.
63174         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63175         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63177 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63179         [BZ #2551]
63180         [BZ #2552]
63181         [BZ #2553]
63182         [BZ #2554]
63183         [BZ #2562]
63184         [BZ #2563]
63185         [BZ #2565]
63186         [BZ #2566]
63187         [BZ #2576]
63188         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63189         (y0): Likewise.
63190         * math/w_j0f.c (j0f): Likewise.
63191         (y0f): Likewise.
63192         * math/w_j0l.c (__j0l): Likewise.
63193         (__y0l): Likewise.
63194         * math/w_j1.c (j1): Likewise.
63195         (y1): Likewise.
63196         * math/w_j1f.c (j1f): Likewise.
63197         (y1f): Likewise.
63198         * math/w_j1l.c (__j1l): Likewise.
63199         (__y1l): Likewise.
63200         * math/w_jn.c (jn): Likewise.
63201         (yn): Likewise.
63202         * math/w_jnf.c (jnf): Likewise.
63203         (ynf): Likewise.
63204         * math/w_jnl.c (__jnl): Likewise.
63205         (__ynl): Likewise.
63206         * math/libm-test.inc (j0_test): Add more tests.
63207         (j1_test): Likewise.
63208         (jn_test): Likewise.  Add trailing semicolon to existing test.
63209         (y0_test): Likewise.
63210         (y1_test): Likewise.
63211         * sysdeps/i386/fpu/libm-test-ulps: Update.
63212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63214         [BZ #13851]
63215         [BZ #13854]
63216         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63217         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63218         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63219         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63220         (__tanl): Set errno for infinite argument.
63221         * sysdeps/i386/fpu/mptan.c: Remove.
63222         * sysdeps/i386/fpu/s_tan.S: Likewise.
63223         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63224         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63225         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63226         * math/libm-test.inc (tan_test): Add more tests and enable more
63227         tests for double and long double.
63228         * sysdeps/i386/fpu/libm-test-ulps: Update.
63229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63231 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63233         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63234         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63236 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63238         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63239         * configure.in: Use it for both main tree and add-ons.
63240         * configure: Regenerated.
63242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63244         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63246 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63248         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63249         in comment.
63251         [BZ #13851]
63252         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63253         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63254         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63255         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63256         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63257         infinite argument.
63258         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63259         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63260         != 0 for prec == 2.
63261         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63262         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63263         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63264         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63265         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63266         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63267         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63268         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63269         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63270         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63271         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63272         * math/libm-test.inc (cos_test): Add more tests and enable more
63273         tests for long double.
63274         (sin_test): Likewise.
63275         (sincos_test): Likewise.
63276         * sysdeps/i386/fpu/libm-test-ulps: Update.
63277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63279 2012-03-16  David S. Miller  <davem@davemloft.net>
63281         * sysdeps/sparc/fpu/math_private.h: New file.
63283 2012-03-15  David S. Miller  <davem@davemloft.net>
63285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63286         file.
63287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63289         file.
63290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63296         sysdep routines.
63297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63299         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63300         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63302         * sysdeps/sparc/sparc-ifunc.h: New file.
63303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63304         sparc-ifunc.h
63305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63307         Likewise.
63308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63309         Likewise.
63310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63314         Likewise.
63315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63320         Likewise.
63321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63322         Likewise.
63323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63330         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63346         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63348 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63350         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63351         scaling.
63352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63354 2012-03-15  Andreas Jaeger  <aj@suse.de>
63356         [BZ #13852]
63357         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63358         ieee754/flt-32 implementation for sin, cos and sincos.
63359         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63360         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63361         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63362         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63363         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63364         ieee754/flt-32 implementation for tan.
63366         * math/libm-test.inc (cos_test): Enable some large input tests for
63367         float as well
63368         (sin_test): Likewise.
63369         (sincos_test): Likewise.
63370         (tan_test): Add tests for large input.
63372         * sysdeps/i386/fpu/libm-test-ulps: Update.
63374 2012-03-15  Andreas Jaeger  <aj@suse.de>
63376         [BZ #13658]
63377         * math/libm-test.inc (cos_test): Add more test cases.
63378         (sin_test): Likewise.
63379         (sincos_test): Likewise.
63381 2012-03-15  Andreas Jaeger  <aj@suse.de>
63383         [BZ #13837]
63384         * math/libm-test.inc (cos_test): Add a test case for large input
63385         value.
63386         (sin_test): Likewise.
63387         (sincos_test): Likewise.
63389 2012-03-15  Andreas Jaeger  <aj@suse.de>
63390             Joseph Myers  <joseph@codesourcery.com>
63392         [BZ #13658]
63393         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63394         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63395         * sysdeps/i386/fpu/branred.c: Likewise.
63396         * sysdeps/i386/fpu/dosincos.c: Likewise.
63397         * sysdeps/i386/fpu/mpa.c: Likewise.
63398         * sysdeps/i386/fpu/s_cos.S: Likewise.
63399         * sysdeps/i386/fpu/s_sin.S: Likewise.
63400         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63401         * sysdeps/i386/fpu/sincos32.c: Likewise.
63403         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63404         Define.
63405         (libc_feupdateenv_53bit): Define.
63406         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63407         Define.
63408         (libc_feupdateenv_53bit): Define.
63410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63411         53 bit (without extend i386 double precision).
63413         * math/libm-test.inc (sincos_test): Add tests for large input.
63414         (sin): Likewise.
63415         (cos): Likewise.
63417         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63419 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63423 2012-03-15  David S. Miller  <davem@davemloft.net>
63425         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63426         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63427         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63428         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63441         file.
63442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63444         file.
63445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63447         file.
63448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63450         file.
63451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63453         fmin/fmax sysdep routines.
63454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63456 2012-03-14  David S. Miller  <davem@davemloft.net>
63458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63486         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63487         routines.
63488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63489         file.
63490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63492         file.
63493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63495         file.
63496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63498         file.
63499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63501         file.
63502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63504         file.
63505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63506         file.
63507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63508         file.
63509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63510         file.
63511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63512         New file.
63513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63514         file.
63515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63516         file.
63517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63519         file.
63520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63522         file.
63523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63525         file.
63526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63528         VIS3 routines.
63530         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63531         New file.
63533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63535         * sysdeps/sparc/configure.in: New file.
63536         * sysdeps/sparc/configure: Generate.
63537         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63538         * configure: Regenerate.
63539         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63540         * config.make.in (have-as-vis3): New.
63541         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63542         available use -Av9d instead of -Av9a.
63543         * sysdeps/sparc/sparc64/Makefile: Likewise.
63544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63546         New file.
63547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63548         file.
63549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63550         New file.
63551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63552         file.
63553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63559         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63560         fzeros/fnegs to load 0x80000000 into a float register instead of
63561         using the stack.
63562         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63564 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63566         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63567         bits/syscall.h.
63568         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63569         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63570         ($(inst_includedir)/bits/syscall.h): Remove rule.
63571         ($(objpfx)bits/syscall.d): Include instead of
63572         $(objpfx)syscall-list.d.
63573         (generated): Change syscall-list.h and syscall-list.d to
63574         bits/syscall.h and bits/syscall.d.
63576 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63578         [BZ #13846]
63579         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63581 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63583         [BZ #13841]
63584         * math/s_csqrt.c: Include <float.h>.
63585         (__csqrt): Scale large or subnormal inputs.
63586         * math/s_csqrtf.c: Likewise.
63587         * math/s_csqrtl.c: Likewise.
63588         * math/libm-test.inc (csqrt_test): Add more tests.
63589         * sysdeps/i386/fpu/libm-test-ulps: Update.
63590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63592         [BZ #13840]
63593         * math/libm-test.inc (hypot_test): Add more tests.
63595 2012-03-13  David S. Miller  <davem@davemloft.net>
63597         [BZ #13840]
63598         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63599         double-precision for the calculation instead of scaling.
63601 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63603         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63604         manipulate bits before adding and subtracting TWO52[sx].
63605         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63606         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63607         Likewise.
63608         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63610 2012-03-13  David S. Miller  <davem@davemloft.net>
63612         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63613         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63615         rtld-global-offsets.h
63616         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63618         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63619         large parameters.
63621         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63623         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63624         'err' in the ifdef scope in which it is actually used.
63626         * nss/nss_db/db-init.c: Include string.h
63628 2012-03-12  David S. Miller  <davem@davemloft.net>
63630         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63631         masking out of the most significant byte of random value used.
63632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63633         Fix coding style in previous change.
63635         * sysdeps/unix/sysv/linux/kernel-features.h
63636         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63637         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63638         expression.
63639         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63640         later.
63642 2012-03-11  David S. Miller  <davem@davemloft.net>
63644         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63645         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63646         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63647         for 'resultvar' otherwise things get truncated on 64-bit.
63649         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63650         Fix masking out of the most significant byte of random value used.
63652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63654 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63658 2012-03-09  David S. Miller  <davem@davemloft.net>
63660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63661         variables with appropriate CPP guards.
63662         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63663         from the frame pointer, not the stack pointer.  Correct layout
63664         comments.  Fix test on resulting framesize and the management of
63665         the outregs buffer for pltexit.  Preserve floating point return
63666         values across _dl_call_pltexit call.
63667         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63668         framesize and the management of the outregs buffer for pltexit.
63669         Preserve floating point return values across _dl_call_pltexit
63670         call.
63671         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63672         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63673         (la_sparc64_gnu_pltexit): New functions.
63674         (print_exit): Fix format string for return register value.
63676 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63678         * sunrpc/Makefile (others): Add rpcgen.
63679         ($(objpfx)rpcgen): Remove special build rule and dependency on
63680         libc.
63681         * sunrpc/rpcgen.c: New file.
63683 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63685         [BZ #13673]
63686         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63687         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63688         * sysdeps/i386/crti.S: Likewise.
63689         * sysdeps/i386/crtn.S: Likewise.
63690         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63691         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63692         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63693         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63694         * sysdeps/sh/crti.S: Likewise.
63695         * sysdeps/sh/crtn.S: Likewise.
63696         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63698         [BZ #13673]
63699         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63700         with URL.
63701         * locale/programs/locfile-kw.gperf: Likewise.
63702         * locale/programs/charmap-kw.h: Regenerated.
63703         * locale/programs/locfile-kw.h: Likewise.
63705         [BZ #13673]
63706         * intl/plural.y: Replace FSF snail mail address with URL.
63707         * intl/plural.c: Regenerated.
63709 2012-03-09  Richard Henderson  <rth@twiddle.net>
63711         * include/math_private.h: Remove file.
63712         * math/math_private.h: Move file ...
63713         * sysdeps/generic/math_private.h: ... here.
63715         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63716         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63717         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63719         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63720         and <math_private.h>.
63721         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63722         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63723         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63724         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63725         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63726         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63727         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63729         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63730         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63732         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63733         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63734         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63735         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63736         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63737         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63738         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63739         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63740         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63742         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63743         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63745         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63746         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63747         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63748         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63749         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63750         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63761         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63762         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63763         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63764         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63765         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63766         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63767         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63768         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63769         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63770         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63771         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63772         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63773         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63774         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63775         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63776         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63777         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63778         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63779         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63780         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63781         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63782         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63784         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63785         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63786         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63787         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63788         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63789         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63790         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63791         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63792         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63793         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63795         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63798         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63799         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63800         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63801         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63802         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63803         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63804         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63805         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63808         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63809         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63810         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63811         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63812         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63813         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63814         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63815         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63816         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63817         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63818         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63819         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63820         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63821         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63822         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63823         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63824         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63825         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63826         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63827         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63828         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63829         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63830         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63831         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63832         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63833         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63834         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63835         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63836         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63837         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63838         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63839         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63840         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63841         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63842         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63843         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63844         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63845         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63846         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63847         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63848         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63849         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63850         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63851         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63852         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63853         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63854         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63855         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63856         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63857         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63858         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63859         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63860         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63861         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63862         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63863         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63864         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63865         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63866         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63867         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63868         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63869         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63870         * sysdeps/ieee754/k_standard.c: Likewise.
63871         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63872         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63874         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63875         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63876         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63877         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63887         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63888         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63890         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63891         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63892         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63893         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63894         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63895         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63896         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63897         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63898         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63899         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63901         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63902         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63903         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63904         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63905         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63906         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63908         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63909         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63910         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63911         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63912         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63913         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63914         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63915         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63917         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63920         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63921         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63922         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63923         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63925         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63926         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63927         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63928         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63929         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63930         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63932         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63933         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63934         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63937         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63938         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63943         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63944         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63945         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63946         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63947         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63953         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63954         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63956         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63957         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63958         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63959         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63960         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63961         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63962         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63963         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63964         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63965         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63967         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63968         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63969         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63971         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63972         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63973         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63974         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63975         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63976         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63978         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63979         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63980         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63982         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63983         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63985         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63986         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63987         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63988         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63989         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63990         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63991         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63992         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63993         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63994         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63995         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63996         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63997         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63998         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63999         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64000         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64001         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64002         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64003         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64004         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64005         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64006         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64007         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64008         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64009         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64010         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64011         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64012         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64013         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64014         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64015         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64016         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64017         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64018         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64019         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64020         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64021         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64022         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64023         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64024         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64025         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64026         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64027         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64028         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64029         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64030         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64031         * sysdeps/ieee754/s_lib_version.c: Likewise.
64032         * sysdeps/ieee754/s_matherr.c: Likewise.
64033         * sysdeps/ieee754/s_signgam.c: Likewise.
64034         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64035         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64036         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64037         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64038         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64039         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64040         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64041         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64042         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64043         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64044         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64045         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64046         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64047         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64048         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64049         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64050         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64051         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64056 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64058         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64059         * sunrpc/rpc_main.c: Likewise.
64060         * sunrpc/rpc_svcout.c: Likewise.
64062 2012-03-09  David S. Miller  <davem@davemloft.net>
64064         * include/math_private.h: New file.
64066 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64068         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64069         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64070         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64071         from <bits/socket_type.h>.
64072         (enum __socket_type): Don't define here.
64073         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64075         bits/socket_type.h.
64077         [BZ #13566]
64078         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64079         checking __USE_GNU.
64081         * Makerules ($(inst_includedir)/%.h): New rule.
64082         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64083         (install-others): Remove variable setting.
64084         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64086 2012-03-08  Richard Henderson  <rth@twiddle.net>
64088         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64089         from macro to inline function; merge with the
64090         !__LIBC_INTERNAL_MATH_INLINES version.
64091         (__ieee754_sqrtf): Likewise.
64093         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64094         to inline function.
64095         (__rintf, __floor, __floorf): Likewise.
64097         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64098         macro to inline function.
64099         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64102         not <math/math_private.h>.
64104 2012-03-08  David S. Miller  <davem@davemloft.net>
64106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64107         copyright year.
64108         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64110 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64112         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64113         normalization.
64114         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64115         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64117 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64119         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64120         be defined individually, they must be defined as a block.  Define
64121         S for printing a string instead of hidint the different by using a
64122         macro for adding the 'l'.
64123         * stdio-common/tst-fphex-wide.c: Adjust.
64125 2012-03-07  Marek Polacek  <polacek@redhat.com>
64127         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64129 2012-03-08  Marek Polacek  <polacek@redhat.com>
64131         [BZ #13806]
64132         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64133         * stdio-common/tst-fphex.c: Define a few macros to make the
64134         test reusable.  Use them.
64135         * stdio-common/tst-fphex-wide.c: New file.
64137 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64139         [BZ #6911]
64140         * manual/macros.texi (gnusystems): New macro.
64141         (nongnusystems): Likewise.
64142         (gnulinuxhurdsystems): Likewise.
64143         (gnuhurdsystems): Likewise..
64144         (gnulinuxsystems): Likewise.
64145         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64146         variants of the GNU system, not "GNU system".
64147         * manual/conf.texi: Likewise.
64148         * manual/errno.texi: Likewise.  Update example of errno macro
64149         expansion.
64150         * manual/filesys.texi: Likewise.
64151         (getumask): Document as specific to GNU/Hurd.
64152         * manual/install.texi: Likewise.  Reword some references to
64153         GNU/Linux.
64154         * manual/intro.texi: Likewise.
64155         * manual/io.texi: Likewise.
64156         (File Name Portability): Detail which constraints are inapplicable
64157         to all GNU systems and which are only inapplicable to GNU/Hurd.
64158         * manual/job.texi: Likewise.
64159         * manual/llio.texi: Likewise.
64160         (O_NOCTTY): Document as present on GNU/Linux.
64161         * manual/maint.texi: Likewise.
64162         * manual/memory.texi: Likewise.
64163         * manual/pattern.texi: Likewise.
64164         * manual/pipe.texi: Likewise.
64165         * manual/process.texi: Likewise.
64166         * manual/resource.texi: Likewise.
64167         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64168         child on GNU/Hurd.
64169         * manual/setjmp.texi: Likewise.
64170         * manual/signal.texi: Likewise.
64171         * manual/startup.texi: Likewise.
64172         * manual/stdio.texi: Likewise.
64173         * manual/terminal.texi: Likewise.
64174         (ONLCR): Document as POSIX.
64175         (OXTABS): Document availability on GNU/Linux as XTABS.
64176         (ONOEOT): Document availability separately from other bits.
64177         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64178         * manual/time.texi: Likewise.
64179         * manual/users.texi: Likewise.
64180         * INSTALL: Regenerated.
64181         * sysdeps/gnu/errlist.c: Regenerated.
64183         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64184         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64185         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64186         puts.
64187         * configure: Regenerated.
64189 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64191         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64192         default includes instead of AC_HEADER_CHECK.
64193         * sysdeps/i386/configure: Regenerated.
64195         [BZ #10716]
64196         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64197         * math/s_cacoshf.c (__cacoshf): Likewise.
64198         * math/s_cacoshl.c (__cacoshl): Likewise.
64199         * math/s_casinh.c (__casinh): Set signs of result from argument.
64200         * math/s_casinhf.c (__casinhf): Likewise.
64201         * math/s_casinhl.c (__casinhl): Likewise.
64202         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64203         (casinh_test): Add more tests.
64204         * sysdeps/i386/fpu/libm-test-ulps: Update.
64205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64207 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64209         * po/zh_TW.po: Update from translation team.
64211         * login/Makefile (distribute): Remove variable.
64212         * catgets/Makefile: Likewise.
64213         * mach/Makefile: Likewise.
64214         * malloc/Makefile: Likewise.
64215         * misc/Makefile: Likewise.
64216         * iconv/Makefile: Likewise.
64217         * nscd/Makefile: Likewise.
64218         * hurd/Makefile: Likewise.
64219         * manual/Makefile: Likewise.
64220         * locale/Makefile: Likewise.
64221         * intl/Makefile: Likewise.
64222         * conform/Makefile: Likewise.
64223         * nss/Makefile: Likewise.
64224         * time/Makefile: Likewise.
64225         * soft-fp/Makefile: Likewise.
64226         * dirent/Makefile: Likewise.
64227         * gmon/Makefile: Likewise.
64228         * po/Makefile: Likewise.
64229         * rt/Makefile: Likewise.
64230         * socket/Makefile: Likewise.
64231         * math/Makefile: Likewise.
64232         * signal/Makefile: Likewise.
64233         * debug/Makefile: Likewise.
64234         * elf/Makefile: Likewise.
64235         * timezone/Makefile: Likewise.
64236         * stdlib/Makefile: Likewise.
64237         * iconvdata/Makefile: Likewise.
64238         * sunrpc/Makefile: Likewise.
64239         * io/Makefile: Likewise.
64240         * argp/Makefile: Likewise.
64241         * inet/Makefile: Likewise.
64242         * hesiod/Makefile: Likewise.
64243         * grp/Makefile: Likewise.
64244         * csu/Makefile: Likewise.
64245         * wctype/Makefile: Likewise.
64246         * crypt/Makefile: Likewise.
64247         * libio/Makefile: Likewise.
64248         * string/Makefile: Likewise.
64249         * nis/Makefile: Likewise.
64250         * resolv/Makefile: Likewise.
64251         * stdio-common/Makefile: Likewise.
64252         * wcsmbs/Makefile: Likewise.
64253         * dlfcn/Makefile: Likewise.
64254         * posix/Makefile: Likewise.
64256         [BZ #6959]
64257         * timezone/Makefile: Don't install timezone files, just the programs
64258         and scripts.
64260 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64262         * nss/databases.def: Add missing gshadow entry.
64264         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64266 2012-03-06  Marek Polacek  <polacek@redhat.com>
64268         [BZ #13726]
64269         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64270         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64271         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64272         * stdio-common/tst-long-dbl-fphex.c: New file.
64274 2012-03-06  David S. Miller  <davem@davemloft.net>
64276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64277         (set_obp_int): New function.
64278         (get_obp_int): New function.
64279         (__get_clockfreq_via_dev_openprom): Likewise.
64280         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64281         Avoid unused variable warnings on 'val' and use builtin_expect.
64282         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64283         __builtin_expect.
64284         (INLINE_CLONE_SYSCALL): Likewise.
64286 2012-03-05  David S. Miller  <davem@davemloft.net>
64288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64290 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64294         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64295         only for |x| >= 40.
64296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64298 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64301         Replace gettimeofday with __vdso_gettimeofday.
64303         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64304         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64305         __vdso_clock_gettime and __vdso_getcpu.
64307         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64308         time with __vdso_time.
64310 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64312         * manual/lang.texi (size_t): Note types to which size_t may be
64313         equivalent with the GNU C Library, but do not describe when
64314         differences between them are significant.
64316 2012-03-05  Andreas Jaeger  <aj@suse.de>
64318         * sysdeps/i386/fpu/libm-test-ulps: Update.
64320 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64322         [BZ #3976]
64323         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64324         (__ieee754_pow): Save and restore rounding mode and use
64325         round-to-nearest for main computations.
64326         * math/libm-test.inc (pow_test_tonearest): New function.
64327         (pow_test_towardzero): Likewise.
64328         (pow_test_downward): Likewise.
64329         (pow_test_upward): Likewise.
64330         (main): Call the new functions.
64331         * sysdeps/i386/fpu/libm-test-ulps: Update.
64332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64334         [BZ #3976]
64335         * math/libm-test.inc (cosh_test_tonearest): New function.
64336         (cosh_test_towardzero): Likewise.
64337         (cosh_test_downward): Likewise.
64338         (cosh_test_upward): Likewise.
64339         (sinh_test_tonearest): Likewise.
64340         (sinh_test_towardzero): Likewise.
64341         (sinh_test_downward): Likewise.
64342         (sinh_test_upward): Likewise.
64343         (main): Call the new functions.
64344         * sysdeps/i386/fpu/libm-test-ulps: Update.
64345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64347 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64349         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64350         default stack guard is set in last bytes.
64351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64353 2012-03-05  Kees Cook  <keescook@chromium.org>
64355         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64357         [BZ #13656]
64358         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64359         possibly allocate from heap instead of stack.
64360         * stdio-common/bug-vfprintf-nargs.c: New file.
64361         * stdio-common/Makefile (tests): Add nargs overflow test.
64363 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64367 2012-03-03  Marek Polacek  <polacek@redhat.com>
64369         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64370         * math/math_private.h: Likewise.
64371         * stdlib/tst-strtod.c: Likewise.
64372         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64373         * sysdeps/x86_64/bits/atomic.h: Likewise.
64375 2012-03-02  David S. Miller  <davem@davemloft.net>
64377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64381         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64382         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64383         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64384         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64386 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64388         [BZ #13792]
64389         * manual/examples/README: New file, says the example source files
64390         can be used under GPL>=2.
64391         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64392         line containing just "*/".
64393         * manual/examples/add.c: Add copyright header (GPL>=2).
64394         * manual/examples/argp-ex1.c: Likewise.
64395         * manual/examples/argp-ex2.c: Likewise.
64396         * manual/examples/argp-ex3.c: Likewise.
64397         * manual/examples/argp-ex4.c: Likewise.
64398         * manual/examples/atexit.c: Likewise.
64399         * manual/examples/db.c: Likewise.
64400         * manual/examples/dir.c: Likewise.
64401         * manual/examples/dir2.c: Likewise.
64402         * manual/examples/execinfo.c: Likewise.
64403         * manual/examples/filecli.c: Likewise.
64404         * manual/examples/filesrv.c: Likewise.
64405         * manual/examples/fmtmsgexpl.c: Likewise.
64406         * manual/examples/genpass.c: Likewise.
64407         * manual/examples/inetcli.c: Likewise.
64408         * manual/examples/inetsrv.c: Likewise.
64409         * manual/examples/isockad.c: Likewise.
64410         * manual/examples/longopt.c: Likewise.
64411         * manual/examples/memopen.c: Likewise.
64412         * manual/examples/memstrm.c: Likewise.
64413         * manual/examples/mkfsock.c: Likewise.
64414         * manual/examples/mkisock.c: Likewise.
64415         * manual/examples/mygetpass.c: Likewise.
64416         * manual/examples/pipe.c: Likewise.
64417         * manual/examples/popen.c: Likewise.
64418         * manual/examples/rprintf.c: Likewise.
64419         * manual/examples/search.c: Likewise.
64420         * manual/examples/select.c: Likewise.
64421         * manual/examples/setjmp.c: Likewise.
64422         * manual/examples/sigh1.c: Likewise.
64423         * manual/examples/sigusr.c: Likewise.
64424         * manual/examples/stpcpy.c: Likewise.
64425         * manual/examples/strdupa.c: Likewise.
64426         * manual/examples/strftim.c: Likewise.
64427         * manual/examples/strncat.c: Likewise.
64428         * manual/examples/subopt.c: Likewise.
64429         * manual/examples/swapcontext.c: Likewise.
64430         * manual/examples/termios.c: Likewise.
64431         * manual/examples/testopt.c: Likewise.
64432         * manual/examples/testpass.c: Likewise.
64433         * manual/examples/timeval_subtract.c: Likewise.
64435         [BZ #13792]
64436         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64437         function to ...
64438         * manual/timeval_subtract.c.texi: ... here, new file.
64440 2012-03-02  David S. Miller  <davem@davemloft.net>
64442         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64444 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64446         [BZ #3976]
64447         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64448         (__sin): Save and restore rounding mode and use round-to-nearest
64449         for all computations.
64450         (__cos): Save and restore rounding mode and use round-to-nearest
64451         for all computations.
64452         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64453         <fenv.h>.
64454         (tan): Save and restore rounding mode and use round-to-nearest for
64455         all computations.
64456         * math/libm-test.inc (cos_test_tonearest): New function.
64457         (cos_test_towardzero): Likewise.
64458         (cos_test_downward): Likewise.
64459         (cos_test_upward): Likewise.
64460         (sin_test_tonearest): Likewise.
64461         (sin_test_towardzero): Likewise.
64462         (sin_test_downward): Likewise.
64463         (sin_test_upward): Likewise.
64464         (tan_test_tonearest): Likewise.
64465         (tan_test_towardzero): Likewise.
64466         (tan_test_downward): Likewise.
64467         (tan_test_upward): Likewise.
64468         (main): Call the new functions.
64469         * sysdeps/i386/fpu/libm-test-ulps: Update.
64470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64472         [BZ #10135]
64473         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64474         small n, then large n, before computing and testing k+n.
64475         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64476         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64477         Likewise.
64478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64479         Likewise.
64480         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64481         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64482         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64483         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64484         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64487         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64488         * math/libm-test.inc (scalbn_test): Add more tests.
64489         (scalbln_test): Likewise.
64491         * manual/filesys.texi (mode_t): Describe constraints on size and
64492         signedness, not exact equivalence to a particular type.
64493         (ino_t): Likewise.
64494         (ino64_t): Likewise.
64495         (dev_t): Likewise.
64496         (nlink_t): Likewise.
64497         (blkcnt_t): Likewise.
64498         (blkcnt64_t): Likewise.
64499         * manual/llio.texi (off_t): Likewise.
64501         [BZ #3976]
64502         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64503         (__ieee754_exp): Save and restore rounding mode and use
64504         round-to-nearest for all computations.
64505         * math/libm-test.inc (exp_test_tonearest): New function.
64506         (exp_test_towardzero): Likewise.
64507         (exp_test_downward): Likewise.
64508         (exp_test_upward): Likewise.
64509         (main): Call the new functions.
64510         * sysdeps/i386/fpu/libm-test-ulps: Update.
64511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64513 2012-03-01  Chris Demetriou  <cgd@google.com>
64515         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64516         have predictable order.
64518 2012-03-01  David S. Miller  <davem@davemloft.net>
64520         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64522         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64523         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64524         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64525         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64527         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64528         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64529         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64531         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64532         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64533         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64534         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64535         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64539         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64540         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64541         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64543         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64544         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64545         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64546         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64547         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64549         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64550         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64551         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64552         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64553         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64556         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64557         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64559         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64560         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64561         * sysdeps/sparc/elf/configure: Regenerated.
64563 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64565         * configure.in (AS, LD): Require binutils 2.20 or later.
64566         * configure: Regenerated.
64567         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64568         as required minimum version.
64569         * INSTALL: Regenerated.
64571         [BZ #2541]
64572         [BZ #4108]
64573         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64574         before squaring exponent.
64575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64576         bottom long double and 27 bits of top long double before squaring
64577         exponent.
64578         * math/libm-test.inc (erfc_test): Add more tests.
64579         * sysdeps/i386/fpu/libm-test-ulps: Update.
64580         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64583 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64585         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64586         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64587         containing bit-fields.
64588         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64589         * soft-fp/single.h (_FP_UNION_S): Likewise.
64590         * soft-fp/double.h (_FP_UNION_D): Likewise.
64592 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64594         [BZ #13786]
64595         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64596         not include ../strcmp.S.
64597         [USE_AS_STRNCASECMP_L]: Likewise.
64598         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64599         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64600         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64601         (__strncasecmp_l_ia32): Define as alias to
64602         __strncasecmp_l_nonascii.
64604         [BZ #5794]
64605         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64606         * sysdeps/i386/fpu/libm-test-ulps: Update.
64607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64609         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64612 2012-02-29  Jeff Law  <law@redhat.com>
64614         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64615         out of bounds read.
64617 2012-02-29  Marek Polacek  <polacek@redhat.com>
64619         [BZ #13706]
64620         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64621         * elf/Makefile: Add rules to run tst-unused-dep.out.
64623 2012-02-28  David S. Miller  <davem@davemloft.net>
64625         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64626         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64628         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64629         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64630         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64632 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64634         * math/libm-test.inc (llround_test): Move one test from
64635         lround_test.  Use TEST_f_L in moved test.
64636         (lround_test): Move misplaced test to llround_test.  Add testcase
64637         from bug 2561.
64639 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64641         * sysdeps/x86_64/fpu/e_expf.S: New file.
64642         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64644 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64646         [BZ #13637]
64647         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64648         of remain_len that may cause incomplete multi-byte character and
64649         false match.
64650         * posix/bug-regex33.c: New file.
64651         * posix/Makefile (tests): Add bug-regex33.
64653 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64655         * manual/macros.texi: New file.
64656         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64657         * manual/libc.texinfo: Include macros.texi.
64658         * manual/creatute.texi: Likewise.
64659         * manual/install.texi: Likewise.
64660         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64661         @glibcadj{} in references to the GNU C Library.
64662         * manual/charset.texi: Likewise.
64663         * manual/conf.texi: Likewise.
64664         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64665         when not using those macros.
64666         * manual/creature.texi: Likewise.
64667         * manual/crypt.texi: Likewise.
64668         * manual/errno.texi: Likewise.
64669         * manual/filesys.texi: Likewise.
64670         * manual/header.texi: Likewise.
64671         * manual/install.texi: Likewise.
64672         * manual/intro.texi: Likewise.
64673         * manual/io.texi: Likewise.
64674         * manual/job.texi: Likewise.
64675         * manual/lang.texi: Likewise.
64676         * manual/libc.texiinfo: Likewise.
64677         * manual/llio.texi: Likewise.
64678         * manual/locale.texi: Likewise.
64679         * manual/maint.texi: Likewise.
64680         * manual/math.texi: Likewise.
64681         * manual/memory.texi: Likewise.
64682         * manual/message.texi: Likewise.
64683         * manual/nss.texi: Likewise.
64684         * manual/pattern.texi: Likewise.
64685         * manual/process.texi: Likewise.
64686         * manual/resource.texi: Likewise.
64687         * manual/search.texi: Likewise.
64688         * manual/setjmp.texi: Likewise.
64689         * manual/signal.texi: Likewise.
64690         * manual/socket.texi: Likewise.
64691         * manual/startup.texi: Likewise.
64692         * manual/stdio.texi: Likewise.
64693         * manual/string.texi: Likewise.
64694         * manual/sysinfo.texi: Likewise.
64695         * manual/syslog.texi: Likewise.
64696         * manual/terminal.texi: Likewise.
64697         * manual/time.texi: Likewise.
64698         * manual/users.texi: Likewise.
64699         * INSTALL: Regenerated.
64700         * NOTES: Regenerated.
64701         * sysdeps/gnu/errlist.c: Regenerated.
64703 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64705         * include/dirent.h: Include <dirstream.h> before
64706         <dirent/dirent.h>.
64708 2012-02-28  David S. Miller  <davem@davemloft.net>
64710         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64711         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64712         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64713         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64715 2012-02-27  David S. Miller  <davem@davemloft.net>
64717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64719         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64720         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64723         frame pointer instead of stack pointer relative arg slot.
64724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64725         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64726         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64728 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64730         [BZ #3992]
64731         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64733 2012-02-27  David S. Miller  <davem@davemloft.net>
64735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64739         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64740         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64741         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64742         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64744 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64746         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64747         later.  Allow versions 5-9.
64748         * configure: Regenerated.
64749         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64750         required minimum version and 4.6 as recommended version.  Do not
64751         mention bugs in GCC 2.7 and 2.8.
64752         * INSTALL: Regenerated.
64754 2012-02-27  David S. Miller  <davem@davemloft.net>
64756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64760         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64761         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64762         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64763         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64765         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64766         manipulate bits before adding and subtracting TWO112[sx].
64767         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64769 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64771         [BZ #13775]
64772         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64773         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64774         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64775         being in POSIX, because they are in 1003.1-2008.
64777         * rt/tst-aio.c: Include <fcntl.h>.
64778         * rt/tst-aio7.c: Likewise.
64779         * rt/tst-aio64.c: Likewise.
64781         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64783 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64785         * manual/install.texi (--with-headers): Describe headers as
64786         interface headers, not private headers.
64787         (Specific advice for GNU/Linux systems): Describe use of headers
64788         from "make headers_install", not private headers from older
64789         kernels.
64790         * INSTALL: Regenerated.
64791         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64792         Change to 2.6.19.
64793         * sysdeps/unix/sysv/linux/configure: Regenerated.
64795         * manual/llio.texi (fclean): Remove documentation.
64797         * manual/Makefile (libc-texi-generated): New variable.  Include
64798         version.texi.
64799         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64800         $(libc-texi-generated), not duplicated list of files.
64801         (version.texi, stamp-version): New rules.
64802         (realclean): Remove $(libc-texi-generated), not individual files
64803         from that list.  Do not remove dir-add.texinfo.
64804         * manual/libc.texinfo: Comment out uses of edition numbers and
64805         references to printed manual.  Remove last-updated dates.
64806         (EDITION): Comment out.
64807         (ISBN): Likewise.
64808         (VERSION, UPDATED): Remove.
64809         (version.texi): Include.
64811 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64813         * sysdeps/posix/spawni.c: Include <signal.h>.
64814         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64815         * sysdeps/pthread/aio_fsync.c: Likewise.
64817 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64819         * conform/Makefile (tests): Run only when not cross-compiling and
64820         when fast-check is not defined.
64822         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64823         * conform/data/limits.h-data: Fixes for POSIX2008.
64824         * conform/run-conformtest.sh: Run all tests.
64825         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64826         headers.
64827         * include/bits/dlfcn.h: Likewise.
64828         * include/langinfo.h: Likewise.
64829         * include/monetary.h: Likewise.
64830         * include/sys/poll.h: Likewise.
64832         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64833         for __USE_GNU.
64834         * posix/spawn.h: Define __need_sigset_t.
64835         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64836         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64837         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64838         to get sigevent_t only.
64839         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64840         only for __USE_GNU.
64841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64842         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64843         process_vm_writev only for __USE_GNU.
64844         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64846         * conform/Makefile: For now ignore errors from run-conformtest.
64847         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64848         POSIX to avoid namespace pollution.  Don't prepend headers.
64849         * conform/data/aio.h-data: Fixes for POSIX testing.
64850         * conform/data/fcntl.h-data: Likewise.
64851         * conform/data/glob.h-data: Likewise.
64852         * conform/data/grp.h-data: Likewise.
64853         * conform/data/pthread.h-data: Likewise.
64854         * conform/data/pwd.h-data: Likewise.
64855         * conform/data/signal.h-data: Likewise.
64856         * conform/data/spawn.h-data: Likewise.
64857         * conform/data/stdio.h-data: Likewise.
64858         * conform/data/stdlib.h-data: Likewise.
64859         * conform/data/stropts.h-data: Likewise.
64860         * conform/data/sys/mman.h-data: Likewise.
64861         * conform/data/sys/stat.h-data: Likewise.
64862         * conform/data/sys/types.h-data: Likewise.
64863         * conform/data/sys/wait.h-data: Likewise.
64864         * conform/data/time.h-data: Likewise.
64865         * conform/data/unistd.h-data: Likewise.
64866         * conform/data/utime.h-data: Likewise.
64868         * io/sys/stat.h: fchmod was always in POSIX.
64869         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64870         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64871         * rt/aio.h: Define __need_timespec before including <time.h>.
64872         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64873         struct.  Add forward declaration of pthread_attr_t and use it in
64874         sigevent.
64875         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64877         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64878         always remove CLK_TCK definition.
64880 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64882         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64884 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64886         * conform/run-conformtest.sh: New file.
64887         * conform/Makefile: Run run-conformtest for tests.
64888         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64889         support.
64891         * conform/data/uchar.h-data: New file.
64892         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64893         * conform/data/arpa/inet.h-data: Likewise.
64894         * conform/data/assert.h-data: Likewise.
64895         * conform/data/complex.h-data: Likewise.
64896         * conform/data/cpio.h-data: Likewise.
64897         * conform/data/ctype.h-data: Likewise.
64898         * conform/data/dirent.h-data: Likewise.
64899         * conform/data/dlfcn.h-data: Likewise.
64900         * conform/data/errno.h-data: Likewise.
64901         * conform/data/fcntl.h-data: Likewise.
64902         * conform/data/float.h-data: Likewise.
64903         * conform/data/fmtmsg.h-data: Likewise.
64904         * conform/data/fnmatch.h-data: Likewise.
64905         * conform/data/ftw.h-data: Likewise.
64906         * conform/data/glob.h-data: Likewise.
64907         * conform/data/grp.h-data: Likewise.
64908         * conform/data/iconv.h-data: Likewise.
64909         * conform/data/inttypes.h-data: Likewise.
64910         * conform/data/langinfo.h-data: Likewise.
64911         * conform/data/libgen.h-data: Likewise.
64912         * conform/data/limits.h-data: Likewise.
64913         * conform/data/locale.h-data: Likewise.
64914         * conform/data/math.h-data: Likewise.
64915         * conform/data/monetary.h-data: Likewise.
64916         * conform/data/mqueue.h-data: Likewise.
64917         * conform/data/ndbm.h-data: Likewise.
64918         * conform/data/net/if.h-data: Likewise.
64919         * conform/data/netdb.h-data: Likewise.
64920         * conform/data/netinet/in.h-data: Likewise.
64921         * conform/data/nl_types.h-data: Likewise.
64922         * conform/data/poll.h-data: Likewise.
64923         * conform/data/pthread.h-data: Likewise.
64924         * conform/data/pwd.h-data: Likewise.
64925         * conform/data/regex.h-data: Likewise.
64926         * conform/data/sched.h-data: Likewise.
64927         * conform/data/search.h-data: Likewise.
64928         * conform/data/semaphore.h-data: Likewise.
64929         * conform/data/setjmp.h-data: Likewise.
64930         * conform/data/signal.h-data: Likewise.
64931         * conform/data/spawn.h-data: Likewise.
64932         * conform/data/stdarg.h-data: Likewise.
64933         * conform/data/stdio.h-data: Likewise.
64934         * conform/data/stdlib.h-data: Likewise.
64935         * conform/data/string.h-data: Likewise.
64936         * conform/data/strings.h-data: Likewise.
64937         * conform/data/stropts.h-data: Likewise.
64938         * conform/data/sys/ipc.h-data: Likewise.
64939         * conform/data/sys/mman.h-data: Likewise.
64940         * conform/data/sys/msg.h-data: Likewise.
64941         * conform/data/sys/resource.h-data: Likewise.
64942         * conform/data/sys/select.h-data: Likewise.
64943         * conform/data/sys/sem.h-data: Likewise.
64944         * conform/data/sys/shm.h-data: Likewise.
64945         * conform/data/sys/socket.h-data: Likewise.
64946         * conform/data/sys/stat.h-data: Likewise.
64947         * conform/data/sys/statvfs.h-data: Likewise.
64948         * conform/data/sys/time.h-data: Likewise.
64949         * conform/data/sys/timeb.h-data: Likewise.
64950         * conform/data/sys/times.h-data: Likewise.
64951         * conform/data/sys/types.h-data: Likewise.
64952         * conform/data/sys/uio.h-data: Likewise.
64953         * conform/data/sys/un.h-data: Likewise.
64954         * conform/data/sys/utsname.h-data: Likewise.
64955         * conform/data/sys/wait.h-data: Likewise.
64956         * conform/data/syslog.h-data: Likewise.
64957         * conform/data/tar.h-data: Likewise.
64958         * conform/data/termios.h-data: Likewise.
64959         * conform/data/utime.h-data: Likewise.
64960         * conform/data/utmpx.h-data: Likewise.
64961         * conform/data/varargs.h-data: Likewise.
64962         * conform/data/wchar.h-data: Likewise.
64963         * conform/data/wctype.h-data: Likewise.
64964         * conform/data/wordexp.h-data: Likewise.
64966         * include/stropts.h: New file.
64967         * include/uchar.h: New file.
64968         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64969         * include/assert.h: Likewise.
64970         * include/ctype.h: Likewise.
64971         * include/dirent.h: Likewise.
64972         * include/dlfcn.h: Likewise.
64973         * include/fcntl.h: Likewise.
64974         * include/fnmatch.h: Likewise.
64975         * include/glob.h: Likewise.
64976         * include/grp.h: Likewise.
64977         * include/libio.h: Likewise.
64978         * include/locale.h: Likewise.
64979         * include/math.h: Likewise.
64980         * include/net/if.h: Likewise.
64981         * include/netdb.h: Likewise.
64982         * include/netinet/in.h: Likewise.
64983         * include/pthread.h: Likewise.
64984         * include/pwd.h: Likewise.
64985         * include/regex.h: Likewise.
64986         * include/sched.h: Likewise.
64987         * include/search.h: Likewise.
64988         * include/setjmp.h: Likewise.
64989         * include/signal.h: Likewise.
64990         * include/stdio.h: Likewise.
64991         * include/stdlib.h: Likewise.
64992         * include/string.h: Likewise.
64993         * include/sys/cdefs.h: Likewise.
64994         * include/sys/mman.h: Likewise.
64995         * include/sys/msg.h: Likewise.
64996         * include/sys/resource.h: Likewise.
64997         * include/sys/select.h: Likewise.
64998         * include/sys/socket.h: Likewise.
64999         * include/sys/stat.h: Likewise.
65000         * include/sys/statvfs.h: Likewise.
65001         * include/sys/time.h: Likewise.
65002         * include/sys/times.h: Likewise.
65003         * include/sys/uio.h: Likewise.
65004         * include/sys/utsname.h: Likewise.
65005         * include/sys/wait.h: Likewise.
65006         * include/termios.h: Likewise.
65007         * include/time.h: Likewise.
65008         * include/ulimit.h: Likewise.
65009         * include/unistd.h: Likewise.
65010         * include/utime.h: Likewise.
65011         * include/wchar.h: Likewise.
65012         * include/wctype.h: Likewise.
65013         * include/wordexp.h: Likewise.
65015         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65017         * time/time.h: TIME_UTC must be a macro.
65018         Make timespec_get available for ISO C11 only as well.
65020 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65022         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65023         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65025 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65027         * configure.in: Use -o not -a in test for unsupported multi-arch.
65029 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65031         * manual/texinfo.tex: Update to version 2012-01-19.16.
65033 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65035         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65037 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65039         [BZ #13738]
65040         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65041         * manual/fdl-1.3.texi: New file.
65042         * manual/fdl-1.1.texi: File removed.
65044         [BZ #13738]
65045         * manual/libc.texinfo (FDL_VERSION): New @set.
65046         Use it for mention of FDL in cover text.
65047         (Documentation License): Use it in @include file name.
65049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65050             Roland McGrath  <roland@hack.frob.com>
65052         [BZ #5461]
65053         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65054         (not LONG_LONG_MAX and LONG_LONG_MIN.
65055         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65056         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65057         name.
65058         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65062         [BZ #2547]
65063         [BZ #11365]
65064         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65065         manipulate bits before adding and subtracting TWO23[sx].
65066         * math/libm-test.inc (nearbyint_test): Add more tests.
65068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65070         [BZ #2548]
65071         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65072         bits before adding and subtracting TWO23[sx].
65073         * math/libm-test.inc (rint_test): Add more tests.
65074         (rint_test_tonearest): Likewise.
65075         (rint_test_towardzero): Likewise.
65076         (rint_test_downward): Likewise.
65077         (rint_test_upward: Likewise.
65079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65081         [BZ #10110]
65082         * include/stdc-predef.h: New file.  Extracted from features.h.
65083         * include/features.h: Include stdc-predef.h.
65084         * Makefile (headers): Add stdc-predef.h.
65085         * CONFORMANCE (Compiler limitations): Update.
65087 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65089         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65091 2012-02-21  David S. Miller  <davem@davemloft.net>
65093         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65094         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65096 2012-02-20  David S. Miller  <davem@davemloft.net>
65098         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65099         using a normal save/restore sequence, rather than allocating a
65100         dummy stack frame just to store a frame pointer and restore.
65101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65103 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65105         * manual/install.texi: Fix stray word in line-wrapped comment.
65107 2012-02-20  David S. Miller  <davem@davemloft.net>
65109         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65110         both binutils and gcc support GOTDATA.
65112         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65113         "rd %pc" in the PIC register setup sequences.
65115         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65116         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65117         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65118         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65119         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65121         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65122         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65124         (SYSCALL_ERROR_HANDLER): Likewise.
65125         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65126         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65128         (SYSCALL_ERROR_HANDLER): Likewise.
65130         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65131         (HAVE_GCC_GOTDATA): New.
65132         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65133         relocation support in both binutils and gcc.
65134         * sysdeps/sparc/elf/configure: Regenerate.
65136         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65137         * sysdeps/sparc/sparc32/elf/configure: Delete.
65138         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65139         * sysdeps/sparc/sparc64/elf/configure: Delete.
65140         * sysdeps/sparc/elf/configure.in: New file.
65141         * sysdeps/sparc/elf/configure: Generate.
65143         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65144         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65145         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65146         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65147         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65149 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65151         * manual/install.texi: Do not mention specific glibc version
65152         numbers.
65153         * manual/libc.texinfo (VERSION, UPDATED): Update.
65154         (@copying): Use @copyright{} and range of years.
65156 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65158         [BZ #13695]
65159         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65160         [crti.S not in sysdirs] (generated): Do not append.
65161         [crti.S not in sysdirs] (omit-deps): Likewise.
65162         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65163         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65164         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65165         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65166         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65167         Likewise.
65168         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65169         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65170         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65171         * csu/defs.awk: Remove file.
65172         * sysdeps/generic/initfini.c: Likewise.
65173         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65174         variable.
65175         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65176         Likewise.
65178 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65180         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65181         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65182         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65183         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65185         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65186         <bits/epoll.h>.
65187         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65188         (__EPOLL_PACKED): Define to empty if not defined by
65189         <bits/epoll.h>.
65190         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65192         bits/epoll.h.
65194 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65196         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65197         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65198         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65199         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65200         <bits/timerfd.h>.
65201         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65203         bits/timerfd.h.
65205 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65207         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65208         in C locale.
65209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65211         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65214 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65217         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65219 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65221         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65222         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65223         defined.
65224         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65225         Likewise.
65226         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65227         entry for 2.16.
65229 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65231         * math/w_acos.c: Use non-signaling floating-point comparisons.
65232         * math/w_acosf.c: Likewise.
65233         * math/w_acosh.c: Likewise.
65234         * math/w_acoshf.c: Likewise.
65235         * math/w_acoshl.c: Likewise.
65236         * math/w_acosl.c: Likewise.
65237         * math/w_asin.c: Likewise.
65238         * math/w_asinf.c: Likewise.
65239         * math/w_asinl.c: Likewise.
65240         * math/w_atanh.c: Likewise.
65241         * math/w_atanhf.c: Likewise.
65242         * math/w_atanhl.c: Likewise.
65243         * math/w_exp2.c: Likewise.
65244         * math/w_exp2f.c: Likewise.
65245         * math/w_exp2l.c: Likewise.
65246         * math/w_j0.c: Likewise.
65247         * math/w_j0f.c: Likewise.
65248         * math/w_j0l.c: Likewise.
65249         * math/w_j1.c: Likewise.
65250         * math/w_j1f.c: Likewise.
65251         * math/w_j1l.c: Likewise.
65252         * math/w_jn.c: Likewise.
65253         * math/w_jnf.c: Likewise.
65254         * math/w_log.c: Likewise.
65255         * math/w_log10.c: Likewise.
65256         * math/w_log10f.c: Likewise.
65257         * math/w_log10l.c: Likewise.
65258         * math/w_log2.c: Likewise.
65259         * math/w_log2f.c: Likewise.
65260         * math/w_log2l.c: Likewise.
65261         * math/w_logf.c: Likewise.
65262         * math/w_logl.c: Likewise.
65263         * math/w_sqrt.c: Likewise.
65264         * math/w_sqrtf.c: Likewise.
65265         * math/w_sqrtl.c: Likewise.
65266         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65267         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65268         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65269         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65270         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65272 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65274         [BZ #9739]
65275         * manual/string.texi (strnlen): Use correct parameter name in
65276         equivalent expression.
65278 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65280         [BZ #11174]
65281         * manual/users.texi (seteuid): Consistently use neweuid for
65282         argument name.
65284 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65286         [BZ #13704]
65287         * manual/nss.texi (Services in the NSS configuration): Correct
65288         list of services in example configuration file.
65290 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65292         [BZ #11322]
65293         * manual/arith.texi: Remove statements about negative zero
65294         behaving identically to zero.
65296 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65298         [BZ #5993]
65299         * manual/install.texi: Do not document upgrading from libc5.
65301 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65303         [BZ #4596]
65304         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65306 2012-02-18  David S. Miller  <davem@davemloft.net>
65308         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65309         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65310         %o7 across the call.
65311         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65312         instead.
65313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65314         SETUP_PIC_REG_LEAF.
65315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65316         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65317         * sysdeps/sparc/crtn.S: Likewise.
65319 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65321         * aout/Makefile: Remove.
65323 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65325         [BZ #13058]
65326         * manual/examples/argp-ex1.c (main): Format definition in GNU
65327         style.
65328         * manual/examples/argp-ex2.c (main): Likewise.
65329         * manual/examples/argp-ex3.c (main): Likewise.
65330         * manual/examples/argp-ex4.c (main): Likewise.
65331         * manual/examples/longopt.c (main): Use new-style prototype
65332         definition.
65333         * manual/examples/strncat.c (main): Specify return type and use
65334         (void) for arguments.
65335         * manual/examples/subopt.c (main): Use char **argv argument.
65337 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65339         [BZ #5077]
65340         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65341         rounding modes.
65343 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65345         [BZ #6907]
65346         * manual/string.texi (strchr): Change when strchrnul is
65347         recommended.
65349 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65351         [BZ #174]
65352         * manual/locale.texi (setlocale): Document LOCPATH.
65354 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65356         [BZ #10210]
65357         * manual/process.texi (execle): Move @dots{} before last argument.
65359 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65361         [BZ #12047]
65362         * manual/charset.texi (Generic Charset Conversion): Fix typo
65363         (LC_TYPE -> LC_CTYPE).
65365 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65367         [BZ #5805]
65368         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65369         (scalbnf): Likewise.
65370         (scalbnl): Likewise.
65371         (scalbln): Likewise.
65372         (scalblnf): Likewise.
65373         (scalblnl): Likewise.
65374         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65375         (vwarnx): Likewise.
65376         (verr): Likewise.
65377         (verrx): Likewise.
65378         * manual/filesys.texi (telldir): Use braces around return type.
65379         * manual/llio.texi (mmap): Add space after comma.
65380         (mmap64): Likewise.
65381         * manual/math.texi (jn): Use @var{} on parameter names.
65382         (jnf): Likewise.
65383         (jnl): Likewise.
65384         (yn): Likewise.
65385         (ynf): Likewise.
65386         (ynl): Likewise.
65387         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65388         line.
65389         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65390         "...".
65391         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65392         (sched_get_priority_max): Likewise.
65393         * manual/signal.texi (sigvec): Add space after comma.
65394         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65395         names.
65396         (if_indextoname): Likewise.
65397         (if_freenameindex): Likewise.
65398         (sendto): Use ',' instead of '.' in prototype.
65399         * manual/startup.texi (syscall): Use @dots{} instead of literal
65400         "...".
65401         * manual/stdio.texi (__fpending): Separate initial words of
65402         paragraph from @deftypefun line.
65403         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65404         "...".
65405         (vsyslog): Use @var{} on parameter names.
65406         * manual/terminal.texi (stty): Use @var{} on parameter names.
65407         * manual/users.texi (getutmp): Use @var{} on parameter names.
65408         (getutmpx): Likewise.
65410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65412         [BZ #6884]
65413         * manual/stdio.texi (fopen): Fix typos in description of
65414         ",ccs=STRING".
65416 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65418         [BZ #4026]
65419         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65420         get clock_id definition.
65422 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65424         [BZ #4822]
65425         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65426         (madvise): Cast every argument to void on its own.
65428 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65430         [BZ #9902]
65431         * manual/startup.texi (Exit Status): Fix typo.
65433 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65435         [BZ #10140]
65436         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65437         * manual/examples/argp-ex2.c: Likewise.
65438         * manual/examples/argp-ex3.c: Likewise.
65440 2012-02-16  Richard Henderson  <rth@redhat.com>
65442         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65443         * sysdeps/s390/s390-32/initfini.c: Remove.
65444         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65445         * sysdeps/s390/s390-64/initfini.c: Remove.
65447 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65449         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65450         compiler output for sysdeps/generic/initfini.c.
65451         * sysdeps/sh/elf/initfini.c: Remove file.
65453 2012-02-16  David S. Miller  <davem@davemloft.net>
65455         [BZ #11494]
65456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65458         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65459         * sysdeps/sparc/crti.S: New file.
65460         * sysdeps/sparc/crtn.S: New file.
65461         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65462         * sysdeps/sparc/sparc64/Makefile: Likewise.
65464 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65466         [BZ #3335]
65467         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65469 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65471         [BZ #4822]
65472         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65474         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65475         (write, read, close): Likewise.
65476         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65478 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65480         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65481         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65482         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65483         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65484         <bits/signalfd.h>.
65485         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65487         bits/signalfd.h.
65489 2012-02-14  Marek Polacek  <polacek@redhat.com>
65491         * sysdeps/x86_64/crti.S: New file.
65492         * sysdeps/x86_64/crtn.S: New file.
65493         * sysdeps/x86_64/elf/initfini.c: Remove file.
65495 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65497         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65498         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65499         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65500         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65501         <bits/inotify.h>.
65502         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65504         bits/inotify.h.
65506 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65508         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65509         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65510         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65511         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65512         <bits/eventfd.h>.
65513         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65515         bits/eventfd.h.
65517 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65519         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65520         __feraiseexcept instead of feraiseexcept.
65522         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65523         nanosleep invocations.
65524         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65525         strings, and add error checking for a nanosleep invocations.
65527 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65529         Replace FSF snail mail address with URLs, as per GNU coding standards.
65530         Most of the snail mail addresses were wrong anyway, and omitting
65531         them makes the source code easier to maintain.  Almost all of the
65532         changes are to license notices and to locale LC_IDENTIFICATION
65533         addresses, except for this one:
65534         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65535         not its snail mail address.
65537 2012-02-09  Richard Henderson  <rth@twiddle.net>
65539         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65540         of kernel-features.h.
65542         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65544 2012-02-08  Marek Polacek  <polacek@redhat.com>
65546         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65547         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65548         * sysdeps/gnu/_G_config.h: Likewise.
65549         * sysdeps/generic/_G_config.h: Likewise.
65551 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65553         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65554         tests.
65555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65557         * sysdeps/powerpc/powerpc32/crti.S: New file.
65558         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65559         * sysdeps/powerpc/powerpc64/crti.S: New file.
65560         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65562         * Makeconfig (have-initfini): Don't set.
65563         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65564         * configure.in (nopic_initfini): Don't substitute.
65565         * config.h.in (HAVE_INITFINI): Don't #undef.
65566         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65567         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65569 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65571         Support crti.S and crtn.S provided directly by architectures.
65572         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65573         [crti.S in sysdirs] (omit-deps): Likewise.
65574         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65575         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65576         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65577         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65578         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65579         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65580         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65581         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65582         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65583         compiler output for sysdeps/generic/initfini.c.
65584         * sysdeps/i386/elf/Makefile: Remove file.
65585         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65587 2012-02-07  Marek Polacek  <polacek@redhat.com>
65589         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65590         * sysdeps/gnu/_G_config.h: Likewise.
65591         * sysdeps/mach/hurd/_G_config.h: Likewise.
65593 2012-02-07  Marek Polacek  <polacek@redhat.com>
65595         * math/Makefile (tests): Add tst-CMPLX2.
65596         * math/tst-CMPLX2.c: New file.
65598 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65600         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65602         * math/libm-test.inc (jn_test): Add missing L suffix.
65604 2012-02-06  Marek Polacek  <polacek@redhat.com>
65606         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65607         * sysdeps/i386/fpu/e_powf.S: Likewise.
65608         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65609         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65610         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65611         * sysdeps/i386/fpu/e_pow.S: Likewise.
65612         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65613         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65614         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65615         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65616         * sysdeps/i386/fpu/e_log2.S: Likewise.
65617         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65618         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65619         * sysdeps/i386/fpu/e_powl.S: Likewise.
65620         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65621         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65622         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65623         * sysdeps/i386/fpu/e_logl.S: Likewise.
65624         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65625         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65626         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65627         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65628         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65629         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65630         * sysdeps/i386/fpu/e_log.S: Likewise.
65631         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65632         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65633         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65634         * sysdeps/i386/fpu/e_logf.S: Likewise.
65635         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65636         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65637         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65638         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65639         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65640         * sysdeps/i386/fpu/e_log10.S: Likewise.
65641         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65642         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65643         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65644         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65645         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65646         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65647         * sysdeps/i386/asm-syntax.h: Likewise.
65648         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65649         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65650         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65651         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65652         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65653         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65654         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65655         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65656         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65657         * sysdeps/powerpc/sysdep.h: Likewise.
65658         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65659         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65661 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65663         [BZ #411]
65664         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65666 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65668         * sysdeps/i386/sysdep.h: Include <features.h>.
65669         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65670         version.
65672 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65674         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65675         Define.
65676         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65677         LOAD_PIC_REG_STR.
65679 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65681         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65682         (SETUP_PIC_REG): Use GET_PC_THUNK.
65683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65684         macro.
65686 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65688         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65689         for non-PIC compilation.
65690         (SETUP_PIC_REG): Add .p2align directive.
65691         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65692         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65693         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65694         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65695         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65696         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65697         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65699         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65700         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65701         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65702         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65703         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65704         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65705         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65706         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65707         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65708         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65709         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65710         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65711         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65712         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65713         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65714         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65718         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65719         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65720         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65721         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65723         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65724         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65725         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65726         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65727         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65728         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65729         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65730         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65731         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65733 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65735         * math/tst-CMPLX.c: Include <stdio.h>.
65737 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65739         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65740         float.
65741         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65742         * sysdeps/sparc/bits/mathdef.h: Likewise.
65744 2012-01-31  Marek Polacek  <polacek@redhat.com>
65746         * libio/libio.h: Don't define _PARAMS.
65747         * locale/programs/config.h: Don't define PARAMS.
65748         * stdlib/strtol_l.c: Likewise.
65749         (__strtol_l): Remove PARAMS from the prototype.
65751 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65753         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65754         names.  Just use the correct names.  Remove unnecessary wrapper
65755         functions.
65756         * malloc/arena.c: Likewise.
65757         * malloc/hooks.c: Likewise.
65759         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65760         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65761         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65763 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65765         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65766         into tail calls.
65767         (update_get_addr): New function.
65768         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65769         GET_ADDR_MODULE parameter.
65771 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65773         * crypt/cert.c: Remove __STDC__ conditionals.
65774         * crypt/crypt-entry.c: Likewise.
65775         * crypt/crypt_util.c: Likewise.
65776         * libio/filedoalloc.c: Likewise.
65777         * libio/fileops.c: Likewise.
65778         * libio/genops.c: Likewise.
65779         * libio/iofclose.c: Likewise.
65780         * libio/iofdopen.c: Likewise.
65781         * libio/iofopen.c: Likewise.
65782         * libio/iofopen64.c: Likewise.
65783         * libio/iogetdelim.c: Likewise.
65784         * libio/iopopen.c: Likewise.
65785         * libio/obprintf.c: Likewise.
65786         * libio/oldfileops.c: Likewise.
65787         * libio/oldiofclose.c: Likewise.
65788         * libio/oldiofdopen.c: Likewise.
65789         * libio/oldiofopen.c: Likewise.
65790         * libio/oldiopopen.c: Likewise.
65791         * libio/wfiledoalloc.c: Likewise.
65792         * libio/wgenops.c: Likewise.
65793         * locale/programs/xmalloc.c: Likewise.
65794         * misc/syslog.c: Likewise.
65795         * stdio-common/xbug.c: Likewise.
65796         * string/memchr.c: Likewise.
65797         * string/memcmp.c: Likewise.
65798         * string/memrchr.c: Likewise.
65799         * string/rawmemchr.c: Likewise.
65800         * sysdeps/posix/getcwd.c: Likewise.
65801         * time/strftime_l.c: Likewise.
65803 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65805         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65806         * config.make.in (config-cflags-sse2avx): Define.
65807         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65808         Fix typo.
65810 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65812         * scripts/config.guess: Update from upstream config git repository.
65813         * scripts/config.sub: Likewise.
65815 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65817         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65818         (EM_NUM): Update.
65819         (R_TILEPRO_*, R_TILEGX_*): New macros.
65821         * scripts/firstversions.awk: Fix bug in version range handling.
65823         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65825         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65827         * include/sys/epoll.h: New file.
65828         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65829         libc_hidden_def.
65831 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65833         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65834         Avoid unnecessary __WORDSIZE == 64 test.
65835         (fmaxf): Use VEX format if possible.
65836         (fmax): Likewise.
65837         (fminf): Likewise.
65838         (fmin): Likewise.
65840         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65841         * math/math_private.h: Remove libc_fegetround* and
65842         libc_fesetround*.
65843         * sysdeps/i386/configure.in: Check for -msse2avx.
65844         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65845         also if SSE2AVX is defined.
65846         Remove libc_fegetround* and libc_fesetround*.
65847         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65848         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65849         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65850         of HAS_YMM_USABLE.
65851         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65852         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65853         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65854         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65855         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65857         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65859 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65861         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65862         size is not set.
65863         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65865 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65867         [BZ #13618]
65868         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65869         relocation.
65870         * Makeconfig (libm): Define.
65871         * elf/Makefile: Add rules to build and run tst-relsort1.
65872         * elf/tst-relsort1.c: New file.
65873         * elf/tst-relsort1mod1.c: New file.
65874         * elf/tst-relsort1mod2.c: New file.
65876 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65878         * math/s_ldexp.c: Remove __STDC__ conditionals.
65879         * math/s_ldexpf.c: Likewise.
65880         * math/s_ldexpl.c: Likewise.
65881         * math/s_nextafter.c: Likewise.
65882         * math/s_nexttowardf.c: Likewise.
65883         * math/s_significand.c: Likewise.
65884         * math/s_significandf.c: Likewise.
65885         * math/s_significandl.c: Likewise.
65886         * math/w_jnl.c: Likewise.
65887         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65888         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65889         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65890         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65891         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65893         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65894         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65895         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65896         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65897         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65898         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65900         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65901         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65902         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65903         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65904         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65906         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65907         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65909         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65911         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65912         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65913         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65914         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65915         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65916         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65917         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65918         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65920         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65921         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65922         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65923         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65924         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65925         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65926         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65927         * sysdeps/ieee754/k_standard.c: Likewise.
65928         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65929         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65930         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65931         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65932         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65933         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65934         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65935         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65936         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65937         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65938         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65939         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65940         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65941         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65942         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65943         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65944         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65945         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65947         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65948         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65949         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65950         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65951         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65952         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65953         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65957         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65959         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65960         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65961         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65963         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65964         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65965         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65967         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65968         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65969         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65970         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65971         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65972         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65973         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65975         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65976         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65977         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65978         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65979         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65980         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65981         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65982         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65983         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65984         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65985         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65986         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65987         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65988         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65989         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65990         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65991         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65992         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65993         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65994         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65995         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65997         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65998         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65999         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66000         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66004         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66005         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66006         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66007         * sysdeps/ieee754/s_matherr.c: Likewise.
66008         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66009         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66013 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66015         * crypt/md5.h: Remove __STDC__ conditionals.
66016         * libio/libioP.h: Likewise.
66017         * locale/programs/config.h: Likewise.
66018         * sysdeps/generic/sysdep.h: Likewise.
66019         * sysdeps/i386/asm-syntax.h: Likewise.
66020         * sysdeps/s390/asm-syntax.h: Likewise.
66021         * sysdeps/unix/sysdep.h: Likewise.
66022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66025 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66027         * libio/libio.h: Remove __STDC__ conditionals.
66028         * malloc/obstack.h: Likewise.
66029         * math/complex.h: Likewise.
66030         * math/math.h: Likewise.
66031         * sysdeps/generic/_G_config.h: Likewise.
66032         * sysdeps/gnu/_G_config.h: Likewise.
66033         * sysdeps/mach/hurd/_G_config.h: Likewise.
66034         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66035         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66036         * sysdeps/sparc/bits/mathdef.h: Likewise.
66038 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66040         [BZ #13583]
66041         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66042         Clean up HAS_* macros.
66043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66044         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66045         possible.
66046         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66047         HAS_AVX.
66048         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66049         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66050         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66051         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66052         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66054 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66056         * elf/tst-unique3.cc (gets): Remove declaration.
66057         * elf/tst-unique3lib.cc (gets): Likewise.
66058         * elf/tst-unique3lib2.cc (gets): Likewise.
66059         * elf/tst-unique4.cc (gets): Likewise.
66061 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66063         * include/stdio.h: Add C++ protection.  Add gets declarations and
66064         definitions.
66065         * debug/tst-chk1.c: Don't declare gets here.
66066         * stdio-common/tst-gets.c: Likewise.
66068 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66070         * posix/glob: Remove directory.
66072 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66074         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66076 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66078         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66079         of the non-standard EPFNOSUPPORT.
66081 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66083         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66084         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66085         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66087 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66089         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66091 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66093         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66094         transient errors.
66095         * nscd/grpcache.c (cache_addgr): Likewise.
66096         * nscd/hstcache.c (cache_addhst): Likewise.
66097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66098         * nscd/pwdcache.c (cache_addpw): Likewise.
66099         * nscd/servicescache.c (cache_addserv): Likewise.
66101 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66103         * malloc/malloc.c: Various cleanups.
66104         * malloc/hooks.c: Likewise.
66106         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66107         * stdlib/bug-fmtmsg1.c: New file.
66109         * stdlib/fmtmsg.c (init): Add missing unlock.
66110         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66112 2012-01-12  Marek Polacek  <polacek@redhat.com>
66114         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66115         and _GNU_SOURCE.
66117 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66119         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66120         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66121         macro to ensure uniqueness of label name.
66122         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66123         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66125 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66127         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66129         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66130         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66131         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66134 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66136         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66138         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66139         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66140         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66142         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66144         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66145         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66146         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66149         * math/bits/math-finite.h: Add ldexp support.
66151 2012-01-10  Marek Polacek  <polacek@redhat.com>
66153         * locale/programs/localedef.h (show_archive_content): Add noreturn
66154         attribute.
66156 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66158         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66160 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66162         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66164         * io/Makefile (headers): Add bits/poll2.h.
66166 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66169         typo #include statement.
66171 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66173         * include/sys/cdefs.h: Define __attribute_alloc_size.
66174         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66175         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66176         * elf/pldd.c: Likewise.
66177         * iconv/iconv_charmap.c: Likewise.
66178         * iconv/iconvconfig.c: Likewise.
66179         * iconv/strtab.c: Likewise.
66180         * locale/programs/locale.c: Likewise.
66181         * locale/programs/localedef.h: Likewise.
66182         * locale/programs/simple-hash.c: Likewise.
66183         * nscd/nscd.h: Likewise.
66184         * nss/makedb.c: Likewise.
66185         * sysdeps/generic/ldconfig.h: Likewise.
66186         * locale/programs/localedef.c: Remove xmalloc prototype.
66187         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66189 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66192         appropriate.
66194 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66196         * math/Makefile (tests): Add tst-CMPLX.
66197         * math/tst-CMPLX.c: New file.
66199         * math/complex.h (CMPLXL): Fix typo.
66201         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66202         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66203         GLIBC_2.16.
66204         * debug/tst-chk1.c: Add poll and ppoll tests.
66205         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66206         * include/sys/poll.h: Add hidden proto for ppoll.
66207         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66208         * sysdeps/mach/hurd/ppoll.c: Likewise.
66209         * io/ppoll.c: Likewise.
66210         * debug/poll_chk.c: New file.
66211         * debug/ppoll_chk.c: New file.
66212         * include/bits/poll2.h: New file.
66213         * io/bits/poll2.h: New file.
66215         [BZ #1350]
66216         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66218         * configure.in: static is always set to yes.  Remove.
66219         * config.make.in: Don't set build-static.
66220         * Makeconfig: Remove use of build-static.
66221         * dlfcn/Makefile: Likewise.
66222         * elf/Makefile: Likewise.
66223         * math/Makefile: Likewise.
66224         * misc/Makefile: Likewise.
66225         * nptl/Makefile: Likewise.
66226         * sysdeps/mach/hurd/Makefile: Likewise.
66228         * configure.in: PWD_P is not used anymore.
66229         * config.make.in: Remove PWD_P entry.
66231         * configure.in: Remove last remnants of RANLIB.
66232         No need to check for signed size_t anymore.
66233         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66234         and IA-64.
66235         Remove __builtin_expect test because we require at least gcc 3.4.
66236         * aclocal.m4: Likewise.
66238         * wcsmbs/mbrtoc16.c: Implement using towc function.
66239         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66240         * wcsmbs/wcsmbsload.c: Likewise.
66241         * iconv/gconv_simple.c: Likewise.
66242         * iconv/gconv_int.h: Likewise.
66243         * iconv/gconv_builtin.h: Likewise.
66244         * iconv/iconv_prog.c: Remove CHAR16 handling.
66246         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66248         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66250         * configure.in: Remove --with-elf and --enable-bounded options.
66251         Dont set base_machine for ia64.  More non-ELF conditions removed.
66252         Remove testing and setting of leading underscore information.
66253         * config.make.in (build-bounded): Set to no.
66254         * config.h.in: Remove NO_UNDERSCORES entry.
66255         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66256         them.
66257         * csu/start.c: Remove !NO_UNDERSCORE code.
66258         * locale/localeinfo.h: Likewise.
66259         * sysdeps/generic/machine-gmon.h: Likewise.
66260         * sysdeps/generic/sysdep.h: Likewise.
66261         * sysdeps/i386/sysdep.h: Likewise.
66262         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66263         * sysdeps/mach/sysdep.h: Likewise.
66264         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66265         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66266         * sysdeps/sh/sysdep.h: Likewise.
66267         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66268         * sysdeps/unix/i386/sysdep.S: Likewise.
66269         * sysdeps/unix/sparc/start.c: Likewise.
66270         * sysdeps/unix/sparc/sysdep.S: Likewise.
66271         * sysdeps/unix/sparc/sysdep.h: Likewise.
66272         * sysdeps/unix/start.c: Likewise.
66273         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66274         * sysdeps/x86_64/sysdep.h: Likewise.
66276 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66278         [BZ #13553]
66279         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66280         for non-gcc.
66281         * argp/argp-fmtstream.h: Use const instead __const.
66282         * argp/argp.h: Likewise.
66283         * assert/assert.h: Likewise.
66284         * bits/fenv.h: Likewise.
66285         * bits/sched.h: Likewise.
66286         * bits/sigset.h: Likewise.
66287         * bits/sigthread.h: Likewise.
66288         * catgets/nl_types.h: Likewise.
66289         * conform/data/pthread.h-data: Likewise.
66290         * crypt/crypt-private.h: Likewise.
66291         * crypt/crypt.h: Likewise.
66292         * crypt/crypt_util.c: Likewise.
66293         * ctype/ctype.h: Likewise.
66294         * debug/execinfo.h: Likewise.
66295         * debug/mbsnrtowcs_chk.c: Likewise.
66296         * debug/mbsrtowcs_chk.c: Likewise.
66297         * debug/wcsnrtombs_chk.c: Likewise.
66298         * debug/wcsrtombs_chk.c: Likewise.
66299         * debug/wcstombs_chk.c: Likewise.
66300         * dirent/dirent.h: Likewise.
66301         * dlfcn/dlfcn.h: Likewise.
66302         * elf/neededtest4.c: Likewise.
66303         * grp/grp.h: Likewise.
66304         * gshadow/gshadow.h: Likewise.
66305         * iconv/gconv.h: Likewise.
66306         * iconv/gconv_int.h: Likewise.
66307         * iconv/gconv_simple.c: Likewise.
66308         * iconv/iconv.h: Likewise.
66309         * iconv/loop.c: Likewise.
66310         * iconv/skeleton.c: Likewise.
66311         * include/aio.h: Likewise.
66312         * include/aliases.h: Likewise.
66313         * include/argz.h: Likewise.
66314         * include/arpa/inet.h: Likewise.
66315         * include/assert.h: Likewise.
66316         * include/dirent.h: Likewise.
66317         * include/dlfcn.h: Likewise.
66318         * include/execinfo.h: Likewise.
66319         * include/fcntl.h: Likewise.
66320         * include/fenv.h: Likewise.
66321         * include/glob.h: Likewise.
66322         * include/grp.h: Likewise.
66323         * include/libintl.h: Likewise.
66324         * include/mntent.h: Likewise.
66325         * include/netdb.h: Likewise.
66326         * include/pwd.h: Likewise.
66327         * include/rpc/netdb.h: Likewise.
66328         * include/sched.h: Likewise.
66329         * include/search.h: Likewise.
66330         * include/shadow.h: Likewise.
66331         * include/signal.h: Likewise.
66332         * include/stdio.h: Likewise.
66333         * include/stdlib.h: Likewise.
66334         * include/string.h: Likewise.
66335         * include/sys/socket.h: Likewise.
66336         * include/sys/stat.h: Likewise.
66337         * include/sys/statfs.h: Likewise.
66338         * include/sys/statvfs.h: Likewise.
66339         * include/sys/syslog.h: Likewise.
66340         * include/sys/time.h: Likewise.
66341         * include/sys/uio.h: Likewise.
66342         * include/time.h: Likewise.
66343         * include/unistd.h: Likewise.
66344         * include/utmp.h: Likewise.
66345         * include/wchar.h: Likewise.
66346         * include/wctype.h: Likewise.
66347         * inet/aliases.h: Likewise.
66348         * inet/arpa/inet.h: Likewise.
66349         * inet/netinet/ether.h: Likewise.
66350         * inet/netinet/in.h: Likewise.
66351         * intl/libintl.h: Likewise.
66352         * io/bits/fcntl2.h: Likewise.
66353         * io/fcntl.h: Likewise.
66354         * io/ftw.h: Likewise.
66355         * io/sys/poll.h: Likewise.
66356         * io/sys/stat.h: Likewise.
66357         * io/sys/statfs.h: Likewise.
66358         * io/sys/statvfs.h: Likewise.
66359         * io/utime.h: Likewise.
66360         * libio/bits/stdio.h: Likewise.
66361         * libio/bits/stdio2.h: Likewise.
66362         * libio/libio.h: Likewise.
66363         * libio/libioP.h: Likewise.
66364         * libio/stdio.h: Likewise.
66365         * locale/lc-ctype.c: Likewise.
66366         * locale/locale.h: Likewise.
66367         * login/utmp.h: Likewise.
66368         * malloc/arena.c: Likewise.
66369         * malloc/malloc.c: Likewise.
66370         * malloc/malloc.h: Likewise.
66371         * malloc/mcheck.c: Likewise.
66372         * malloc/mtrace.c: Likewise.
66373         * math/bits/mathcalls.h: Likewise.
66374         * math/fenv.h: Likewise.
66375         * math/math_private.h: Likewise.
66376         * misc/bits/error.h: Likewise.
66377         * misc/bits/syslog.h: Likewise.
66378         * misc/err.h: Likewise.
66379         * misc/error.h: Likewise.
66380         * misc/fstab.h: Likewise.
66381         * misc/mntent.h: Likewise.
66382         * misc/regexp.h: Likewise.
66383         * misc/search.h: Likewise.
66384         * misc/sgtty.h: Likewise.
66385         * misc/sys/mman.h: Likewise.
66386         * misc/sys/syslog.h: Likewise.
66387         * misc/sys/uio.h: Likewise.
66388         * misc/sys/xattr.h: Likewise.
66389         * misc/ttyent.h: Likewise.
66390         * nis/rpcsvc/ypclnt.h: Likewise.
66391         * nss/nss.h: Likewise.
66392         * posix/bits/unistd.h: Likewise.
66393         * posix/fnmatch.h: Likewise.
66394         * posix/glob.h: Likewise.
66395         * posix/sched.h: Likewise.
66396         * posix/spawn.h: Likewise.
66397         * posix/sys/wait.h: Likewise.
66398         * posix/unistd.h: Likewise.
66399         * posix/wordexp.h: Likewise.
66400         * pwd/pwd.h: Likewise.
66401         * resolv/netdb.h: Likewise.
66402         * resource/sys/resource.h: Likewise.
66403         * rt/aio.h: Likewise.
66404         * rt/bits/mqueue2.h: Likewise.
66405         * rt/mqueue.h: Likewise.
66406         * shadow/shadow.h: Likewise.
66407         * signal/signal.h: Likewise.
66408         * socket/send.c: Likewise.
66409         * socket/sendto.c: Likewise.
66410         * socket/sys/socket.h: Likewise.
66411         * stdio-common/printf.h: Likewise.
66412         * stdlib/bits/stdlib.h: Likewise.
66413         * stdlib/fmtmsg.h: Likewise.
66414         * stdlib/monetary.h: Likewise.
66415         * stdlib/stdlib.h: Likewise.
66416         * stdlib/ucontext.h: Likewise.
66417         * streams/stropts.h: Likewise.
66418         * string/argz.h: Likewise.
66419         * string/bits/string2.h: Likewise.
66420         * string/string.h: Likewise.
66421         * string/strings.h: Likewise.
66422         * sunrpc/rpc/auth.h: Likewise.
66423         * sunrpc/rpc/auth_des.h: Likewise.
66424         * sunrpc/rpc/clnt.h: Likewise.
66425         * sunrpc/rpc/netdb.h: Likewise.
66426         * sunrpc/rpc/pmap_clnt.h: Likewise.
66427         * sunrpc/rpc/xdr.h: Likewise.
66428         * sysdeps/generic/inttypes.h: Likewise.
66429         * sysdeps/generic/net/if.h: Likewise.
66430         * sysdeps/generic/sys/swap.h: Likewise.
66431         * sysdeps/gnu/net/if.h: Likewise.
66432         * sysdeps/gnu/utmpx.h: Likewise.
66433         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66434         * sysdeps/i386/i486/bits/string.h: Likewise.
66435         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66436         * sysdeps/s390/bits/string.h: Likewise.
66437         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66438         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66439         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66440         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66441         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66442         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66443         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66444         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66445         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66446         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66447         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66448         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66449         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66450         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66451         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66452         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66453         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66458         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66459         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66460         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66461         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66462         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66463         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66464         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66465         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66466         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66467         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66468         * sysvipc/sys/ipc.h: Likewise.
66469         * sysvipc/sys/msg.h: Likewise.
66470         * sysvipc/sys/sem.h: Likewise.
66471         * sysvipc/sys/shm.h: Likewise.
66472         * termios/termios.h: Likewise.
66473         * time/sys/time.h: Likewise.
66474         * time/time.h: Likewise.
66475         * wcsmbs/bits/wchar2.h: Likewise.
66476         * wcsmbs/uchar.h: Likewise.
66477         * wcsmbs/wchar.h: Likewise.
66478         * wctype/wctype.h: Likewise.
66480         [BZ #13551]
66481         * Makeconfig: Remove all but ELF support including AIX support.
66482         * Makerules: Likewise.
66483         * config.h.in: Likewise.
66484         * config.make.in: Likewise.
66485         * configure: Likewise.
66486         * configure.in: Likewise.
66487         * csu/Makefile: Likewise.
66488         * csu/version.c: Likewise.
66489         * debug/Makefile: Likewise.
66490         * dlfcn/Makefile: Likewise.
66491         * elf/Makefile: Likewise.
66492         * extra-lib.mk: Likewise.
66493         * iconv/Makefile: Likewise.
66494         * include/libc-symbols.h: Likewise.
66495         * include/shlib-compat.h: Likewise.
66496         * resolv/Makefile: Likewise.
66497         * resolv/res_libc.c: Likewise.
66498         * rt/Makefile: Likewise.
66499         * sysdeps/i386/asm-syntax.h: Likewise.
66500         * sysdeps/i386/sysdep.h: Likewise.
66501         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66502         * sysdeps/mach/sysdep.h: Likewise.
66503         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66504         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66505         * sysdeps/s390/asm-syntax.h: Likewise.
66506         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66508         * sysdeps/sh/sysdep.h: Likewise.
66509         * sysdeps/unix/sparc/sysdep.h: Likewise.
66510         * sysdeps/wordsize-32/divdi3.c: Likewise.
66511         * sysdeps/x86_64/sysdep.h: Likewise.
66513         * argp/Versions: Remove _argp_unlock_xxx.
66515         [BZ #13559]
66516         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66517         * abilist/libBrokenLocale.abilist: Likewise.
66518         * abilist/libanl.abilist: Likewise.
66519         * abilist/libc.abilist: Likewise.
66520         * abilist/libcrypt.abilist: Likewise.
66521         * abilist/libdl.abilist: Likewise.
66522         * abilist/libm.abilist: Likewise.
66523         * abilist/libnsl.abilist: Likewise.
66524         * abilist/libpthread.abilist: Likewise.
66525         * abilist/libresolv.abilist: Likewise.
66526         * abilist/librt.abilist: Likewise.
66527         * abilist/libthread_db.abilist: Likewise.
66528         * abilist/libutil.abilist: Likewise.
66529         * abilist/libnss_db.abilist: New file.
66531         * scripts/abilist.awk: Add support for indirect functions.
66533         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66535         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66537         * shlib-versions: Remove entries for ports architectures.
66539         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66540         files in ports.
66541         * elf/stackguard-macros.h: Remove support for IA-64.
66542         * elf/tst-auditmod1.c: Likewise.
66543         * sysdeps/generic/ldsodefs.h: Likewise.
66545         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66546         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66547         configure files.
66549         [BZ #13552]
66550         * configure.in: Remove --enable-omitfp support.
66551         * FAQ.in: Adjust.
66552         * config.make.in: Likewise.
66553         * Makeconfig: Likewise.
66554         * manual/install.texi: Likewise.
66556         In case anyone cares, the IA-64 architecture could move to ports.
66557         * sysdeps/ia64/*: Removed.
66558         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66559         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66561         [BZ #13555]
66562         * configure.in: Remove entries for unsupported architectures.
66564         [BZ #13533]
66565         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66566         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66567         routines.
66568         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66569         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66570         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66571         fall back to using wcrtomb.
66572         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66573         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66574         renaming.
66575         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66576         * wcsmbs/tst-c16c32-1.c: New file.
66578         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66579         local variable.
66581         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66583         * elf/tst-unique3.cc: Add explicit declaration of gets.
66584         * elf/tst-unique3lib.cc: Likewise.
66585         * elf/tst-unique3lib2.cc: Likewise.
66586         * elf/tst-unique4.cc: Likewise.
66588         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66590 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66592         [BZ #13566]
66593         * assert/assert.h (static_assert): Don't define for C++.
66594         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66595         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66597 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66599         * iconv/loop.c (single loop): Fix assertion in storing of
66600         remaining bytes.
66602         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66604 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66606         * posix/getconf.c: Update copyright year.
66607         * nss/getent.c: Likewise.
66608         * nss/makedb.c: Likewise.
66609         * iconv/iconvconfig.c: Likewise.
66610         * iconv/iconv_prog.c: Likewise.
66611         * elf/ldconfig.c: Likewise.
66612         * elf/pldd.c: Likewise.
66613         * elf/sotruss.ksh: Likewise.
66614         * catgets/gencat.c: Likewise.
66615         * csu/version.c: Likewise.
66616         * elf/ldd.bash.in: Likewise.
66617         * elf/sprof.c (print_version): Likewise.
66618         * locale/programs/locale.c: Likewise.
66619         * locale/programs/localedef.c: Likewise.
66620         * login/programs/pt_chown.c: Likewise.
66621         * nscd/nscd.c (print_version): Likewise.
66622         * debug/xtrace.sh: Likewise.
66623         * malloc/memusage.sh: Likewise.
66624         * malloc/mtrace.pl: Likewise.
66625         * debug/catchsegv.sh: Likewise.
66627 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66629         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66630         pure attribute.
66632 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66634         [BZ #13533]
66635         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66636         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66637         transformations.
66638         * iconv/gconv_int.h: Likewise.
66639         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66640         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66641         from libc for GLIBC_2.16.
66642         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66643         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66644         * wcsmbs/uchar.h: Really define mbstate_t.
66645         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66646         * wcsmbs/c16rtomb.c: New file.
66647         * wcsmbs/mbrtoc16.c: New file.
66648         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66649         for C/POSIX locale.
66650         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66651         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66653         * wcsmbs/wchar.h: Add missing __restrict.
66655 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66657         [BZ #13532]
66658         * time/Makefile (routines): Add timespec_get.
66659         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66660         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66661         timespec for ISO C11.
66662         * time/timespec_get.c: New file.
66663         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66664         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66666         [BZ #13531]
66667         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66668         * stdlib/stdlib.h: Declare aligned_alloc.
66669         * Versions.def: Add GLIBC_2.16 for libc.
66670         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66672         [BZ 13527]
66673         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66674         ISO C11.
66676         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66677         code.
66679         [BZ #13528]
66680         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66682         [BZ #13529]
66683         * assert/assert.h (static_assert): Define.
66685         * version.h: Update for 2.16 development version.
66687         [BZ #13526]
66688         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66689         _ISOC11_SOURCE.
66691         * version.h (RELEASE): Bump for 2.15 release.
66692         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66694         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66695         Patch by Marek Polacek <mpolacek@redhat.com>.
66697         * bits/byteswap.h: Protect long long constants with __extension__.
66698         * sysdeps/i386/bits/byteswap.h: Likewise.
66699         * sysdeps/ia64/bits/byteswap.h: Likewise.
66700         * sysdeps/s390/bits/byteswap.h: Likewise.
66701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66703 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66705         [BZ #13540]
66706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66707         destination buffer.
66708         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66710 2011-12-23  Marek Polacek  <polacek@redhat.com>
66712         * elf/dl-addr.c (determine_info): Add inline keyword.
66713         * elf/tst-auditmod4b.c (check_avx): Likewise.
66714         * elf/tst-auditmod6b.c (check_avx): Likewise.
66715         * elf/tst-auditmod6c.c (check_avx): Likewise.
66716         * elf/tst-auditmod7b.c (check_avx): Likewise.
66718 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66720         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66721         !__SSE_MATH__.
66723 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66725         [BZ #13540]
66726         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66727         processing for last bytes.
66729 2011-08-06  Bruno Haible  <bruno@clisp.org>
66731         [BZ #13061]
66732         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66733         U+0385, not to U+1FEE.
66735         [BZ #13062]
66736         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66737         entry for U+00A5 U+0301.
66739 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66741         [BZ #13166]
66742         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66743         buffer for the output is too small.
66745         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66746         optimization.
66748         [BZ #13185]
66749         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66750         SSE flags if possible.
66752 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66754         [BZ #13540]
66755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66756         processing for last bytes.
66758 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66760         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66761         (syscall-list-default-options, syscall-list-default-condition)
66762         (syscall-list-includes): Define.
66763         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66764         list of ABIs and options and #if conditions for each ABI.  Do not
66765         handle common syscalls between ABIs specially.
66766         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66767         Remove.
66768         (syscall-list-variants, syscall-list-32bit-options)
66769         (syscall-list-32bit-condition, syscall-list-64bit-options)
66770         (syscall-list-64bit-condition): Define.
66771         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66772         (syscall-list-variants, syscall-list-32bit-options)
66773         (syscall-list-32bit-condition, syscall-list-64bit-options)
66774         (syscall-list-64bit-condition): Define.
66775         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66776         Remove.
66777         (syscall-list-variants, syscall-list-32bit-options)
66778         (syscall-list-32bit-condition, syscall-list-64bit-options)
66779         (syscall-list-64bit-condition): Define.
66780         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66781         Remove.
66782         (syscall-list-variants, syscall-list-32bit-options)
66783         (syscall-list-32bit-condition, syscall-list-64bit-options)
66784         (syscall-list-64bit-condition): Define.
66786 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66788         * locale/iso-639.def: Add brx entry.
66790         [BZ #13328]
66791         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66792         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66794         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66795         __feraiseexcept_renamed.
66797 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66799         [BZ #13538]
66800         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66801         EPOLLET with unsigned values.
66802         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66803         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66805         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66806         to large cancellation.
66807         * math/s_cacoshf.c: Likewise.
66808         * math/s_cacoshl.c: Likewise.
66810 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66812         [BZ #13305]
66813         [BZ #12786]
66814         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66815         * math/s_cacoshf.c: Likewise.
66816         * math/s_cacoshl.c: Likewise.
66818 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66820         [BZ #13439]
66821         * iconv/gconv.h: Define __GCONV_SWAP.
66822         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66823         * iconvdata/utf-16.c: Likewise.
66824         * iconvdata/utf-32.c: Likewise.
66826 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66828         [BZ #13524]
66829         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66830         numerator after shifting it by one limb.
66832 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66834         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66835         under [__USE_EXTERN_INLINES].
66837 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66839         [BZ #13446]
66840         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66842 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66844         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66845         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66846         optimized code.
66847         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66848         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66849         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66850         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66851         for strncasecmp/strncasecmp_l compilation.
66852         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66853         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66855 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66857         [BZ #13484]
66858         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66859         of __asm__.
66861 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66863         [BZ #13506]
66864         * time/tzfile.c (__tzfile_read): Check values from file header.
66866 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66868         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66869         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66870         * powerpc/powerpc32/dl-start.S: Likewise.
66871         * powerpc/powerpc32/elf/start.S: Likewise.
66872         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66873         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66874         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66875         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66876         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66877         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66878         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66879         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66880         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66881         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66882         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66883         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66884         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66885         * powerpc/powerpc32/memset.S: Likewise.
66886         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66887         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66888         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66889         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66890         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66891         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66892         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66893         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66894         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66895         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66896         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66897         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66898         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66900 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66902         * math/libm-test.inc: Added more nearbyint tests.
66903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66908 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66910         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66911         FD_CLOEXEC.
66913 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66915         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66916         Add wcscpy-ssse3 wcscpy-c.
66917         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66918         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66919         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66920         * sysdeps/x86_64/wcschr.S: New file.
66921         * sysdeps/x86_64/wcsrchr.S: New file.
66922         * string/test-strcmp.c: Remove checking of wcscmp function for
66923         wrong alignments.
66924         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66925         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66926         wcsrchr-sse2 wcsrchr-c.
66927         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66928         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66929         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66930         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66931         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66932         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66933         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66934         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66935         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66936         * wcsmbc/wcschr.c (WCSCHR): New macro.
66938 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66940         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66941         * wcsmbs/test-wcsrchr.c: New file.
66942         * string/test-strrchr.c: Add wcsrchr support.
66943         (WIDE): New macro.
66944         * wcsmbs/test-wcscpy.c: New file.
66945         * string/test-strcpy.c: Add wcscpy support.
66946         (WIDE): New macro.
66948 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66950         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66951         the inner loop.
66953 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66955         [BZ #13472]
66956         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66958 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66960         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66961         Minor optimizations.
66963         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66964         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66965         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66967 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66969         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66970         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66971         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66972         for gcc to avoid warnings.
66973         * inet/Makefile (tests): Add tst-checks.
66974         * inet/tst-checks.c: New file.
66976         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66977         warning.
66979         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66980         __wmemcmp_sse2.
66982         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66983         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66985         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66987 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66989         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66990         problem.
66992         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66994 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66996         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66997         conditional on GCC version.
66998         (__arch_compare_and_exchange_val_8_acq)
66999         (__arch_compare_and_exchange_val_16_acq)
67000         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67001         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67002         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67004 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67006         * sysdeps/sh/backtrace.c: New file.
67008 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67010         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67011         parenthesis.
67013 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67015         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67016         falling back to utime.
67018 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67020         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67021         expectations for float.
67023 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67025         * locale/weight.h (findidx): Add parameter len.
67026         * locale/weightwc.h (findidx): Likewise.
67027         * posix/fnmatch_loop.c (FCT): Adjust caller.
67028         * posix/regcomp.c (build_equiv_class): Likewise.
67029         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67030         * posix/regexec.c (check_node_accept_bytes): Likewise.
67031         * string/strcoll_l.c (STRCOLL): Likewise.
67032         * string/strxfrm_l.c (STRXFRM): Likewise.
67034 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67036         * Makefile.in: Remove CVSOPT handling.
67037         * configure.in: Remove use of AC_REVISION.
67038         * iconvdata/Makefile (distribute): No need to filter out CVS.
67039         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67040         handling.
67042 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67044         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67045         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67046         [USE_AS_STRNCASECMP_L]: Likewise.
67047         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67048         NO_TLS_DIRECT_SEG_REFS.
67049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67050         Fix argument offsets for non-PIC.
67051         [USE_AS_STRNCASECMP_L]: Likewise.
67052         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67053         NO_TLS_DIRECT_SEG_REFS.
67055 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67057         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67058         O_CLOEXEC.
67059         * locale/loadlocale.c (_nl_load_locale): Likewise.
67061 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67063         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67064         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67065         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67066         (SYSCALL_GETTIME): Set errno on error.
67068         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67069         count references to noai6ai_cached.
67071 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67073         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67075         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67076         FD_CLOEXEC for /proc/self/maps.
67078         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67079         FD_CLOEXEC for /proc/meminfo.
67081         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67082         gai.conf.
67084         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67085         FD_CLOEXEC for given file.
67087         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67089         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67090         FD_CLOEXEC for /etc/hosts.
67091         (_gethtent): Likewise.
67093         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67095         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67096         cancellation and set FD_CLOEXEC for /etc/netgroup.
67098         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67099         reading /etc/publickey.
67101         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67102         allow cancellation when reading /etc/group.
67104         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67105         cancellation.
67106         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67108         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67109         when using data file.
67111         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67113         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67114         (write_nis_obj): Use "c" and "e" in fopen.
67116         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67118         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67120         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67122         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67124         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67125         locale.alias.
67127         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67129         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67131         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67133         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67134         file parsing and set FD_CLOEXEC.
67136 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67138         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67140 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67142         * malloc/arena.c (arena_get2): Don't call reused_arena when
67143         _int_new_arena failed.
67145 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67147         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67148         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67149         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67150         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67151         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67153         to compile strcasecmp and strncasecmp.
67154         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67155         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67159 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67161         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67162         locale-defines.sym to gen-as-const-headers.
67163         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67164         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67166         to compile strcasecmp and strncasecmp.
67167         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67168         strcasecmp_l and strncasecmp_l.
67169         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67170         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67171         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67172         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67173         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67174         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67175         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67176         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67177         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67178         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67179         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67181 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67183         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67184         result of SYSDEP_GETTIME_CPU to retval.
67185         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67186         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67188         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67189         variable.
67191         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67192         mantissa words.
67193         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67195         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67196         from unused variable.
67198         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67199         DWARF definitions.
67200         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67201         for assembling.
67203         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67204         over namespaces.
67206         * sunrpc/rpc_prot.c (rejected): Fix case value.
67208         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67209         unsigned long long int to avoid warnings in shift.
67211         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67212         of use of trans.
67213         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67214         variable tmp.
67216         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67217         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67218         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67220         * nis/nis_table.c (nis_list): Use variable of correct type for
67221         result of __follow_path call.
67223 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67225         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67226         of math functions ceil, trunc, floor, round, and sqrt, when
67227         avaliable on the platform.
67228         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67229         name clash.
67230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67231         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67232         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67234 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67236         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67239 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67241         * include/unistd.h: Fix __readlink return type.
67242         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67244 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67246         * stdlib/ucontext.h: Undo last change for makecontext.
67248 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67250         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67252         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67253         * setjmp/setjmp.h: Mark functions as non-leaf.
67254         * setjmp/bits/setjmp2.h: Likewise.
67255         * stdlib/ucontext.h: Likewise.
67257 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67259         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67260         (reused_arena): Don't check arena limit.
67261         (arena_get2): Atomically check arena limit.
67263 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67265         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67266         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67268         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67269         instructions.
67271 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67273         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67274         handler when locking.
67276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67277         Fix size of allocated buffer.
67279 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67281         [BZ #10103]
67282         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67283         declarations for long double functions.
67284         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67286         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67288 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67290         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67291         installed.
67293         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67294         is disabled.
67296 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67298         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67300 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67302         * include/alloca.h (stackinfo_alloca_round): Define.
67303         (extend_alloca): Use it.
67304         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67305         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67306         here.
67308         * scripts/check-local-headers.sh: Ignore libaudit.h.
67310         * nscd/Makefile (extra-objs): Make recursively expanded.
67312 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67314         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67317         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67318         * posix/tst-rfc3484-2.c: Likewise.
67319         * posix/tst-rfc3484-3.c: Likewise.
67321         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67322         process_vm_writev.
67323         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67324         process_vm_writev.
67325         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67326         process_vm_writev from libc using GLIBC_2.15 version.
67328         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67330 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67332         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67333         stack usage.
67335 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67337         [BZ #13367]
67338         * nss/getent.c (initgroups_keys): Show error message in case no group
67339         names are given.
67341         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67342         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67343         __bump_nl_timestamp.
67344         * nscd/connections (nscd_init): When host database is served open
67345         netlink socket and request notification about configuration changes.
67346         (main_loop_poll): Track netlink file descriptor and bump timestamp
67347         in case data becomes available.
67348         (main_loop_epoll): Likewise.
67349         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67350         (database_pers_head): Add extra_data fileds.
67351         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67352         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67353         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67354         Adjust caller.
67355         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67356         in6ai data, call __free_in6ai.
67357         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67358         Add -DHAVE_NETLINK.
67359         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67360         interface information.  Reuse previous data if netlink timestamp
67361         is not changed.
67362         (__bump_nl_timestamp): New function.
67363         (__free_in6ai): New function.
67365 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67368         close_not_cancel_no_status here.
67369         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67371 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67373         [BZ #13276]
67374         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67375         return value.
67377         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67378         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67379         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67381 2011-07-03  Andreas Jaeger  <aj@suse.de>
67383         [BZ #10709]
67384         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67385         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67386         * math/libm-test.inc (sin_test): Add test case.
67388 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67390         [BZ #13337]
67391         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67392         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67394         * elf/chroot_canon.c (chroot_canon): Cleanups.
67396         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67398         [BZ #13335]
67399         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67400         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67402         * string/test-strchr.c: Make usable for strchrnul testing.
67403         * string/test-strchrnul.c: New file.
67404         * string/Makefile (strop-tests): Add strchrnul.
67406         * po/it.po: Update from translation team.
67407         * po/es.po: Likewise.
67409 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67411         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67412         the three constants needed as parameters.  Drop the others.
67413         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67414         __m128i_strloadu_tolower.
67415         Create and initialize variable zero and use it in all the places
67416         where _mm_setzero_si128 was used.
67418         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67419         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67420         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67421         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67422         anymore.
67423         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67424         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67425         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67426         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67427         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67428         __mpranred, __mptan.
67429         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67430         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67431         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67432         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67433         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67434         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67436         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67437         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67439 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67441         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67442         redefine if SHARED.
67443         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67446         wide char related routines to wcsmbs subdir.
67448 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67450         [BZ #13344]
67451         * misc/sys/cdefs.h (__THROWNL): Define.
67452         * posix/unistd.h: Use __THREADNL instead of __THREAD
67453         for memory synchronization functions.
67455 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67457         [BZ #13349]
67458         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67459         doesn't exist.
67460         * manual/stdio.texi (Obstack Streams): Node removed.
67462 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67464         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67465         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67466         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67468         * math/math_private.h (math_force_eval): Allow non-addressable
67469         arguments.
67470         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67474         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67475         file is not needed.
67477         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67479         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67480         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67481         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67482         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67484         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67485         Add AVX variants.
67486         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67487         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67488         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67489         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67490         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67491         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67492         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67493         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67494         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67495         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67496         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67497         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67498         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67499         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67500         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67501         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67502         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67503         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67504         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67506         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67507         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67509         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67510         place.  Use VEX encoding when compiling for AVX.
67512 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67514         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67515         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67517         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67521         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67522         useless if() expression.
67523         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67524         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67527         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67528         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67529         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67530         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67531         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67532         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67533         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67534         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67535         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67536         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67537         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67538         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67539         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67540         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67541         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67543         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67545 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67547         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67548         condition.
67549         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67551 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67553         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67554         .text section.  Avoid duplicate constants.
67555         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67565         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67567         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67570         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67572         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67578         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67579         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67580         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67581         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67582         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67583         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67584         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67585         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67586         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67587         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67588         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67589         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67590         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67591         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67592         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67593         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67594         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67595         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67596         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67597         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67598         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67599         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67601 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67603         * sysdeps/x86_64/dla.h: Move to ...
67604         * sysdeps/x86_64/fpu/dla.h: ...here.
67605         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67606         situations.  Use __builtin_fma only for gcc 4.6 and up.
67608         * config.make.in: Add have-mfma4 entry.
67609         * configure.in: Substitute libc_cv_cc_fma4.
67610         * math/Makefile (dbl-only-routines): Add sincostab.
67611         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67612         Use __sincostab not sincos.
67613         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67614         name is a macro.
67615         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67616         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67618         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67619         using __copysign.
67620         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67621         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67622         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67623         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67624         and __inv.
67625         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67626         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67627         __copysign.
67628         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67629         define aliases when function name is a macro.
67630         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67631         sysdeps/ieee754/dbl-64/sincos.tbl.
67632         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67633         fma4-enabled routines.
67634         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67635         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67636         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67637         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67638         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67639         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67641         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67642         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67643         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67644         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67645         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67646         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67647         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67649         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67650         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67651         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67652         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67654         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67655         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67656         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67657         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67658         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67659         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67660         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67661         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67662         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67663         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67665         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67666         rename.
67667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67676 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67678         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67680 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67684         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67685         prediction.
67686         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67688         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67689         Remove unused variable magic_bits.
67690         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67692         * string/strnlen.c: Define and use STRNLEN macro.
67693         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67694         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67696         * wcsmbs/wcslen.c: Define and use WCSLEN.
67697         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67698         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67699         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67700         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67701         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67702         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67703         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67705 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67708         strnlen-sse2-no-bsf.
67709         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67711         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67712         Add strnlen support.
67713         (USE_AS_STRNLEN): New macro.
67714         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67715         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67716         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67717         * sysdeps/x86_64/wcslen.S: New file.
67719 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67722         XMM-moves are used for copying on small sizes.
67724 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67726         * wcsmbs/Makefile (strop-tests): Add wcschr.
67727         * wcsmbs/test-wcschr.c: New file.
67728         * string/test-strchr.c: Update.
67729         Add wcschr support.
67730         (WIDE): New macro.
67732 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67734         * wcsmbs/Makefile (strop-tests): Add wcslen.
67735         * wcsmbs/test-wcslen.c: New file.
67736         * string/test-strlen.c: Update.
67737         Add wcslen support.
67738         (WIDE): New macro.
67740 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67742         * po/it.po: Update from translation team.
67744 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67746         * sysdeps/x86_64/wcscmp.S: Update.
67747         Fix wrong comparison semantics.
67748         wcscmp shall use signed comparison not unsigned.
67749         Don't use substraction to avoid overflow bug.
67750         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67751         * wcsmbc/wcscmp.c: Likewise.
67752         * string/test-strcmp.c: Likewise.
67753         Add new tests to check cases with negative values.
67755 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67757         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67758         * sysdeps/x86_64/dla.h: ...here.  New file.
67759         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67764         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67769 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67772         __ynl_finite aliases.
67774 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67778         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67779         define DLA_FMA.
67780         [DLA_FMA] (EMULV): Use DLA_FMA.
67781         [DLA_FMA] (MUL12): Use EMULV.
67782         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67783         that are not needed.
67784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67787         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67792 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67794         * math/s_nan.c: Undef __nan.
67795         * math/s_nanf.c: Undef __nanf.
67796         * math/s_nanl.c: Undef __nanl.
67797         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67798         "math_private.h".
67800 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67802         * math/s_catan.c: Add branch predictions.
67803         * math/s_catanf.c: Likewise.
67804         * math/s_catanh.c: Likewise.
67805         * math/s_catanhf.c: Likewise.
67806         * math/s_catanhl.c: Likewise.
67807         * math/s_catanl.c: Likewise.
67808         * math/s_cexp.c: Likewise.
67809         * math/s_cexpf.c: Likewise.
67810         * math/s_cexpl.c: Likewise.
67811         * math/s_clog.c: Likewise.
67812         * math/s_clog10.c: Likewise.
67813         * math/s_clog10f.c: Likewise.
67814         * math/s_clog10l.c: Likewise.
67815         * math/s_clogf.c: Likewise.
67816         * math/s_clogl.c: Likewise.
67817         * math/s_csqrt.c: Likewise.
67818         * math/s_csqrtf.c: Likewise.
67819         * math/s_csqrtl.c: Likewise.
67820         * math/s_ctanf.c: Likewise.
67821         * math/s_ctanh.c: Likewise.
67822         * math/s_ctanhf.c: Likewise.
67823         * math/s_ctanhl.c: Likewise.
67824         * math/s_ctanl.c: Likewise.
67826         * math/math_private.h: Define __nan, __nanf, __nanl.
67827         * math/s_cacosh.c: Include <math_private.h>.
67828         * math/s_cacoshl.c: Likewise.
67829         * math/s_casinh.c: Likewise.
67830         * math/s_casinhf.c: Likewise.
67831         * math/s_casinhl.c: Likewise.
67832         * math/s_ccos.c: Rely entire on ccosh.
67833         * math/s_ccosf.c: Rely entire on ccoshf.
67834         * math/s_ccosl.c: Rely entirely on ccoshl.
67835         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67836         Remove tests for FE_INVALID.
67837         * math/s_ccoshf.c: Likewise.
67838         * math/s_ccoshl.c: Likewise.
67839         * math/s_csin.c: Likewise.
67840         * math/s_csinf.c: Likewise.
67841         * math/s_csinh.c Likewise.
67842         * math/s_csinhf.c: Likewise.
67843         * math/s_csinhl.c: Likewise.
67844         * math/s_csinl.c: Likewise.
67845         * math/s_ctan.c: Likewise.
67846         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67847         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67848         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67850 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67853         compilation problems.
67855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67856         __builtin_expect.
67858 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67860         * sysdeps/i386/configure.in: Test for -mfma4 option.
67861         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67862         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67863         COMMON_CPUID_INDEX_80000001.
67864         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67865         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67866         use it if FMA3 is not supported.
67867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67869         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67870         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67872 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67874         [BZ #12892]
67875         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67876         it would create a cycle with a link time dependency.
67878 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67880         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67881         instruction.
67882         * string/Makefile (strop-tests): Add rawmemchr.
67883         * string/test-rawmemchr.c: New file.
67885         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67886         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67887         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67888         when compiling str{,n}casecmp and when AVX is available.  Hook up
67889         new optimized code in initializers.
67891 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67893         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67894         __feraiseexcept instead of feraiseexcept.
67896 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67898         * math/math_private.h: Define defaults for libc_fetestexcept and
67899         libc_feupdateenv.
67900         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67901         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67902         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67903         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67904         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67905         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67906         libc_fetestexcept and libc_feupdateenv.
67908         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67909         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67910         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67911         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67912         libc_feholdexcept_setround.
67914         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67915         Add s_nearbyint-c and s_nearbyintf-c.
67916         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67917         nearbyintf inlines.
67918         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67919         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67920         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67921         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67923         * math/math_private.h: Define defaults for libc_fegetround,
67924         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67925         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67926         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67927         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67928         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67929         standard functions.
67930         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67931         Remove comments and hacks for old compiler versions.
67932         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67933         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67934         libc_feholdexceptl.
67936 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67938         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67939         (__feraiseexcept_renamed): Add __NTH.
67940         (feraiseexcept): Add __NTH.  Rename local variables to fix
67941         namespace violations.
67943 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67945         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67947         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67949         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67950         recently added interfaces.
67951         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67953         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67954         about macro parameter expansion.
67956         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67957         __NO_MATH_INLINES is defined.  Cleanups.
67959         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67960         and __floorf is target has SSE4.1.
67961         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67962         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67963         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67964         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67966         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67967         name.
67968         (floorf): Likewise.
67970         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67972 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67974         * misc/sys/cdefs.h: Fix last change.
67976         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67977         database lookup.
67979 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67981         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67983         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67984         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67985         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67986         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67987         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67988         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67989         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67991         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67992         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67993         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67994         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67995         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67996         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67997         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67998         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67999         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68000         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68001         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68002         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68003         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68004         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68006         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68007         ceil, ceilf, floor, floorf.
68009         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68010         Perform IRELATIVE relocations last.
68012         * elf/do-rel.h: Add another parameter nrelative, replacing the
68013         local variable with the same name.  Change name of the function
68014         to end in Rel or Rela (uppercase).
68015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68016         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68017         elf_dynamic_do_##reloc function.
68019 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68021         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68022         is sufficient, at least on modern CPUs.
68024         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68026         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68027         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68029         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68030         __expl_finite.
68031         * math/bits/math-finite.h: Add entries for exp.
68032         * math/e_expl.c: Add __*_finite alias.
68033         * sysdeps/i386/fpu/e_exp.S: Likewise.
68034         * sysdeps/i386/fpu/e_expf.S: Likewise.
68035         * sysdeps/i386/fpu/e_expl.c: Likewise.
68036         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68037         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68040         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68041         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68042         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68044         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68045         is sufficient, at least on modern CPUs.
68047         * ctype/ctype-info.c (__ctype_init): Define.
68048         * include/ctype.h (__ctype_init): Declare.
68049         (__ctype_b_loc): The variable is always initialized.
68050         (__ctype_toupper_loc): Likewise.
68051         (__ctype_tolower_loc): Likewise.
68052         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68053         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68055 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68057         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68059         * configure.in: Also look in $cxxmachine/include for C++ system
68060         headers.
68062 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68064         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68065         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68066         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68067         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68068         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68069         (USE_AS_WMEMCMP): New macro.
68070         Fixing indents.
68071         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68072         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68073         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68074         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68075         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68076         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68077         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68078         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68079         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68080         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68081         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68082         (USE_AS_WMEMCMP): New macro.
68083         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68084         * sysdeps/string/test-memcmp.c: Update.
68085         Fix simple_wmemcmp.
68086         Add new tests.
68087         * wcsmbs/wmemcmp.c: Update.
68088         (WMEMCMP): New macro.
68089         Fix overflow bug.
68091 2011-10-12  Andreas Jaeger  <aj@suse.de>
68093         [BZ #13268]
68094         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68096 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68098         * libio/iofwide.c (do_length): Avoid warning.
68100         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68102 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68104         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68106         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68107         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68108         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68109         * sysdeps/i386/i686/fpu/e_log.S: New file.
68110         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68111         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68113         * ctype/ctype.h: Add support for inlined isXXX functions when
68114         compiling C++ code.
68116 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68118         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68120         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68122 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68124         [BZ #13291]
68125         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68127 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68129         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68130         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68131         feraiseexcept.
68133         * sysdeps/x86_64/memrchr.S: Check for zero size.
68135         * string/stratcliff.c: Add memrchr tests.
68137 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68140         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68141         rawmemchr-sse2 rawmemchr-sse2-bsf.
68142         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68143         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68144         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68145         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68146         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68147         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68148         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68149         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68150         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68151         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68152         * string/memrchr.c (MEMRCHR): New macro.
68154 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68156         Add integration with gcc's -ffinite-math-only and optimize wrapper
68157         functions in libm.
68158         * Versions.def: Define GLIBC_2.15 version for libm.
68159         * math/Makefile (headers): Add bits/math-finite.h.
68160         * math/bits/math-finite.h: New file.
68161         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68162         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68163         * math/e_acoshl.c: Add __*_finite alias.
68164         * math/e_acosl.c: Likewise.
68165         * math/e_asinl.c: Likewise.
68166         * math/e_atan2l.c: Likewise.
68167         * math/e_atanhl.c: Likewise.
68168         * math/e_coshl.c: Likewise.
68169         * math/e_exp10.c: Likewise.
68170         * math/e_exp10f.c: Likewise.
68171         * math/e_exp10l.c: Likewise.
68172         * math/e_exp2l.c: Likewise.
68173         * math/e_fmodl.c: Likewise.
68174         * math/e_gammal_r.c: Likewise.
68175         * math/e_hypotl.c: Likewise.
68176         * math/e_j0l.c: Likewise.
68177         * math/e_j1l.c: Likewise.
68178         * math/e_jnl.c: Likewise.
68179         * math/e_lgammal_r.c: Likewise.
68180         * math/e_log10l.c: Likewise.
68181         * math/e_log2l.c: Likewise.
68182         * math/e_logl.c: Likewise.
68183         * math/e_powl.c: Likewise.
68184         * math/e_sinhl.c: Likewise.
68185         * math/e_sqrtl.c: Likewise.
68186         * math/e_scalb.c: Completely rewritten and optimized.
68187         * math/e_scalbf.c: Likewise.
68188         * math/e_scalbl.c: Likewise.
68189         * math/w_acos.c: Likewise.
68190         * math/w_acosf.c: Likewise.
68191         * math/w_acosl.c: Likewise.
68192         * math/w_acosh.c: Likewise.
68193         * math/w_acoshf.c: Likewise.
68194         * math/w_acoshl.c: Likewise.
68195         * math/w_asin.c: Likewise.
68196         * math/w_asinf.c: Likewise.
68197         * math/w_asinl.c: Likewise.
68198         * math/w_atan2.c: Likewise.
68199         * math/w_atan2f.c: Likewise.
68200         * math/w_atan2l.c: Likewise.
68201         * math/w_atanh.c: Likewise.
68202         * math/w_atanhf.c: Likewise.
68203         * math/w_atanhl.c: Likewise.
68204         * math/w_exp10.c: Likewise.
68205         * math/w_exp10f.c: Likewise.
68206         * math/w_exp10l.c: Likewise.
68207         * math/w_fmod.c: Likewise.
68208         * math/w_fmodf.c: Likewise.
68209         * math/w_fmodl.c: Likewise.
68210         * math/w_j0.c: Likewise.
68211         * math/w_j0f.c: Likewise.
68212         * math/w_j0l.c: Likewise.
68213         * math/w_j1.c: Likewise.
68214         * math/w_j1f.c: Likewise.
68215         * math/w_j1l.c: Likewise.
68216         * math/w_jn.c: Likewise.
68217         * math/w_jnf.c: Likewise.
68218         * math/w_log.c: Likewise.
68219         * math/w_logf.c: Likewise.
68220         * math/w_logl.c: Likewise.
68221         * math/w_log10.c: Likewise.
68222         * math/w_log10f.c: Likewise.
68223         * math/w_log10l.c: Likewise.
68224         * math/w_log2.c: Likewise.
68225         * math/w_log2f.c: Likewise.
68226         * math/w_log2l.c: Likewise.
68227         * math/w_pow.c: Likewise.
68228         * math/w_powf.c: Likewise.
68229         * math/w_powl.c: Likewise.
68230         * math/w_remainder.c: Likewise.
68231         * math/w_remainderf.c: Likewise.
68232         * math/w_remainderl.c: Likewise.
68233         * math/w_scalb.c: Likewise.
68234         * math/w_scalbf.c: Likewise.
68235         * math/w_scalbl.c: Likewise.
68236         * math/w_sqrt.c: Likewise.
68237         * math/w_sqrtf.c: Likewise.
68238         * math/w_sqrtl.c: Likewise.
68239         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68240         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68241         used.
68242         * math/math_private.h: Declare __kernel_standard_f.
68243         * math/w_cosh.c: Remove cruft and optimize a bit.
68244         * math/w_coshf.c: Likewise.
68245         * math/w_coshl.c: Likewise.
68246         * math/w_exp2.c: Likewise.
68247         * math/w_exp2f.c: Likewise.
68248         * math/w_exp2l.c: Likewise.
68249         * math/w_hypot.c: Likewise.
68250         * math/w_hypotf.c: Likewise.
68251         * math/w_hypotl.c: Likewise.
68252         * math/w_lgamma.c: Likewise.
68253         * math/w_lgamma_r.c: Likewise.
68254         * math/w_lgammaf.c: Likewise.
68255         * math/w_lgammaf_r.c: Likewise.
68256         * math/w_lgammal.c: Likewise.
68257         * math/w_lgammal_r.c: Likewise.
68258         * math/w_sinh.c: Likewise.
68259         * math/w_sinhf.c: Likewise.
68260         * math/w_sinhl.c: Likewise.
68261         * math/w_tgamma.c: Likewise.
68262         * math/w_tgammaf.c: Likewise.
68263         * math/w_tgammal.c: Likewise.
68264         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68265         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68266         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68267         Minor optimizations.  Pretty printing.  Remove cruft.
68268         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68269         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68270         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68271         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68272         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68273         * sysdeps/i386/fpu/e_asin.S: Likewise.
68274         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68275         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68276         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68277         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68278         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68279         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68281         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68282         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68283         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68284         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68285         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68286         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68287         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68288         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68289         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68290         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68291         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68292         * sysdeps/i386/fpu/e_log.S: Likewise.
68293         * sysdeps/i386/fpu/e_log10.S: Likewise.
68294         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68295         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68296         * sysdeps/i386/fpu/e_log2.S: Likewise.
68297         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68298         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68299         * sysdeps/i386/fpu/e_logf.S: Likewise.
68300         * sysdeps/i386/fpu/e_logl.S: Likewise.
68301         * sysdeps/i386/fpu/e_pow.S: Likewise.
68302         * sysdeps/i386/fpu/e_powf.S: Likewise.
68303         * sysdeps/i386/fpu/e_powl.S: Likewise.
68304         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68305         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68306         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68307         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68308         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68309         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68310         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68311         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68312         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68313         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68316         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68317         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68318         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68319         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68320         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68321         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68322         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68323         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68324         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68327         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68329         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68330         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68331         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68332         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68333         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68334         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68335         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68336         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68337         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68338         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68339         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68340         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68341         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68342         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68343         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68344         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68345         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68346         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68347         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68348         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68349         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68350         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68351         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68352         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68353         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68354         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68355         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68356         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68357         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68358         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68359         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68360         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68361         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68363         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68364         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68366         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68368         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68369         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68370         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68371         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68372         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68373         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68374         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68375         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68377         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68378         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68379         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68381         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68382         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68383         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68384         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68385         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68387         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68389         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68390         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68391         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68392         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68394         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68395         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68396         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68397         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68398         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68399         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68400         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68401         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68402         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68403         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68404         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68405         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68406         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68407         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68408         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68409         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68410         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68411         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68412         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68413         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68414         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68415         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68416         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68417         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68418         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68419         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68421         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68422         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68423         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68424         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68425         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68426         (__isnanf): Likewise.
68427         (__isinf_ns): Likewise.
68428         (__isinf_nsf): Likewise.
68429         (__finite): Likewise.
68430         (__finitef): Likewise.
68431         (__ieee754_sqrt): Define as macro.
68432         (__ieee754_sqrtf): Define as macro.
68433         (__ieee754_sqrtl): Define as macro.
68434         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68435         inlined copy.
68436         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68437         __FINITE_MATH_ONLY__ consistent.
68438         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68440 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68442         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68443         of rawmemchr.
68445         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68447 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68449         * po/ja.po: Update from translation team.
68451 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68453         * locale/programs/locarchive.c (prepare_address_space): New function.
68454         (create_archive, enlarge_archive, open_archive): Use it.
68456         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68457         inside [SHARED], where it is used.
68459         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68461         * nss/getent.c (netgroup_keys): Remove unused variable.
68462         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68464 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68466         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68467         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68469         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68470         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68471         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68472         * math/Makefile (libm-calls): Add s_isinf_ns.
68473         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68474         * math/multc3.c: Likewise.
68475         * math/s_casin.c: Likewise.
68476         * math/s_casinf.c: Likewise.
68477         * math/s_casinl.c: Likewise.
68478         * math/s_ccos.c: Likewise.
68479         * math/s_ccosf.c: Likewise.
68480         * math/s_ccosl.c: Likewise.
68481         * math/s_ctan.c: Likewise.
68482         * math/s_ctanf.c: Likewise.
68483         * math/s_ctanh.c: Likewise.
68484         * math/s_ctanhf.c: Likewise.
68485         * math/s_ctanhl.c: Likewise.
68486         * math/s_ctanl.c: Likewise.
68487         * math/w_fmod.c: Likewise.
68488         * math/w_fmodf.c: Likewise.
68489         * math/w_fmodl.c: Likewise.
68490         * math/w_remainder.c: Likewise.
68491         * math/w_remainderf.c: Likewise.
68492         * math/w_remainderl.c: Likewise.
68493         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68494         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68495         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68496         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68497         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68498         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68499         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68500         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68502         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68503         of the number.
68504         * stdio-common/printf_fphex.c: Likewise.
68505         * stdio-common/printf_size.c: Likewise.
68507         * math/e_exp10.c: Include math_private.h using <...> not "...".
68508         * math/e_exp10f.c: Likewise.
68509         * math/e_exp10l.c: Likewise.
68510         * math/e_exp2l.c: Likewise.
68511         * math/e_j0l.c: Likewise.
68512         * math/e_j1l.c: Likewise.
68513         * math/e_jnl.c: Likewise.
68514         * math/e_lgammal_r.c: Likewise.
68515         * math/e_rem_pio2l.c: Likewise.
68516         * math/e_scalb.c: Likewise.
68517         * math/e_scalbf.c: Likewise.
68518         * math/e_scalbl.c: Likewise.
68519         * math/k_cosl.c: Likewise.
68520         * math/k_sinl.c: Likewise.
68521         * math/k_tanl.c: Likewise.
68522         * math/s_cacoshf.c: Likewise.
68523         * math/s_catan.c: Likewise.
68524         * math/s_catanf.c: Likewise.
68525         * math/s_catanh.c: Likewise.
68526         * math/s_catanhf.c: Likewise.
68527         * math/s_catanhl.c: Likewise.
68528         * math/s_catanl.c: Likewise.
68529         * math/s_ccosh.c: Likewise.
68530         * math/s_ccoshf.c: Likewise.
68531         * math/s_ccoshl.c: Likewise.
68532         * math/s_cexp.c: Likewise.
68533         * math/s_cexpf.c: Likewise.
68534         * math/s_cexpl.c: Likewise.
68535         * math/s_clog.c: Likewise.
68536         * math/s_clog10.c: Likewise.
68537         * math/s_clog10f.c: Likewise.
68538         * math/s_clog10l.c: Likewise.
68539         * math/s_clogf.c: Likewise.
68540         * math/s_clogl.c: Likewise.
68541         * math/s_csin.c: Likewise.
68542         * math/s_csinf.c: Likewise.
68543         * math/s_csinh.c: Likewise.
68544         * math/s_csinhf.c: Likewise.
68545         * math/s_csinhl.c: Likewise.
68546         * math/s_csinl.c: Likewise.
68547         * math/s_csqrt.c: Likewise.
68548         * math/s_csqrtf.c: Likewise.
68549         * math/s_csqrtl.c: Likewise.
68550         * math/s_ctan.c: Likewise.
68551         * math/s_ctanf.c: Likewise.
68552         * math/s_ctanh.c: Likewise.
68553         * math/s_ctanhf.c: Likewise.
68554         * math/s_ctanhl.c: Likewise.
68555         * math/s_ctanl.c: Likewise.
68556         * math/s_ldexp.c: Likewise.
68557         * math/s_ldexpf.c: Likewise.
68558         * math/s_ldexpl.c: Likewise.
68559         * math/s_significand.c: Likewise.
68560         * math/s_significandf.c: Likewise.
68561         * math/s_significandl.c: Likewise.
68562         * math/w_acos.c: Likewise.
68563         * math/w_acosf.c: Likewise.
68564         * math/w_acosh.c: Likewise.
68565         * math/w_acoshf.c: Likewise.
68566         * math/w_acoshl.c: Likewise.
68567         * math/w_acosl.c: Likewise.
68568         * math/w_asin.c: Likewise.
68569         * math/w_asinf.c: Likewise.
68570         * math/w_asinl.c: Likewise.
68571         * math/w_atan2.c: Likewise.
68572         * math/w_atan2f.c: Likewise.
68573         * math/w_atan2l.c: Likewise.
68574         * math/w_atanh.c: Likewise.
68575         * math/w_atanhf.c: Likewise.
68576         * math/w_atanhl.c: Likewise.
68577         * math/w_cosh.c: Likewise.
68578         * math/w_coshf.c: Likewise.
68579         * math/w_coshl.c: Likewise.
68580         * math/w_dremf.c: Likewise.
68581         * math/w_exp10.c: Likewise.
68582         * math/w_exp10f.c: Likewise.
68583         * math/w_exp10l.c: Likewise.
68584         * math/w_exp2.c: Likewise.
68585         * math/w_exp2f.c: Likewise.
68586         * math/w_fmod.c: Likewise.
68587         * math/w_fmodf.c: Likewise.
68588         * math/w_fmodl.c: Likewise.
68589         * math/w_hypot.c: Likewise.
68590         * math/w_hypotf.c: Likewise.
68591         * math/w_hypotl.c: Likewise.
68592         * math/w_j0.c: Likewise.
68593         * math/w_j0f.c: Likewise.
68594         * math/w_j0l.c: Likewise.
68595         * math/w_j1.c: Likewise.
68596         * math/w_j1f.c: Likewise.
68597         * math/w_j1l.c: Likewise.
68598         * math/w_jn.c: Likewise.
68599         * math/w_jnf.c: Likewise.
68600         * math/w_jnl.c: Likewise.
68601         * math/w_lgamma.c: Likewise.
68602         * math/w_lgamma_r.c: Likewise.
68603         * math/w_lgammaf.c: Likewise.
68604         * math/w_lgammaf_r.c: Likewise.
68605         * math/w_lgammal.c: Likewise.
68606         * math/w_lgammal_r.c: Likewise.
68607         * math/w_log.c: Likewise.
68608         * math/w_log10.c: Likewise.
68609         * math/w_log10f.c: Likewise.
68610         * math/w_log10l.c: Likewise.
68611         * math/w_log2.c: Likewise.
68612         * math/w_log2f.c: Likewise.
68613         * math/w_log2l.c: Likewise.
68614         * math/w_logf.c: Likewise.
68615         * math/w_logl.c: Likewise.
68616         * math/w_pow.c: Likewise.
68617         * math/w_powf.c: Likewise.
68618         * math/w_powl.c: Likewise.
68619         * math/w_remainder.c: Likewise.
68620         * math/w_remainderf.c: Likewise.
68621         * math/w_remainderl.c: Likewise.
68622         * math/w_scalb.c: Likewise.
68623         * math/w_scalbf.c: Likewise.
68624         * math/w_scalbl.c: Likewise.
68625         * math/w_sinh.c: Likewise.
68626         * math/w_sinhf.c: Likewise.
68627         * math/w_sinhl.c: Likewise.
68628         * math/w_sqrt.c: Likewise.
68629         * math/w_sqrtf.c: Likewise.
68630         * math/w_sqrtl.c: Likewise.
68631         * math/w_tgamma.c: Likewise.
68632         * math/w_tgammaf.c: Likewise.
68633         * math/w_tgammal.c: Likewise.
68635         * po/ja.po: Update from translation team.
68637 2011-09-29  Andreas Jaeger  <aj@suse.de>
68639         [BZ #13179]
68640         * sunrpc/netname.c (netname2host): Fix logic.
68642         [BZ #6779]
68643         [BZ #6783]
68644         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68645         correctly.
68646         * math/w_remainder.c (__remainder): Likewise.
68647         * math/w_remainderf.c (__remainderf): Likewise.
68648         * math/libm-test.inc (remainder_test): Add test cases.
68650 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68652         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68653         sdiv_qrnnd.
68655 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68657         * string/test-memcmp.c: Avoid unncessary #defines.
68658         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68660 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68662         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68663         Use new sse2 version for core i3 - i7 as it's faster
68664         than sse42 version.
68665         (bit_Prefer_PMINUB_for_stringop): New.
68666         * sysdeps/x86_64/rawmemchr.S: Update.
68667         Replace with faster SSE2 version.
68668         * sysdeps/x86_64/memrchr.S: New file.
68669         * sysdeps/x86_64/memchr.S: Update.
68670         Replace with faster SSE2 version.
68672 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68674         * elf/dl-load.c (lose): Add cast to avoid warning.
68676 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68678         * po/ca.po: Update from translation team.
68680         * inet/getnetgrent_r.c: Hook up nscd.
68681         * nscd/Makefile (routines): Add nscd_netgroup.
68682         (nscd-modules): Add netgroupcache.
68683         (CFLAGS-netgroupcache.c): Define.
68684         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68685         (cache_search): Add const to second parameter.
68686         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68687         INNETGR.
68688         (dbs): Add netgrdb entry.
68689         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68690         (verify_persistent_db): Handle netgrdb.
68691         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68692         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68693         GETFDNETGR.
68694         (netgroup_response_header): Define.
68695         (innetgroup_response_header): Define.
68696         (datahead): Add netgroup_response_header and innetgroup_response_header
68697         elements.
68698         * nscd/nscd.conf: Add entries for netgroup cache.
68699         * nscd/nscd.h (dbtype): Add netgrdb.
68700         (_PATH_NSCD_NETGROUP_DB): Define.
68701         (netgroup_iov_disabled): Declare.
68702         (xmalloc, xcalloc, xrealloc): Move declarations here.
68703         (cache_search): Adjust prototype.
68704         Add netgroup-related prototypes.
68705         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68706         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68707         (__nscd_innetgr): Declare.
68708         * nscd/selinux.c (perms): Use access_vector_t as element type and
68709         add netgroup-related initializers.
68710         * nscd/netgroupcache.c: New file.
68711         * nscd/nscd_netgroup.c: New file.
68712         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68713         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68714         For four parameters use innetgr.
68715         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68716         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68717         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68718         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68720         * nscd/connections.c (register_traced_file): Don't register file
68721         for disabled databases.
68723 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68725         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68727         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68728         from tree and freeing node.
68730 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68732         * nss/nsswitch.c (__nss_database_lookup): Handle
68733         nss_parse_service_list out of memory case.
68735 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68737         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68738         out of memory case.
68740 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68742         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68743         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68744         pass it down.
68745         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68746         elf_machine_rela, elf_machine_lazy_rel.
68747         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68748         (ELF_DYNAMIC_DO_REL): Likewise.
68749         (ELF_DYNAMIC_DO_RELA): Likewise.
68750         (ELF_DYNAMIC_RELOCATE): Likewise.
68751         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68752         to ELF_DYNAMIC_DO_REL.
68753         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68754         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68755         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68756         elf_machine_rela.
68757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68758         skip_ifunc, don't call ifunc function if non-zero.
68759         (elf_machine_rela): Likewise.
68760         (elf_machine_lazy_rel): Likewise.
68761         (elf_machine_lazy_rela): Likewise.
68762         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68763         (elf_machine_lazy_rel): Likewise.
68764         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68765         Likewise.
68766         (elf_machine_lazy_rel): Likewise.
68767         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68768         Likewise.
68769         (elf_machine_lazy_rel): Likewise.
68770         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68771         (elf_machine_lazy_rel): Likewise.
68772         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68773         (elf_machine_lazy_rel): Likewise.
68774         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68775         (elf_machine_lazy_rel): Likewise.
68776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68777         (elf_machine_lazy_rel): Likewise.
68778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68779         (elf_machine_lazy_rel): Likewise.
68780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68781         (elf_machine_lazy_rel): Likewise.
68783 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68785         * nss/nss_files/files-init.c (_nss_files_init): Use static
68786         initialization for all the *_traced_file variables.
68788 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68790         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68792 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68794         [BZ #13226]
68795         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68797 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68799         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68800         Reread the line before reparsing it.
68802 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68804         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68806 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68807             Maxim Kuvyrkov  <maxim@codesourcery.com>
68808             Joseph Myers  <joseph@codesourcery.com>
68810         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68811         if needed for __stack_chk_guard.
68813 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68815         * sysdeps/posix/spawni.c (script_execute): Always define it.
68816         It will be optimized away if unused.
68817         (maybe_script_execute): New function.
68818         (__spawni): Call it.
68820         * Makerules: Don't include tls.make.
68821         (config-tls): Always set to thread.
68822         * tls.make.c: File removed.
68824 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68826         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68827         * config.make.in (CPPFLAGS-config): New substituted variable.
68829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68831         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68833         [BZ #13192]
68834         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68835         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68837 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68839         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68840         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68841         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68842         (CALL_FAIL): Likewise.
68843         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68844         (CALL_FAIL): Macro removed.
68845         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68847 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68849         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68850         for __FINITE_MATH_ONLY__ == 1.
68852 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68854         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68855         __ieee754_sqrt instead of sqrt.
68856         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68857         __ieee754_sqrtf instead of sqrtf.
68858         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68859         __floorf instead of floorf.
68860         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68861         __floorf, __truncf instead of floorf, truncf.
68863 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68865         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68867         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68868         __extern_always_inline.
68869         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68870         32-bit.
68872 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68874         * elf/rtld.c (dl_main): Also relocate in dependency order when
68875         doing symbol dependency testing.
68877 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68880         Always define `refsym'.
68882 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68884         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68885         (__FD_ELT): Renamed from __FDELT.
68886         * misc/bits/select2.h (__FD_ELT): Likewise.
68887         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68888         __FD_MASK instead of __FDELT, __FDMASK.
68889         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68890         Likewise.
68891         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68892         Likewise.
68894         * elf/Makefile (gen-ldd): Fix pattern.
68896         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68897         (init_tls): Likewise.
68899 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68901         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68903 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68905         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68906         `struct cmsghdr *' instead of `void *'.
68907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68908         Likewise.
68910 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68912         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68913         if non-absolute.
68914         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68915         ldd_rewrite_script.
68917 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68919         * configure.in: Remove --with-tls option.
68920         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68921         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68922         out in case it is missing.
68923         * sysdeps/ia64/elf/configure.in: Likewise.
68924         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68925         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68926         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68927         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68928         * sysdeps/sh/elf/configure.in: Likewise.
68929         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68930         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68931         * sysdeps/x86_64/elf/configure.in: Likewise.
68932         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68933         * sysdeps/mach/hurd/tls.h: Likewise.
68935         [BZ #13067]
68936         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68938         [BZ #13090]
68939         * configure.in: Fix use of AC_INIT.
68941         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68943 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68945         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68946         __set_errno.
68947         * malloc/hooks.c: Likewise.
68949         [BZ #11929]
68950         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68951         variables statically.
68952         (narenas): Initialize.
68953         (list_lock): Initialize.
68954         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68955         initializtion of main_arena and list_lock.  Small cleanups.
68956         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68957         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68958         Add initializers to main_arena and mp_.
68959         (malloc_state): Remove pagesize member.  Change all users to use
68960         GLRO(dl_pagesize).
68962         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68963         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68964         is always initialized.
68966         * malloc/malloc.c: Removed unused configurations and dead code.
68967         * malloc/arena.c: Likewise.
68968         * malloc/hooks.c: Likewise.
68969         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68971         * include/tls.h: Removed.  USE___THREAD must always be defined.
68972         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68973         * elf/dl-libc.c: Likewise.
68974         * elf/dl-tsd.c: Likewise.
68975         * include/errno.h: Likewise.
68976         * include/netdb.h: Likewise.
68977         * include/resolv.h: Likewise.
68978         * inet/herrno-loc.c: Likewise.
68979         * inet/herrno.c: Likewise.
68980         * malloc/arena.c: Likewise.
68981         * malloc/hooks.c: Likewise.
68982         * malloc/malloc.c: Likewise.
68983         * resolv/res-state.c: Likewise.
68984         * resolv/res_libc.c: Likewise.
68985         * sysdeps/i386/dl-machine.h: Likewise.
68986         * sysdeps/ia64/dl-machine.h: Likewise.
68987         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68988         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68989         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68990         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68991         * sysdeps/sh/dl-machine.h: Likewise.
68992         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68993         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68994         * sysdeps/unix/i386/sysdep.S: Likewise.
68995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68996         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69001         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69005         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69006         * sysdeps/x86_64/dl-machine.h: Likewise.
69007         * tls.make.c: Likewise.
69009         * configure.in: Remove --with-__thread option.  Make tests for
69010         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69011         tls_model attribute fail if no support is available.  Remove
69012         USE_IN_LIBIO.
69013         * Makeconfig: Adjust for dropped configure option.  All features are
69014         now mandatory.
69015         * Makerules: Likewise.
69016         * Versions.def: Likewise.
69017         * argp/argp-fmtstream.c: Likewise.
69018         * argp/argp-fmtstream.h: Likewise.
69019         * argp/argp-help.c: Likewise.
69020         * assert/assert.c: Likewise.
69021         * config.h.in: Likewise.
69022         * config.make.in: Likewise.
69023         * configure: Likewise.
69024         * configure.in: Likewise.
69025         * csu/Versions: Likewise.
69026         * csu/init.c: Likewise.
69027         * elf/tst-audit2.c: Likewise.
69028         * elf/tst-tls10.c: Likewise.
69029         * elf/tst-tls10.h: Likewise.
69030         * elf/tst-tls11.c: Likewise.
69031         * elf/tst-tls12.c: Likewise.
69032         * elf/tst-tls14.c: Likewise.
69033         * elf/tst-tlsmod11.c: Likewise.
69034         * elf/tst-tlsmod12.c: Likewise.
69035         * elf/tst-tlsmod13.c: Likewise.
69036         * elf/tst-tlsmod13a.c: Likewise.
69037         * elf/tst-tlsmod14a.c: Likewise.
69038         * elf/tst-tlsmod15b.c: Likewise.
69039         * elf/tst-tlsmod16a.c: Likewise.
69040         * elf/tst-tlsmod16b.c: Likewise.
69041         * elf/tst-tlsmod7.c: Likewise.
69042         * elf/tst-tlsmod8.c: Likewise.
69043         * elf/tst-tlsmod9.c: Likewise.
69044         * gmon/gmon.c: Likewise.
69045         * grp/fgetgrent_r.c: Likewise.
69046         * grp/putgrent.c: Likewise.
69047         * hurd/fopenport.c: Likewise.
69048         * include/libc-symbols.h: Likewise.
69049         * include/tls.h: Likewise.
69050         * intl/gettextP.h: Likewise.
69051         * intl/loadinfo.h: Likewise.
69052         * locale/global-locale.c: Likewise.
69053         * locale/localeinfo.h: Likewise.
69054         * mach/devstream.c: Likewise.
69055         * malloc/arena.c: Likewise.
69056         * malloc/set-freeres.c: Likewise.
69057         * misc/err.c: Likewise.
69058         * misc/getttyent.c: Likewise.
69059         * misc/mntent_r.c: Likewise.
69060         * posix/getopt.c: Likewise.
69061         * posix/wordexp.c: Likewise.
69062         * pwd/fgetpwent_r.c: Likewise.
69063         * resolv/Versions: Likewise.
69064         * resolv/res_hconf.c: Likewise.
69065         * shadow/fgetspent_r.c: Likewise.
69066         * shadow/putspent.c: Likewise.
69067         * stdio-common/printf_fphex.c: Likewise.
69068         * stdio-common/tmpfile.c: Likewise.
69069         * stdlib/abort.c: Likewise.
69070         * stdlib/fmtmsg.c: Likewise.
69071         * sunrpc/auth_unix.c: Likewise.
69072         * sunrpc/clnt_perr.c: Likewise.
69073         * sunrpc/clnt_tcp.c: Likewise.
69074         * sunrpc/clnt_udp.c: Likewise.
69075         * sunrpc/clnt_unix.c: Likewise.
69076         * sunrpc/openchild.c: Likewise.
69077         * sunrpc/svc_simple.c: Likewise.
69078         * sunrpc/svc_tcp.c: Likewise.
69079         * sunrpc/svc_udp.c: Likewise.
69080         * sunrpc/svc_unix.c: Likewise.
69081         * sunrpc/xdr.c: Likewise.
69082         * sunrpc/xdr_array.c: Likewise.
69083         * sunrpc/xdr_rec.c: Likewise.
69084         * sunrpc/xdr_ref.c: Likewise.
69085         * sunrpc/xdr_stdio.c: Likewise.
69087 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69089         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69091 2011-07-03  Andreas Jaeger  <aj@suse.de>
69093         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69094         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69095         regenerate with gen-libm-tests.pl.
69097 2010-05-12  Petr Baudis  <pasky@suse.cz>
69099         [BZ #11589]
69100         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69101         around j0() zero points by switching to j1().
69102         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69103         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69107 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69109         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69110         instead of 0.
69111         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69112         instead of 0.
69113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69114         Patch in part by Pavel Roskin <proski@gnu.org>.
69116         [BZ #13138]
69117         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69118         realloc.
69119         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69120         Free memory block if necessary.
69122         [BZ #12847]
69123         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69124         be NULL.  Don't lock in this case.
69126 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69128         * elf/elf.h (ELFOSABI_GNU): New macro.
69129         (ELFOSABI_LINUX): Define to that.
69131 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69133         * string/strncat.c (strncat): Undef the symbol in case it has been
69134         defined in bits/string.h.
69136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69138         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69140         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69141         link map.
69143 2011-08-17  Andreas Jaeger  <aj@suse.de>
69145         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69147 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69148             Ian Lance Taylor  <iant@google.com>
69150         * math/libm-test.inc (lround_test): New testcase.
69151         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69153 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69155         * Makefile: Remove support for automatic cvs check-ins.
69156         * Makerules: Likewise.
69157         * config.make.in: Likewise.
69158         * configure.in: Likewise.
69159         * intl/Makefile: Likewise.
69160         * locale/Makefile: Likewise.
69161         * po/Makefile: Likewise.
69162         * posix/Makefile: Likewise.
69163         * sysdeps/gnu/Makefile: Likewise.
69164         * sysdeps/mach/hurd/Makefile: Likewise.
69165         * sysdeps/sparc/sparc32/Makefile: Likewise.
69167         [BZ #13118]
69168         * posix/Makefile (bug-regex32-ENV): Define.
69169         Patch by John Stanley <jpsinthemix@verizon.net>.
69171         * misc/Makefile (headers): Add bits/select2.h.
69172         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69173         * misc/bits/select2.h: New file.
69174         * include/bits/select2.h: New file.
69175         * debug/Makefile (routines): Add fdelt_chk.
69176         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69177         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69178         FD_ISSET.
69179         * debug/fdelt_chk.c: New file.
69181         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69182         * wcsmbs/test-wmemcmp.c: Likewise.
69183         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69184         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69186 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69188         * string/Makefile (strop-tests): Add memcmp.
69189         * string/test-wmemcmp.c: New file.
69190         * string/test-memcmp.c: Add wmemcmp support.
69192 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69194         [BZ #13153]
69195         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69196         2011-07-19 change.
69198         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69199         garbage value in a __mach_port_mod_refs call in the cases of the
69200         task-self and thread-self ports.
69202 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69204         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69206 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69208         * elf/dl-load.c (lose): Check for non-null L.
69210 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69212         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69214         * elf/dl-libc.c (dlerror_run): Pass back error code from
69215         dl_catch_error.
69217         [BZ #13123]
69218         * elf/dl-load.c (lose): Free l_origin if it is valid.
69220         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69221         names.
69222         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69223         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69224         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69225         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69226         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69227         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69229 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69231         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69232         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69233         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69234         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69235         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69236         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69237         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69238         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69239         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69240         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69242 2011-08-15  Alan Modra  <amodra@gmail.com>
69244         [BZ #13092]
69245         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69246         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69247         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69248         ppc_mcount to static-only-routines.
69249         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69250         __mcount_internal.
69251         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69252         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69254 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69256         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69257         for finite and infinity parameters.
69259 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69261         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69262         and add nop instructions for throughput optimization.
69263         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69265 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69268         aligned copy for power7 with vector-scalar instructions.
69269         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69271 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69274         AVX check.
69276 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69278         [BZ #13144]
69279         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69280         last change.
69282 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69284         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69285         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69286         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69287         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69288         clock_gettime.
69290 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69292         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69293         Forgot to demangle the pointer.
69295         * sysdeps/i386/sysdep.h: Define atom_text_section.
69296         * sysdeps/x86_64/sysdep.h: Likewise.
69297         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69298         section with atom_text_section.
69299         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69300         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69301         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69302         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69303         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69305         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69306         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69307         already be defined.  Change to take two parameters and don't assign
69308         result to variable.  Adjust all users.
69309         Define INTERNAL_GETTIME if not already defined.
69310         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69311         call.
69312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69313         HAVE_CLOCK_GETTIME_VSYSCALL.
69314         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69316         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69317         gettimeofday vsyscall, just use time.
69319 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69321         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69322         <errno.h>.
69324 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69326         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69327         syscall on x86-64.
69328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69329         syscall.
69330         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69332         syscall if possible.
69334 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69336         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69337         e_ident.  Don't pass to find_mapsXX.
69338         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69340 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69343         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69344         * sysdeps/x86_64/multiarch/strchr.S: Update.
69345         Check bit_slow_BSF bit.
69346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69347         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69348         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69350 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69352         [BZ #13134]
69353         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69354         before glibc 2.15.
69355         (tryshell): Define.
69356         (__spawni): Change last parameter to be flag.  Test
69357         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69358         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69359         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69360         * posix/spawni.c: Likewise.
69361         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69362         * posix/spawnp.c: Likewise.  Change normal version to use
69363         SPAWN_XFLAGS_USE_PATH.
69364         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69365         SPAWN_XFLAGS_TRY_SHELL.
69367         [BZ #13150]
69368         * posix/glob.h: Remove gcc 1.x support.
69370         [BZ #13068]
69371         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69373 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69376         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69377         strrchr-sse2-bsf
69378         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69379         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69381         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69382         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69385 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69387         * sysdeps/x86_64/wcscmp.S: New file.
69389         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69390         wcscmp-c wcscmp-sse2
69391         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69392         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69393         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69394         * wcsmbs/wcscmp.c: Allow renaming.
69396 2011-09-05  David S. Miller  <davem@davemloft.net>
69398         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69399         stack slot, rather than the struct return pointer slot.
69400         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69401         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69403         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69405 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69407         * po/ja.po: Update from translation team.
69409         [BZ #13144]
69410         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69411         kernel in 64-bit binaries.
69413 2011-09-01  David S. Miller  <davem@davemloft.net>
69415         * elf/elf.h (HWCAP_SPARC_*): Move to..
69416         * sysdeps/sparc/sysdep.h: this new file and add new values.
69417         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69418         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69419         _DL_HWCAP_COUNT to 24.
69420         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69421         entries.
69422         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69423         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69424         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69426         instead of magic constants.
69427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69429 2011-08-31  David S. Miller  <davem@davemloft.net>
69431         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69433         Reimplement to do errno handling inline.
69434         (SYSCALL_ERROR_HANDLER): New macro.
69435         (__SYSCALL_STRING): Do not do errno handling in asm.
69436         (__CLONE_SYSCALL_STRING): Delete.
69437         (__INTERNAL_SYSCALL_STRING): Delete.
69438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69439         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69440         (PSEUDO): Reimplement to do errno handling inline.
69441         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69442         (SYSCALL_ERROR_HANDLER): New macro.
69443         (__SYSCALL_STRING): Do not do errno handling in asm.
69444         (__CLONE_SYSCALL_STRING): Delete.
69445         (__INTERNAL_SYSCALL_STRING): Delete.
69446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69447         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69448         i386.
69449         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69450         (inline_syscall*): Add 'err' argument.
69451         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69452         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69453         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69454         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69456         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69457         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69459 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69461         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69463 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69465         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69466         directive.
69468 2011-08-24  David S. Miller  <davem@davemloft.net>
69470         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69472 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69474         * elf/Makefile: Add rules to build and run unload8 test.
69475         * elf/unload8.c: New file.
69476         * elf/unload8mod1.c: New file.
69477         * elf/unload8mod1x.c: New file.
69478         * elf/unload8mod2.c: New file.
69479         * elf/unload8mod3.c: New file.
69481         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69482         it wasn't used.
69484 2011-08-23  David S. Miller  <davem@davemloft.net>
69486         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69487         subtract stack bias.
69488         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69489         %sp not %fp in calculations.
69490         (_JMPBUF_UNWINDS_ADJ): Likewise.
69492         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69493         (aio_suspend): Call it to force an exception region around the
69494         AIO_MISC_WAIT() invocation.
69496 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69498         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69499         backslash.
69501 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69503         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69504         protection macro.
69505         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69506         and <dl-machine.h>.
69507         (Elf64_FuncDesc): Remove.
69509 2011-08-22  David S. Miller  <davem@davemloft.net>
69511         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69512         sigaltstack check, add missing cfi directives.
69513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69514         missing cfi directives, and sigaltstack handling.
69516 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69518         [BZ #11724]
69519         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69520         object is seen twice.
69521         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69523         * elf/Makefile (distribute): Add tst-initorder2.c.
69524         (tests): Add tst-initorder2.
69525         (modules-names): Add tst-initorder2a tst-initorder2b
69526         tst-initorder2c tst-initorder2d.  Add rules to build them.
69527         ($(objpfx)tst-initorder2.out): New rule.
69528         * elf/tst-initorder2.c: New file.
69529         * elf/tst-initorder2.exp: New file.
69531 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69533         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69535         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69536         dependencies back to end of function.
69538         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69539         $(elfobjdir)/ld.so.
69541 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69544         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69545         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69546         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69547         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69548         of __vdso_gettimeofday.
69549         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69550         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69551         attribute_hidden.
69552         (_libc_vdso_platform_setup): Remove initialization of
69553         __vdso_gettimeofday and __vdso_time.
69555 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69557         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69558         and fgetc_unlocked.
69559         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69560         getc_unlocked.
69562         * elf/dl-open.c (add_to_global): Report additions to the global scope
69563         for LD_DEBUG=scopes.
69564         (dl_open_worker): Also print scope of newly loaded dependencies.
69565         (_dl_show_scope): Indicate if there is no scope.
69567         [BZ #13114]
69568         * stdio-common/Makefile (tests): Add bug24.
69569         * stdio-common/bug24.c: New file.
69571 2011-08-19  Andreas Jaeger  <aj@suse.de>
69573         [BZ #13114]
69574         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69575         non-existant file when using close-on-exec mode.
69577 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69580         the very first instruction.
69582         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69583         the CFI state in the end.
69584         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69585         inclusion of dl-trampoline.h.
69586         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69588 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69590         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69591         expectations for long double.
69593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69594         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69596 2011-08-14  David S. Miller  <davem@davemloft.net>
69598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69599         artificual limit depends upon the system page size.
69601 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69603         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69604         * resolv/Makefile: Define CFLAGS-libresolv.
69606 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69608         * nss/makedb.c (compute_tables): Make variables used in nested
69609         function static.
69611 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69613         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69614         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69615         if buffer was too small.
69617         * elf/pldd.c (main): Attach to all threads in the process.
69618         Rewrite /proc handling to use *at functions.
69620 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69622         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69623         specifies first scope to show.
69624         (dl_open_worker): Update callers.  Move printing scope of new
69625         object to before the relocation.
69626         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69627         * sysdeps/generic/ldsodefs.h: Update declaration.
69629         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69630         string for the scope number.
69632 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69634         * nscd/servicescache.c (cache_addserv): Make sure written is always
69635         initialized.
69637 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69639         * sysdeps/i386/i486/bits/atomic.h
69640         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69641         statement expression, so as to suppress "set but not used" warning.
69642         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69644         * string/strncat.c (STRNCAT): Use prototype definition.
69646         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69647         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69648         -Iprograms here.
69649         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69650         (localedef-modules): Add localedef.
69651         (locale-modules): Add locale.
69653         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69654         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69655         to avoid a warning.
69657 2011-08-14  David S. Miller  <davem@davemloft.net>
69659         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69660         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69662 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69664         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69665         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69666         * elf/rtld.c (dl_main): Set l_name of vDSO.
69667         Call _dl_show_scope when DL_DEBUG_SCOPES.
69668         (process_dl_debug): Recognize scopes flag and also set it for all.
69669         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69670         Declare _dl_show_scope.
69672         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69673         (do_dlopen): Pass caller_dlopen to dl_open.
69674         (__libc_dlopen_mode): Initialize caller_dlopen.
69676         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69677         of libc.  Make tolower call locale-independent.  Optimize a bit by
69678         using isdigit instead of isalnum.
69679         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69681 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69683         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69684         was a dependency or dynamically loaded.
69686 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69688         * intl/l10nflist.c: Allow architecture-specific pop function.
69689         * sysdeps/x86_64/l10nflist.c: New file.
69691         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69692         classification.
69694 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69696         * include/dirent.h: Add libc_hidden_proto for scandirat and
69697         scandirat64.  Don't declare __scandirat64.
69698         * dirent/scandirat.c: Add libc_hidden_def.
69699         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69700         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69702 2011-08-10  David S. Miller  <davem@davemloft.net>
69704         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69705         enum.
69706         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69707         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69708         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69710 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69712         * Versions.def [libc]: Add GLIBC_2.15.
69713         * dirent/Makefile (routines): Add scandirat and scandirat64.
69714         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69715         GLIBC_2.15.
69716         * dirent/dirent.h: Declare scandirat and scandirat64.
69717         * dirent/scandirat.c: New file.
69718         * dirent/scandirat64.c: New file.
69719         * sysdeps/wordsize-64/scandirat.c: New file.
69720         * sysdeps/wordsize-64/scandirat64.c: New file.
69721         * dirent/opendir.c: Define opendirat.
69722         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69723         using scandirat.
69724         * dirent/scandir64.c: Adjust for scandir.c change.
69725         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69726         __scandirat64, and __scandir_cancel_handler.
69727         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69728         additional parameter and use openat instead of open (outside of ld.so).
69729         Add new __opendir as wrapper around __opendirat.
69730         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69731         here without requiring old scandirat implementation.
69733 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69735         * dirent/scandir.c (cancel_handler): Renamed to
69736         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69737         defined.  Adjust users.
69738         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69739         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69741 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69743         * string/test-string.h (IMPL): Use __STRING to expand name and then
69744         stringify it.
69746         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69747         of cleanups.
69749 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69751         * string/Makefile: Update.
69752         (strop-tests): Append strncat.
69753         * string/test-wcscmp.c: New file.
69754         New comprehensive test for wcscmp.
69755         * string/test-strcmp.c: Update.
69756         (WIDE): New define.
69758 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69760         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69761         line.
69763 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69766         encoding to ACE if AI_IDN.
69768 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69770         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69771         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69773 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69775         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69776         Fix overflow bug in strncat.
69777         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69779         * string/test-strncat.c: Update.
69780         Add new tests for checking overflow bugs.
69782 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69785         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69786         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69787         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69788         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69789         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69790         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69791         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69792         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69794         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69795         (USE_AS_STRCAT): Define.
69796         Add strcat and strncat support.
69797         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69799 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69801         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69802         __n bigger than INT_MAX+1.
69803         (__strncmp_g): Likewise.
69805 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69807         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69808         * libio/stido.h: Likewise.
69810         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69811         (AF_NFC): Define.
69812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69813         (AF_NFC): Define.
69815         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69816         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69817         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69819         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69821         [BZ #13021]
69822         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69823         installed.
69825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69826         typo.
69827         (_dl_x86_64_save_sse): Likewise.
69829 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69831         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69832         OSXSAVE.
69833         (_dl_x86_64_save_sse): Likewise.
69835         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69837         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69839 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69842         change.
69843         (_dl_x86_64_save_sse): Use correct AVX check.
69845 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69847         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69848         bug in strncpy/strncat.
69849         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69851 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69853         * string/tester.c (test_strcat): Add tests for different alignments
69854         of source and destination.
69855         (test_strncat): Likewise.
69857 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69859         [BZ #12852]
69860         * posix/glob.c (glob): Check passed in values before using them in
69861         expressions to avoid some overflows.
69862         (glob_in_dir): Likewise.
69864         [BZ #13007]
69865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69866         check for AVX enablement so that we don't crash with old kernels and
69867         new hardware.
69868         * elf/tst-audit4.c: Add same checks here.
69869         * elf/tst-audit6.c: Likewise.
69871         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69873 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69875         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69877 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69879         * po/cs.po: Update from translation team.
69880         * po/bg.po: Likewise.
69882 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69884         * misc/sys/cdefs.h: Add support for const attribute.
69885         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69886         to gnu_dev_{major,minor,makedev} functions.
69888 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69890         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69892 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69894         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69895         strlen results.
69897 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69900         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69901         register in order to avoid conflicts with the soft frame pointer
69902         being held in r11 when necessary.
69903         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69904         (INTERNAL_VSYSCALL_NCS): Likewise.
69906 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69908         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69909         * elf/dl-fini.c (_dl_fini): Adjust caller.
69910         * elf/dl-close.c (_dl_close_worker): Likewise.
69911         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69913 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69915         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69916         "aux_cache->nlibs < 0".
69918         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69919         in the reload-count case.
69921 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69924         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69925         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69926         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69927         * sysdeps/x86_64/multiarch/strcat.S: New file.
69928         * sysdeps/x86_64/multiarch/strncat.S: New file.
69929         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69930         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69931         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69932         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69934         (USE_AS_STRCAT): Define.
69935         Add strcat and strncat support.
69936         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69937         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69938         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69939         * string/strncat.c: Update.
69940         (USE_AS_STRNCAT): Define.
69941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69942         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69943         and i7.
69944         * sysdeps/x86_64/multiarch/init-arch.h
69945         (bit_Prefer_PMINUB_for_stringop): New.
69946         (index_Prefer_PMINUB_for_stringop): Likewise.
69947         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69948         bit_Prefer_PMINUB_for_stringop.
69950 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69952         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69953         buffer64.
69954         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69955         of casting of buffer.
69956         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69957         buffer32 and buffer64.
69958         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69959         writes instead of casting of buffer.
69960         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69961         buffer32.
69962         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69963         casting of buffer.
69965 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69967         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69969 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69971         * nscd/nscd.c (termination_handler): Don't do anything for a database
69972         if it has not yet been initialized.
69974 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69976         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69978 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69980         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69982 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69984         * po/nl.po: Update from translation team.
69985         * po/sv.po: Likewise.
69987 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69989         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69990         now disallowed by GCC.
69992         * configure.in (use-default-link): Default to yes if a test -shared
69993         link meets our qualifications.
69994         * configure: Regenerated.
69996         * config.make.in (output-format): New variable.
69997         * configure.in: Check for ld --print-output-format support.
69998         * configure: Regenerated.
69999         * Makerules ($(common-objpfx)format.lds)
70000         [$(output-format) != unknown]: Just use $(output-format),
70001         instead of the linker-script munging.
70003 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70005         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70006         of $(common-objpfx)shlib.lds.
70007         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70009         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70010         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70012         * configure.in (-z relro check): Adjust test code to add a large
70013         writable data section after it.
70014         * configure: Regenerated.
70016 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70018         * configure.in (-z relro check): Fix test code to make the variable
70019         truly const.
70020         * configure: Regenerated.
70022 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70024         * nscd/nscd.h (struct traced_file): Define.
70025         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70026         elements.  Add traced_files.
70027         (inotify_fd): Declare.
70028         (register_traced_file): Declare.
70029         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70030         (inotify_fd): Export.
70031         (resolv_conf_descr): Remove.
70032         (nscd_init): Move inotify descriptor creation to main.
70033         Don't register files for notification here.
70034         (register_traced_file): New function.
70035         (invalidate_cache): Don't use reset_res to determine whether to call
70036         res_init, go through the list of registered files.
70037         (main_loop_poll): The inotify descriptors are now stored in the
70038         structures for the traced files.
70039         (main_loop_epoll): Likewise.
70040         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70041         to __nss_disable_nscd.
70042         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70043         for a database anymore.  Check the records for all the registered
70044         files instead.
70045         * nss/Makefile (libnss_files-routines): Add files-init.
70046         (libnss_db-routines): Add db-init.
70047         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70048         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70049         * nss/nss_db/db-init.c: New file.
70050         * nss/nss_files/files-init.c: New file.
70051         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70052         __nss_lookup_function.
70053         (__nss_lookup_function): Call nss_load_library.
70054         (nss_load_all_libraries): New function.
70055         (__nss_disable_nscd): Take parameter with callback function for files
70056         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70057         used for the cached services.
70058         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70059         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70060         options for features to all the files in nscd.
70062         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70064 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70066         * csu/elf-init.c (__libc_csu_init): Comment typo.
70068 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70070         * po/pl.po: Update from translation team.
70071         * po/ja.po: Likewise.
70072         * po/ru.po: Likewise.
70073         * po/ko.po: Likewise.
70074         * po/fr.po: Likewise.
70076 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70078         * configure.in (.ctors/.dtors header and trailer check):
70079         Use an empirical test on a built program.
70080         * configure: Regenerated.
70082         * configure.in (-z relro check): Use an empirical test on a built DSO.
70083         Detect, but do not require, on ia64.
70084         * configure: Regenerated.
70086         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70087         Update tests that use readelf to use $READELF instead.
70088         * configure: Regenerated.
70090 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70092         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70093         if the result is not used.
70095 2011-07-05  Andreas Jaeger  <aj@suse.de>
70097         [BZ#9696]
70098         * stdlib/tst-strtod.c: Add testcase.
70100 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70102         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70103         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70104         The latter has a higher limit.  Take additional parameter to pass to
70105         the new function.
70106         (__pathconf): Pass file to __statfs_link_max.
70107         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70108         __statfs_link_max.
70109         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70110         __statfs_link_max.
70112         [BZ #12868]
70113         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70115         Handle Lustre.
70116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70117         (__statfs_filesize_max): Likewise.
70118         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70120 2011-07-05  Andreas Jaeger  <aj@suse.de>
70122         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70124 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70126         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70127         `status' variable.
70128         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70129         Likewise.
70131 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70133         * Makefile (strop-tests): Add strncat.
70134         * string/test-strncat.c: New file.
70136 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70138         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70140 2011-06-21  Andreas Jaeger  <aj@suse.de>
70142         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70143         Copy rule from iconvdata/Makefile.
70145 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70147         [BZ #12922]
70148         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70149         but no long options are defined, just return 'W'.
70151 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70153         [BZ #9696]
70154         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70156 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70158         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70159         netgroups to read.
70160         (innetgr): Likewise.
70162 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70164         * config.make.in (install_root): Default to $(DESTDIR).
70166 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70168         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70170 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70172         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70174         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70175         containing directory rather than embedding absolute directory names.
70177         * scripts/check-local-headers.sh: Rewritten using awk.
70178         Match by word, not by line.  Print error messages for matches.
70179         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70181         * Makerules [shlib-lds-flags empty]:
70182         ($(common-objpfx)libc_pic.opts): New target.
70183         ($(common-objpfx)libc_pic.os.clean): New target.
70184         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70186         * config.make.in (OBJCOPY): New variable.
70187         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70188         * configure: Regenerated.
70190         * config.make.in (use-default-link): New variable.
70191         * configure.in (use_default_link): Grok --with-default-link to set it.
70192         * configure: Regenerated.
70193         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70194         (shlib-lds, shlib-lds-flags): Define to empty.
70196         * Makerules (shlib-lds): New variable.
70197         (shlib-lds-flags): New variable.
70198         (build-shlib, build-moduile, build-module-asneeded): Use it.
70199         ($(common-objpfx)libc.so): Use $(shlib-lds).
70200         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70201         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70203         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70204         DT_FLAGS/DT_FLAGS_1 with zero flags.
70206         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70207         linker script munging.
70209 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70211         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70212         as 128-bit value.
70213         * crypt/sha512.c (sha512_process_block): Perform total addition using
70214         128-bit if possible.
70215         (__sha512_finish_ctx): Likewise.
70216         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70217         as 64-bit value.
70218         * crypt/sha256.c (SWAP64): Define.
70219         (sha256_process_block): Perform total addition using 64-bit if
70220         possible.
70221         (__sha256_finish_ctx): Likewise.
70223 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70225         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70227         * nscd/hstcache.c (cache_addhst): Likewise.
70228         * nscd/grpcache.c (cache_addgr): Likewise.
70229         * nscd/aicache.c (addhstaiX): Likewise.
70230         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70232 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70234         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70236         * nscd/hstcache.c (cache_addhst): Likewise.
70237         * nscd/grpcache.c (cache_addgr): Likewise.
70238         * nscd/aicache.c (addhstaiX): Likewise.
70240 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70242         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70243         domain only when needed.
70245 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70248         is always restored.
70250 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70252         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70253         are re-adding the entry.
70254         * nscd/servicescache.c (cache_addserv): Likewise.
70256 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70258         * sysdeps/generic/dl-irel.h: fix protection against multiple
70259         inclusions.
70260         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70262 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70264         [BZ #12935]
70265         * malloc/memusage.sh: Fix quoting in message.
70266         * debug/xtrace.sh: Likewise.
70268         * configure.in: Remove support for --experimental-malloc option, make
70269         it the default.
70270         * config.make.in: Likewise.
70271         * malloc/Makefile: Likewise.
70273 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70275         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70276         two-byte characters.
70278 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70280         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70281         AC_CACHE_CHECK invocation.
70282         * configure: Regenerated.
70284         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70286 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70288         [BZ #12350]
70289         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70290         bit from old_res_options.
70292         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70294         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70295         value type for setfct.
70297 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70300         __gettimeofday instead of gettimeofday.
70302 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70304         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70306 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70308         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70310         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70311         info.
70313 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70316         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70317         strcpy-sse2-unaligned strncpy-sse2-unaligned
70318         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70319         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70320         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70321         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70322         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70323         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70324         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70325         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70326         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70327         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70328         (STRCPY): Support SSE2 and SSSE3 versions.
70330 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70332         [BZ #12874]
70333         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70334         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70335         kernels which artificially limit size of requests.
70337 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70340         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70341         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70342         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70343         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70344         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70345         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70346         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70348         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70349         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70350         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70351         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70352         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70353         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70355         Enable unaligned load optimization for Intel Core i3, i5 and i7
70356         processors.
70357         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70358         Define.
70359         (index_Fast_Unaligned_Load): Define.
70360         (HAS_FAST_UNALIGNED_LOAD): Define.
70362 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70364         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70366 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70368         [BZ #12907]
70369         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70370         until it is clear that the information is realy needed.
70371         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70373 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70377 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70380         /sys/devices/system/cpu/online if it is usable.
70382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70383         reading the information from the /proc filesystem to once a second.
70385 2011-06-21  Andreas Jaeger  <aj@suse.de>
70387         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70388         NULL after inclusion of kernel headers.
70390 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70392         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70393         calls to internal_setent.
70395         [BZ #12885]
70396         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70397         addresses using gethostbyname4_r ignore IPv4 addresses.
70399         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70400         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70402         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70404 2011-06-20  David S. Miller  <davem@davemloft.net>
70406         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70407         inclusions.
70408         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70410         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70411         (elf_irel): Use it.
70412         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70413         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70414         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70415         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70416         * sysdeps/x86_64/dl-irel.h: Likewise.
70418         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70419         * elf/dl-sym.c: Likewise.
70421 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70423         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70424         need to dereference resplen2.
70426 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70428         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70430 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70432         * Makeconfig: Define vardbdir and inst_vardbdir.
70433         * nss/Makefile: Add rules to install db-Makefile.
70435         * nss/nss_db/db-XXX.c: Cleanup.
70437         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70438         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70439         GLIBC_PRIVATE.
70440         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70441         * nss/makedb.c: Implement -g option to specify that value strings
70442         are generated and should not be added to table iterated over for
70443         get*ent calls.
70444         * nss/nss_db/db-initgroups.c: New file.
70446         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70447         interface.
70449         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70450         (internal_getgrouplist): Adjust to name change.
70451         Update use_initgroups_entry if this is not the first call.
70452         * nss/databases.def: Add initgroups entry.
70454         * nss/makedb.c (compute_tables): Check result of multiple hash table
70455         sizes to minimize maximum chain length.
70457 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70459         * Versions.def: Add entry for libnss_db.
70460         * shlib-versions: Likewise.
70461         * nss/Makefile: Add rules to build libnss_db.
70462         * nss/Versions: Add libnss_db information.  Organize libnss_files
70463         entries better.
70464         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70465         makedb progra.  Some minor improvements to generate smaller files.
70466         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70467         here from...
70468         * nss/makedb.c: ...here.
70469         Improve database format to be smaller and require less memory at
70470         runtime.
70471         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70472         db anymore.
70473         * nss/nss_db/db-netgrp.c: Likewise.
70474         * nss/nss_db/db-open.c: Likewise.
70475         * nss/nss_files/flies-XXX.x: Adjust comments.
70476         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70477         * nss/nss_files/files-grp.c: Likewise.
70478         * nss/nss_files/files-hosts.c: Likewise.
70479         * nss/nss_files/files-network.c: Likewise.
70480         * nss/nss_files/files-proto.c: Likewise.
70481         * nss/nss_files/files-pwd.c: Likewise.
70482         * nss/nss_files/files-rpc.c: Likewise.
70483         * nss/nss_files/files-service.c: Likewise.
70484         * nss/nss_files/files-sgrp.c: Likewise.
70485         * nss/nss_files/files-spwd.c: Likewise.
70486         * nss/nss_db/db-alias.c: Removed.
70487         * nss/nss_db/dummy-db.h: Removed.
70489 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70491         * nss/makedb.c: Rewritten to not use database library.
70492         * nss/Makefile: Update to build new makedb program.
70494 2011-06-14  Andreas Jaeger  <aj@suse.de>
70496         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70497         memset declaration.
70499 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70502         tmpbuf.
70504 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70506         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70507         * elf/Makefile ($(objpfx)ld.so): Likewise.
70509         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70510         Don't list ld.so twice in dependencies.
70512         * posix/bug-regex31.c: Include <stdlib.h>.
70514         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70516         * nis/nss_compat/compat-spwd.c
70517         (getspent_next_nss_netgr): Remove unused variable.
70518         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70520         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70521         nonmembers" output to use the right array.
70523         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70525         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70527         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70528         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70529         * catgets/gencat.c (read_input_file): Likewise.
70530         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70532         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70533         variable definition inside #if's controlling its use.
70535         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70537         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70539         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70541         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70542         unreachable code.
70544         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70546         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70547         * configure: Regenerated.
70549         * Makerules: Revert last change.
70550         * elf/Makefile: Likewise.
70552 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70554         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70555         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70556         (reloc-link): Likewise.
70558 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70560         * elf/Makefile: Add rules to build pldd.
70561         * elf/pldd.c: New file.
70562         * elf/pldd-xx.c: New file.
70564 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70566         * version.h: Update for 2.15 development version.
70568 2011-06-07  David S. Miller  <davem@davemloft.net>
70570         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70571         ifuncs.
70572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70573         elf_machine_lazy_rel): Likewise.
70574         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70576         elf_machine_lazy_rel): Likewise.
70577         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70578         dl_hwcap via passed in argument.
70579         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70580         Likewise.
70582 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70584         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70586 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70588         [BZ #12849]
70589         * manual/fdl-1.1.texi: New file, verbatim from:
70590         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70591         * manual/lgpl-2.1.texi: New file, verbatim from:
70592         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70593         * manual/Makefile (licenses): New variable, list those new file names.
70594         (texis): Use it.
70595         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70597         * manual/fdl.texi: File removed.
70598         * manual/lesser.texi: File removed.
70599         * manual/libc.texinfo (Copying, Documentation License):
70600         Use new @include file names, put @appendix directive before @include.
70602 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70604         [BZ #12841]
70605         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70606         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70607         (mq_open): Add __NTH.
70609 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70612         Assume Intel Core i3/i5/i7 processor if AVX is available.
70614 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70617         typo.
70619 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70622         memory.  Use alloca_account.  Fix memory leak when retrying.
70624 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70626         * version.h (RELEASE): Bump for 2.14 release.
70627         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70629         * config.make.in (RANLIB): Remove entry.
70631 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70633         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70634         (libc.pot): Work around missing support for .ksh extension in xgettext.
70636         [BZ #12684]
70637         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70638         if both request failed.
70639         (send_dg): In case of server errors clear resplen or *resplen2.
70641         [BZ #12454]
70642         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70643         when there are multiple maps.
70644         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70645         (_dl_fini): Remove test here.
70647         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70649 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70651         [BZ #12350]
70652         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70653         bit from old_res_options.
70654         (gaih_inet): Likewise.
70656         [BZ #11099]
70657         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70658         as signed.
70660         * resolv/res_init.c (res_setoptions): Make the code more compact.
70662         [BZ #11558]
70663         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70664         set RES_USEVC.
70666         [BZ #11634]
70667         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70669         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70671         [BZ #11781]
70672         * malloc/malloc.h: Declare malloc hook variables as volatile.
70674         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70675         in last patch.
70677         [BZ #11799]
70678         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70679         raise in the comment.
70680         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70681         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70682         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70684 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70686         [BZ #12811]
70687         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70688         grow the buffers more if it already has to be sufficient.
70689         (build_wcs_upper_buffer): Likewise.
70690         * posix/regexec.c (check_matching): Likewise.
70691         (clean_state_log_if_needed): Likewise.
70692         (extend_buffers): Don't enlarge buffers beyond size of the input
70693         buffer.
70694         Patches mostly by Emil Wojak <emil@wojak.eu>.
70695         * posix/bug-regex32.c: New file.
70696         * posix/Makefile (tests): Add bug-regex32.
70698         * locale/findlocale.c (_nl_find_locale): Return right away if
70699         _nl_explode_name failed.
70700         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70702         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70704         * debug/xtrace.sh: Unify messages.
70705         * malloc/memusage.sh: Likewise.
70707         [BZ #12813]
70708         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70709         time symbol from vDSO.  Substitute with vsyscall if not available.
70710         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70711         __vdso_time.
70713         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70714         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70715         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70716         Add sendmmsg and internal_sendmmsg.
70717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70718         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70719         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70721         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70722         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70723         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70725 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70727         [BZ #12813]
70728         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70729         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70730         available.
70731         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70732         __vdso_getcpu.
70734         [BZ #12814]
70735         * iconvdata/Makefile (tests): Add bug-iconv9.
70736         * iconvdata/bug-iconv9.c: New file.
70738 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70740         [BZ #12814]
70741         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70743 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70746         (struct user_regs_struct): Change intcs field back to cs.
70748 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70750         * po/ja.po: Update from translation team.
70752 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70754         [BZ #12795]
70755         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70756         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70758 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70760         * stdlib/longlong.h: Update from GCC.
70762 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70764         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70765         parameter name.
70766         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70767         Add parameter name.
70768         (__sysconf): Pass it down.
70770 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70772         [BZ #12671]
70773         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70774         some situations.
70775         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70776         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70777         add in in __libc_use_alloca calls.  Adjust callers.
70778         (glob): Use malloc in some situations.
70780         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70781         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70782         pltexit.
70784 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70786         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70787         and CLOCK_BOOTTIME_ALARM.
70789         [BZ #12782]
70790         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70791         is returned.
70793         * string/_strerror.c (__strerror_r): Print negative errors as signed
70794         numbers.
70796         [BZ #12777]
70797         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70798         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70799         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70801         * configure.in: Fix typo in redirection and correct removal of test
70802         files in two cases.
70804         [BZ #12788]
70805         * locale/setlocale.c (new_composite_name): Fix test to check for
70806         identical name of all categories.
70808         [BZ #12792]
70809         * libio/filedoalloc.c (local_isatty): New function.
70810         (_IO_file_doallocate): Use local_isatty.
70811         * stdio-common/perror.c (perror): In case a new stream is used
70812         forward the stream error.
70813         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70814         error flag.
70816 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70818         [BZ #11884]
70819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70820         alloca.
70821         * include/alloca.h (extend_alloca_account): Define.
70823         [BZ #11857]
70824         * posix/regex.h: Fix comments with documentation of user-accessible
70825         fields after compilation and describe correct free'ing of pattern
70826         after re_compile_pattern.
70827         Patch by Reuben Thomas <rrt@sc3d.org>.
70829 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70831         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70832         and -mno-altivec to prevent the compiler from using Altivec and/or
70833         VSX instructions when the corresponding registers are not available.
70835 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70837         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70839 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70841         * libio/freopen.c (freopen): Use __dup2, not dup2.
70842         * libio/freopen64.c (freopen64): Likewise.
70844 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70846         [BZ #12775]
70847         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70848         * math/Makefile (tests): Add test-powl.
70849         (CFLAGS-test-powl.c): Define.
70850         * math/test-powl.c: New file.
70852 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70854         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70856 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70858         [BZ #11837]
70859         * iconvdata/gb18030.c: Update to GB18020-2005.
70861 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70863         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70864         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70865         Patch by Aharon Robbins <arnold@skeeve.com>.
70867         [BZ #11892]
70868         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70869         on the stack.
70871         [BZ #11895]
70872         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70873         through underflows.
70875         [BZ #12766]
70876         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70877         point to strings before performing equality test for error_one_per_line
70878         mode.
70880         [BZ #11697]
70881         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70883         [BZ #11820]
70884         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70885         (struct user_fpregs_struct): Avoid __uint*_t types.
70887         [BZ #6420]
70888         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70889         symbol info.  Use it instead of calling _dl_addr locally.
70890         (lock_and_info): New function.
70891         (tr_freehook): Call lock_and_info and pass symbol info as additional
70892         parameter to tr_where.
70893         (tr_mallochook): Likewise.
70894         (tr_reallochook): Likewise.
70895         (tr_memalignhook): Likewise.
70897         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70898         used and couldn't be at all thread-safe.
70900 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70902         * libio/freopen.c (freopen): Don't close old file descriptor
70903         before the new one is opened.  Instead dup the new file descriptor
70904         to the old one after the new stream is created.
70905         * libio/freopen64.c (freopen64): Likewise.
70906         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70907         * libio/fileops.c (_IO_new_file_close_it): Handle new
70908         _IO_FLAGS2_NOCLOSE flag.
70909         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70910         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70911         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70912         _IO_FLAGS2_NOCLOSE flag.
70913         * include/unistd.h: Add hidden_proto for dup3.
70914         Define __have_dup3.
70915         * io/dup3.c: Define hidden symbol.
70916         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70918         [BZ #7101]
70919         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70920         when an incomplete long option is used.
70921         * posix/tst-getopt_long1.c: New file.
70922         * posix/Makefile (tests): Add tst-getopt_long1.
70924         [BZ #10138]
70925         * scripts/config.guess: Update from autoconf-2.68.
70926         * scripts/config.sub: Likewise.
70928         [BZ #10157]
70929         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70930         tests into ...
70931         (has_cpuclock): ...this.  New function.
70932         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70933         macro here based on has_cpuclock code.
70935         [BZ #10149]
70936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70937         First byte (not low byte) is now always NUL.
70938         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70941         Use non-cancelable interfaces.
70943         [BZ #9809]
70944         * locale/iso-639.def: Add entry for Sorani.
70946         [BZ #11901]
70947         * include/stdlib.h: Move include protection to the right place.
70948         Define abort_msg_s.  Declare __abort_msg with it.
70949         * stdlib/abort.c (__abort_msg): Adjust type.
70950         * assert/assert.c (__assert_fail_base): New function.  Majority
70951         of code from __assert_fail.  Allocate memory for __abort_msg with
70952         mmap.
70953         (__assert_fail): Now call __assert_fail_base.
70954         * assert/assert-perr.c: Remove bulk of implementation.  Use
70955         __assert_fail_base.
70956         * include/assert.hL Declare __assert_fail_base.
70957         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70958         mmap.
70959         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70961 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70963         [BZ #11952]
70964         [BZ #12453]
70965         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70966         until all modules are registered in the DTV.
70967         * elf/Makefile: Add rules to build and run tst-tls19.
70968         * elf/tst-tls19.c: New file.
70969         * elf/tst-tls19mod1.c: New file.
70970         * elf/tst-tls19mod2.c: New file.
70971         * elf/tst-tls19mod3.c: New file.
70972         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70974         [BZ #12083]
70975         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70976         correctly.
70978         [BZ #12601]
70979         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70980         two-byte sequence errors.
70981         * iconvdata/Makefile (tests): Add bug-iconv8.
70982         * iconvdata/bug-iconv8.c: New file.
70984         [BZ #12626]
70985         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70986         buf2 definition.
70988         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70990         [BZ #12432]
70991         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70992         (dummy_getcfa): New function.
70993         (init): Get _Unwind_GetCFA address, use dummy if not found.
70994         (backtrace_helper): In recursion check, also check whether CFA changes.
70995         (__backtrace): Completely initialize arg.
70997         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70998         storing incomplete byte sequence in state object.  Avoid testing for
70999         guaranteed too small input if we know there is enough data available.
71001 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71003         * Makeconfig (+link-pie): Indent.
71004         * Rules (binaries-pie): Define if $(have-fpie) and
71005         $(build-shared).
71006         (binaries-shared): Also filter out $(binaries-pie).
71007         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71008         * nscd/Makefile (others-pie): Add nscd.
71009         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71010         ($(objpfx)nscd): Remove command override.
71011         * login/Makefile (others-pie): Add pt_chown.
71012         ($(objpfx)pt_chown): Remove command override.
71013         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71014         remove command overrides.
71016 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71018         * libio/tst_putwc.c: Fix error messages.
71020         [BZ #12724]
71021         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71022         currently writing and seek to current position when not.
71023         * libio/Makefile (tests): Add bug-fclose1.
71024         * libio/bug-fclose1.c: New file.
71026 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71028         [BZ #12511]
71029         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71030         don't set DF_1_NODELETE here.
71031         (do_lookup_x): When entering new entry test for copy relocation
71032         and if necessary set DF_1_NODELETE flag.
71033         * elf/tst-unique4.cc: New file.
71034         * elf/tst-unique4.h: New file.
71035         * elf/tst-unique4lib.cc: New file.
71036         * elf/Makefile: Add rules to build and run tst-unique4.
71037         Patch by Piotr Bury <pbury@goahead.com>.
71039 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71041         [BZ #12052]
71042         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71044         [BZ #12625]
71045         * misc/mntent_r.c (addmntent): Flush the stream after the output
71047         [BZ #12393]
71048         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71049         (is_trusted_path_normalize): Skip initial colon.  Append slash
71050         to empty buffer.  Duplicate is_trusted_path code but allow
71051         constructed patch to be prefix.
71052         (is_dst): Allow $ORIGIN followed by /.
71053         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71054         Correct testing of result of is_trusted_path_normalize
71055         (decompose_rpath): Fix warning.
71057 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71059         [BZ #11257]
71060         * grp/initgroups.c (internal_getgrouplist): When we found the service
71061         list through the initgroups entry in nsswitch.conf do not always
71062         continue on a successful lookup.  Don't always use the
71063         __nss_group_database value if it is set.
71064         * nss/nsswitch.conf (initgroups): Change action for successful db
71065         lookup to continue for compatibility.
71067 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71069         [BZ #11532]
71070         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71071         and CP774 modules.
71072         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71073         and CP774 modules.
71074         * iconvdata/tst-tables.sh: Likewise.
71075         * iconvdata/cp770.c: New file.
71076         * iconvdata/cp771.c: New file.
71077         * iconvdata/cp772.c: New file.
71078         * iconvdata/cp773.c: New file.
71079         * iconvdata/cp774.c: New file.
71080         * iconvdata/testdata/CP770: New file.
71081         * iconvdata/testdata/CP770..UTF8: New file.
71082         * iconvdata/testdata/CP771: New file.
71083         * iconvdata/testdata/CP771..UTF8: New file.
71084         * iconvdata/testdata/CP772: New file.
71085         * iconvdata/testdata/CP772..UTF8: New file.
71086         * iconvdata/testdata/CP773: New file.
71087         * iconvdata/testdata/CP773..UTF8: New file.
71088         * iconvdata/testdata/CP774: New file.
71089         * iconvdata/testdata/CP774..UTF8: New file.
71091         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71092         END CHARMAP line.
71093         * iconvdata/gen-8bit-gap.sh: Likewise.
71094         * iconvdata/gen-8bit.sh: Likewise.
71096         * locale/iso-639.def: Add ary entry.
71098         [BZ #11258]
71099         * locale/C-translit.h.in: Add U20A1 transliteration.
71101         [BZ #12178]
71102         * locale/iso-639.def: Add wae entry.
71103         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71105         [BZ #12545]
71106         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71107         for n.
71109         [BZ #12711]
71110         * locale/C-translit.h.in: Add entry for U20B9.
71111         Patch by pravin.d.s@gmail.com.
71113 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71115         [BZ #12713]
71116         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71117         ENAMETOOLONG use generic getcwd.
71118         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71119         in rtld.  Use *stat64.
71120         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71121         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71122         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71123         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71124         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71125         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71126         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71127         __fstatat64 macros.
71128         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71129         * dirent/rewinddir.c: Add libc_hidden_def.
71130         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71131         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71133         * include/dirent.h (__alloc_dir): Add flags parameter.
71134         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71135         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71136         __alloc_dir.
71137         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71138         from fdopendir if O_CLOEXEC is already set.
71140 2011-03-15  Alan Modra  <amodra@gmail.com>
71142         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71143         l_tls_firstbyte_offset non-zero.  Save padding offset in
71144         l_tls_firstbyte_offset for later use.
71145         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71146         freeing static tls block.
71148 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71150         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71151         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71152         being defined by the kernel headers.
71154 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71156         [BZ #12734]
71157         * resolv/resolv.h: Define RES_NOTLDQUERY.
71158         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71159         no-tld-query and set RES_NOTLDQUERY.
71160         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71161         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71162         modern BIND to search name as TLD unless forbidden.
71164 2011-05-07  Petr Baudis  <pasky@suse.cz>
71165             Ulrich Drepper  <drepper@gmail.com>
71167         [BZ #12393]
71168         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71169         (is_trusted_path): ...to here.
71170         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71171         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71172         using is_trusted_path_normalize() in setuid scripts.
71174 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71176         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71177         __BEGIN/__END_DECLS.
71179 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71181         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71182         NSS_STATUS_NOTFOUND if no record was found.
71184 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71186         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71187         (headers-not-in-tirpc): Remove rpc/netdb.h
71188         * resolv/netdb.h: Revert last change.
71190 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71192         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71193         circular dependency between libgcc.a and libc.a.
71195 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71197         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71198         * nis/Makefile: Don't install rpcsvc/*.
71199         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71200         instead of <rpc/types.h>.
71201         (MAXHOSTNAMELEN): Define.
71203 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71205         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71207 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71209         [BZ #12714]
71210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71211         gethostbyname4_r when IPv6 results are possible.
71213 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71215         [BZ #12723]
71216         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71217         _PC_PIPE_BUF handling.
71219 2011-04-30  Bruno Haible  <bruno@clisp.org>
71221         [BZ #12717]
71222         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71223         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71224         to 'int'.
71225         * inet/getnameinfo.c (getnameinfo): Likewise.
71227 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71229         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71230         to groups setting in database lookup.
71231         * nss/nsswitch.conf: Add initgroups entry.
71233 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71235         [BZ #12685]
71236         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71237         mode string.
71238         Patch by Eric Blake <eblake@redhat.com>.
71240 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71242         * sunrpc/Makefile (need-export-routines): Add svc_run.
71243         (routines): Remove svc_run.
71244         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71245         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71246         * sunrpc/svc_run.c (svc_run): Likewise.
71247         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71249 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71251         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71252         problem in reallocation in last patch.
71254 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71256         * sunrpc/Makefile: Move inclusion of Rules.
71258 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71260         * nss/nss_files/files-initgroups.c: New file.
71261         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71262         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71263         _nss_files_initgroups_dyn.
71265 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71267         * elf/elf.h (R_ARM_IRELATIVE): Define.
71269 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71271         * po/ru.po: Update from translation team.
71273 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71275         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71276         dependencies.
71278 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71280         [BZ #12653]
71281         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71282         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71283         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71287 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71289         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71290         differing bytes.
71291         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71292         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71293         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71295 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71297         [BZ #12420]
71298         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71299         storing it.
71300         * stdlib/bug-getcontext.c: New file.
71301         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71303 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71305         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71306         instructions into .machine "z9-109".
71307         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71308         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71310 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71312         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71313         between environment variables and auxiliary vector.
71315 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71317         * Makefile: Add rules to build linkobj/libc.so.
71318         * include/libc-symbols.h: Define libc_hidden_nolink.
71319         * include/rpc/auth.h: Mark functions which are to be hidden.
71320         * include/rpc/auth_des.h: Likewise.
71321         * include/rpc/auth_unix.h: Likewise.
71322         * include/rpc/clnt.h: Likewise.
71323         * include/rpc/des_crypt.h: Likewise.
71324         * include/rpc/key_prot.h: Likewise.
71325         * include/rpc/pmap_clnt.h: Likewise.
71326         * include/rpc/pmap_prot.h: Likewise.
71327         * include/rpc/pmap_rmt.h: Likewise.
71328         * include/rpc/rpc_msg.h: Likewise.
71329         * include/rpc/svc.h: Likewise.
71330         * include/rpc/svc_auth.h: Likewise.
71331         * include/rpc/xdr.h: Likewise.
71332         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71333         * nss/Makefile: Likewise.
71334         * sunrpc/Makefile: Don't install headers.  Build library with normal
71335         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71336         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71337         for the compat linking library.  Remove use of INTDEF/INTUSE.
71338         * sunrpc/auth_none.c: Likewise.
71339         * sunrpc/auth_unix.c: Likewise.
71340         * sunrpc/authdes_prot.c: Likewise.
71341         * sunrpc/authuxprot.c: Likewise.
71342         * sunrpc/clnt_gen.c: Likewise.
71343         * sunrpc/clnt_perr.c: Likewise.
71344         * sunrpc/clnt_raw.c: Likewise.
71345         * sunrpc/clnt_simp.c: Likewise.
71346         * sunrpc/clnt_tcp.c: Likewise.
71347         * sunrpc/clnt_udp.c: Likewise.
71348         * sunrpc/clnt_unix.c: Likewise.
71349         * sunrpc/des_crypt.c: Likewise.
71350         * sunrpc/des_soft.c: Likewise.
71351         * sunrpc/get_myaddr.c: Likewise.
71352         * sunrpc/key_call.c: Likewise.
71353         * sunrpc/key_prot.c: Likewise.
71354         * sunrpc/netname.c: Likewise.
71355         * sunrpc/pm_getmaps.c: Likewise.
71356         * sunrpc/pm_getport.c: Likewise.
71357         * sunrpc/pmap_clnt.c: Likewise.
71358         * sunrpc/pmap_prot.c: Likewise.
71359         * sunrpc/pmap_prot2.c: Likewise.
71360         * sunrpc/pmap_rmt.c: Likewise.
71361         * sunrpc/publickey.c: Likewise.
71362         * sunrpc/rpc_cmsg.c: Likewise.
71363         * sunrpc/rpc_common.c: Likewise.
71364         * sunrpc/rpc_dtable.c: Likewise.
71365         * sunrpc/rpc_prot.c: Likewise.
71366         * sunrpc/rpc_thread.c: Likewise.
71367         * sunrpc/rtime.c: Likewise.
71368         * sunrpc/svc.c: Likewise.
71369         * sunrpc/svc_auth.c: Likewise.
71370         * sunrpc/svc_authux.c: Likewise.
71371         * sunrpc/svc_raw.c: Likewise.
71372         * sunrpc/svc_run.c: Likewise.
71373         * sunrpc/svc_simple.c: Likewise.
71374         * sunrpc/svc_tcp.c: Likewise.
71375         * sunrpc/svc_udp.c: Likewise.
71376         * sunrpc/svc_unix.c: Likewise.
71377         * sunrpc/svcauth_des.c: Likewise.
71378         * sunrpc/xcrypt.c: Likewise.
71379         * sunrpc/xdr.c: Likewise.
71380         * sunrpc/xdr_array.c: Likewise.
71381         * sunrpc/xdr_float.c: Likewise.
71382         * sunrpc/xdr_intXX_t.c: Likewise.
71383         * sunrpc/xdr_mem.c: Likewise.
71384         * sunrpc/xdr_rec.c: Likewise.
71385         * sunrpc/xdr_ref.c: Likewise.
71386         * sunrpc/xdr_sizeof.c: Likewise.
71387         * sunrpc/xdr_stdio.c: Likewise.
71389 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71391         [BZ #12650]
71392         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71393         * sysdeps/ia64/dl-tls.h: Likewise.
71394         * sysdeps/powerpc/dl-tls.h: Likewise.
71395         * sysdeps/s390/dl-tls.h: Likewise.
71396         * sysdeps/sh/dl-tls.h: Likewise.
71397         * sysdeps/sparc/dl-tls.h: Likewise.
71398         * sysdeps/x86_64/dl-tls.h: Likewise.
71399         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71401 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71403         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71404         rpath element also skip the following colon.
71405         (expand_dynamic_string_token): Add is_path parameter and pass
71406         down to DL_DST_REQUIRED and _dl_dst_substitute.
71407         (decompose_rpath): Call expand_dynamic_string_token with
71408         non-zero is_path.  Ignore empty rpaths.
71409         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71410         with zero is_path.
71412 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71415         Make cancelable.
71417 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71419         [BZ #12655]
71420         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71421         Patch by Filipe David Manana <fdmanana@apache.org>.
71423 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71425         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71426         Maintain aligned stack.
71427         (CHECK_RSP): Remove unused macro.
71429 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71431         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71432         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71434 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71436         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71438         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71440 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71442         [BZ #12518]
71443         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71444         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71445         * sysdeps/x86_64/memmove.c: New file.
71446         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71447         (memcpy): Renamed to ...
71448         (__new_memcpy): This.
71449         (memcpy): Provide GLIBC_2_14 memcpy.
71450         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71451         (memcpy): Provide GLIBC_2_2_5 memcpy.
71453 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71455         [BZ #12631]
71456         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71458 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71460         * misc/syncfs.c: New file.
71461         * misc/Makefile (routines): Add syncfs.
71462         * posix/unistd.h: Declare syncfs.
71463         * sysdeps/unix/syscalls.list: Add syncfs.
71465 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71467         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71468         open_by_handle_at.
71469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71470         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71474         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71477 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71479         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71481         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71483         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71487         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71488         sync_file_range.c with -fexceptions.
71489         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71490         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71491         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71492         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71493         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71494         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71495         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71496         sync_file_range as cancellation point
71497         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71498         now a wrapper around __call_sync_file_range with cancellation handling.
71499         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71500         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71501         function name to __call_sync_file_range.
71502         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71503         Add call_sync_file_range.
71505 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71508         bits/timex.h.
71510 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71512         * iconv/iconv.h: Fix typo in comment.
71513         * io/fcntl.h: Likewise.
71514         * libio/stdio.h: Likewise.
71515         * posix/spawn.h: Likewise.
71516         * posix/unistd.h: Likewise.
71517         * stdlib/stdlib.h: Likewise.
71518         * time/time.h: Likewise.
71519         * wcsmbs/wchar.h: Likewise.
71521         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71522         open_by_handle): Add.
71523         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71524         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71525         Augment a few comments.
71526         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71530         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71531         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71532         open_by_handle.
71534         * io/fcntl.h (AT_EMPTY_PATH): Define.
71536 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71538         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71539         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71540         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71541         to...
71542         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71543         * Versions.def: Add GLIBC_2.14.
71544         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71545         Export.
71547 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71549         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71550         round counter.
71551         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71553 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71555         [BZ #12597]
71556         * string/test-strncmp.c (do_page_test): New function.
71557         (check2): Likewise.
71558         (test_main): Call check2.
71559         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71561 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71563         [BZ #12587]
71564         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71565         Handle cache information in CPU leaf 4.
71566         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71568 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71570         [BZ #12583]
71571         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71572         character representation.
71573         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71575 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71577         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71578         END(__isnan) to END(__isnanf) to match function entry point/label
71579         EALIGN(__isnanf,...).
71581 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71583         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71585 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71587         [BZ #12510]
71588         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71589         copy from the symbol referenced in the relocation to initialize the
71590         used variable.
71591         Patch by Piotr Bury <pbury@goahead.com>.
71592         * elf/Makefile: Add rules to build and tst-unique3.
71593         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71594         * elf/tst-unique3.cc: New file.
71595         * elf/tst-unique3.h: New file.
71596         * elf/tst-unique3lib.cc: New file.
71597         * elf/tst-unique3lib2.cc: New file.
71599         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71601 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71603         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71604         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71605         to _start.
71607 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71609         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71610         to-be-loaded object along a path to loader is ld.so.
71612 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71613             Ulrich Drepper  <drepper@gmail.com>
71615         * sysdeps/x86_64/memset.S: After aligning destination, code
71616         branches to different locations depending on the value of
71617         misalignment, when multiarch is enabled. Fix this.
71619 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71621         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71622         Set _x86_64_preferred_memory_instruction for AMD processsors.
71623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71624         Set bit_Prefer_SSE_for_memop for AMD processors.
71626 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71628         * libio/fmemopen.c (fmemopen): Optimize a bit.
71630 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71632         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71634 2011-03-03  Roland McGrath  <roland@redhat.com>
71636         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71638 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71640         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71641         __bzero_ultra1 instead of __memset_ultra1.
71643 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71644             Ulrich Drepper  <drepper@gmail.com>
71646         [BZ #12509]
71647         * include/link.h (struct link_map): Add l_orig_initfini.
71648         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71649         returning unsuccessfully.
71650         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71651         close of a file loaded at startup, restore the original l_initfini
71652         list.
71653         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71654         list, store the pointer.
71655         * elf/Makefile ($(objpfx)noload-mem): New rule.
71656         (noload-ENV): Define.
71657         (tests): Add $(objpfx)noload-mem.
71658         * elf/noload.c: Include <memcheck.h>.
71659         (main): Call mtrace.  Close all opened handles.
71661 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71663         [BZ #12454]
71664         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71665         dependencies are missing.
71667 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71669         Fix __if_freereq crash: Unlike the generic version which uses free,
71670         Hurd needs munmap.
71671         * sysdeps/mach/hurd/ifreq.h: New file.
71673 2011-01-27  Petr Baudis  <pasky@suse.cz>
71674             Ulrich Drepper  <drepper@gmail.com>
71676         [BZ 12445]#
71677         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71678         to extend_alloca().
71679         * stdio-common/bug23.c: New file.
71680         * stdio-common/Makefile (tests): Add bug23.
71682 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71683             Ulrich Drepper  <drepper@gmail.com>
71685         [BZ #12489]
71686         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71687         before performing relro protection.  At old place add assertion
71688         to make sure nothing changed.
71690 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71691             Glauber de Oliveira Costa  <glommer@gmail.com>
71693         * elf/elf.h: Add new ARM TLS relocs.
71695 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71698         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71699         cast from r3.
71700         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71701         'tests' variable.
71702         * sysdeps/wordsize-64/tst-writev.c: New file.
71704 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71706         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71707         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71708         insns in _dl_start to prevent a TOC reference before relocs are
71709         resolved.
71711 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71713         [BZ #12469]
71714         * Makeconfig: Remove RANLIB definition.
71715         * Makerules: Don't use RANLIB.
71716         * aclocal.m4: Remove ranlib test.
71717         * configure.in: No need to check for ranlib.
71718         * elf/rtld-Rules: Don't use RANLIB.
71720 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71722         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71723         protection macro.
71724         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71725         inclusion protection macro.
71727         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71728         SIGRTMIN and SIGRTMAX and print information in that case only when
71729         SIGRTMIN is defined.
71731 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71733         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71734         arginfo fn returning -1.
71736         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71737         and thousands string is zero terminated.
71739 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71742         sysdeps/unix/sysv/linux/bits/socket.h.
71744 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71746         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71747         (__CPU_COUNT): Remove old macros.
71748         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71749         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71750         (__CPU_ALLOC, __CPU_FREE): Add macros.
71751         (__sched_cpualloc, __sched_cpufree): Add declarations.
71753 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71755         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71756         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71757         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71758         (readdhstai): Return value of addhstaiX call.
71759         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71760         (addgrbyX): Return value returned by cache_addgr.
71761         (readdgrbyname): Return value returned by addgrbyX.
71762         (readdgrbygid): Likewise.
71763         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71764         (addpwbyX): Return value returned by cache_addpw.
71765         (readdpwbyname): Return value returned by addhstbyX.
71766         (readdpwbyuid): Likewise.
71767         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71768         (addservbyX): Return value returned by cache_addserv.
71769         (readdservbyname): Return value returned by addservbyX:
71770         (readdservbyport): Likewise.
71771         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71772         (addhstbyX): Return value returned by cache_addhst.
71773         (readdhstbyname): Return value returned by addhstbyX.
71774         (readdhstbyaddr): Likewise.
71775         (readdhstbynamev6): Likewise.
71776         (readdhstbyaddrv6): Likewise.
71777         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71778         (readdinitgroups): Return value returned by addinitgroupsX.
71779         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71780         (prune_cache): Keep track of timeout value of re-added entries.
71781         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71782         * nscd/nscd.h: Adjust prototypes of readd* functions.
71784 2011-02-04  Roland McGrath  <roland@redhat.com>
71786         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71787         (nis_stats): Likewise.
71788         * nis/nis_modify.c (nis_modify): Likewise.
71789         * nis/nis_remove.c (nis_remove): Likewise.
71790         * nis/nis_add.c (nis_add): Likewise.
71792         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71794         * posix/fnmatch_loop.c: Add some consts.
71796         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71798 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71800         [BZ #12460]
71801         * config.make.in (config-cflags-novzeroupper): Define.
71802         * configure.in: Substitute libc_cv_cc_novzeroupper.
71803         * elf/Makefile (AVX-CFLAGS): Define.
71804         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71805         (CFLAGS-tst-auditmod4a.c): Likewise.
71806         (CFLAGS-tst-auditmod4b.c): Likewise.
71807         (CFLAGS-tst-auditmod6b.c): Likewise.
71808         (CFLAGS-tst-auditmod6c.c): Likewise.
71809         (CFLAGS-tst-auditmod7b.c): Likewise.
71810         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71812 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71814         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71815         function to the callback.
71816         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71818 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71820         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71821         of errno.
71823 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71825         [BZ #11724]
71826         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71827         of constructors.
71828         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71829         of destructors.
71830         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71832         [BZ #11724]
71833         * elf/Makefile: Add rules to build and run new test.
71834         * elf/tst-initorder.c: New file.
71835         * elf/tst-initorder.exp: New file.
71836         * elf/tst-initordera1.c: New file.
71837         * elf/tst-initordera2.c: New file.
71838         * elf/tst-initordera3.c: New file.
71839         * elf/tst-initordera4.c: New file.
71840         * elf/tst-initorderb1.c: New file.
71841         * elf/tst-initorderb2.c: New file.
71842         * elf/tst-order-a1.c: New file.
71843         * elf/tst-order-a2.c: New file.
71844         * elf/tst-order-a3.c: New file.
71845         * elf/tst-order-a4.c: New file.
71846         * elf/tst-order-b1.c: New file.
71847         * elf/tst-order-b2.c: New file.
71848         * elf/tst-order-main.c: New file.
71849         New test case by George Gensure <werkt0@gmail.com>.
71851 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71854         decoding ACE if AI_CANONIDN.
71856 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71858         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71860 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71862         * version.h (RELEASE): Bump for 2.13 release.
71863         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71865         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71867         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71868         MADV_NOHUGEPAGE.
71869         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71873         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71874         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71876         * posix/getconf.c: Update copyright year.
71877         * catgets/gencat.c: Likewise.
71878         * csu/version.c: Likewise.
71879         * debug/catchsegv.sh: Likewise.
71880         * debug/xtrace.sh: Likewise.
71881         * elf/ldconfig.c: Likewise.
71882         * elf/ldd.bash.in: Likewise.
71883         * elf/sprof.c (print_version): Likewise.
71884         * iconv/iconv_prog.c: Likewise.
71885         * iconv/iconvconfig.c: Likewise.
71886         * locale/programs/locale.c: Likewise.
71887         * locale/programs/localedef.c: Likewise.
71888         * malloc/memusage.sh: Likewise.
71889         * malloc/mtrace.pl: Likewise.
71890         * nscd/nscd.c (print_version): Likewise.
71891         * nss/getent.c: Likewise.
71893         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71894         PF_CAIF, and PF_ALG.
71895         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71897 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71899         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71900         (modules-names): Use them.
71901         (ifunc-test-modules, ifunc-pie-tests): Define.
71902         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71903         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71904         (test-extras): Likewise.
71905         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71906         $(compile-command.c).
71907         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71908         (all-built-dso): Define.
71909         (check-textrel.out, check-execstack.out): Depend on it.
71911         * configure.in: Don't override --enable-multi-arch.
71913 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71915         [BZ #6812]
71916         * nscd/hstcache.c (tryagain): Define.
71917         (cache_addhst): Return tryagain not notfound for temporary errors.
71918         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71919         failed.
71921 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71923         [BZ #10563]
71924         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71925         to make the syscall.
71926         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71928         [BZ #12378]
71929         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71930         and fall back to matching as normal character if the string ends before
71931         the matching ']' is found.  This is what POSIX requires.
71932         * posix/testfnm.c: Adjust test result.
71933         * posix/globtest.sh: Adjust test result.  Add new test.
71934         * posix/tst-fnmatch.input: Likewise.
71935         * posix/tst-fnmatch2.c: Add new test.
71937 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71939         * elf/Makefile (check-execstack): Revert last change.  Depend on
71940         check-execstack.h.
71941         (check-execstack.h): New target.
71942         (generated): Add check-execstack.h.
71943         * elf/check-execstack.c: Include "check-execstack.h".
71944         (main): Revert last change.
71945         (handle_file): Return zero if GNU_STACK is absent and
71946         DEFAULT_STACK_PERMS doesn't include PF_X.
71948 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71950         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71951         in child fails because the descriptor is already closed.
71952         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71953         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71954         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71956         [BZ #12397]
71957         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71958         syscall.
71960         [BZ #10484]
71961         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71962         temporary buffer used to handle multi lookups locally.
71963         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71965 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71967         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71968         loader is ld.so.
71970 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71972         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71973         alignment for SSE2.
71975 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71977         [BZ #12394]
71978         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71979         characters.  When rounding increased number of integer digits recompute
71980         number of groups.
71981         * stdio-common/tst-grouping.c: New file.
71982         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71984 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71986         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71987         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71989         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71990         void.
71991         * bits/select.h: Likewise.
71993 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71995         * po/ja.po: Update from translation team.
71997 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71999         [BZ #11155]
72000         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72001         implementation just like for lxstat, fxstatat, et al.
72003 2010-12-27  Jim Meyering  <meyering@redhat.com>
72005         [BZ #12348]
72006         * posix/regexec.c (build_trtable): Return failure indication upon
72007         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72009 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72011         [BZ #12201]
72012         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72013         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72014         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72015         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72017         [BZ #12207]
72018         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72020         [BZ #12204]
72021         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72022         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72024 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72026         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72027         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72028         script has SORT_BY_INIT_PRIORITY.
72029         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72030         NO_CTORS_DTORS_SECTIONS is defined.
72031         * elf/soinit.c: Likewise.
72032         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72033         NO_CTORS_DTORS_SECTIONS is defined.
72034         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72035         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72036         * sysdeps/sh/init-first.c: Likewise.
72037         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72039 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72041         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72042         always use the slow path.
72044 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72046         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72047         similar rule which adds the sysdep directories to the header search in
72048         order to pick up the correct platform stackinfo.h.
72049         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72050         perform test if it is, otherwise return successfully without testing.
72051         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72052         DEFAULT_STACK_PERMS define in stackinfo.h.
72053         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72054         defined in stackinfo.h.
72055         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72056         DEFAULT_STACK_PERMS defined in stackinfo.h.
72057         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72058         * sysdeps/ia64/stackinfo.h: Likewise.
72059         * sysdeps/s390/stackinfo.h: Likewise.
72060         * sysdeps/sh/stackinfo.h: Likewise.
72061         * sysdeps/sparc/stackinfo.h: Likewise.
72062         * sysdeps/x86_64/stackinfo.h: Likewise.
72063         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72064         PF_X for powerpc64.  Retain PF_X for powerpc32.
72066 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72068         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72069         accurately.
72070         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72071         GETDENTS_64BIT_ALIGNED.
72073 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72075         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72077 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72079         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72080         _GNU_SOURCE.
72082         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72083         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72084         Remove __restrict.
72085         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72086         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72088 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72090         [BZ #11655]
72091         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72092         are initialized.
72094 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72096         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72098 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72100         * po/it.po: Update from translation team.
72102 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72105         unused codes.
72107 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72109         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72111 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72113         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72114         specially.
72115         (gaih_getanswer_slice): Likewise.
72117 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72121 2010-05-31  Petr Baudis  <pasky@suse.cz>
72123         [BZ #11149]
72124         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72125         silently even in the chroot mode.
72127 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72129         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72130         last patch a bit.  Pretty printing
72132 2010-05-31  Petr Baudis <pasky@suse.cz>
72134         [BZ #10085]
72135         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72136         initialization of skip_initgroups_dyn.
72138 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72140         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72141         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72143 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72145         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72147 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72149         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72150         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72151         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72152         ($(objpfx)tst-fnmatch-mem): New rule.
72153         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72154         * posix/tst-fnmatch.c (main): Call mtrace.
72156 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72159         Support Intel processor model 6 and model 0x2c.
72161 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72163         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72164           signed comparison.
72166 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72168         [BZ #12205]
72169         * string/test-strncasecmp.c (check_result): New function.
72170         (do_one_test): Use it.
72171         (check1): New function.
72172         (test_main): Use it.
72173         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72174         Support strcasecmp and strncasecmp.
72176 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72178         [BZ #12194]
72179         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72182 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72184         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72185         IFUNC support.
72186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72187         memset-x86-64.
72188         * sysdeps/x86_64/multiarch/bzero.S: New file.
72189         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72190         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72191         * sysdeps/x86_64/multiarch/memset.S: New file.
72192         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72194         Set bit_Prefer_SSE_for_memop for Intel processors.
72195         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72196         Define.
72197         (index_Prefer_SSE_for_memop): Define.
72198         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72200 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72202         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72203         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72205 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72207         [BZ #12191]
72208         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72209         (__x86_64_raw_data_cache_size_half): Likewise.
72210         (__x86_64_raw_shared_cache_size): Likewise.
72211         (__x86_64_raw_shared_cache_size_half): Likewise.
72213         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72214         (__x86_64_raw_data_cache_size_half): Likewise.
72215         (__x86_64_raw_shared_cache_size): Likewise.
72216         (__x86_64_raw_shared_cache_size_half): Likewise.
72217         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72218         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72219         and __x86_64_raw_shared_cache_size_half.  Round
72220         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72221         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72222         to multiple of 256 bytes.
72224 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72226         [BZ #12167]
72227         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72228         of inacessible symlinks.  Verify result of symlink before returning it.
72229         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72230         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72232 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72234         * math/math.h (isinf): Fix typo in comment.
72236 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72238         * po/da.po: Update from translation team.
72240 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72242         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72243         is added to the list.
72245 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72246             Ulrich Drepper  <drepper@gmail.com>
72248         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72249         the global list here.  Move code to...
72250         (_dl_add_to_namespace_list): ...here.  New function.
72251         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72252         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72253         * elf/dl-load.c (lose): Don't remove the element from the list.
72254         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72255         (_dl_map_object): Likewise.
72257 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72259         [BZ #12159]
72260         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72261         into all bytes of SSE register.
72262         Patch by Richard Li <richardpku@gmail.com>.
72264 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72266         [BZ #12140]
72267         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72268         perturbing.
72270 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72272         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72273         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72274         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72275         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72277         submachine.
72278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72280 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72282         * include/dlfcn.h (__RTLD_SECURE): Define.
72283         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72284         mode & __RTLD_SECURE instead.
72285         (open_path): Rename preloaded parameter to secure.
72286         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72287         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72288         * elf/dl-deps.c (openaux): Likewise.
72289         * elf/rtld.c (struct map_args): Remove is_preloaded.
72290         (map_doit): Don't use it.
72291         (dl_main): Likewise.
72292         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72293         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72295 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72297         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72298         (sysd-rules-targets): Remove duplicates.
72299         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72300         rtld-%.$o dependency.
72302 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72304         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72305         _dl_map_object do it.
72307 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72309         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72310         fast fma builtins, define the macros in the C99 standard.
72311         (FP_FAST_FMAF): Likewise.
72312         (FP_FAST_FMAL): Likewise.
72313         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72315         * bits/mathdef.h: Update copyright year.
72316         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72318 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72320         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72321         builtins, define the macros in the C99 standard.
72322         (FP_FAST_FMAF): Likewise.
72323         (FP_FAST_FMAL): Likewise.
72324         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72325         multiply/add.
72326         (FP_FAST_FMAF): Likewise.
72328 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72330         [BZ #3268]
72331         * math/libm-test.inc (fma_test): Some new testcases.
72332         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72333         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72334         y and infinite z.  Do multiplication by C already in long double.
72335         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72337         y and infinite z.  Do bitwise or of inexact bit into u.d.
72338         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72339         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72340         * sysdeps/i386/fpu/s_fma.S: Removed.
72341         * sysdeps/i386/fpu/s_fmal.S: Removed.
72343 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72345         [BZ #3268]
72346         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72348         computation is not scheduled after fetestexcept.  Fix value
72349         of minimum denormal long double.
72351 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72353         [BZ #3268]
72354         * math/libm-test.inc (fma_test): Add some more tests.
72355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72356         correctly.
72358 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72360         * scripts/data/localplt-s390-linux-gnu.data: New file.
72361         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72363 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72365         [BZ #3268]
72366         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72367         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72368         instead of dbl-64.
72369         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72370         inlines.
72371         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72373         if one of x and y is very large and the other is subnormal.
72374         * sysdeps/s390/fpu/s_fmaf.c: New file.
72375         * sysdeps/s390/fpu/s_fma.c: New file.
72376         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72377         * sysdeps/powerpc/fpu/s_fma.S: New file.
72378         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72379         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72380         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72382 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72384         [BZ #3268]
72385         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72386         fma tests.
72387         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72388         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72389         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72390         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72391         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72392         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72393         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72395 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72397         [BZ #12078]
72398         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72399         * posix/bug-regex31.input: Add test case.
72401 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72403         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72404         * posix/bug-regex31.input: New file.
72406         [BZ #12078]
72407         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72408         (parse_sub_exp): Fix last change, use postorder.
72410         * posix/bug-regex31.c: New file.
72411         * posix/Makefile: Add rules to build and run bug-regex31.
72413         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72415         [BZ #12078]
72416         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72418         [BZ #12108]
72419         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72420         to have entries in sys_siglist.
72422         [BZ #12093]
72423         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72424         be NULL.
72426 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72428         [BZ #3268]
72429         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72430         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72431         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72432         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72433         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72434         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72435         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72436         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72437         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72438         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72439         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72440         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72441         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72442         * math/ftestexcept.c (fetestexcept): Likewise.
72443         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72444         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72445         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72446         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72447         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72448         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72449         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72451 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72453         [BZ #12107]
72454         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72455         newline.
72457 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72459         * string/bug-strstr1.c: New file.
72460         * string/Makefile: Add rules to build and run bug-strstr1.
72462 2010-10-05  Eric Blake  <eblake@redhat.com>
72464         [BZ #12092]
72465         * string/str-two-way.h (two_way_long_needle): Always clear memory
72466         when skipping input due to the shift table.
72468 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72470         [BZ #12005]
72471         * malloc/mcheck.c: Handle large requests.
72473         [BZ #12077]
72474         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72475         for strncmp and strncasecmp.
72476         * string/stratcliff.c: Add tests for strcmp and strncmp.
72477         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72479 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72481         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72482         __set_fpscr.
72484 2010-09-30  Andreas Jaeger  <aj@suse.de>
72486         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72487         (CGROUP_SUPER_MAGIC): Define.
72488         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72489         Handle btrfs and cgroup file systems.
72490         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72491         Likewise.
72493 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72495         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72496         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72498 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72500         [BZ #12067]
72501         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72502         trying to locate the ELF header.
72504 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72506         [BZ #11611]
72507         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72508         Mask out sign-bit copies when constructing f_fsid.
72510 2010-09-24  Petr Baudis <pasky@suse.cz>
72512         * debug/stack_chk_fail_local.c: Add missing licence exception.
72513         * debug/warning-nop.c: Likewise.
72515 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72517         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72518         implementing getdents64 using getdents syscall, set d_type if
72519         __ASSUME_GETDENTS32_D_TYPE.
72521 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72523         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72524         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72526 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72528         [BZ #12037]
72529         * posix/unistd.h: Undo change of feature selection for ftruncate from
72530         2010-01-11.
72532 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72534         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72535         detection.
72537 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72539         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72540         fanotify_mark.
72541         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72543 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72545         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72546         variables after CHECK_SP call.
72547         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72549 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72550             Ulrich Drepper  <drepper@redhat.com>
72552         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72553         re-relocationg ld.so.
72554         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72555         _dl_init_paths call.
72556         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72557         here anymore.
72559 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72561         * resolv/res_init.c (__res_vinit): Count the default server we added.
72563 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72564             Ulrich Drepper  <drepper@redhat.com>
72566         [BZ #11968]
72567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72568         (____longjmp_chk): Use %ebx for saving value across system call.
72569         Add unwind info.
72571 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72573         * manual/Makefile: Don't mix pattern rules with normal rules.
72575 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72577         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72578         operation.
72579         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72580         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72581         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72582         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72584         Likewise.
72586 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72588         [BZ #11979]
72589         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72590         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72592 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72594         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72595         * sysdeps/x86_64/addmul_1.S: Likewise.
72596         * sysdeps/x86_64/lshift.S: Likewise.
72597         * sysdeps/x86_64/mul_1.S: Likewise.
72598         * sysdeps/x86_64/rshift.S: Likewise.
72599         * sysdeps/x86_64/sub_n.S: Likewise.
72600         * sysdeps/x86_64/submul_1.S: Likewise.
72602 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72604         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72605         Define __sched_param instead of SCHED_* and sched_param when
72606         <bits/sched.h> is included with __need_schedparam defined.
72607         * bits/sched.h [__need_schedparam]
72608         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72609         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72610         (__defined_schedparam): Define to 1.
72611         (__sched_param): New structure, identical to sched_param.
72612         (__need_schedparam): Undefine.
72614 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72616         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72617         (epoll_create1): Declare.
72619         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72621 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72623         [BZ #7066]
72624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72625         shifting retval into place.
72627 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72629         * nis/rpcsvc/nis.h: Update copyright notice.
72630         * nis/rpcsvc/nis.x: Likewise.
72631         * nis/rpcsvc/nis_callback.h: Likewise.
72632         * nis/rpcsvc/nis_callback.x: Likewise.
72633         * nis/rpcsvc/nis_object.x: Likewise.
72634         * nis/rpcsvc/nis_tags.h: Likewise.
72635         * nis/rpcsvc/yp.h: Likewise.
72636         * nis/rpcsvc/yp.x: Likewise.
72637         * nis/rpcsvc/ypupd.h: Likewise.
72638         * nis/yp_xdr.c: Likewise.
72639         * nis/ypupdate_xdr.c: Likewise.
72641         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72642         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72643         (pmap_getport): Use __libc_rpc_getport.
72644         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72645         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72646         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72648 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72651         fanotify_mark.
72653 2010-08-27  Roland McGrath  <roland@redhat.com>
72655         * sysdeps/i386/i686/multiarch/Makefile
72656         (CFLAGS-varshift.c): New variable.
72658 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72660         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72661         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72665         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72667 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72669         * sysdeps/x86_64/strlen.S: Unroll the loop.
72670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72671         strlen-sse2 strlen-sse2-bsf.
72672         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72673         __strlen_no_bsf if bit_Slow_BSF is set.
72674         (__strlen_sse42): Removed.
72675         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72676         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72678 2010-08-25  Roland McGrath  <roland@redhat.com>
72680         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72681         * sysdeps/x86_64/multiarch/varshift.c: New file.
72682         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72683         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72684         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72685         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72687 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72689         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72690         strlen-sse2 strlen-sse2-bsf.
72691         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72692         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72693         (__strlen_sse2): Removed.
72694         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72697         bit_Slow_BSF for Atom.
72698         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72699         (index_Slow_BSF): Define.
72700         (HAS_SLOW_BSF): Define.
72702 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72704         [BZ #10851]
72705         * resolv/res_init.c (__res_vinit): When no server address at all
72706         is given default to loopback.
72708 2010-08-24  Roland McGrath  <roland@redhat.com>
72710         * configure.in: Remove config-name.h generation.
72711         * configure: Regenerated.
72712         * config-name.in: File removed.
72713         * scripts/config-uname.sh: New file.
72714         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72715         ($(objdir)config-name.h): New target.
72717         * sunrpc/rpc_parse.h: Avoid nested comment.
72719 2010-08-24  Richard Henderson  <rth@redhat.com>
72720             Ulrich Drepper  <drepper@redhat.com>
72721             H.J. Lu  <hongjiu.lu@intel.com>
72723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72725         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72726         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72727         _mm_alignr_epi8 with _mm_loadu_si128.
72728         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72729         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72730         (__m128i_shift_right): Removed.
72731         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72732         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72733         * sysdeps/x86_64/multiarch/varshift.h: New file.
72734         * sysdeps/x86_64/multiarch/varshift.S: New file.
72736 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72738         * configure.in: Move assembler checks to before sysdep dir checking.
72740 2010-08-20  Petr Baudis  <pasky@suse.cz>
72742         * LICENSES: Sync the sunrpc license.
72744 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72746         * sunrpc/auth_des.c: Update copyright notice once again.
72747         * sunrpc/auth_none.c: Likewise.
72748         * sunrpc/auth_unix.c: Likewise.
72749         * sunrpc/authdes_prot.c: Likewise.
72750         * sunrpc/authuxprot.c: Likewise.
72751         * sunrpc/bindrsvprt.c: Likewise.
72752         * sunrpc/clnt_gen.c: Likewise.
72753         * sunrpc/clnt_perr.c: Likewise.
72754         * sunrpc/clnt_raw.c: Likewise.
72755         * sunrpc/clnt_simp.c: Likewise.
72756         * sunrpc/clnt_tcp.c: Likewise.
72757         * sunrpc/clnt_udp.c: Likewise.
72758         * sunrpc/clnt_unix.c: Likewise.
72759         * sunrpc/des_crypt.c: Likewise.
72760         * sunrpc/des_soft.c: Likewise.
72761         * sunrpc/get_myaddr.c: Likewise.
72762         * sunrpc/getrpcport.c: Likewise.
72763         * sunrpc/key_call.c: Likewise.
72764         * sunrpc/key_prot.c: Likewise.
72765         * sunrpc/openchild.c: Likewise.
72766         * sunrpc/pm_getmaps.c: Likewise.
72767         * sunrpc/pm_getport.c: Likewise.
72768         * sunrpc/pmap_clnt.c: Likewise.
72769         * sunrpc/pmap_prot.c: Likewise.
72770         * sunrpc/pmap_prot2.c: Likewise.
72771         * sunrpc/pmap_rmt.c: Likewise.
72772         * sunrpc/rpc/auth.h: Likewise.
72773         * sunrpc/rpc/auth_unix.h: Likewise.
72774         * sunrpc/rpc/clnt.h: Likewise.
72775         * sunrpc/rpc/des_crypt.h: Likewise.
72776         * sunrpc/rpc/key_prot.h: Likewise.
72777         * sunrpc/rpc/netdb.h: Likewise.
72778         * sunrpc/rpc/pmap_clnt.h: Likewise.
72779         * sunrpc/rpc/pmap_prot.h: Likewise.
72780         * sunrpc/rpc/pmap_rmt.h: Likewise.
72781         * sunrpc/rpc/rpc.h: Likewise.
72782         * sunrpc/rpc/rpc_des.h: Likewise.
72783         * sunrpc/rpc/rpc_msg.h: Likewise.
72784         * sunrpc/rpc/svc.h: Likewise.
72785         * sunrpc/rpc/svc_auth.h: Likewise.
72786         * sunrpc/rpc/types.h: Likewise.
72787         * sunrpc/rpc/xdr.h: Likewise.
72788         * sunrpc/rpc_clntout.c: Likewise.
72789         * sunrpc/rpc_cmsg.c: Likewise.
72790         * sunrpc/rpc_common.c: Likewise.
72791         * sunrpc/rpc_cout.c: Likewise.
72792         * sunrpc/rpc_dtable.c: Likewise.
72793         * sunrpc/rpc_hout.c: Likewise.
72794         * sunrpc/rpc_main.c: Likewise.
72795         * sunrpc/rpc_parse.c: Likewise.
72796         * sunrpc/rpc_parse.h: Likewise.
72797         * sunrpc/rpc_prot.c: Likewise.
72798         * sunrpc/rpc_sample.c: Likewise.
72799         * sunrpc/rpc_scan.c: Likewise.
72800         * sunrpc/rpc_scan.h: Likewise.
72801         * sunrpc/rpc_svcout.c: Likewise.
72802         * sunrpc/rpc_tblout.c: Likewise.
72803         * sunrpc/rpc_util.c: Likewise.
72804         * sunrpc/rpc_util.h: Likewise.
72805         * sunrpc/rpcinfo.c: Likewise.
72806         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72807         * sunrpc/rpcsvc/key_prot.x: Likewise.
72808         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72809         * sunrpc/rpcsvc/mount.x: Likewise.
72810         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72811         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72812         * sunrpc/rpcsvc/rex.x: Likewise.
72813         * sunrpc/rpcsvc/rstat.x: Likewise.
72814         * sunrpc/rpcsvc/rusers.x: Likewise.
72815         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72816         * sunrpc/rpcsvc/spray.x: Likewise.
72817         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72818         * sunrpc/rtime.c: Likewise.
72819         * sunrpc/svc.c: Likewise.
72820         * sunrpc/svc_auth.c: Likewise.
72821         * sunrpc/svc_authux.c: Likewise.
72822         * sunrpc/svc_raw.c: Likewise.
72823         * sunrpc/svc_run.c: Likewise.
72824         * sunrpc/svc_simple.c: Likewise.
72825         * sunrpc/svc_tcp.c: Likewise.
72826         * sunrpc/svc_udp.c: Likewise.
72827         * sunrpc/svc_unix.c: Likewise.
72828         * sunrpc/svcauth_des.c: Likewise.
72829         * sunrpc/xcrypt.c: Likewise.
72830         * sunrpc/xdr.c: Likewise.
72831         * sunrpc/xdr_array.c: Likewise.
72832         * sunrpc/xdr_float.c: Likewise.
72833         * sunrpc/xdr_mem.c: Likewise.
72834         * sunrpc/xdr_rec.c: Likewise.
72835         * sunrpc/xdr_ref.c: Likewise.
72836         * sunrpc/xdr_sizeof.c: Likewise.
72837         * sunrpc/xdr_stdio.c: Likewise.
72839         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72840         handling.
72842 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72844         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72846 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72848         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72850         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72851         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72852         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72853         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72854         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72855         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72856         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72857         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72858         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72859         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72860         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72861         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72863 2010-07-26  Anton Blanchard  <anton@samba.org>
72865         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72866         * malloc/arena.c (heap_trim): Likewise.
72868 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72870         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72871         here.  Not...
72872         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72873         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72875 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72877         * sysdeps/i386/elf/Makefile: New file.
72879 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72881         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72882         from fanotify_init.
72883         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72886 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72888         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72889         of strncasecmp_l.
72890         * sysdeps/multiarch/strcmp.S: Likewise.
72892 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72894         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72895         strncase_l-nonascii.
72896         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72897         Add strncase_l-ssse3.
72898         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72899         * sysdeps/x86_64/strcmp.S: Likewise.
72900         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72901         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72902         * sysdeps/x86_64/strncase.S: New file.
72903         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72904         * sysdeps/x86_64/strncase_l.S: New file.
72905         * string/Makefile (strop-tests): Add strncasecmp.
72906         * string/test-strncasecmp.c: New file.
72908         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72909         warning.
72911         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72912         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72914 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72916         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72918 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72920         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72921         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72922         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72924 2010-05-01  Alan Modra  <amodra@gmail.com>
72926         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72927         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72928         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72929         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72930         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72931         tidying.  Don't tail-call __sigjmp_save for static lib.
72932         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72933         save location.
72934         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72935         (CALL_MCOUNT): Add eh info, and nop after bl.
72936         (TAIL_CALL_SYSCALL_ERROR): New macro.
72937         (PSEUDO_RET): Use it.
72938         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72939         Correct save location of integer regs and cr.
72940         (_dl_profile_resolve): Correct cr save location.  Delete nops
72941         after bl when SHARED.  Reduce cfi size a little by better
72942         placement of cfi directives.
72943         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72944         make a stack frame.  Instead use parm save area as a temp.
72945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72946         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72948         Don't make a stack frame for parent, use parm save area.
72949         Increase child stack frame to 112 bytes.  Don't save unused reg,
72950         and adjust reg usage.  Set up cfi on error recovery and
72951         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72953         (__makecontext): Add dummy nop after jump to exit.
72954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72955         Use correct parm save area and cr save, reduce stack frame.
72956         Correct cfi for possible PSEUDO_RET frame setup.
72957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72958         Branch to local label emitted by PSEUDO_RET rather than
72959         __syscall_error.
72961 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72963         [BZ #11904]
72964         * locale/programs/locale.c (print_assignment): New function.
72965         (show_locale_vars): Use it.
72967 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72969         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72970         field.
72971         (struct statfs64): Likewise.
72972         (_STATFS_F_FLAGS): Define.
72973         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72974         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72975         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72976         (ST_VALID): Define locally.
72977         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72978         __statvfs_getflags, use the provided value.
72979         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72980         __ASSUME_STATFS_F_FLAGS.
72982         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72984         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72985         Add sys/fanotify.h.
72986         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72987         fanotify_mask for GLIBC_2.13.
72988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72989         fanotify_init and fanotify_mark.
72990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72991         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72993         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72994         Add prlimit.
72995         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72996         prlimit64 for GLIBC_2.13.
72997         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72998         prlimit64.
72999         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73000         syscall.
73001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73003         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73004         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73006         add prlimit alias.
73007         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73009         [BZ #11903]
73010         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73011         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73013         * nss/Makefile: Add rules to build and run tst-nss-test1.
73014         * shlib-versions: Add entry for libnss_test1.
73015         * nss/nss_test1.c: New file.
73016         * nss/tst-nss-test1.c: New file.
73018         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73019         (__nss_configure_lookup): Set appropriate entry in
73020         __nss_configure_lookup to true.
73021         * nss/nsswitch.h: Define enum with indeces of databases in
73022         databases and __nss_database_custom arrays.  Declare
73023         __nss_database_custom.
73024         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73025         to avoid using nscd when custom rules are installed.
73026         * nss/getXXbyYY_r.c: Likewise.
73027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73029         * nss/nss_files/files-parse.c: Whitespace fixes.
73031 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73033         [BZ #11883]
73034         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73035         * posix/fnmatch_loop.c: Likewise.
73037 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73039         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73040         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73041         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73042         * Versions.def [GLIBC_2.13]: Add.
73044 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73046         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73047         Also fail if tpwd after pwuid call is NULL.
73049 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73051         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73052         when converting to ms.
73054 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73056         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73057         EOPNOTSUPP errors with ENOTTY.
73058         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73059         EOPNOTSUPP errors with ENOTTY.
73061 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73063         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73064         Add strcasecmp_l-ssse3.
73065         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73066         strcasecmp.
73067         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73068         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73069         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73071 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73073         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73075         * string/Makefile (strop-tests): Add strcasecmp.
73076         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73077         strcasecmp_l-nonascii.
73078         (gen-as-const-headers): Add locale-defines.sym.
73079         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73080         * sysdeps/x86_64/strcasecmp.S: New file.
73081         * sysdeps/x86_64/strcasecmp_l.S: New file.
73082         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73083         * sysdeps/x86_64/locale-defines.sym: New file.
73084         * string/test-strcasecmp.c: New file.
73086         * string/test-strcasestr.c: Test both ends of the range of characters.
73087         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73089 2010-07-29  Roland McGrath  <roland@redhat.com>
73091         [BZ #11856]
73092         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73094 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73096         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73097         for ld.so.
73099 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73101         * manual/memory.texi (Malloc Tunable Parameters): Document
73102         M_PERTURB.
73104 2010-07-26  Roland McGrath  <roland@redhat.com>
73106         [BZ #11840]
73107         * configure.in (-fgnu89-inline check): Set and substitute
73108         gnu89_inline, not libc_cv_gnu89_inline.
73109         * configure: Regenerated.
73110         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73112 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73114         * string/test-strnlen.c: New file.
73115         * string/Makefile (strop-tests): Add strnlen.
73116         * string/tester.c (test_strnlen): Add a few more test cases.
73117         * string/tst-strlen.c: Better error reporting.
73119         * sysdeps/x86_64/strnlen.S: New file.
73121 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73123         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73124         lower-latency instructions.
73126 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73128         * string/test-strcasestr.c: New file.
73129         * string/test-strstr.c: New file.
73130         * string/Makefile (strop-tests): Add strstr and strcasestr.
73131         * string/str-two-way.h: Don't undefine MAX.
73132         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73134 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73137         strcasestr-nonascii.
73138         (CFLAGS-strcasestr-nonascii.c): Define.
73139         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73140         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73141         Remove unused attribute.
73143 2010-07-20  Roland McGrath  <roland@redhat.com>
73145         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73146         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73147         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73148         like LD_HWCAP_MASK can disable hwcaps.
73150 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73152         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73154 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73156         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73157         call in strcasestr.
73158         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73159         __strcasestr_sse42_nonascii.
73160         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73161         strcasestr-nonascii.c.
73162         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73164 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73166         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73167         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73168         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73169         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73171 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73173         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73174         fcntl.
73176 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73178         [BZ #11577]
73179         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73180         dl_signal_cerror.
73182 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73184         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73185         _PC_PIPE_BUF using F_GETPIPE_SZ.
73187 2010-07-05  Roland McGrath  <roland@redhat.com>
73189         * manual/arith.texi (Rounding Functions): Fix rint description
73190         implicit in round description.
73192 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73194         * elf/Makefile: Fix linking for a few tests to make recent linker
73195         happy.
73197 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73199         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73200         $(common-objpfx)libc_nonshared.a.
73202 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73204         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73205         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73206         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73207         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73208         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73209         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73210         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73211         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73226         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73227         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73228         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73229         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73230         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73231         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73232         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73233         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73234         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73235         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73236         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73237         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73253 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73255         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73256         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73257         * string/memmove.c (memmove): Renamed to ...
73258         (MEMMOVE): ...this.  Default to memmove.
73259         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73260         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73261         (END_CHK): Define.
73262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73263         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73264         mempcpy-ssse3-back memmove-ssse3-back.
73265         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73267         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73268         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73269         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73270         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73271         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73272         * sysdeps/x86_64/multiarch/memmove.c: New file.
73273         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73274         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73275         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73276         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73277         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73278         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73279         Define.
73280         (index_Fast_Copy_Backward): Define.
73281         (HAS_ARCH_FEATURE): Define.
73282         (HAS_FAST_REP_STRING): Define.
73283         (HAS_FAST_COPY_BACKWARD): Define.
73285 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73287         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73288         Restore proper fallback handling.
73290 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73292         [BZ #11701]
73293         * posix/group_member.c (__group_member): Correct checking loop.
73295         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73296         OOM in getpwuid_r correctly.  Return error number when the caller
73297         should return, otherwise -1.
73298         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73299         call returning > 0 value.
73300         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73302 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73304         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73305         libc_nonshared.a from targets in modules-names.
73307 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73309         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73310         requires it.
73312 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73315         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73316         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73319 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73321         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73323 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73325         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73326         and F_GETPIPE_SZ.
73327         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73328         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73331         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73334 2010-06-14  Roland McGrath  <roland@redhat.com>
73336         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73338 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73340         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73341         __REDIRECT followed by __THROW.
73342         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73343         * posix/getopt.h (getopt): Likewise.
73345 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73347         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73348         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73349         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73350         in AT_FLAGS.
73351         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73352         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73354 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73358 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73360         [BZ #11640]
73361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73362         Properly check family and model.
73364 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73366         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73368 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73370         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73372 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73374         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73375         symbol reference.
73377 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73379         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73380         symbol reference.
73382 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73384         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73385         and internal_recvmmsg.
73386         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73387         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73388         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73389         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73391         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73392         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73393         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73395 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73397         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73399 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73401         POWER7 optimizations.
73402         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73403         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73405 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73407         * version.h: Update for 2.13 development version.
73409 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73411         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73412         exceptions.  Return 0.
73414 2010-05-07  Roland McGrath  <roland@redhat.com>
73416         * elf/ldconfig.c (main): Add a const.
73418 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73420         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73421         (args_options): Add no-idn option.
73422         (ahosts_keys_int): Add idn_flags to ai_flags.
73423         (parse_option): Handle 'i' option to clear idn_flags.
73425         * malloc/malloc.c (_int_free): Possible race in the most recently
73426         added check.  Only act on the data if no current modification
73427         happened.
73429 See ChangeLog.17 for earlier changes.