i686/multiarch: Regenerate ulps
[glibc.git] / ChangeLog
blobe2618feda9fada66dd1a12109105fc328b4e01a4
1 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5 2016-06-29  Andreas Schwab  <schwab@suse.de>
7         [BZ #20260]
8         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9         address before the beginning of the string as an integer to avoid
10         array-bounds warning.
12 2016-06-28  Richard Henderson  <rth@redhat.com>
14         * elf/elf.h (EM_BPF): New.
15         (EM_NUM): Update.
16         (R_BPF_NONE, R_BPF_MAP_FD): New.
18         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
20         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
21         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
22         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
23         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
24         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
25         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
26         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
27         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
28         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
29         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
30         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
31         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
32         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
33         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
34         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
35         (EM_NUM): Update.
37 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
39         [BZ #19860]
40         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
41         Set _nl_current_LC_CATEGORY_used to two instead of one.
43 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
45         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
46         (do_test): ... this.
47         (TEST_FUNCTION): New macro.
48          Include test-skeleton.c.
49         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
50         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
52 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
54         [BZ #15479]
55         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
56         floating-point environment rather than just control word.
57         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
58         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
59         floating-point environment, with "invalid" exceptions merged in,
60         rather than just control word.
61         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
62         * math/libm-test.inc (trunc_test_data): Do not allow spurious
63         "inexact" exceptions.
65         [BZ #15479]
66         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
67         floating-point environment rather than just control word.
68         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
69         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
70         floating-point environment, with "invalid" exceptions merged in,
71         rather than just control word.
72         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
73         * math/libm-test.inc (floor_test_data): Do not allow spurious
74         "inexact" exceptions.
76         [BZ #15479]
77         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
78         floating-point environment rather than just control word.
79         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
80         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
81         floating-point environment, with "invalid" exceptions merged in,
82         rather than just control word.
83         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
84         * math/libm-test.inc (ceil_test_data): Do not allow spurious
85         "inexact" exceptions.
87 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
89         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
90         __libc_vfork.
91         (__vfork) [IS_IN (libc)]: Remove alias.
92         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
93         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
94         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
96 2016-06-24  Torvald Riegel  <triegel@redhat.com>
98         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
99         of atomic_compare_and_exchange_bool_rel.
100         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
101         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
102         catomic_compare_and_exchange_bool_rel): Remove.
103         * sysdeps/aarch64/atomic-machine.h
104         (atomic_compare_and_exchange_bool_rel): Likewise.
105         * sysdeps/alpha/atomic-machine.h
106         (atomic_compare_and_exchange_bool_rel): Likewise.
107         * sysdeps/arm/atomic-machine.h
108         (atomic_compare_and_exchange_bool_rel): Likewise.
109         * sysdeps/mips/atomic-machine.h
110         (atomic_compare_and_exchange_bool_rel): Likewise.
111         * sysdeps/microblaze/atomic-machine.h
112         ( __arch_compare_and_exchange_bool_8_rel,
113         __arch_compare_and_exchange_bool_16_rel): Likewise.
114         * sysdeps/powerpc/atomic-machine.h
115         ( __arch_compare_and_exchange_bool_8_rel,
116         __arch_compare_and_exchange_bool_16_rel): Likewise.
117         * sysdeps/powerpc/powerpc32/atomic-machine.h
118         ( __arch_compare_and_exchange_bool_32_rel,
119         __arch_compare_and_exchange_bool_64_rel): Likewise.
120         * sysdeps/powerpc/powerpc64/atomic-machine.h
121         ( __arch_compare_and_exchange_bool_32_rel,
122         __arch_compare_and_exchange_bool_64_rel): Likewise.
123         * sysdeps/tile/atomic-machine.h
124         (atomic_compare_and_exchange_bool_rel): Likewise.
126 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
128         [BZ #20296]
129         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
130         when either argument is a NaN.
131         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
132         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
134         * math/libm-test.inc (snan_value_ld): New macro.
135         (isgreater_test_data): Add sNaN tests.
136         (isgreaterequal_test_data): Likewise.
137         (isless_test_data): Likewise.
138         (islessequal_test_data): Likewise.
139         (islessgreater_test_data): Likewise.
140         (isunordered_test_data): Likewise.
141         (nextafter_test_data): Likewise.
142         (nexttoward_test_data): Likewise.
143         (remainder_test_data): Likewise.
144         (remquo_test_data): Likewise.
145         (significand_test_data): Likewise.
146         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
148 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
150         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
151         environment macros are defined.
152         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
154 2016-06-23  Florian Weimer  <fweimer@redhat.com>
156         [BZ #20191]
157         Implement vtable verification in libio.
158         * Makerules (shlib.lds): Place __libc_IO_vtables section.
159         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
160         * debug/vdprintf_chk.c (__vdprintf_chk): Call
161         _IO_new_file_init_internal instead of _IO_file_init.
162         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
163         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
164         * libio/Makefile (routines): Add vtables.
165         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
166         (_IO_init): Remove, not for internal use.
167         (_IO_init_internal): Declare, internal replacement for _IO_init.
168         (_IO_file_init): Remove, not for internal use.
169         (_IO_new_file_init): Remove, not for internal use.
170         (_IO_new_file_init_internal): Declare, internal replacement for
171         _IO_new_file_init.
172         (_IO_old_file_init): Remove, not for internal use.
173         (_IO_old_file_init_internal): Declare, internal replacement for
174         _IO_old_file_init.
175         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
176         internal use.
177         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
178         Declare.
179         (libio_vtable): New macro.
180         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
181         functions.
182         * libio/fileops.c (_IO_new_file_init_internal): Rename from
183         _IO_new_file_init.
184         (_IO_new_file_init): New externally visible wrapper which disables
185         vtable verification.
186         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
187         Define as vtables.
188         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
189         (_IO_init): New externally visible wrapper which disables
190         vtable verification.
191         * libio/iofdopen.c (_IO_new_fdopen): Call
192         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
193         comment.
194         * libio/iofopen.c (__fopen_internal): Call
195         _IO_new_file_init_internal instead of _IO_file_init.
196         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
197         Define as vtables.
198         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
199         _IO_new_file_init_internal instead of _IO_file_init.
200         * libio/iopopen.c (_IO_new_popen): Likewise.
201         (_IO_proc_jumps): Define as vtable.
202         * libio/iovdprintf.c (_IO_vdprintf): Call
203         _IO_new_file_init_internal instead of _IO_file_init.
204         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
205         (__open_memstream): Call _IO_init_internal instead of _IO_init.
206         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
207         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
208         _IO_old_file_init.
209         (_IO_old_file_init): New externally visible wrapper which disables
210         vtable verification.
211         (_IO_old_file_jumps): Define as vtable.
212         * libio/oldiofdopen.c (_IO_old_fdopen): Call
213         _IO_old_file_init_internal instead of _IO_old_file_init.
214         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
215         * libio/oldiopopen.c (_IO_old_popen): Likewise.
216         (_IO_old_proc_jumps): Define as vtable.
217         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
218         Define as vtables.
219         * libio/vtables.c: New file.
220         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
221         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
222         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
223         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
224         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
225         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
226         instead of _IO_init.
228 2016-06-23  Florian Weimer  <fweimer@redhat.com>
230         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
232 2016-06-23  Florian Weimer  <fweimer@redhat.com>
234         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
235         potentially unused.
237 2016-06-22  Florian Weimer  <fweimer@redhat.com>
239         * test-skeleton.c (write_message): New function.
240         * malloc/tst-mallocfork2.c (write_message): Remove.
241         * debug/tst-longjmp_chk2.c (write_indented): New function.
242         (write_message): Remove.
243         (stackoverflow_handler): Call write_indented.
245 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
247         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
248         "inexact" exceptions after fnstenv.
249         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
250         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
251         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
253 2015-06-22  Zack Weinberg  <zackw@panix.com>
255         * sysdeps/generic/bits/hwcap.h: Moved to ...
256         * bits/hwcap.h: Here.
258 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
260         * sysdeps/aarch64/memcpy.S (memcpy):
261         Further tuning for performance.
263 2016-06-21  Florian Weimer  <fweimer@redhat.com>
265         [BZ #20284]
266         * malloc/arena.c (reused_arena): Do not return NULL if we start
267         out with a non-corrupted arena.
269 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
271         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
272         * misc/tst-preadvwritev.c: New file.
273         * misc/tst-preadvwritev64.c: Likewise.
274         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
275         usage.
276         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
277         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
278         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
279         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
281 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
283         [BZ #19654]
284         * sysdeps/x86_64/fpu/Makefile: Added new tests.
285         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
286         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
287         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
288         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
289         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
290         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
291         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
292         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
293         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
294         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
295         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
296         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
297         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
298         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
299         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
300         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
301         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
302         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
303         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
304         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
305         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
306         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
307         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
308         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
309         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
311 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
313         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
314         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
316 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
318         * sysdeps/aarch64/memcpy.S (memcpy):
319         Rewrite of optimized memcpy and memmove.
320         * sysdeps/aarch64/memmove.S (memmove): Remove
321         memmove code (merged into memcpy.S).
323 2016-06-20  Florian Weimer  <fweimer@redhat.com>
325         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
326         * sysdeps/generic/dl-dtv.h: New file.
327         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
328         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
329         (dtv_t): Remove.
330         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
331         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
332         (dtv_t): Remove.
333         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
334         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
335         (dtv_t): Remove.
336         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
337         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
338         (dtv_t): Remove.
339         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
340         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
341         (dtv_t): Remove.
342         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
343         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
344         (dtv_t): Remove.
345         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
346         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
347         (dtv_t): Remove.
348         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
349         (dtv_t): Remove.
350         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
351         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
352         (dtv_t): Remove.
353         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
354         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
355         (dtv_t): Remove.
356         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
357         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
358         (dtv_t): Remove.
359         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
360         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
361         (dtv_t): Remove.
362         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
363         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
364         (dtv_t): Remove.
365         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
366         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
367         (dtv_t): Remove.
368         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
369         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
370         (dtv_t): Remove.
371         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
372         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
373         (dtv_t): Remove.
375 2016-06-20  Florian Weimer  <fweimer@redhat.com>
377         Revert symbol poisoning of  __malloc_initialize_hook.
378         * include/stdc-predef.h (__malloc_initialize_hook): Remove
379         poisoning.
380         * malloc/Makefile: Remove un-poisoning.
381         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
382         instead of old__malloc_initialize_hook.
383         * malloc/malloc-hooks.h: Likewise.
384         * malloc/malloc.c: Likewise.
385         * malloc/mcheck-init.c: Likewise.
387 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
389         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
391 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
393         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
394         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
395         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
396         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
398 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
400         * NEWS: Mention addition of nextup and nextdown.
401         * manual/arith.texi: Document nextup and nextdown.
402         * manual/libm-err-tab.pl: Add nextup and nextdown.
403         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
404         * math/Versions (libm): Add GLIBC_2.24.
405         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
406         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
407         Add new test.
408         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
409         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
410         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
411         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
412         (nextup_test_data): Likewise.
413         (nextdown_test_data): Likewise.
414         * math/s_nextdown.c: New file.
415         * math/s_nextdownf.c: Likewise.
416         * math/s_nextdownl.c: Likewise.
417         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
418         F(nextup): New function.
419         F(nextdown): Likewise.
420         * math/tgmath.h: Add nextup and nextdown.
421         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
422         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
423         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
425         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
426         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
427         Add nextup and nextdown.
428         (CFLAGS-nldbl-nextup.c): New variable.
429         (CFLAGS-nldbl-nextdown.c): Likewise.
430         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
431         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
432         * sysdeps/nacl/libm.abilist: Update.
433         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
434         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
436         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
437         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
438         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
447         Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
460         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
462 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
464         * manual/pattern.texi: Fix typos & grammar errors.
466 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
468         * manual/search.texi: Fix typos & grammar errors.
470 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
472         * manual/message.texi: Fix typos & grammar errors.
474 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
476         * manual/contrib.texi: Fix spelling typos.
477         * manual/crypt.texi: Likewise.
478         * manual/filesys.texi: Likewise.
479         * manual/locale.texi: Likewise.
480         * manual/message.texi: Likewise.
481         * manual/nss.texi: Likewise.
482         * manual/string.texi: Likewise.
484 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
486         * manual/locale.texi: Fix typos & grammar errors.
488 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
490         * manual/charset.texi: Fix typos & grammar errors.
492 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
494         * manual/string.texi: Fix typos.
496 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
498         * manual/ctype.texi: Fix typos.
500 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
502         * manual/memory.texi: Fix various typos & grammar errors.
504 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
506         [BZ #20255]
507         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
508         * math/libm-test.inc (fdim_test_data): Add another test.
510         [BZ #6796]
511         [BZ #20255]
512         [BZ #20256]
513         * math/s_fdim.c: Include <math_private.h>.
514         (__fdim): Use math_narrow_eval on result.
515         * math/s_fdimf.c: Include <math_private.h>.
516         (__fdimf): Use math_narrow_eval on result.
517         * sysdeps/i386/fpu/s_fdim.S: Remove file.
518         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
519         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
520         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
521         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
522         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
523         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
524         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
525         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
526         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
527         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
528         * math/libm-test.inc (fdim_test_data): Expect errno setting on
529         overflow.  Add sNaN tests.
531         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
532         fpclassify.
533         * math/s_fdimf.c (__fdimf): Likewise.
534         * math/s_fdiml.c (__fdiml): Likewise.
536 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
538         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
539         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
541         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
542         ifunc'ed strcasecmp/strncasecmp.
543         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
544         [EALIGN]: Removed.
545         [END]: Likewise.
546         [__strcasecmp]: Define instead of the above to control symbol name.
547         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
548         for __strcasecmp_power8.
549         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
550         for __strncasecmp_power8.
551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
552         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
553         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
554         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
555         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
556         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
558 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
560         [BZ #20252]
561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
562         arguments when second argument is a NaN.
563         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
564         qNaN tests.
566         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
567         (conj_test_data): Likewise.
568         (copysign_test_data): Likewise.
569         (creal_test_data): Likewise.
570         (fma_test_data): Likewise.
571         (fmod_test_data): Likewise.
573         [BZ #20250]
574         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
575         itself.
576         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
577         zero input to itself.
578         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
579         Likewise.
580         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
581         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
583         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
584         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
586 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
588         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
589         * nptl/tst-cancel4-common.c: New file.
590         * nptl/tst-cancel4-common.h: Likewise.
591         * nptl/tst-cancel4.c: Move common definitions to
592         tst-cancel4-common.{c,h} file.
593         * nptl/tst-cancel4_1.c: New test.
594         * nptl/tst-cancel4_2.c: New test.
596 2016-06-13  Florian Weimer  <fweimer@redhat.com>
598         [BZ #20248]
599         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
600         (write_message): New function.
601         (stackoverflow_handler): Call it instead of printf, to avoid
602         excessive stack usage by printf.
603         (do_test): Restore SIGSEGV, SIGBUS default handlers.
605 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
607         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
608         (prio_inherit_missing): Remove define.
609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
610         (__ASSUME_FUTEX_LOCK_PI): Likewise.
611         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
612         Likewise.
613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
614         (__ASSUME_FUTEX_LOCK_PI): Likewise.
615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
616         (__ASSUME_FUTEX_LOCK_PI): Likewise.
617         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
618         (__ASSUME_FUTEX_LOCK_PI): Likewise.
620 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
622         [BZ #19670]
623         [BZ #19672]
625         * io/test-lfs.c (do_prepare): Use xmalloc.
626         * io/tst-fcntl.c (do_prepare): Likewise.
627         * libio/tst-fopenloc.c (do_bz17916): Likewise.
628         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
629         * login/tst-utmp.c (do_prepare): Likewise.
630         * posix/tst-exec.c (do_prepare): Likewise.
631         * posix/tst-pathconf.c (prepare): Likewise.
632         * posix/tst-spawn.c (do_prepare): Likewise.
633         * posix/tst-truncate.c (do_prepare): Likewise.
634         * rt/tst-aio.c (do_prepare): Likewise.
635         * rt/tst-aio64.c (do_prepare): Likewise.
637 2016-06-11  Florian Weimer  <fweimer@redhat.com>
639         [BZ #20237]
640         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
641         (get*ent): Set entidx to NULL during initialization.  If entidx is
642         NULL, start iteration from the beginning.
644 2016-06-11  Florian Weimer  <fweimer@redhat.com>
646         * malloc/malloc.c (musable): Return correct size for dumped fake
647         mmapped chunk.
649 2016-06-11  Florian Weimer  <fweimer@redhat.com>
651         [BZ #20222]
652         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
653         (_IO_cookie_write): Likewise.
654         (_IO_cookie_seek): Likewise.
655         (_IO_cookie_close): Likewise.
656         (_IO_old_cookie_seek): Likewise.
657         (set_callbacks): New function.
658         (_IO_cookie_init): Call set_callbacks to copy callbacks.
660 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
662         * locale/programs/localedef.c (oldstyle_tables): Remove.
663         * locale/programs/localedef.h (oldstyle_tables): Likewise.
665 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
667         [BZ #20240]
668         * math/Makefile (CFLAGS-s_modf.c): New variable.
669         (CFLAGS-s_modff.c): Likewise.
670         (CFLAGS-s_modfl.c): Likewise.
671         * math/libm-test.inc (modf_test_data): Add sNaN tests.
673 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
675         [BZ #20215]
676         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
677         [!__GNUC_PREREQ (3,2)]: Likewise.
679 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
681         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
682         (msghdr.msg_controllen): Likewise.
683         (cmsghdr.cmsg_len): Likewise.
684         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
685         ptw-oldsendmsg.
686         (CFLAGS-oldrecvmsg.c): Remove rule.
687         (CFLAGS-oldsendmsg.c): Likewise.
688         (CFLAGS-recvmsg.c): Add rule.
689         (CFLAGS-sendmsg.c): Likewise.
690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
691         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
692         (CFLAGS-recvmsg.c): Remove rule.
693         (CFLAGS-sendmsg.c): Likewise.
694         (CFLAGS-oldrecvmsg.c): Likewise.
695         (CFLAGS-oldsendmsg.c): Likewise.
696         (CFLAGS-recvmmsg.c): Likewise.
697         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
698         to kernel defined interfaces.
699         (msghdr.msg_controllen): Likewise.
700         (cmsghdr.cmsg_len): Likewise.
701         (msghdr.__glibc_reserved1): Remove member.
702         (msghdr.__glibc_reserved2): Likewise.
703         (cmsghdr.__glibc_reserved1): Likewise.
704         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
705         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
706         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
707         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
708         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
709         version.
710         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
711         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
712         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
713         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
714         Remove recvmsg and sendmsg.
715         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
716         Likewise.
717         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
718         Likewise.
719         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
720         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
721         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
722         Likewise.
723         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
724         Likewise.
725         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
726         [libc] (GLIBC_2.24): Likewise.
727         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
728         Likewise.
729         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
730         Likewise.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
732         [libc] (GLIBC_2.24): Likewise.
733         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
734         Likewise.
735         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
736         Likewise.
737         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
738         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
739         Likewise.
740         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
741         Likewise.
742         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
743         Likewise.
744         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
745         Likewise.
746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
747         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
748         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
749         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
750         version for {recv,send,recm,sendm}msg.
751         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
764         Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
766         Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
781 2016-06-10  Florian Weimer  <fweimer@redhat.com>
783         [BZ #19564]
784         Remove __malloc_initialize_hook from the API.
785         * malloc/malloc.h (__malloc_initialize_hook): Remove.
786         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
787         #pragma GCC poison.
788         * malloc/malloc-hooks.h: New file.
789         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
790         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
791         (old__malloc_initialize_hook): Rename from
792         __malloc_initialize_hook to evade poisoning.  Turn into compat
793         symbol.
794         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
795         __malloc_initialize_hook.
796         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
797         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
798         * manual/memory.texi (Hooks for Malloc): Remove
799         __malloc_initialize_hook.  Adjust hook example.
801 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
803         [BZ #20235]
804         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
805         itself.
806         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
807         * math/libm-test.inc (log2_test_data): Add sNaN tests.
809         [BZ #20234]
810         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
811         infinity or NaN input to itself.
813         [BZ #20233]
814         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
815         to itself.
817         [BZ #20232]
818         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
819         itself.
821 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
823         * sysdeps/x86_64/start.S (_start): Always indirect branch to
824         __libc_start_main via GOT.
826 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
828         * sysdeps/x86_64/memcopy.h: New file.
829         * sysdeps/x86_64/wordcopy.c: Likewise.
831 2016-06-09  Florian Weimer  <fweimer@redhat.com>
833         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
834         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
835         <cstdlib>.
836         (optimization_barrier): New.
837         (do_test): Use it.  Call quick_exit in the global namespace.
838         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
839         instead of <cstdlib>, <thread>.
840         (optimization_barrier): New.
841         (non_main_thread): Adjust declaration.  Call optimization_barrier.
842         Call quick_exit in the global namespace.
843         (do_test): Call optimization_barrier.  Use pthread_create,
844         pthread_join instead of std::thread.
846 2016-06-09  Andreas Schwab  <schwab@suse.de>
848         [BZ #19755]
849         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
850         new entries in auto-propagate mode.
851         * nscd/grpcache.c (cache_addgr): Likewise.
853 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
855         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
856         New functions.
857         (add_temp_file): Use them.
859 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
861         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
863 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
865         [BZ #20229]
866         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
867         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
868         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
870         [BZ #20228]
871         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
872         itself.
873         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
874         * math/libm-test.inc (log10_test_data): Add sNaN tests.
876         [BZ #20227]
877         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
878         itself.
879         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
880         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
881         * math/libm-test.inc (log_test_data): Add sNaN tests.
883         [BZ #20226]
884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
885         itself.
886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
887         * math/libm-test.inc (exp_test_data): Add sNaN tests.
888         (exp10_test_data): Likewise.
889         (expm1_test_data): Likewise.
891         [BZ #20225]
892         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
893         itself.
894         * math/s_ldexpf.c (__ldexpf): Likewise.
895         * math/s_ldexpl.c (__ldexpl): Likewise.
896         * math/w_scalbln.c (__w_scalbln): Likewise.
897         * math/w_scalblnf.c (__w_scalblnf): Likewise.
898         * math/w_scalblnl.c (__w_scalblnl): Likewise.
899         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
900         (scalbln_test_data): Likewise.
902         [BZ #20224]
903         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
904         argument to itself.
905         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
907 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
909         [BZ #19776]
910         * sysdeps/x86_64/memcpy.S: Make it dummy.
911         * sysdeps/x86_64/mempcpy.S: Likewise.
912         * sysdeps/x86_64/memmove.S: New file.
913         * sysdeps/x86_64/memmove_chk.S: Likewise.
914         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
915         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
916         * sysdeps/x86_64/memmove.c: Removed.
917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
918         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
920         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
921         Likewise.
922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
925         memcpy-sse2-unaligned, memmove-avx-unaligned,
926         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
928         (__libc_ifunc_impl_list): Replace
929         __memmove_chk_avx512_unaligned_2 with
930         __memmove_chk_avx512_unaligned.  Remove
931         __memmove_chk_avx_unaligned_2.  Replace
932         __memmove_chk_sse2_unaligned_2 with
933         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
934         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
935         with __memmove_avx512_unaligned.  Replace
936         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
937         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
938         with __memcpy_chk_avx512_unaligned.  Remove
939         __memcpy_chk_avx_unaligned_2.  Replace
940         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
941         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
942         Replace __memcpy_avx512_unaligned_2 with
943         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
944         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
945         with __mempcpy_chk_avx512_unaligned.  Remove
946         __mempcpy_chk_avx_unaligned_2.  Replace
947         __mempcpy_chk_sse2_unaligned_2 with
948         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
949         Replace __mempcpy_avx512_unaligned_2 with
950         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
951         Replace __mempcpy_sse2_unaligned_2 with
952         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
953         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
954         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
955         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
956         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
957         (ENTRY): Removed.
958         (END): Likewise.
959         (ENTRY_CHK): Likewise.
960         (libc_hidden_builtin_def): Likewise.
961         Don't include ../memcpy.S.
962         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
963         __memcpy_chk_avx512_unaligned_erms and
964         __memcpy_chk_avx512_unaligned.  Use
965         __memcpy_chk_avx_unaligned_erms and
966         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
967         Default to __memcpy_chk_sse2_unaligned.
968         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
969         Change function suffix from unaligned_2 to unaligned.
970         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
971         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
972         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
973         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
974         (ENTRY): Removed.
975         (END): Likewise.
976         (ENTRY_CHK): Likewise.
977         (libc_hidden_builtin_def): Likewise.
978         Don't include ../mempcpy.S.
979         (mempcpy): New.  Add a weak alias.
980         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
981         __mempcpy_chk_avx512_unaligned_erms and
982         __mempcpy_chk_avx512_unaligned.  Use
983         __mempcpy_chk_avx_unaligned_erms and
984         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
985         Default to __mempcpy_chk_sse2_unaligned.
987 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
989         [BZ #19881]
990         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
991         into ...
992         * sysdeps/x86_64/memset.S: This.
993         (__bzero): Removed.
994         (__memset_tail): Likewise.
995         (__memset_chk): Likewise.
996         (memset): Likewise.
997         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
998         defined.
999         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1000         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1001         (__memset_zero_constant_len_parameter): Check SHARED instead of
1002         PIC.
1003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1004         memset-avx2 and memset-sse2-unaligned-erms.
1005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1006         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1007         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1008         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1009         (__bzero): Enabled.
1010         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1011         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1012         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1013         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1014         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1015         (memset): Removed.
1016         (__memset_chk): Likewise.
1017         (MEMSET_SYMBOL): New.
1018         (libc_hidden_builtin_def): Replace __memset_sse2 with
1019         __memset_sse2_unaligned.
1020         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1021         __memset_chk_sse2 and __memset_chk_avx2 with
1022         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1023         Use __memset_chk_sse2_unaligned_erms or
1024         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1025         __memset_chk_avx512_unaligned_erms and
1026         __memset_chk_avx512_unaligned.
1028 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1030         * math/gen-auto-libm-test.c (fp_format_desc): remove
1031         suffix member.
1032         (output_generic_value): Remove usage of suffix member,
1033         and the resulting unuse of the fp_format argument.
1034         (output_for_one_input_case): Remove unused fp_format
1035         parameter.
1037         * math/auto-libm-test-out: Regenerate.
1039         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1040         usage with TEST_COND_ibm128.
1041         (TEST_COND_flt_32): Remove.
1042         (TEST_COND_dbl_64): Remove.
1043         (TEST_COND_ldbl_96_intel): Remove.
1044         (TEST_COND_ldbl_96_m68k): Remove.
1045         (TEST_COND_ldbl_128): Remove.
1047 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1049         * auto-libm-test-in:
1050         Replace flt-32 usage with binary32.
1051         Replace dbl-64 usage with binary64.
1052         Replace ldbl-intel-96 usage with intel96.
1053         Replace ldbl-m68k-96 usage with m68k96.
1054         Replace ldbl-128ibm usage with ibm128.
1055         Replace ldbl-128 usage with binary128.
1057         * auto-libm-test-out: Regenerate.
1059 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1061         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1062         (parse_ulps): Dynamically generate type name matching
1063         string from all_floats.
1064         (get_ulps): Generate the ulps as an array instead.
1065         (output_ulps): Dynamically compose the type based
1066         on the number of supported formats, and print
1067         the indices as type specific helper macros.
1069         * math/libm-test.inc: Remove comment about CHOOSE.
1070         (ulp_data): Generate the type in libm-test-ulps.h.
1071         (ULP_IDX): New macro.
1072         (find_ulps): Update usage of max_ulp.
1074         * math/test-double-vlen2.h (CHOOSE): Remove.
1075         * math/test-double-vlen4.h (CHOOSE): Likewise.
1076         * math/test-double-vlen8.h (CHOOSE): Likewise.
1077         * math/test-float.c (CHOOSE): Likewise.
1078         * math/test-float-finite.c (CHOOSE): Likewise.
1079         * math/test-double.c (CHOOSE): Likewise.
1080         * math/test-double-finite.c (CHOOSE): Likewise.
1081         * math/test-idouble.c (CHOOSE): Likewise.
1082         * math/test-ifloat.c (CHOOSE): Likewise.
1083         * math/test-ildoubl.c (CHOOSE): Likewise.
1084         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1085         * math/test-ldouble.c (CHOOSE): Likewise.
1087         * math/test-float.h (TEST_FLOAT): Remove.
1088         * math/test-double.h (TEST_DOUBLE): Likewise.
1089         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1091 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1093         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1094         (parse_args): Strip C suffix from floating point literals
1095         typed with 'f' and wrap them with LIT().
1097         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1098         (test_ff_f_data_nexttoward): Rename to
1099         (test_fj_f_data): New struct.
1100         (nexttoward_test_data): Relabel tests as
1101         TEST_fj_f instead of TEST_ff_f.
1103 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1105         Emacs bug 23726.
1106         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1107         (__libc_realloc): Correct size computation for dumped fake mmapped
1108         chunks.
1110 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1112         [BZ #20219]
1113         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1114         to itself.
1115         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1117         [BZ #20218]
1118         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1119         to itself.
1120         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1122 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1124         [BZ #20195]
1125         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1126         check to ...
1127         (init_cpu_features): Here.
1129 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1131         [BZ #20214]
1132         * sysdeps/unix/sysv/linux/bits/in.h
1133         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1134          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1135         Define to 1.
1136         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1137          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1138         Define to 0.
1139         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1140         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1142 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1144         [BZ #20198]
1145         * stdlib/Makefile (tests): Add tst-quick_exit, and
1146         tst-thread-quick_exit.
1147         [ifeq ($(have-cxx-thread_local),yes)]
1148         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1149         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1150         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1151         (LDLIBS-tst-thread-quick_exit): Likewise.
1152         [ifneq ($(have-cxx-thread_local),yes)]
1153         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1154         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1155         If run_dtors is true call __call_tls_dtors.
1156         (exit): Call __run_exit_handlers with run_dtors set to true.
1157         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1158         definition.
1159         * stdlib/quick_exit.c (quick_exit): Remove function.
1160         (__new_quick_exit): New function.
1161         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1162         function.
1163         * stdlib/tst-quick_exit.cc: New file.
1164         * stdlib/tst-thread-quick_exit.cc: New file.
1165         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1166         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1167         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1168         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1169         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1170         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1171         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1172         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1173         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1174         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1175         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1176         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1177         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1178         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1179         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1180         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1185         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1186         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1187         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1188         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1189         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1192         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1193         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1194         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1196 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1198         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1199         a typo in comments.
1201 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1203         [BZ #20213]
1204         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1205         argument to itself.
1206         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1208 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1210         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1211         required flags.
1212         (CFLAGS-pwritev64.c): Likewise.
1213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1216         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1217         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1218         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1219         syscall from auto-generation.
1220         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1221         [WORDSIZE == 64] (pwritev64): Remove macro.
1222         [!PWRITEV] (PWRITEV): Likewise.
1223         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1224         [!PWRITEV] (PWRITE): Likewise.
1225         [!PWRITEV] (OFF_T): Likewise.
1226         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1227         (LO_HI_LONG): Remove macro.
1228         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1229         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1230         (PWRITEV): Remove macro.
1231         (PWRITEV_REPLACEMENTE): Likewise.
1232         (PWRITE): Likewise.
1233         (OFF_T): Likewise.
1234         (pwritev64): New function.
1235         * nptl/tst-cancel4.c (tf_writev): Add test.
1237         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1238         required flags.
1239         (CFLAGS-preadv64.c): Likewise.
1240         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1241         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1242         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1243         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1244         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1245         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1246         syscall from auto-generation.
1247         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1248         [WORDSIZE == 64] (preadv64): Remove macro.
1249         [!PREADV] (PREADV): Likewise.
1250         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1251         [!PREADV] (PREAD): Likewise.
1252         [!PREADV] (OFF_T): Likewise.
1253         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1254         (LO_HI_LONG): Remove macro.
1255         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1256         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1257         (PREADV): Remove macro.
1258         (PREADV_REPLACEMENTE): Likewise.
1259         (PREAD): Likewise.
1260         (OFF_T): Likewise.
1261         (preadv64): New function.
1262         * nptl/tst-cancel4.c (tf_preadv): Add test.
1264 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1266         [BZ #20212]
1267         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1268         argument to itself.
1269         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1271 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1273         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1274         New symbol defined as libc_hidden_def.
1275         (strcasestr): Became a weak alias to __strcasestr.
1276         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1277         according to multi-arch support.  Move __stpncpy hidden
1278         definition from here to...
1279         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1280         symbol stpncpy.
1281         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1282         libc_hidden_builtin_def.
1283         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1284         memset symbol to use when multi-arch support is available.
1286 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1288         * dlfcn/tst-rec-dlopen.c: Include string.h.
1290 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1292         * manual/install.texi: Remove mention of --without-tls
1293         * INSTALL: Regenerate.
1295 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1297         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1298         Remove.
1299         (call_function, interposed_malloc_called): New variables.
1300         (malloc): New function.
1301         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1302         and clear call_function as needed.
1304 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1306         * include/wchar.h (__wmemset): Use __typeof.
1308 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1310         * include/wchar.h (__wmemset): Declare function without typeof.
1312 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1314         [BZ #20205]
1315         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1316         exponent when incrementing negative subnormal with low mantissa
1317         word zero.
1318         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1319         Add another test.
1321 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1323         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1324         __wmemset instead of wmemset.
1326 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1328         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1329         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1330         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1331         __USE_KERNEL_IPV6_DEFS to 0.
1332         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1333         Update comment.
1335 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1337         [BZ #19861]
1338         Do not use IFUNC resolver with potentially unrelocated symbol.
1339         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1340         (DEFINE_FORK): Remove macro and inline definition.
1341         (fork_alias): Renamed from fork_ifunc.
1342         (__fork_alias): Renamed from __fork_ifunc.
1344 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1346         [BZ 19653]
1347         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1348         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1350 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1352         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1353         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1354         i386-linux-gnu).
1355         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1356         Set to no.
1357         * sysdeps/mach/hurd/configure: Refresh.
1359 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1361         [BZ #20178]
1362         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1363         on failure instead of exit.
1365 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1367         [BZ #3629]
1368         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1369         of POSIX.1-2008.
1371 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1373         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1374           Use PLT entry for calling _hurd_self_sigstate.
1376 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1378         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1379         available logical processors with SMT level type sharing L2
1380         cache for Intel processors.
1382 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1384         [BZ #20160]
1385         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1386         argument to itself before returning the result.
1387         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1388         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1389         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1391         Likewise.
1392         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1393         Likewise.
1394         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1395         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1396         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1397         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1398         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1399         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1401         [BZ #20160]
1402         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1403         argument to itself before returning the result.
1404         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1405         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1406         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1408         Likewise.
1409         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1410         Likewise.
1411         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1412         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1413         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1414         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1415         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1416         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1418 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1420         * libm-test.inc: Replace usage of M_El with
1421         (lit_e): New macro.
1423 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1425         * libm-test.inc: Replace usage of M_PI_4l with
1426         (lit_pi_4_d): New macro.
1428 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1430         * libm-test.inc: Replace usage of M_PIl with
1431         (lit_pi): New macro.
1433 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1435         * libm-test.inc: Replace usage of M_PI2l with
1436         (lit_pi_2_d): New macro.
1438         * math/test-double.h (LITM): New macro.
1439         * math/test-float.h (LITM): Likewise.
1440         * math/test-ldouble.h (LITM): Likewise.
1442 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1444         * libm-test.inc (M_PI_34l): Rename to
1445         (lit_pi_3_m_4_d): New Macro.
1446         (M_PI_34_LOG10El): Rename to
1447         (lit_pi_3_m_4_ln10_m_d): New Macro.
1448         (M_PI2_LOG10El): Rename to
1449         (lit_pi_2_ln10_m_d):  New Macro.
1450         (M_PI4_LOG10El): Rename to
1451         (lit_pi_4_ln10_m_d):  New Macro.
1452         (M_PI_LOG10El): Rename to
1453         (lit_pi_ln10_d):  New Macro.
1455 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #20157]
1458         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1459         determine whether to negate low half if [_ARCH_PPCGR], and integer
1460         comparison otherwise.
1461         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1462         determine whether to negate low half.
1464         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1465         (NO_TEST_INLINE_DOUBLE): Likewise.
1466         (TEST_COND_x86_64): Likewise.
1467         (TEST_COND_x86): Likewise.
1468         (M_PI_6l): Likewise.
1470 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1472         * math/libm-test.inc:
1473         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1474         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1475         (TEST_LDOUBLE): Update usage to evaluate as true if
1476         the guarded tests match the property being tested.
1477         (LDBL_MAX_EXP): Change to MAX_EXP.
1478         (LDBL_MIN_EXP): Change to MIN_EXP.
1479         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1480         nexttoward tests.
1482 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1484         * math/libm-test.inc:
1485         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1486         (TYPE_MIN): Likewise.
1487         (TYPE_TRUE_MIN): Likewise.
1488         (TYPE_MAX): Likewise.
1489         (MIN_EXP): Likewise.
1490         (MAX_EXP): Likewise.
1491         (MANT_DIG): Likewise.
1493         (FSTR_MAX): New macro.
1494         (__CONCATX): Likewise.
1495         (QTYPE_STR): Likewise.
1496         (TEST_COND_binary32): Likewise.
1497         (TEST_COND_binary64): Likewise.
1498         (TEST_COND_binary128): Likewise.
1499         (TEST_COND_ibm128): Likewise.
1500         (TEST_COND_intel96): Likewise.
1501         (TEST_COND_m68k96): Likewise.
1503         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1504         (TEST_COND_dbl_64): Likewise.
1505         (TEST_COND_ldbl_96_intel): Likewise.
1506         (TEST_COND_ldbl_96_m68k): Likewise.
1507         (TEST_COND_ldbl_128): Likewise.
1508         (TEST_COND_ldbl_128ibm): Likewise.
1510         (plus_zero): Redefine using LIT macro.
1511         (minus_zero): Likewise.
1512         (plus_infty): Redefine as (INF).
1513         (minux_infty): Redefine as (-INF).
1514         (max_value): Redefine as TYPE_MAX.
1515         (min_value): Redefine as TYPE_MIN.
1516         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1518         (print_float): Refactor to use snprintf to convert FLOAT values
1519         to string. This brings it closer to dropin replacement of strtof
1520         for the TS 18661 defined types.
1521         (update_stats): Likewise.
1522         (print_complex_function_ulps): Likewise.
1523         (print_max_error): Likewise.
1524         (print_complex_max_error): Likewise.
1525         (check_float_internal): Likewise.
1527         * math/test-float.h (PREFIX): New macro.
1528         (LIT): Likewise.
1529         (TYPE_STR): Likewise.
1530         (FTOSTR): Likewise.
1532         * math/test-double.h (PREFIX): New macro.
1533         (LIT): Likewise.
1534         (TYPE_STR): Likewise.
1535         (FTOSTR): Likewise.
1537         * math/test-ldouble.h (PREFIX): New macro.
1538         (LIT): Likewise.
1539         (TYPE_STR): Likewise.
1540         (FTOSTR): Likewise.
1542 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1544         [BZ #20156]
1545         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1546         to itself when zero or not finite.
1547         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1548         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1549         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1550         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1552 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1554         [BZ #20153]
1555         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1556         x * x + x for infinities and NaNs.
1558         [BZ #20151]
1559         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1560         argument to itself before returning result.
1561         (__ieee754_y0l): Likewise.
1562         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1563         (__ieee754_y1l).
1565         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1566         (atan_test_data): Likewise.
1567         (ceil_test_data): Likewise.
1568         (cos_test_data): Likewise.
1569         (cosh_test_data): Likewise.
1570         (erf_test_data): Likewise.
1571         (exp2_test_data): Likewise.
1572         (fabs_test_data): Likewise.
1573         (floor_test_data): Likewise.
1574         (ilogb_test_data): Likewise.
1575         (j0_test_data): Likewise.
1576         (j1_test_data): Likewise.
1577         (jn_test_data): Likewise.
1578         (lgamma_test_data): Likewise.
1579         (lrint_test_data): Likewise.
1580         (llrint_test_data): Likewise.
1581         (logb_test_data): Likewise.
1582         (lround_test_data): Likewise.
1583         (llround_test_data): Likewise.
1584         (nearbyint_test_data): Likewise.
1585         (rint_test_data): Likewise.
1586         (round_test_data): Likewise.
1587         (sin_test_data): Likewise.
1588         (sincos_test_data): Likewise.
1589         (sinh_test_data): Likewise.
1590         (sqrt_test_data): Likewise.
1591         (tan_test_data): Likewise.
1592         (tanh_test_data): Likewise.
1593         (tgamma_test_data): Likewise.
1594         (trunc_test_data): Likewise.
1595         (y0_test_data): Likewise.
1596         (y1_test_data): Likewise.
1597         (yn_test_data): Likewise.
1599         * math/libm-test.inc: Update comment about NaN testing.
1600         (TEST_SNAN): New macro.
1601         (snan_value): Likewise.
1602         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1603         (fpclassify_test_data): Add sNaN tests.
1604         (isfinite_test_data): Likewise.
1605         (isinf_test_data): Likewise.
1606         (isnan_test_data): Likewise.
1607         (isnormal_test_data): Likewise.
1608         (issignaling_test_data): Likewise.
1609         (signbit_test_data): Likewise.
1610         * math/gen-libm-test.pl (%beautify): Add snan_value.
1611         (show_exceptions): Add argument $test_snan.
1612         (parse_args): Handle snan_value as non-finite.  Update call to
1613         show_exceptions.
1614         * math/Makefile (libm-test-no-inline-cflags): Add
1615         -fsignaling-nans.
1617 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1619         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1620         (CFLAGS-oldsendmsg.c): Add rule.
1621         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1622         Correct recvmsg symbol name.
1623         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1624         Likewise.
1626 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1628         * sysdeps/unix/sysv/linux/Makefile
1629         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1630         oldsendmmsg.
1631         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1632         sendmmsg.
1633         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1636         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1638         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1639         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1641         Likewise.
1642         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1643         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1644         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1645         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1646         iovlen and controllen fields to adjust to POSIX specification.
1647         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1649         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1650         and change to correct expected type.
1651         (msghdr.msg_controllen): Likewise.
1652         (cmsghdr.cmsg_len): Likewise.
1653         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1654         expected POSIX assumption about the size.
1655         (msghdr.msg_controllen): Likewise.
1656         (msghdr.__glibc_reserved1): Likewise.
1657         (msghdr.__glibc_reserved2): Likewise.
1658         (cmsghdr.cmsg_len): Likewise.
1659         (cmsghdr.__glibc_reserved1): Likewise.
1660         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1661         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1662         (CFLAGS-sendmsg.c): Remove rule.
1663         (CFLAGS-recvmsg.c): Likewise.
1664         (CFLAGS-oldsendmsg.c): Add rule.
1665         (CFLAGS-oldrecvmsg.c): Likewise.
1666         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1667         recvmsg and sendmsg.
1668         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1669         Likewise.
1670         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1671         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1672         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1673         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1674         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1675         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1676         Likewise.
1677         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1678         Likewise.
1679         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1680         Likewise.
1681         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1682         Likewise.
1683         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1684         Likewise.
1685         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1686         Likewise.
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1688         (GLIBC_2.24): Likewise.
1689         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1690         Likewise.
1691         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1692         Likewise.
1693         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1694         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1695         Likewise.
1696         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1697         Likewise.
1698         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1699         Likewise.
1700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1701         (GLIBC_2.24): Likewise.
1702         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1703         Likewise.
1704         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1705         Likewise.
1706         * sysdeps/unix/sysv/linux/Makefile
1707         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1708         (CFLAGS-sendmsg.c): Add rule.
1709         (CFLAGS-recvmsg.c): Likewise.
1710         (CFLAGS-oldsendmsg.c): Likewise.
1711         (CFLAGS-oldrecvmsg.c): Likewise.
1712         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1713         initialization.
1714         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1715         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1716         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1717         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1718         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1719         iovlen and controllen fields to adjust to POSIX specification.
1720         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1721         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1722         added recvmsg and sendmsg.
1723         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1724         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1725         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1726         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1727         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1728         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1729         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1730         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1731         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1732         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1733         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1734         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1736         Likewise.
1737         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1739         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1740         Likewise.
1741         Likewise.
1742         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1743         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1744         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1746         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1747         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1749         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1751         Likewise.
1752         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1756         from auto-generation.
1757         (sendmsg): Likewise.
1758         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1759         (sendmsg): Likewise.
1760         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1761         (sendmsg): Likewise.
1762         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1763         (sendmsg): Likewise.
1764         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1765         (sendmsg): Likewise.
1766         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1767         (sendmsg): Likewise.
1768         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1769         Likewise.
1770         (sendmsg): Likewise.
1771         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1772         (sendmsg): Likewise.
1773         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1774         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1775         Remove.
1776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1777         Likewise.
1778         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1779         Undefine.
1780         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/kernel-features.h
1783         (__ASSUME_SENDMSG_SYSCALL): Define.
1784         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1787         Remove.
1788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1789         Likewise.
1790         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1791         Undefine.
1792         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1793         Likewise.
1794         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1796         Remove.
1797         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1798         Likewise.
1799         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1800         Undefine.
1801         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1802         Likewise.
1803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1804         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1805         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1806         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1807         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1808         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1809         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1810         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1811         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1813 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1815         * stdlib/gen-tst-strtod-round.c: Add backslash to
1816         compile command in comment.
1817         (printfp): Remove the literal suffix, and define an infinite
1818         value as INF to avoid expansion clash with INFINITY.
1819         (round_str): Remove the literal suffix.
1820         (round_for_all): Likewise, remove the now duplicate ldbl-64
1821         entry, and remove some magic constants.
1823         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1824         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1825         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1826         (_CONCAT): New macro.
1827         (CONCAT): Likewise.
1828         (CHOOSE_ld): Likewise.
1829         (CHOOSE_f): Likewise.
1830         (CHOOSE_d): Likewise.
1831         (FTYPE_MEMBER): Likewise.
1832         (BOOL_MEMBER): Likewise.
1833         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1834         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1835         (_XNTRY): Likewise.
1836         (XNTRY): Likewise.
1837         (_ENTRY): Likewise.
1838         (ENTRY): Likewise.
1839         (test_exactness): Generate members via macro.
1840         (test_results): Likewise.
1841         (test): Update members.
1842         (TEST): Redefine using new macros.
1843         (INF): New macro.
1844         (fetestmodes): New structure.
1845         (do_test): Refactor to be type generic.
1846         (test_in_one_mode): Refactor duplicate code into
1847         (GEN_ONE_TEST): New macro.
1849         * stdlib/tst-strtod-round-data.h: Regenerate.
1851         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1852         Extend to pass additional arbitrary parameters to
1853         generators.
1855 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1857         [BZ #15479]
1858         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1859         floating-point state after first floating-point operation on
1860         input.  Restore full floating-point state instead of just rounding
1861         mode.
1862         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1863         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1864         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1865         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1866         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1868         [BZ #15479]
1869         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1870         floating-point state after first floating-point operation on
1871         input.  Restore full floating-point state instead of just rounding
1872         mode.
1873         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1874         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1875         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1876         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1877         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1879 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1881         [BZ #19727]
1882         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1883         valid high surrogate.
1884         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1885         of an utf16 surrogate.
1886         * iconv/gconv_simple.c (BODY): Likewise.
1887         * iconvdata/bug-iconv12.c: New file.
1888         * iconvdata/Makefile (tests): Add bug-iconv12.
1890 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1892         [BZ #19726]
1893         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1894         outptrp in case of an illegal input.
1895         * iconv/tst-iconv6.c: New file.
1896         * iconv/Makefile (tests): Add tst-iconv6.
1898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1900         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1901         an error in case of a value in range of an utf16 low surrogate.
1903 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1905         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1906         an error in case of a value in range of an utf16 low surrogate.
1908 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1910         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1911         Move to ...
1912         * sysdeps/s390/Makefile: ... here.
1913         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1914         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1915         (BRANCH_ON_COUNT): New define.
1916         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1917         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1918         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1919         run on s390-32, too.
1920         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1921         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1922         run on s390-32, too.
1923         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1924         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1925         run on s390-32, too.
1927 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1929         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1930         etf3eh or new vector loop-variant.
1932 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1934         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1935         etf3eh or new vector loop-variant.
1937 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1939         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1940         or new vector loop-variant.
1942 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1944         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1945         Rename to TR_LOOP and usage of tr instead of troo instruction.
1947 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1949         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1952 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1954         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1955         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1956         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1957         New override define.
1958         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1960 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1962         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1963         * sysdeps/s390/configure.ac: Add test for S390 vector register
1964         support in gcc.
1965         * sysdeps/s390/configure: Regenerated.
1967 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1969         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1970         Install file from $(objpfx)gconv-modules.
1971         ($(objpfx)gconv-modules): Concatenate architecture specific file
1972         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1973         * sysdeps/s390/gconv-modules: New file.
1974         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1975         Deleted.
1976         ($(objpfx)gconv-modules-s390): Deleted.
1977         (sysdeps-gconv-modules): New variable.
1979 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1981         [BZ #15479]
1982         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1983         of immediate operand to rounding instruction.
1984         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1985         Likewise.
1986         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1987         Likewise.
1988         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1989         Likewise.
1991 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1993         * math/libm-test.inc (MIN_EXP): Directly define as
1994         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1996 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1998         * math/libm-test.inc (MANT_DIG): Directly define as
1999         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2001 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2003         * stdlib/gen-tst-strtod-round.c (main):
2004           Change usage to more closely match the generated
2005           output.  Add usage and compilation instructions.
2006           (string_to_fp): Add and use FILE* parameter as
2007           output target.
2008           (print_fp): Likewise.
2009           (round_str): Likewise.
2010           (round_for_all): Likewise.
2011         * stdlib/tst-strtod-round.c (tests): Move into
2012         * stdlib/tst-strtod-round-data.h: New file.
2014 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2016         [BZ #15479]
2017         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2018         (__round): Do not force "inexact" exception.
2019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2020         variable.
2021         (__round): Do not force "inexact" exception.
2022         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2023         (__roundf): Do not force "inexact" exception.
2024         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2025         (__roundl): Do not force "inexact" exception.
2026         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2027         (__roundl): Do not force "inexact" exception.
2028         * math/libm-test.inc (round_test_data): Do not allow spurious
2029         "inexact" exceptions.
2031         [BZ #15479]
2032         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2033         exception in comment.
2034         (huge): Remove variable.
2035         (__floor): Do not force "inexact" exception.
2036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2037         "inexact" exception in comment.
2038         (huge): Remove variable.
2039         (__floor): Do not force "inexact" exception.
2040         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2041         exception in comment.
2042         (huge): Remove variable.
2043         (__floorf): Do not force "inexact" exception.
2044         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2045         exception in comment.
2046         (huge): Remove variable.
2047         (__floorl): Do not force "inexact" exception.
2049         [BZ #15479]
2050         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2051         exception in comment.
2052         (huge): Remove variable.
2053         (__ceil): Do not force "inexact" exception.
2054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2055         "inexact" exception in comment.
2056         (huge): Remove variable.
2057         (__ceil): Do not force "inexact" exception.
2058         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2059         (__ceilf): Do not force "inexact" exception.
2060         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2061         exception in comment.
2062         (huge): Remove variable.
2063         (__ceill): Do not force "inexact" exception.
2065 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2067         * config.h.in (BIND_NOW): New.
2068         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2069         * configure: Regenerated.
2070         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2071         indirect branch via the GOT slot.
2073 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2075         [BZ #19765]
2076         * sysdeps/s390/mempcpy.S: New File.
2077         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2078         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2079         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2080         Add mempcpy variants.
2081         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2082         (memcpy): Adjust to be usable from mempcpy entry point.
2083         (__memcpy_mvcle): Likewise.
2084         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2085         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2086         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2087         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2088         (__memcpy_z10): Likewise.
2089         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2091 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2093         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2094         Remove __GI_ symbol.
2095         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2096         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2097         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2098         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2099         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2100         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2102 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2104         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2105         Use cghi instead of chi to compare 64bit value.
2107 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2109         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2110         Jump to 1MB check before executing mvc-loop.
2112 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2114         [BZ #6527]
2115         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2116         unconditionally.
2117         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2119 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2121         * stdlib/tst-strtod6.c (do_test): Use new type generic
2122         invocation of the test function.
2123         (test): Refactor into ...
2124         (TEST_STRTOD): New macro base function.
2126 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2128         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2129         (TEST_STRTOD): New macro.
2130         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2132 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2134         * stdlib/tst-strtod6.c (do_test): Use new type generic
2135         invocation of the test function.
2136         (test): Refactor into ...
2137         (TEST_STRTOD): New macro base function.
2139 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2141         CVE-2016-4429
2142         [BZ #20112]
2143         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2144         payload.
2146 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #20111]
2149         * bits/sockaddr.h (_SS_SIZE): Define.
2150         * bits/socket.h (_SS_SIZE): Remove.
2151         (_SS_PADSIZE): Adjust to account for all padding.
2152         (struct sockaddr_storage): Update comment.  Avoid implicit
2153         padding.
2154         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2155         (_SS_PADSIZE): Adjust to account for all padding.
2156         (struct sockaddr_storage): Update comment.  Avoid implicit
2157         padding.
2158         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2159         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2160         (_SS_PADSIZE): Adjust to account for all padding.
2161         (struct sockaddr_storage): Update comment.  Avoid implicit
2162         padding.
2163         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2164         __SS_SIZE is 126 in this version.
2165         * inet/tst-sockaddr.c: New file.
2166         * inet/Makefile (tests): Add tst-sockaddr.c
2167         (tst-sockaddr.c): Compile with non-strict aliasing.
2169 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2171         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2172         [XPG3 || XPG4].
2173         (NL_ARGMAX): Also expect for [XPG3].
2174         (NL_LANGMAX): Likewise.
2175         (NL_MSGMAX): Likewise.
2176         (NL_NMAX): Likewise.
2177         (NL_SETMAX): Likewise.
2178         (NL_TEXTMAX): Likewise.
2179         (NZERO): Likewise.
2180         (TMP_MAX): Likewise.
2181         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2182         variable.
2184         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2185         (PF_MAX): Update value.
2186         (AF_KCM): New macro.
2187         (SOL_NETBEUI): Likewise.
2188         (SOL_LLC): Likewise.
2189         (SOL_DCCP): Likewise.
2190         (SOL_NETLINK): Likewise.
2191         (SOL_TIPC): Likewise.
2192         (SOL_RXRPC): Likewise.
2193         (SOL_PPPOL2TP): Likewise.
2194         (SOL_BLUETOOTH): Likewise.
2195         (SOL_PNPIPE): Likewise.
2196         (SOL_RDS): Likewise.
2197         (SOL_IUCV): Likewise.
2198         (SOL_CAIF): Likewise.
2199         (SOL_ALG): Likewise.
2200         (SOL_NFC): Likewise.
2201         (SOL_KCM): Likewise.
2202         (MSG_BATCH): New enum value and macro.
2204 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2206         [BZ #18185]
2207         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2208         sharing L2 cache to 2 for Knights Landing.
2210 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2212         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2213         (FTW_DP): Do not expect for [XPG3 || XPG4].
2214         (FTW_SL): Do not expect for [XPG3].
2215         (FTW_SLN): Likewise.
2216         (FTW_PHYS): Likewise.
2217         (FTW_MOUNT): Likewise.
2218         (FTW_DEPTH): Likewise.
2219         (FTW_CHDIR): Likewise.
2220         (nftw): Likewise.
2221         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2222         variable.
2224 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2226         * manual/errno.texi: Fix various typos & grammar errors.
2228 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2230         * manual/intro.texi: Fix duplicated typo.
2232 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2234         [BZ #13304]
2235         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2236         <float.h>, <math_private.h> and <stdlib.h>.
2237         (add_split): New function.
2238         (mul_split): Likewise.
2239         (ext_val): New typedef.
2240         (store_ext_val): New function.
2241         (mul_ext_val): New function.
2242         (compare): New function.
2243         (add_split_ext): New function.
2244         (__fmal): After checking for Inf, NaN and zero, compute result as
2245         an exact sum of scaled double values in round-to-nearest before
2246         adding those up and adjusting for other rounding modes.
2247         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2248         tests of fma.
2249         * math/auto-libm-test-out: Regenerated.
2251 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2253         [BZ #20119]
2254         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2255         processor level type mask for CPUID with EAX == 11.
2257 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2259         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2260         logical threads if the HTT bit is 0.
2261         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2262         (index_cpu_HTT): Likewise.
2263         (reg_HTT): Likewise.
2265 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2267         [BZ #20115]
2268         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2269         Remove alignments on jump targets.
2271 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2273         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2274         (getpwent): Likewise.
2275         (setpwent): Likewise.
2276         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2277         variable.
2279         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2280         (remque): Likewise.
2281         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2282         variable.
2284 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2286         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2287         not being tested.
2289 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2291         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2292         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2293         call.
2294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2295         (__condvar_cleanup1): Likewise.
2297 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2299         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2300         New
2301         (__pthread_unwind): Renamed to ...
2302         (PTHREAD_UNWIND): This.
2303         (__pthread_enable_asynccancel): Replace
2304         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2306 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2308         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2309         (CLONE_NEWCGROUP): New macro.
2311         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2312         (Q_GETNEXTQUOTA): New macro.
2314 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2316         [BZ #19907]
2317         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2318         buffer updated by the previous run.
2319         * string/test-memcpy.c (do_one_test): Likewise.
2320         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2321         * string/test-memmove.c (do_one_test): Likewise.
2323 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2325         [BZ #20094]
2326         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2327         not [__USE_XOPEN].
2328         (unlockpt): Likewise.
2329         (ptsname): Likewise.
2330         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2331         variable.
2333         [BZ #20076]
2334         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2335         instead of [__USE_UNIX98].
2336         (S_ISSOCK): Likewise.
2337         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2338         variable.
2340         [BZ #20074]
2341         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2342         [__USE_POSIX].
2343         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2344         variable.
2346         [BZ #20051]
2347         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2348         (ttyslot): Do not declare.
2349         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2350         (ttyslot): New prototype.
2351         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2352         variable.
2353         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2355 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2357         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2359 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2361         Fix race condition in tst-mallocfork2, use fewer resources.
2362         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2363         to current process group.
2364         (signal_sender): Yield in the non-sleeping case.
2366 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2368         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2369         (ecvt): Likewise.
2370         (fcvt): Likewise.
2371         (gcvt): Likewise.
2372         (getsubopt): Likewise.
2373         (grantpt): Likewise.
2374         (initstate): Likewise.
2375         (l64a): Likewise.
2376         (mktemp): Likewise.
2377         (mkstemp): Likewise.
2378         (ptsname): Likewise.
2379         (random): Likewise.
2380         (realpath): Likewise.
2381         (setstate): Likewise.
2382         (srandom): Likewise.
2383         (ttyslot): Likewise.
2384         (unlockpt): Likewise.
2385         (valloc): Likewise.
2387         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2388         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2389         variable.
2391 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2393         [BZ #20072]
2394         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2395         init_cpu_features only if SHARED is defined.
2396         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2398 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2400         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2401         non-inclusive caches on Intel processors.
2403 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2405         * malloc/malloc.c (dumped_main_arena_start)
2406         (dumped_main_arena_end): New variables.
2407         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2408         (do_check_chunk): Skip dumped fake mmapped chunks.
2409         (munmap_chunk): Likewise.
2410         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2411         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2412         mmapped chunks.
2413         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2414         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2415         and dumped_main_arena_end to cover the dumped heap.
2417 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2419         * conform/data/time.h-data (getdate_err): Do not expect for
2420         [XPG3].
2421         (getdate): Likewise.
2422         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2423         variable.
2425         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2426         (F_ULOCK): Likewise.
2427         (F_TEST): Likewise.
2428         (F_TLOCK): Likewise.
2429         (useconds_t): Likewise.
2430         (intptr_t): Do not expect for [XPG3] or [XPG4].
2431         (brk): Do not expect for [XPG3]
2432         (fchown): Likewise.
2433         (fchdir): Likewise.
2434         (ftruncate): Likewise.
2435         (getdtablesize): Likewise.
2436         (gethostid): Likewise.
2437         (getpagesize): Likewise.
2438         (getpgid): Likewise.
2439         (getsid): Likewise.
2440         (getwd): Likewise.
2441         (lchown): Likewise.
2442         (lockf): Likewise.
2443         (readlink): Likewise.
2444         (sbrk): Likewise.
2445         (setpgrp): Likewise.
2446         (setregid): Likewise.
2447         (setreuid): Likewise.
2448         (symlink): Likewise.
2449         (sync): Likewise.
2450         (truncate): Likewise.
2451         (ualarm): Likewise.
2452         (usleep): Likewise.
2453         (vfork): Likewise.
2454         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2455         variable.
2457         [BZ #20054]
2458         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2459         not [__USE_UNIX98].
2460         * conform/data/unistd.h-data (gethostname): Do not expect for
2461         [XPG3].
2463         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2464         [!POSIX] (S_IFBLK): Likewise.
2465         [!POSIX] (S_IFCHR): Likewise.
2466         [!POSIX] (S_IFIFO): Likewise.
2467         [!POSIX] (S_IFREG): Likewise.
2468         [!POSIX] (S_IFDIR): Likewise.
2469         [!POSIX] (S_IFLNK): Likewise.
2470         [!POSIX] (S_IFSOCK): Likewise.
2471         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2472         variable.
2473         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2475 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2477         * sysdeps/aarch64/memset.S (__memset):
2478         Rewrite of optimized memset.
2480 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2482         [BZ #19703]
2483         Partially async-signal-safe fork for single-threaded processes.
2484         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2485         variable.  Do not acquire and reset/release malloc and libio locks
2486         in single-threaded processes.
2487         * malloc/tst-mallocfork2.c: New file.
2488         * malloc/Makefile (tests): Add it.
2490 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2492         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2493         argument.  Use scratch buffer instead of extend_alloca.
2494         (gethosts): Use scratch buffer instead of extend_alloca.
2495         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2496         extend_alloca.
2497         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2499 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2501         [BZ #20055]
2502         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2503         instead of [__USE_UNIX98].
2504         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2505         [__USE_UNIX98].
2506         * conform/data/termios.h-data (tcgetsid): Do not expect for
2507         [XPG3].
2508         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2509         variable.
2510         (test-xfail-XPG4/termios.h/conform): Likewise.
2512 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2514         Do not use mcheck in localedef.
2515         * locale/programs/localedef.c (turn_on_mcheck)
2516         (__malloc_initialize_hook): Remove.
2518 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2521         * sysdeps/s390/s390-64/Makefile: Likewise.
2523 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2525         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2526         Remove ifunc-defines.sym.
2527         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2528         Likewise.
2529         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2530         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2531         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2532         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2533         rtld-global-offsets.sym.
2534         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2535         * sysdeps/x86/cpu-features-offsets.sym: This.
2536         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2537         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2539 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2541         [BZ #20073]
2542         * io/sys/stat.h (fchmod): Declare for
2543         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2544         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2545         variable.
2547         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2548         [XPG3] (S_IFSOCK): Likewise.
2549         [XPG3] (S_ISVTX): Likewise.
2550         [XPG3] (S_ISLNK): Likewise.
2551         [XPG3] (S_ISSOCK): Likewise.
2552         [XPG3] (fchmod): Likewise.
2553         [XPG3] (lstat): Likewise.
2554         [XPG3] (mknod): Likewise.
2556         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2557         [XPG3].  Expect type long and XFAIL for [XPG4].
2558         (st_blocks): Likewise.
2560         [BZ #20044]
2561         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2562         (pthread_atfork): New prototype.
2563         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2564         variable.
2566         [BZ #20043]
2567         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2568         prototype.
2570 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2572         [BZ #20017]
2573         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2574         gmtime.
2576 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2578         [BZ #19994]
2579         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2580         flag in _res.options.
2582 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2584         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2585         [XPG3 || XPG4].
2586         (blksize_t): Likewise.
2587         (clockid_t): Likewise.
2588         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2589         variable.
2590         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2592 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2594         * sysdeps/unix/sysv/linux/s390/init-first.c:
2595         Add VDSO_SYMBOL(getcpu).
2596         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2597         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2598         Add VDSO_SYMBOL(getcpu).
2599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2600         New define HAVE_GETCPU_VSYSCALL.
2601         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2603 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2605         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2606         instead of <sysdeps/x86_64/cacheinfo.c>.
2607         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2608         * sysdeps/x86/cacheinfo.c: Here.
2610 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2612         * malloc/malloc-internal.h: Adjust header file guard.
2614 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2616         [BZ #19787]
2617         * inet/getnameinfo.c (check_sprintf_result): New function.
2618         (CHECKED_SNPRINTF): New macro.
2619         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2620         to the host buffer.
2621         (gni_host_local): Use checked_copy to copy the host name.
2622         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2623         (gni_serv_local): Use checked_copy to copy the service name.
2624         (getnameinfo): Remove unnecessary truncation of result buffers.
2626 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2628         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2629         in case of inet_ntop failure.
2631 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2633         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2634         avoid long lines.
2635         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2636         variables.
2637         (gni_host_inet, gni_host_local): Add comment.
2638         (gni_host): Add comment.  Use temporary to avoid long lines.
2640 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2642         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2643         registers specifiers where general purpose registers specifiers should
2644         have been used.
2646 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2648         [BZ #19779]
2649         CVE-2016-1234
2650         Avoid copying names of directory entries.
2651         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2652         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2653         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2654         (struct readdir_result): New type.
2655         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2656         (GL_READDIR): New macros.
2657         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2658         (convert_dirent, convert_dirent64): New functions.
2659         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2660         convert_dirent64.  Adjust references to the readdir result.
2661         * sysdeps/unix/sysv/linux/i386/glob64.c:
2662         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2663         * posix/bug-glob2.c (LONG_NAME): Define.
2664         (filesystem): Add LONG_NAME.
2665         (my_DIR): Increase the size of room_for_dirent.
2667 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2669         [BZ #20041]
2670         * misc/sys/select.h (__need_timespec): Only define if
2671         [__USE_XOPEN2K].
2672         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2673         variable.
2674         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2675         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2676         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2678 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2679             Segher Boessenkool  <segher@gcc.gnu.org>
2681         [BZ #20004]
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2683         (__novec_swapcontext): Add missing load.
2685 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2687         [BZ #20023]
2688         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2689         <time.h>.
2690         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2691         variable.
2692         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2694 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2697         flags CLONE_VM compare.
2699 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2701         [BZ #20031]
2702         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2703         completely empty.
2705 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2707         [BZ #19573]
2708         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2709         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2710         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2711         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2712         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2713         (hesiod_free_list): Mark as hidden.
2714         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2715         res_set, res_get.
2716         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2717         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2718         (hesiod_init): Remove obsolete res_ninit call.
2719         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2720         (hesiod_bind): Do not call init.
2721         (get_txt_records): Use res_mkquery, res_send instead of
2722         res_nmkquery, res_nsend.
2723         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2724         instead of _nss_hesiod_init.
2725         (_nss_hesiod_initgroups_dyn): Likewise.
2726         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2727         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2728         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2730 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2732         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2733         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2735 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2737         * hesiod/hesiod.h: Remove RCS keyword.
2738         * hesiod/hesiod_p.h: Likewise.
2740         * hesiod/hesiod.c: Likewise.
2742 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2744         [BZ #12450]
2745         * locale/iso-639.def: Add Samogitian/sgs.
2747 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2749         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2751         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2753 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2754             Carlos O'Donell  <carlos@redhat.com>
2756         [BZ #19072]
2757         * grp/Makefile (headers): Add grp-merge.h
2758         (routines): Add grp-merge.
2759         * grp/getgrgid_r.c: Include grp-merge.h.
2760         (DEEPCOPY_FN): Define.
2761         (MERGE_FN): Define.
2762         * grp/getgrname_r.c: Include grp-merge.h.
2763         (DEEPCOPY_FN): Define.
2764         (MERGE_FN): Define.
2765         * grp/grp-merge.c: New file.
2766         * grp/grp-merge.h: New file.
2767         * include/grp-merge.h: New file.
2768         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2769         __copy_grp@GLIBC_PRIVATE.
2770         * manual/nss.texi (Actions in the NSS configuration): Describe
2771         return, continue, and merge.
2772         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2773         (DEEPCOPY_FN): Define.
2774         (MERGE_FN): Define.
2775         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2776         (DEEPCOPY_FN): Define.
2777         (MERGE_FN): Define.
2778         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2779         [!MERGE_FN]: Define __merge_einval.
2780         (CHECK_MERGE): Define.
2781         (REENTRANT_NAME): Process merge if do_merge is true.
2782         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2783         (__nss_getent_r): Likewise.
2784         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2785         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2787 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2789         [BZ #20012]
2790         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2791         length to calculate the buffer to read.
2792         (fmemopen_write): Set the buffer position based on bytes written.
2793         (fmemopen_seek): Return EINVAL for invalid whence modes.
2795         [BZ #19957]
2796         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2797         tst-getpid2.
2798         (test): Add tst-clone2.
2799         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2800         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2801         pid/tid fields for CLONE_VM.
2802         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2803         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2804         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2805         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2806         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2807         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2808         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2809         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2811         Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2813         Likewise.
2814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2815         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2816         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2817         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2818         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2819         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2820         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2821         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2823 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2825         [BZ #19642]
2826         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2827         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2828         (gni_serv_local, gni_serv): New functions extracted from
2829         getnameinfo.
2830         (getnameinfo): Call gni_host and gni_serv to perform the
2831         processing.  Always free scratch buffer.
2833 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2835         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2836         remaining bytes in the dest string, with zeros.
2838 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2840         [BZ #20010]
2841         CVE-2016-3706
2842         * sysdeps/posix/getaddrinfo.c
2843         (convert_hostent_to_gaih_addrtuple): New function.
2844         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2845         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2846         AF_INET data.
2848 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2850         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2851         callback function gl_readdir.
2852         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2853         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2854         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2855         memcpy to copy the name.
2856         * manual/pattern.texi (Calling Glob): Document requirements for
2857         implementations of the gl_readdir callback function.
2858         * manual/examples/mkdirent.c: New example.
2859         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2860         per the manual guidance.
2861         * posix/tst-gnuglob.c (my_readdir): Likewise.
2863 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2865         [BZ #20014]
2866         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2867         not [__USE_POSIX].
2868         (getchar_unlocked): Likewise.
2869         (putc_unlocked): Likewise.
2870         (putchar_unlocked): Likewise.
2871         (flockfile): Likewise.
2872         (ftrylockfile): Likewise.
2873         (funlockfile): Likewise.
2874         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2875         variable.
2876         (test-xfail-XPG4/stdio.h/conform): Likewise.
2878         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2879         Expect constant.
2880         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2881         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2882         variable.
2883         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2884         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2886         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2887         [__USE_LARGEFILE64] (off64_t): Likewise.
2888         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2889         variable.
2891 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2893         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2895 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2897         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2898         * resolv/res_init.c: Likewise.
2899         * resolv/res_mkquery.c: Likewise.
2901 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2903         * resolv/res_init.c (isascii): Do not define.  Use definition in
2904         <ctype.h>.
2905         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2906         (LOG_AUTH): Remove.
2907         (SPRINTF): Remove, adjust caller.
2908         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2910 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2912         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2913         SUNSECURITY conditional.
2914         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2916 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2918         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2919         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2920         Remove BSD-related preprocessor conditionals.
2921         * conf/portability.h: Remove.
2923 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2925         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2926         * resolv/res_data.c: Likewise.
2928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2930         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2931         * resolv/res_data.c: Remove code conditional on ultrix.
2933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2935         * resolv/res_init.c (RFC1535): Do not define.  Remove
2936         RFC1535 preprocessor conditionals.
2937         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2938         because there configuration options which make the resolver
2939         behavior different.
2941 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2943         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2944         RESOLVSORT preprocessor conditionals.
2945         * resolv/nss_dns/dns-host.c: Likewise.
2946         * resolv/res_init.c: Likewise.
2948 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2950         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2951         is never defined.
2953 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2955         * inet/inet_lnaof.c: Remove SCSS keyword.
2956         * inet/inet_mkadr.c: Likewise.
2957         * inet/inet_net.c: Likewise.
2958         * inet/inet_netof.c: Likewise.
2959         * inet/rcmd.c: Likewise.
2960         * inet/rexec.c: Likewise.
2961         * inet/ruserpass.c: Likewise.
2963 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2965         * resolv/inet_addr.c: Remove _LIBC conditionals.
2966         * resolv/res_data.c: Likewise.
2967         * resolv/res_init.c: Likewise.
2968         * resolv/res_mkquery.c: Likewise.
2969         * resolv/res_libc.c: Update comment.
2970         * resolv/README: Update.
2972 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2974         * resolv/gethnamaddr.c: Remove SCSS keyword.
2975         * resolv/herror.c: Likewise.
2976         * resolv/inet_addr.c: Likewise.
2977         * resolv/inet_net_ntop.c: Likewise.
2978         * resolv/inet_net_pton.c: Likewise.
2979         * resolv/inet_neta.c: Likewise.
2980         * resolv/inet_ntop.c: Likewise.
2981         * resolv/inet_pton.c: Likewise.
2982         * resolv/ns_date.c: Remove RCS keyword.
2983         * resolv/ns_name.c: Likewise.
2984         * resolv/ns_netint.c: Likewise.
2985         * resolv/ns_parse.c: Likewise.
2986         * resolv/ns_print.c: Likewise.
2987         * resolv/ns_samedomain.c: Likewise.
2988         * resolv/ns_ttl.c: Likewise.
2989         * resolv/nsap_addr.c: Likewise.
2990         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2991         * resolv/res_data.c: Remove RCS keyword.
2992         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2993         * resolv/res_init.c: Likewise.
2994         * resolv/res_mkquery.c: Likewise.
2995         * resolv/res_query.c: Likewise.
2996         * resolv/res_send.c: Likewise.
2998 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3000         * conform/data/stdio.h-data (fdopen): Expect also for
3001         [XPG3 || XPG4].
3003         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3004         (fseeko): Likewise.
3005         (ftello): Likewise.
3006         (ftrylockfile): Likewise.
3007         (funlockfile): Likewise.
3008         (getc_unlocked): Likewise.
3009         (getchar_unlocked): Likewise.
3010         (putc_unlocked): Likewise.
3011         (putchar_unlocked): Likewise.
3013 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3015         [BZ #19868]
3016         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3017         DNS packet syntax checks (which were not needed before).  Skip
3018         over non-PTR records.
3020 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3022         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3023         definition.  Include <stddef.h> instead.
3025 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3027         [BZ #19831]
3028         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3029         function.
3030         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3031         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3033 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3035         [BZ #19862]
3036         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3037         (getanswer_r): Do not call syslog.
3038         (gaih_getanswer_slice): Likewise.
3039         * resolv/gethnamaddr.c (AskedForGot): Remove.
3040         (getanswer): Do not call syslog.
3041         (gethostbyaddr): Likewise.
3043 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3045         * conform/data/signal.h-data (union sigval): Expect also if
3046         [XOPEN2K].
3047         (struct sigevent): Likewise.
3048         (SIGEV_NONE): Likewise.
3049         (SIGEV_SIGNAL): Likewise.
3050         (SIGEV_THREAD): Likewise.
3051         (SIGRTMIN): Likewise.
3052         (SIGRTMAX): Likewise.
3053         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3054         variable.
3055         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3057 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3059         [BZ #19830]
3060         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3061         (gaih_getanswer_slice): Likewise.
3062         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3063         Also check for availability of RR metadata.
3065 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3067         [BZ #19825]
3068         * resolv/res_send.c (send_vc): Remove early *resplen2
3069         initialization.  Set *resplen2 on socket error.  Call
3070         close_and_return_error for other errors.
3072 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3074         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3075         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3076         (SCM_IUCV_TRGCLS): New define.
3078 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3080         [BZ #20005]
3081         * libio/fmemopen.c (fmemopen_write): Update internal position after
3082         write.
3083         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3084         * stdio-common/tst-fmemopen4.c: New file..
3086 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3088         [BZ #19996]
3089         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3090         not [__USE_XOPEN2K].
3091         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3092         variable.
3094         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3095         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3096         variable.
3098         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3099         [__USE_XOPEN2K8].
3100         [__USE_LARGEFILE64] (off64_t): Likewise.
3101         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3102         variable.
3104 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3106         [BZ #19989]
3107         * libio/stdio.h (cuserid): Do not declare if
3108         [__USE_XOPEN2K && !__USE_GNU].
3109         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3110         variable.
3112 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3114         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3115         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3117         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3118         ifunc'ed strcspn.
3119         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3120         [EALIGN]: Removed.
3121         [END]: Likewise
3122         [STRSPN]: Define instead of the above to control symbol name.
3123         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3124         New file.
3125         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3126         Likewise.
3127         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3128         Likewise.
3129         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3130         Likewise.
3131         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3132         [INITIAL_MASK]: New macro.
3133         [STRCSPN]: Likewise.
3134         [UPDATE_MASK]: Likewise.
3135         [USE_AS_STRCSPN]: Lisewise.
3137 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3139         [BZ #19931]
3140         * stdio-common/tst-vfprintf-width-prec.c: New file.
3141         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3142         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3143         (generated): Add mtrace-related files.
3144         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3145         (tst-%-mem.out): New pattern rule, replaces
3146         tst-printf-bz18872-mem.out.
3147         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3148         specifier, deallocate any previously allocated work buffer.
3150 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3152         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3153         Add nop before __startcontext, add explaining comments.
3155 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3157         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3158         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3159         completely different API.
3161         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3162         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3163         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3164         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3165         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3166         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3167         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3168         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3169         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3170         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3172 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3174         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3176 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3178         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3179         when it is the default of 0.
3181 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3183         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3184         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3185         (sysdep_routines): Add new strcasestr targets.
3186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3187         (__libc_ifunc_impl_list): Likewise.
3188         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3189         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3190         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3191         * sysdeps/powerpc/powerpc64/power8/Makefile:
3192         New file to add strcasestr-ppc64 to sysdep_routines.
3193         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3194         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3196 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3198         * benchtests/Makefile (wcsmbs-benchset): Include only for
3199         native builds and runs.
3200         (LOCALES): Likewise.
3201         (bench-build): Build timing-type here instead of the bench
3202         target.  Generate locale only for native builds.
3203         * benchtests/README: Add note for cross-building.
3205         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3207         * benchtests/README: Update README to include instructions on
3208         using bench-build.
3210         * Makefile.in (bench-build): New target.
3211         * Rules (PHONY): Add bench-build target.
3212         * benchtests/Makefile (bench): Depend on bench-build.
3213         (bench-build): New target.
3215 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3217         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3218         profil_reply_port.
3219         (profile_waiter): Do not initialize profil_reply_port.
3220         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3221         frequency instead of tick length in us.
3223 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3225         [BZ #18712]
3226         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3227         (__old_mempcpy_small): Likewise.
3228         (__old_strcpy_small): Likewise.
3229         (__old_stpcpy_small): Likewise.
3230         (__old_strpbrk_c2): Fix compat symbol name.
3231         (__old_strpbrk_c3): Likewise.
3232         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3233         (__mempcpy_small): Remove.
3234         (__strcpy_small): Remove.
3235         (__stpcpy_small): Remove.
3237 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3239         [BZ #19400]
3240         * locale/iso-639.def: Add the Talossan/tzl language.
3242 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3244         [BZ #16983]
3245         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3246         comment.  Add "ln" to strchr check on postal_fmt.
3248 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3250         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3251         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3252         tel_dom_fmt.
3254 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3256         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3257         (sysdep_routines): Added __strlen_power8.
3258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3259         __strlen_power8 entry.
3260         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3261         Implementation for POWER8.
3262         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3263         for __strlen_power8.
3264         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3265         Implementation for POWER8.
3267 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3269         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3271 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3273         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3274         Goldmont and Airmont processors.
3276 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3278         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3279         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3280         (__STRING2_SMALL_GET32): Remove.
3281         (memset): Remove.
3282         (__memset_1): Remove.
3283         (__memset_gc): Remove.
3284         (__mempcpy): Remove.
3285         (mempcpy): Remove.
3286         (__mempcpy_args): Remove.
3287         (strchr): Remove.
3288         (strcpy): Remove.
3289         (strcpy_args): Remove.
3290         (__stpcpy_args): Remove.
3291         (__strcmp_cc): Remove.
3292         (__strcmp_gc): Remove.
3293         (strstr): Remove.
3295 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3297         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3298         * nis/nis_call.c (nis_server_cache_add): Likewise.
3300 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3302         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3304 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3306         * malloc/arena.c (__malloc_fork_lock_parent)
3307         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3308         internal_function attribute.
3310 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3312         * stdio-common/printf_fp.c (__printf_fp_l):
3313         Rename ___printf_fp_l to __printf_fp_l and
3314         remove strong alias. Use libc_hidden_def instead
3315         of ldbl_hidden_def macro.
3317 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3319         Remove malloc hooks from fork handler.  They are no longer needed
3320         because malloc runs right before fork, and no malloc calls from
3321         other fork handlers are not possible anymore.
3322         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3323         declarations.
3324         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3325         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3326         (atfork_recursive_cntr): Remove.
3327         (__malloc_fork_lock_parent): Do not override malloc hooks and
3328         thread_arena.
3329         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3330         thread_arena.
3331         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3332         thread_arena instead of save_arena.
3334 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3336         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3337         (thread_atfork, thread_atfork_static): Remove.
3338         * sysdeps/mach/hurd/malloc-machine.h:
3339         (thread_atfork, thread_atfork_static): Remove.
3341 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3343         [BZ #19431]
3344         Run the malloc fork handler as late as possible to avoid deadlocks.
3345         * malloc/malloc-internal.h: New file.
3346         * malloc/malloc.c: Include it.
3347         * malloc/arena.c (ATFORK_MEM): Remove.
3348         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3349         Update comment.
3350         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3351         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3352         Remove outdated comment.
3353         (ptmalloc_init): Do not call thread_atfork.  Remove
3354         thread_atfork_static.
3355         * malloc/tst-malloc-fork-deadlock.c: New file.
3356         * Makefile (tests): Add tst-malloc-fork-deadlock.
3357         (tst-malloc-fork-deadlock): Link against libpthread.
3358         * manual/memory.texi (Aligned Memory Blocks): Update safety
3359         annotation comments.
3360         * sysdeps/nptl/fork.c (__libc_fork): Call
3361         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3362         __malloc_fork_unlock_child.
3363         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3365 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3367         [BZ #19613]
3368         Remove union wait.
3369         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3370         (w_stopsig, w_stopval): Remove.
3371         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3372         stat_loc argument.
3373         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3374         (__WAIT_STATUS_DEFN): Remove.
3375         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3376         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3377         (wait, wait3, wait4): Use int * for the stat_loc argument.
3378         * posix/wait.c (__wait): Likewise.
3379         * posix/wait3.c (__wait3): Likewise.
3380         * posix/wait4.c (__wait4): Likewise.
3381         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3382         (__WAIT_STATUS_DEFN): Remove.
3383         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3384         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3385         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3386         argument.
3387         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3388         * sysdeps/posix/wait3.c (__wait3): Likewise.
3389         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3390         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3391         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3392         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3393         stat_loc argument.
3394         * manual/process.texi (BSD Wait Functions): Remove union wait.
3396 2016-04-13  Andreas Schwab  <schwab@suse.de>
3398         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3399         (test-extras): Add tst-tlsalign-vars.
3400         * math/Makefile: Wrap long lines.
3401         (libm-vec-test-wrappers): Define.
3402         (test-extras): Add $(libm-vec-test-wrappers).
3403         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3404         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3405         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3406         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3407         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3408         (extra-test-objs): Add corresponding objects.
3410 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3412         [BZ #19928]
3413         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3414         New.
3415         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3416         times of shared cache size.
3417         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3418         (VMOVNT): New.
3419         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3420         (VMOVNT): Likewise.
3421         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3422         (VMOVNT): Likewise.
3423         (VMOVU): Changed to movups for smaller code sizes.
3424         (VMOVA): Changed to movaps for smaller code sizes.
3425         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3426         comments.
3427         (PREFETCH): New.
3428         (PREFETCH_SIZE): Likewise.
3429         (PREFETCHED_LOAD_SIZE): Likewise.
3430         (PREFETCH_ONE_SET): Likewise.
3431         Rewrite to use forward and backward loops, which move 4 vector
3432         registers at a time, to support overlapping addresses and use
3433         non temporal store if size is above the threshold and there is
3434         no overlap between destination and source.
3436 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3438         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3439         Include dl-vdso.
3440         * sysdeps/unix/sysv/linux/mips/Versions: Add
3441         __vdso_clock_gettime.
3442         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3443         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3444         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3445         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3446         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3447         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3448         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3449         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3450         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3452 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3454         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3455         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3458         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3459         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3462         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3464         syscalls generation.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3466         [__NR_pwrite64] (__NR_write): Remove define.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3468         [__NR_pwrite64] (__NR_write): Remove define.
3469         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3470         Remove define.
3471         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3472         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3473         Remove define.
3474         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3475         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3476         Linux implementation as base.
3477         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3479         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3480         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3485         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3486         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3487         syscall generation.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3489         [__NR_pread64] (__NR_pread): Remove define.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3491         [__NR_pread64] (__NR_pread): Likewise.
3492         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3493         define.
3494         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3495         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3496         Remove define.
3497         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3498         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3499         Linux implementation as base.
3500         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3501         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3502         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3504         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3505         definition.
3506         (__ALIGNMENT_COUNT): Likewise.
3507         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3508         (__ALIGNMENT_COUNT): Likewise.
3509         (SYSCALL_LL): New define.
3510         (SYSCALL_LL64): Likewise.
3511         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3512         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3513         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3514         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3516         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3517         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3518         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3519         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3520         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3521         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3523 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3525         [BZ #19865]
3526         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3527         original buffer before retry.
3529 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3531         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3532         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3533         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3534         GLRO(dl_auxv) list.
3535         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3536         including <ldsodefs.h>.
3537         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3539 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3541         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3542         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3543         $(CPPFLAGS).
3545 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3547         [BZ #17950]
3548         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3549         Add -mfpmath=387.
3551 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3553         * sysdeps/i386/configure.ac: Change == to = when calling test.
3554         * sysdeps/x86_64/configure.ac: Likewise.
3555         * sysdeps/i386/configure: Regenerated.
3556         * sysdeps/x86_64/configure: Likewise.
3558 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3560         [BZ #16137]
3561         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3562         * benchtests/bench-strcoll.c (input_files): Likewise.
3563         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3564         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3565         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3567 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3569         [BZ #19929]
3570         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3571         [__USE_XOPEN2K8 && !__USE_GNU].
3572         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3573         variable.
3575         [BZ #19925]
3576         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3577         define if [!__USE_MISC && __USE_XOPEN2K].
3578         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3579         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3581         Likewise.
3582         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3583         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3584         variable.
3585         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3587 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3589         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3590         (sysdep_routines): Add new strspn targets.
3591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3592         (__libc_ifunc_impl_list): Add strspn.
3593         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3594         New file.
3595         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3596         Likewise.
3597         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3598         Likewise.
3599         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3600         Likewise.
3602 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3604         * misc/hsearch_r.c: Include <limits.h>.
3606 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3608         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3610 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3612         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3613         (MEMCPY_SYMBOL): New.
3614         (MEMPCPY_SYMBOL): Likewise.
3615         (MEMMOVE_CHK_SYMBOL): Likewise.
3616         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3617         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3618         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3619         Provide alias for memcpy in libc.a and ld.so.
3621 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3623         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3624         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3625         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3626         Disabled fro now.
3627         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3628         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3630 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3632         * benchtests/Makefile (string-benchset): Add memcpy-large,
3633         memmove-large and memset-large.
3634         * benchtests/bench-memcpy-large.c: New file.
3635         * benchtests/bench-memmove-large.c: Likewise.
3636         * benchtests/bench-memmove-large.c: Likewise.
3637         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3639 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3641         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3642         32-bit displacement to avoid long nop between instructions.
3644 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3646         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3647         a comment on VMOVU and VMOVA.
3649 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3651         [BZ #19633]
3652         Use specified locale for number formatting in strfmon_l.
3653         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3654         (__nl_lookup_word): New inline functions.
3655         * include/printf.h (__print_fp_l): Declare.
3656         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3657         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3658         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3659         (___printf_fp): New function.
3660         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3661         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3662         * stdlib/tst-strfmon_l.c (do_test): New test.
3663         * stdlib/Makefile (tests): Add kt.
3664         (LOCALES): Build additional locales.
3665         (tst-strfmon_l.out): Require locales.
3667 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3669         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3670         if not in libc.
3671         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3672         Likewise.
3673         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3674         Likewise.
3675         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3676         Likewise.
3678 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3680         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3681         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3682         with unaligned_erms.
3683         (__memmove_erms): Skip if source == destination.
3684         (__memmove_unaligned_erms): Don't check source == destination
3685         first.
3687 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3689         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3690         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3692 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3694         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3695         * string/strspn.c (strspn): Likewise.
3697 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3699         * benchtests/bench-memset.c (do_test): Support 64-byte
3700         alignment.
3701         (test_main): Test 64-byte alignment.
3703 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3705         * benchtests/bench-memmove.c (test_main): Test 64-byte
3706         alignment.
3708 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3710         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3712 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3714         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3715         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3716         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3718         * string/strpbrk.c (strpbrk): Rewrite function.
3719         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3720         (__strpbrk_c2): Likewise.
3721         (__strpbrk_c3): Likewise.
3722         * string/string-inlines.c
3723         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3724         Likewise.
3725         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3726         Likewise.
3728         * string/strspn.c (strcspn): Rewrite function.
3729         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3730         (__strspn_c1): Remove inline function.
3731         (__strspn_c2): Likewise.
3732         (__strspn_c3): Likewise.
3733         * string/string-inlines.c
3734         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3735         compatibility symbol.
3736         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3737         Likewise.
3738         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3739         Likewise.
3740         * string/string-inlines.c: Include generic version.
3742 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3743             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3745         * string/Version (libc): Add GLIBC_2.24.
3746         * string/strcspn.c (strcspn): Rewrite function.
3747         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3748         (__strcspn_c1): Remove inline function.
3749         (__strcspn_c2): Likewise.
3750         (__strcspn_c3): Likewise.
3751         * string/string-inline.c
3752         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3753         compatibility symbol.
3754         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3755         Likewise.
3756         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3757         Likewise.
3758         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3760 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3762         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3763         Use ahi instead of aghi to adjust stack pointer.
3765 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3767         [BZ #19853]
3768         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3769         TEST to take significant digits as second parameter.
3770         [TEST]: Redefine in terms of TEST_N taking 30
3771         significant digits.
3772         (do_test): Add test case to demonstrate precision
3773         failure in the ldbl-128ibm printf.
3774         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3775         (__mpn_extract_long_double): Carry 7 extra intermediate
3776         bits of precision to aide computing difference when
3777         signs differ.
3779 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3781         [BZ #19881]
3782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3783         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3784         memset-avx512-unaligned-erms.
3785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3786         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3787         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3788         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3789         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3790         __memset_sse2_unaligned_erms, __memset_erms,
3791         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3792         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3793         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3794         file.
3795         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3796         Likewise.
3797         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3798         Likewise.
3799         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3800         Likewise.
3802 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3804         [BZ #19776]
3805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3806         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3807         memmove-avx512-unaligned-erms.
3808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3809         (__libc_ifunc_impl_list): Test
3810         __memmove_chk_avx512_unaligned_2,
3811         __memmove_chk_avx512_unaligned_erms,
3812         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3813         __memmove_chk_sse2_unaligned_2,
3814         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3815         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3816         __memmove_avx512_unaligned_erms, __memmove_erms,
3817         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3818         __memcpy_chk_avx512_unaligned_2,
3819         __memcpy_chk_avx512_unaligned_erms,
3820         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3821         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3822         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3823         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3824         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3825         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3826         __mempcpy_chk_avx512_unaligned_erms,
3827         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3828         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3829         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3830         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3831         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3832         __mempcpy_erms.
3833         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3834         file.
3835         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3836         Likwise.
3837         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3838         Likwise.
3839         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3840         Likwise.
3842 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3844         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3845         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3846         (La_s390_64_regs): Likewise.
3847         (La_s390_32_retval): Append vector register lrv_v24.
3848         (La_s390_64_retval): Likeweise.
3849         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3850         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3851         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3852         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3854 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3856         [BZ #19916]
3857         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3858         to create a non-vector/vector version for _dl_runtime_resolve and
3859         _dl_runtime_profile. Move implementation to ...
3860         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3861         (_dl_runtime_resolve) Save and restore fpr/vrs.
3862         (_dl_runtime_profile) Save and restore vrs and fix some issues
3863         if _dl_call_pltexit is called.
3864         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3865         Choose the correct resolver function if running on a machine with vx.
3866         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3867         to create a non-vector/vector version for _dl_runtime_resolve and
3868         _dl_runtime_profile. Move implementation to ...
3869         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3870         (_dl_runtime_resolve) Save and restore fpr/vrs.
3871         (_dl_runtime_profile) Save and restore vrs and fix some issues
3872         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3873         Choose the correct resolver function if running on a machine with vx.
3875 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3877         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3879 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3881         [BZ #19509]
3882         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3883         skip_map != NULL.
3884         * elf/tst-dlsym-error.c: New file.
3885         * elf/Makefile (tests): Add tst-dlsym-error.
3886         (tst-dlsym-error): Link against libdl.
3888 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3891         (__ASSUME_FUTIMESAT): Remove macro.
3892         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3894 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3896         [BZ #19879]
3897         CVE-2016-3075
3898         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3899         copy name.
3901 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3903         [BZ #19837]
3904         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3905         error if parse_line fails.
3907 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3909         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3910         (index_cpu_ERMS): Likewise.
3911         (reg_ERMS): Likewise.
3913 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3915         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3916         PER_LINUX_FDPIC): Add.
3918 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3921         memcpy-avx512-no-vzeroupper.
3922         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3923         to ...
3924         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3925         (MEMCPY): Don't define.
3926         (MEMCPY_CHK): Likewise.
3927         (MEMPCPY): Likewise.
3928         (MEMPCPY_CHK): Likewise.
3929         (MEMPCPY_CHK): Renamed to ...
3930         (__mempcpy_chk_avx512_no_vzeroupper): This.
3931         (MEMPCPY_CHK): Renamed to ...
3932         (__mempcpy_chk_avx512_no_vzeroupper): This.
3933         (MEMCPY_CHK): Renamed to ...
3934         (__memmove_chk_avx512_no_vzeroupper): This.
3935         (MEMCPY): Renamed to ...
3936         (__memmove_avx512_no_vzeroupper): This.
3937         (__memcpy_avx512_no_vzeroupper): New alias.
3938         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3940 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3942         [BZ #18858]
3943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3944         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3945         and mempcpy-avx512-no-vzeroupper.
3946         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3947         New.
3948         (MEMPCPY): Likewise.
3949         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3950         (MEMPCPY_CHK): New.
3951         (MEMPCPY): Likewise.
3952         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3953         (MEMPCPY): Likewise.
3954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3955         (MEMPCPY): Likewise.
3956         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3957         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3958         Likewise.
3959         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3960         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3962 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3963              Amit Pawar  <Amit.Pawar@amd.com>
3965         [BZ #19583]
3966         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3967         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3968         processors.  Set Fast_Copy_Backward for AMD Excavator
3969         processors.
3970         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3971         New.
3972         (index_arch_Fast_Unaligned_Copy): Likewise.
3973         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3974         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3976 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3978         [BZ #19791]
3979         * resolv/res_send.c (close_and_return_error): New function.
3980         (send_dg): Initialize *resplen2 after reopen failure.  Call
3981         close_and_return_error for error returns.  On error paths without
3982         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3983         successful return.
3985 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3987         [BZ# 19860]
3988         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3989         zero if the compiler does not provide the AVX512F bit.
3991 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3993         [BZ #19848]
3994         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3995         from 8 to 4.
3996         (__ieee754_powl): Compare integer exponent against 4 not 8.
3997         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3998         from 8 to 4.
3999         (__ieee754_powl): Compare integer exponent against 4 not 8.
4000         * math/auto-libm-test-in: Add more tests of pow.
4001         * math/auto-libm-test-out: Regenerated.
4002         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4007         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4008         Make code unconditional.
4009         [!__NR_utimensat]: Remove conditional code.
4010         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4011         Make code unconditional.
4012         [!__NR_utimensat]: Remove conditional code.
4013         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4014         Make code unconditional.
4015         [!__NR_utimensat]: Remove conditional code.
4017 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4019         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4020         Make code unconditional.
4022 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4024         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4025         call-clobbered %eax on retry path.
4026         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4028 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4030         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4031         Don't set %rcx twice before "rep movsb".
4033 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4035         [BZ #19583]
4036         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4037         inline.  Check family before setting family, model and
4038         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4039         bits here.
4040         (init_cpu_features): Replace HAS_CPU_FEATURE and
4041         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4042         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4043         for Intel processors with usable AVX2.  Call get_common_indeces
4044         for other processors with family == NULL.
4045         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4046         (CPU_FEATURES_ARCH_P): Likewise.
4047         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4048         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4050 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4052         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4053         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4054         $(shared-thread-library) instead of hardcoding the path to libpthread.
4056 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4058         * sysdeps/unix/sysv/linux/kernel-features.h
4059         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4060         * sysdeps/unix/sysv/linux/getdents.c
4061         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4062         [!have_no_getdents64_defined]: Likewise.
4063         (__GETDENTS): Remove __have_no_getdents64 conditional.
4065 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4068         Remove macro.
4069         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4070         <kernel-features.h>.
4071         (signalfd) [__NR_signalfd4]: Make code unconditional.
4072         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4074 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4076         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4077         style.
4079 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4081         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4082         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4083         __pthread_unwind.
4084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4085         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4086         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4087         (__condvar_cleanup1): Likewise.
4089 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4091         [BZ #19822]
4092         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4093         move it to the final $@ location.
4095 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4097         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4098         access where posix_spawn success and pid argument is null.
4099         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4100         success case.
4102 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4104         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4106         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4108         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4109         and __fcntl.
4110         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4111         __fcntl only.
4112         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4113         adding attribute_hidden to __open and __fcntl.
4115         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4116         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4117         depend on libc-modules.h,
4118         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4120 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4122         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4123         Remove macro.
4124         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4125         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4126         entry.
4128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4129         Remove macro.
4130         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4131         include <kernel-features.h>.
4132         [!__ASSUME_FALLOCATE]: Remove conditional code.
4133         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4135 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4138         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4139         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4140         (_ZGVdN4v_cos_avx2): Likewise.
4141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4142         (_ZGVdN4v_cos): Likewise.
4143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4144         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4145         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4146         (_ZGVdN4v_exp_avx2): Likewise.
4147         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4148         (_ZGVdN4v_exp): Likewise.
4149         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4150         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4151         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4152         (_ZGVdN4v_log_avx2): Likewise.
4153         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4154         (_ZGVdN4v_log): Likewise.
4155         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4156         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4157         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4158         (_ZGVdN4vv_pow_avx2): Likewise.
4159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4160         (_ZGVdN4vv_pow): Likewise.
4161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4162         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4164         (_ZGVdN4v_sin_avx2): Likewise.
4165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4166         (_ZGVdN4v_sin): Likewise.
4167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4168         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4170         (_ZGVdN4vvv_sincos_avx2): Likewise.
4171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4172         (_ZGVdN4vvv_sincos): Likewise.
4173         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4174         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4176         (_ZGVbN4v_cosf_sse4): Likewise.
4177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4178         (_ZGVdN8v_cosf_avx2): Likewise.
4179         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4180         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4181         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4182         (_ZGVbN4v_expf_sse4): Likewise.
4183         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4184         (_ZGVdN8v_expf_avx2): Likewise.
4185         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4186         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4187         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4188         (_ZGVbN4v_logf_sse4): Likewise.
4189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4190         (_ZGVdN8v_logf_avx2): Likewise.
4191         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4192         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4193         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4194         (_ZGVbN4vv_powf_sse4): Likewise.
4195         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4196         (_ZGVdN8vv_powf_avx2): Likewise.
4197         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4198         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4199         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4200         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4202         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4203         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4204         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4205         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4206         (_ZGVbN4v_sinf_sse4): Likewise.
4207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4208         (_ZGVdN8v_sinf_avx2): Likewise.
4209         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4210         Use JUMPTARGET to call callee.
4211         (WRAPPER_IMPL_SSE2_ff): Likewise.
4212         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4213         (WRAPPER_IMPL_AVX): Likewise.
4214         (WRAPPER_IMPL_AVX_ff): Likewise.
4215         (WRAPPER_IMPL_AVX_fFF): Likewise.
4216         (WRAPPER_IMPL_AVX512): Likewise.
4217         (WRAPPER_IMPL_AVX512_ff): Likewise.
4218         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4219         Likewise.
4220         (WRAPPER_IMPL_SSE2_ff): Likewise.
4221         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4222         (WRAPPER_IMPL_AVX): Likewise.
4223         (WRAPPER_IMPL_AVX_ff): Likewise.
4224         (WRAPPER_IMPL_AVX_fFF): Likewise.
4225         (WRAPPER_IMPL_AVX512): Likewise.
4226         (WRAPPER_IMPL_AVX512_ff): Likewise.
4227         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4229 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4231         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4232         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4233         qualifier.
4234         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4235         internal_function qualifiers.
4237 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4239         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4240         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4241         * math/atest-exp.c (exp_mpn): Mark chk unused.
4242         * math/atest-exp2.c (exp_mpn): Likwise.
4243         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4244         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4246 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4249         Remove macro.
4250         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4251         <kernel-features.h>.
4252         [__NR_ppoll]: Make code unconditional.
4253         [!__ASSUME_PPOLL]: Remove conditional code.
4255         * sysdeps/unix/sysv/linux/kernel-features.h
4256         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4257         (__ASSUME_ACCEPT4): Likewise.
4258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4259         Define.
4260         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4261         Likewise.
4262         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4263         Likewise.
4264         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4265         Likewise.
4266         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4267         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4269         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4270         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4271         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4273         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4274         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4276         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4277         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4280         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4281         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4282         Likewise.
4283         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4284         Likewise.
4285         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4286         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4287         0x040300].
4288         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4289         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4291         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4292         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4293         0x030300].
4294         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4295         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4296         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4297         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4298         0x040300].
4299         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4300         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4302         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4304         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4305         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4306         0x030300].
4307         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4308         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4309         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4310         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4312         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4313         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4314         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4315         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4316         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4317         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4318         0x040300].
4319         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4321         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4322         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4323         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4324         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4325         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4326         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4327         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4330         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4331         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4333         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4334         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4335         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4336         Likewise.
4337         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4338         Likewise.
4340 2016-03-15  Andreas Schwab  <schwab@suse.de>
4342         [BZ #19257]
4343         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4344         statp->_u._ext.nscount as loop count.
4346 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4348         * math/test-signgam-finite-c99.c: Also #undef
4349         __LIBC_INTERNAL_MATH_INLINES.
4350         * math/test-signgam-main.c: Likewise.
4352 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4354         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4355         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4356         (MADV_FREE): Likewise.
4357         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4358         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4359         EPOLLEXCLUSIVE.
4361 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4363         * timezone/README: Remove mention of checktab.awk. Mention wiki
4364         SharedSourceFiles.
4366 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4368         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4369         WUNTRACED.
4371 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4373         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4374         order to match the type of p when calling atomic_exchange_acq().
4376 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4378         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4379         cfi_offset calls.
4380         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4381         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4382         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4383         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4384         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4386 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4388         * timezone/checktab.awk: Removed.
4390 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4392         * manual/math.texi (Errors in Math Functions): Document relaxed
4393         accuracy goals for IBM long double.
4394         * math/libm-test.inc (test_exceptions): Always allow spurious
4395         "underflow" and "inexact" exceptions for IBM long double.
4397 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4399         [BZ #19762]
4400         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4401         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4402         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4403         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4404         (bit_arch_*): This for feature array.
4405         (bit_*): Renamed to ...
4406         (bit_cpu_*): This for cpu array.
4407         (index_*): Renamed to ...
4408         (index_arch_*): This for feature array.
4409         (index_*): Renamed to ...
4410         (index_cpu_*): This for cpu array.
4411         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4412         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4413         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4414         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4415         bit_##name with index_cpu_##name and bit_cpu_##name.
4416         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4417         bit_##name with index_arch_##name and bit_arch_##name.
4419 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4421         [BZ #19792]
4422         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4423         Terminate FDE before return label.
4425 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4427         [BZ #19790]
4428         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4429         (rintl): Define as macro.
4430         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4431         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4432         of fesetround.  Ensure results are evaluated before end of scope.
4433         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4434         USE_AS_NEARBYINTL and include s_rintl.c.
4435         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4436         Disable exception traps in new environment.
4437         (libc_feholdsetround_ppc_ctx): Likewise.
4439 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4441         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4442         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4443         (tst_audit10_aux) [__AVX512F__]: ... here.
4445 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4447         * include/sys/auxv.h: New file.
4449 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4451         [BZ #19759]
4452         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4454 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4456         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4457         operand modifier.
4458         (feclearexcept): Likewise.
4460 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4462         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4463         to reflect the entire 32-bit HWCAP.
4464         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4465         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4467 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4469         [BZ #19783]
4470         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4471         $(test-via-rtld-prefix).
4472         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4474 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4476         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4477         union wait.  Report any non-zero exit status as error.
4479 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4481         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4482         configured with --enable-hardcoded-path-in-tests.
4484 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4486         [BZ #19677]
4487         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4488         (__ieee754_remainderl): Put zero low parts in canonical form.
4489         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4490         file.  Based on
4491         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4492         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4493         with wrapper round test-fmodrem-ldbl-128ibm.c.
4494         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4495         file.
4496         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4497         Likewise.
4498         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4499         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4501 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4503         [BZ #19610]
4504         * elf/ldconfig.c (opt_link): Update comment.
4505         (options): Update help string for option -X.
4506         (search_dir): Unlink stale symbolic link only if updating symbolic
4507         links.
4508         * elf/tst-ldconfig-X.sh: New file.
4509         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4510         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4512 2016-03-07  Andreas Schwab  <schwab@suse.de>
4514         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4515         needed arguments.
4517 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4519         [BZ #15333]
4520         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4521         to lstat64.
4523 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4525         * libio/filedoalloc.c (isatty): Remove.
4526         (local_isatty): Add comment.  Call __isatty directly.
4527         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4528         * libio/wfiledoalloc.c (isatty): Remove.
4529         (_IO_wfile_doallocate): Update comment.
4531 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4533         [BZ #19269]
4534         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4535         tst-audit4-aux.o.
4536         (tst-audit10): Depend on tst-audit10-aux.o.
4537         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4538         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4539         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4540         instead of inline AVX code.
4541         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4542         instead of inline AVX512 code.
4543         * sysdeps/x86_64/tst-audit4-aux.c: New file
4544         * sysdeps/x86_64/tst-audit10-aux.c: New file
4546         [BZ #19648]
4547         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4549 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4551         [BZ #14750]
4552         [BZ #10354]
4553         [BZ #18433]
4554         * include/sched.h (__clone): Add hidden prototype.
4555         (__clone2): Likewise.
4556         * include/unistd.h (__dup): Likewise.
4557         * posix/Makefile (tests): Add tst-spawn2.
4558         * posix/tst-spawn2.c: New file.
4559         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4560         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4561         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4562         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4563         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4564         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4565         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4566         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4567         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4568         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4569         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4571         Likewise.
4572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4575         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4576         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4577         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4578         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4579         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4580         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4581         * sysdeps/unix/sysv/linux/nptl-signals.h
4582         (____nptl_is_internal_signal): New function.
4583         * sysdeps/unix/sysv/linux/spawni.c: New file.
4585         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4586         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4587         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4588         * posix/tst-execvp2.c (do_test): Likewise.
4589         * posix/tst-execvp3.c (do_test): Likewise.
4590         * posix/tst-execvp4.c (do_test): Likewise.
4591         * posix/tst-execvpe1.c: New file.
4592         * posix/tst-execvpe2.c: Likewise.
4593         * posix/tst-execvpe3.c: Likewise.
4594         * posix/tst-execvpe4.c: Likewise.
4595         * posix/tst-execvpe5.c: Likewise.
4596         * posix/tst-execvpe6.c: Likewise.
4598         [BZ #19534]
4599         * posix/execl.c (execl): Remove dynamic memory allocation.
4600         * posix/execle.c (execle): Likewise.
4601         * posix/execlp.c (execlp): Likewise.
4603 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4605         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4606         Replace .text with .text.avx512.
4607         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4608         Likewise.
4610 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4612         * sysdeps/generic/libnsl.abilist: New file.
4613         * sysdeps/generic/libutil.abilist: New file.
4615 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4617         [BZ #19762]
4618         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4619         HAS_ARCH_FEATURE with Fast_Rep_String.
4620         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4621         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4622         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4623         Likewise.
4624         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4625         Likewise.
4626         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4627         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4628         Likewise.
4629         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4630         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4631         Likewise.
4633 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4635         [BZ #19745]
4636         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4637         with *%rax in call.
4639 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4641         [BZ #19745]
4642         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4643         with *__libc_start_main@GOTPCREL(%rip) in call.
4645 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4647         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4648         inside conditional for nonempty $(CXX).
4650         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4651         nonempty.
4653         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4654         to test for empty $(CXX) rather than $(CXX) of "no".
4656 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4658         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4660 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4661             H.J. Lu  <hongjiu.lu@intel.com>
4663         [BZ #18880]
4664         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4665         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4666         enable __memcpy_ssse3_back.
4668 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4670         [BZ #19758]
4671         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4672         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4674 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4676         [BZ #19490]
4677         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4678         (__fentry__): Likewise.
4680 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4682         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4683         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4685 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4687         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4688         __mcount_internal directly.
4689         (C_LABEL(__fentry__)): Likewise.
4690         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4691         directly.
4693 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4696         (__start_context): Call __setcontext directly.
4698 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4701         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4702         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4703         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4705         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4706         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4707         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4709         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4710         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4711         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4712         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4713         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4714         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4716         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4717         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4718         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4719         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4720         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4721         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4722         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4723         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4724         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4725         Remove conditional code.
4726         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4727         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4728         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4729         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4730         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4731         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4732         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4733         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4734         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4735         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4736         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4737         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4739 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4741         * NEWS (2.23): Fix typo in bug 19048 text.
4743 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4745         [BZ #14259]
4746         * Makeconfig: Rename msgcatdir to localedir.
4747         Rename inst_msgcatdir to inst_localedir.
4748         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4749         * config.make.in: Add localedir.
4750         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4751         (ldd-rewrite): Likewise.
4752         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4753         (install-others): Use inst_localedir.
4754         (CPPFLAGS): Use localedir.
4755         * locale/Makefile (locale-CPPFLAGS): Likewise.
4756         * po/Makefile (mo-installed): Use inst_localedir.
4758         [BZ #19575]
4759         * localedata/charmaps/GB18030: Update comments regarding PAU to
4760         non-PUA mappings.
4762 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4764         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4765         test for header.
4766         * sysdeps/unix/sysv/linux/configure: Regenerated.
4767         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4768         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4769         Remove conditional code.
4770         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4772         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4773         Define to 3.2.0.
4774         (arch_minimum_kernel): Likewise.
4775         * sysdeps/unix/sysv/linux/configure: Regenerated.
4776         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4777         Define to 2.6.32.
4778         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4779         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4780         (arch_minimum_kernel): Define to 2.6.32.
4781         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4782         * README: Document Linux 3.2 requirement.
4783         * manual/install.texi (Linux): Document Linux 3.2 headers
4784         requirement.
4785         * INSTALL: Regenerated.
4787 2016-02-24  Andreas Schwab  <schwab@suse.de>
4789         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4790         if !NO_LONG_DOUBLE.
4792 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4794         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4795         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4797 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4799         [BZ #19512]
4800         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4802 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4804         * posix/tst-dir.c: Include libc-internal.h.
4806 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4808         [BZ #19056]
4809         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4810         * manual/filesys.texi (Reading/Closing Directory): Mention
4811         deprecaion.
4812         * posix/tst-dir.c (main): Disable deprecation warning in test.
4814 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4816         [BZ #19679]
4817         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4818         Renamed to ...
4819         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4820         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4821         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4822         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4823         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4824         * sysdeps/x86_64/dl-trampoline.h
4825         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4826         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4828 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4830         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4832 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4834         * elf/elf.h (R_386_GOT32X): New.
4835         (R_386_NUM): Update.
4836         (R_X86_64_GOTPCRELX: New.
4837         (R_X86_64_REX_GOTPCRELX): New.
4838         (R_X86_64_NUM): Update.
4840 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4842         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4844 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4846         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4847         assign attr->stackaddr to it, and adjust it down when
4848         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4849         [_STACK_GROWS_UP]: Delete assert.
4850         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4851         Implement stack grows up logic.
4852         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4853         stack grows up logic.
4855 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4857         * NEWS: Update with 2.24 template.
4859 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4861         [BZ #19678]
4862         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4863         Ensure +0.0 is returned when taking the next value below the least
4864         positive value.
4866 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4868         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4869         available.  Do not define NO_THREADS.
4870         * malloc/malloc.c: Do not check NO_THREADS.
4871         * malloc/arena.c: Likewise.
4873 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4875         * malloc/malloc.c (__libc_mallinfo): Update comment.
4876         (struct malloc_par): Remove max_total_mem member, it was always 0.
4877         (int_mallinfo): Store 0 into usmblks (no functional change).
4878         * malloc/hooks.c (struct malloc_state): Document that
4879         max_total_mem is always 0.
4880         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4881         always 0.
4882         * manual/memory.texi (Statistics of Malloc): Likewise.
4884 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4886         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4887         * malloc/arena.c (arena_max): Remove.
4888         (heap_trim, _int_new_arena): Do not update arena_max.
4890 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4892         * resolv/res_init.c (res_ninit): Update comment.
4894 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4896         [BZ #19505]
4897         * posix/spawn_int.h: Add headers and include guard.
4898         (__spawn_valid_fd): New function.
4899         * posix/spawn_faction_addopen.c
4900         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4901         * posix/spawn_faction_addclose.c
4902         (posix_spawn_file_actions_addclose): Likewise.
4903         * posix/spawn_faction_adddup2.c
4904         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4905         second file descriptor.
4906         * posix/spawn_valid_fd.c: New file.
4907         * posix/tst-posix_spawn-fd.c: New file.
4908         * posix/Makefile (routines): Add spawn_valid_fd.
4909         (tests): Add tst-posix_spawn-fd.
4911 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4913         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4914         (do_test): Limit the number of arenas, so that we can use fewer
4915         outer threads.  Limit timeout to 3 seconds, in preparation for a
4916         larger TIMEOUT value.
4918 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4920         [BZ #19674]
4921         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4922         sign in overflowing and underflowing results when overflow or
4923         underflow is detected early.  Include sign in result before rather
4924         than after scaling.
4926         [BZ #19603]
4927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4928         (__ieee754_remainderl): Adjust sign of integer version of low part
4929         when taking absolute value of high part.
4930         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4931         * math/libm-test.inc (remainder_test_data): Add another test.
4932         (remquo_test_data): Likewise.
4934 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4936         [BZ #19602]
4937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4938         equal high parts and both low parts zero specially.
4939         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4940         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4941         Add test-fmodl-ldbl-128ibm.
4943         [BZ #19595]
4944         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4945         common logic for all cases of shifting subnormal results.  Do not
4946         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4947         exponent to ldbl_insert_mantissa in subnormal case.
4949         [BZ #19594]
4950         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4951         on high and low parts then adjust result and use
4952         ldbl_canonicalize_int if needed.
4954         [BZ #19593]
4955         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4956         on high part and __floor or __ceil on low part then use
4957         ldbl_canonicalize_int if needed.
4959         [BZ #19592]
4960         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4961         high and low parts then use ldbl_canonicalize_int if needed.
4963         [BZ #17899]
4964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4965         New function.
4966         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4967         on high and low parts then use ldbl_canonicalize_int if needed.
4969 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4971         * configure: Regenerated.
4973         * po/libc.pot: Regenerated.
4975         * po/be.po: Updated translation.
4976         * po/bg.po: Likewise.
4977         * po/ca.po: Likewise.
4978         * po/cs.po: Likewise.
4979         * po/da.po: Likewise.
4980         * po/el.po: Likewise.
4981         * po/eo.po: Likewise.
4982         * po/es.po: Likewise.
4983         * po/fi.po: Likewise.
4984         * po/fr.po: Likewise.
4985         * po/gl.po: Likewise.
4986         * po/hr.po: Likewise.
4987         * po/hu.po: Likewise.
4988         * po/ia.po: Likewise.
4989         * po/id.po: Likewise.
4990         * po/it.po: Likewise.
4991         * po/ja.po: Likewise.
4992         * po/lt.po: Likewise.
4993         * po/nb.po: Likewise.
4994         * po/nl.po: Likewise.
4995         * po/pt_BR.po: Likewise.
4996         * po/rw.po: Likewise.
4997         * po/sk.po: Likewise.
4998         * po/sl.po: Likewise.
4999         * po/sv.po: Likewise.
5000         * po/tr.po: Likewise.
5001         * po/zh_CN.po: Likewise.
5002         * po/zh_TW.po: Likewise.
5004         * version.h (RELEAES): Set to "development".
5005         (VERSION): Set to 2.23.90.
5007         * version.h (RELEASE): Set to "stable".
5008         (VERSION): Set to 2.23.
5009         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5011         * NEWS: Updated fixed bugs.
5013 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5014             Wilco Dijkstra  <wdijkstr@arm.com>
5016         [BZ #19462]
5017         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5018         (_STRING_INLINE_unaligned): This.
5019         * include/string.h: Include <string_private.h>.
5020         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5021         _STRING_INLINE_unaligned.
5022         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5023         (_STRING_INLINE_unaligned): New.
5024         * sysdeps/aarch64/string_private.h: New file.
5025         * sysdeps/generic/string_private.h: Likewise.
5026         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5027         * sysdeps/s390/string_private.h: Likewise.
5028         * sysdeps/x86/string_private.h: Likewise.
5029         * sysdeps/m68k/m680x0/m68020/bits/string.h
5030         (_STRING_ARCH_unaligned): Renamed to ...
5031         (_STRING_INLINE_unaligned): This.
5032         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5033         to ...
5034         (_STRING_INLINE_unaligned): This.
5035         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5036         to ...
5037         (_STRING_INLINE_unaligned): This.
5038         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5039         to ...
5040         (_STRING_INLINE_unaligned): This.
5042 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5043             H.J. Lu  <hongjiu.lu@intel.com>
5045         [BZ #19590]
5046         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5047         relocation.
5049 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5051         [BZ #18665]
5052         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5053         *herrno_p.
5054         (gaih_getanswer): Document functional behviour. Return tryagain
5055         if any result is tryagain.
5056         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5057         when freed.
5058         * resolv/res_send.c: Add copyright text.
5059         (__libc_res_nsend): Document that MAXPACKET is expected.
5060         (send_vc): Document. Remove buffer reuse.
5061         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5062         size of the buffer. Add Dprint for truncated UDP buffer.
5064 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5066         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5067         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5068         * INSTALL: Regenerate.
5070 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5071             Jonathan Wakely  <jwakely@redhat.com>
5072             Carlos O'Donell  <carlos@redhat.com>
5074         [BZ 19439]
5075         * math/Makefile (tests): Add test-math-isinff.
5076         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5077         * math/bits/mathcalls.h [__USE_MISC]: Use
5078         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5079         functions not in C++11 and which don't conflict e.g. isinff,
5080         isinfl etc.
5081         * math/test-math-isinff.cc: New file.
5083 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5085         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5087 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5089         [BZ #19529]
5090         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5092 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5094         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5096 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5098         [BZ #19550]
5099         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5100         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5101         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5102         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5103         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5104         New syscall entry.
5105         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5106         New syscall entry.
5107         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5108         syscall entry.
5110 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5112         [BZ #18240]
5113         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5114         unsigned int wraparound.
5116 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5118         [BZ #18240]
5119         * misc/bug18240.c: New test.
5120         * misc/Makefile (tests): Add it.
5122 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5123             Joseph Myers  <joseph@codesourcery.com>
5125         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5126         load in branch delay slot when less than a word of input left.
5128 2016-01-27  Andreas Schwab  <schwab@suse.de>
5130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5131         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5132         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5133         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5135 2016-01-26  David S. Miller  <davem@davemloft.net>
5137         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5139 2016-01-25  David S. Miller  <davem@davemloft.net>
5141         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5142         __sqrtl_finite.
5143         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5144         instead using versioned_symbol.
5145         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5146         of entries.
5148         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5149         __sqrtl_finite to GLIBC_2.23
5151 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5153         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5155 2016-01-25  Andreas Schwab  <schwab@suse.de>
5157         [BZ #17514]
5158         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5159         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5160         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5161         * nptl/tst-mutex-errorcheck.c: New file.
5163 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5165         [BZ #18560]
5166         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5167         (IPCOP_semop): Likewise.
5168         (IPCOP_semget): Likewise.
5169         (IPCOP_semctl): Likewise.
5170         (IPCOP_msgsnd): Likewise.
5171         (IPCOP_msgrcv): Likewise.
5172         (IPCOP_msgget): Likewise.
5173         (IPCOP_msgctl): Likewise.
5174         (IPCOP_shmat): Likewise.
5175         (IPCOP_shmdt): Likewise.
5176         (IPCOP_shmget): Likewise.
5177         (IPCOP_shmctl): Likewise.
5179 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5181         * string/tst-endian.c: Include <libc-internal.h>.
5182         (do_test): Ignore tautological-compare warnings around
5183         "htobeXX (beXXtoh (i)) != i" and
5184         "htoleXX (leXXtoh (i)) != i" if-statements.
5186 2016-01-24  David S. Miller  <davem@davemloft.net>
5188         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5189         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5190         alias.
5191         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5192         __sqrtl_finite.
5194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5196 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5198         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5199         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5200         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5202 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5204         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5205         (thread_func): Use new function to simplify barrier check.
5206         (do_test): Use new function to simplify checking barrier exit
5207         code, and actually join the child thread.
5209 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5211         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5212         semicolon.
5213         (__libc_tend): Likewise.
5214         (__libc_tabort): Likewise.
5216 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5218         * sysdeps/nios2/libm-test-ulps: Update.
5219         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5220         (__gtsf2): Likewise.
5221         (__unorddf2): Likewise.
5222         (__unordsf2): Likewise.
5223         (__ledf2): Likewise.
5225 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5227         * nis/nis_table.c (__follow_path): Disable diagnostic for
5228         uninitialized variable that is a false positive for gcc 4.7.
5229         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5231 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5233         * sysdeps/nacl/lowlevellock-futex.h
5234         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5235         Always evaluate PRIVATE argument.
5237 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5239         [BZ #19490]
5240         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5241         (pthread_cond_broadcast): Use ENTRY/END
5242         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5243         (pthread_cond_signal): Likewise.
5244         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5245         Likewise.
5246         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5247         Likewise.
5248         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5249         Likewise.
5251 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5253         * sysdeps/ieee754/dbl-64/s_finite.c
5254         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5255         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5256         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5257         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5258         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5261         (__gtsf2): Add as optional for libc.so.
5262         (__unordsf2): Likewise.
5263         (__signbit): Remove for libc.so.
5264         (__signbitl): Likewise.
5266 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5268         * iconvdata/bug-iconv11.c (test_ibm93x):
5269         Use %zu printf format specifier for size_t argument.
5271 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5273         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5274         already-recorded ulps.
5275         * sysdeps/arm/libm-test-ulps: Regenerated.
5276         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5277         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5278         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5280 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5281             Paul Pluzhnikov  <ppluzhnikov@google.com>
5283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5284         assembler not supporting AVX-512.
5286 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5288         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5290 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5292         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5293         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5295         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5297         * sysdeps/arm/libm-test-ulps: Regenerated.
5299 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5301         [BZ #19451]
5302         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5304 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5306         [BZ #19486]
5307         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5308         * sysdeps/generic/fix-fp-int-convert-overflow.h
5309         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5310         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5311         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5312         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5313         Likewise.
5314         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5315         Avoid conversions to long int where inexact exceptions
5316         could be raised.
5317         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5318         Likewise.
5319         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5320         Avoid conversions to long long int where inexact exceptions
5321         could be raised.
5322         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5323         Likewise.
5325 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5327         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5328         * configure: Regenerated.
5330 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5332         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5334 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5337         outside of comment.
5339 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5341         * nptl/tst-barrier1.c: Add description on first line.
5342         * nptl/tst-barrier2.c: Likewise.
5343         * nptl/tst-barrier3.c: Likewise.
5344         * nptl/tst-barrier4.c: Likewise.
5345         * nptl/tst-barrier5.c: Likewise.
5347 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5349         [BZ #18868]
5350         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5352 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5356         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5357         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5358         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5359         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5360         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5361         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5362         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5363         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5366 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5368         [BZ #13065]
5369         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5370         new implementation.
5371         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5372         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5373         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5374         (BARRIER_IN_THRESHOLD): New macro.
5375         * nptl/pthread_barrierattr_setpshared.c
5376         (pthread_barrierattr_setpshared): Clean up.
5377         * nptl/tst-barrier4.c: Correct comment.
5378         * nptl/tst-barrier5.c: New file.
5379         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5380         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5381         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5382         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5383         * nptl/lowlevelbarrier.sym: Remove.
5384         * nptl/DESIGN-barrier.txt: Remove.
5385         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5386         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5387         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5388         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5389         error.
5390         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5391         implementation.
5393 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5395         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5396         (do_child): Mask SIGRTMIN while thr is running.
5398 2016-01-15  Martin Sebor  <msebor@redhat.com>
5400         [BZ #19432]
5401         * iconvdata/Makefile: Add bug-iconv11.
5402         * iconvdata/bug-iconv11.c: New test.
5403         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5404         * iconvdata/ibm933.c: Same.
5405         * iconvdata/ibm935.c: Same.
5406         * iconvdata/ibm937.c: Same.
5407         * iconvdata/ibm939.c: Same.
5409 2016-01-15  Martin Sebor  <msebor@redhat.com>
5411         [BZ #19443]
5412         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5413         [DEBUG] (_ufc_set_bits): Declare used.
5414         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5415         [DEBUG] (print_all): Declare used.
5416         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5417         operands of the ternary ?: expression to target type.
5418         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5419         calling the undeclared abort.
5420         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5422 2016-01-15  Martin Sebor  <msebor@redhat.com>
5424         [BZ #18755]
5425         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5426         warnings.
5427         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5428         (__gai_create_helper_thread): Same.
5429         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5430         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5431         to suppress -Wmaybe-uninitialized warnings.
5433 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5435         [BZ #19465]
5436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5437         inside if.
5438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5439         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5440         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5442 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5444         [BZ #19466]
5445         * time/tst-mktime2.c (time_t_max): Removed.
5446         (time_t_min): Likewise.
5447         (TYPE_SIGNED): New.
5448         (TYPE_MINIMUM): Likewise.
5449         (TYPE_MAXIMUM): Likewise.
5450         (TIME_T_MIN): Likewise.
5451         (TIME_T_MAX): Likewise.
5452         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5453         and TIME_T_MIN.
5454         (do_test): Likewise.
5456 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5458         [BZ #19467]
5459         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5460         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5462 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5464         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5466 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5468         * benchtests/Makefile (PYTHON): Define.
5469         (bench-func): Use $(PYTHON) to run python scripts.
5470         ($(objpfx)bench-%.c): Likewise.
5472 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5474         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5475         leading slash when `file_name' is "/".
5477 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5479         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5480         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5481         Likewise.
5482         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5483         Likewise.
5484         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5485         Likewise.
5486         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5487         enum constant and macro.
5488         (PTRACE_SETSIGMASK): Likewise.
5489         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5490         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5491         (PTRACE_GETSIGMASK): Likewise.
5492         (PTRACE_SETSIGMASK): Likewise.
5493         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5494         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5495         Likewise.
5496         (PTRACE_SETSIGMASK): Likewise.
5497         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5498         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5499         (PTRACE_GETSIGMASK): Likewise.
5500         (PTRACE_SETSIGMASK): Likewise.
5501         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5503         Likewise.
5504         (PTRACE_SETSIGMASK): Likewise.
5505         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5507         Likewise.
5508         (PTRACE_SETSIGMASK): Likewise.
5509         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5510         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5511         Likewise.
5512         (PTRACE_SETSIGMASK): Likewise.
5513         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5515 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5516             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5518         [BZ #19439]
5519         * math/bits/mathcalls.h
5520         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5521         prototype.
5522         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5524 2016-01-11  Andreas Schwab  <schwab@suse.de>
5526         [BZ #19253]
5527         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5528         cache when TZDEFRULES was used.
5529         * time/tst-tzname.c: New file.
5530         * time/Makefile (test): Add tst-tzname.
5531         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5532         * timezone/Makefile (test-zones): Add $(posixrules-file).
5533         ($(testdata)/$(posixrules-file)): New rule.
5535 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5537         Fix doc quoting problems with Texinfo 5
5538         Without this change, in the info file output, Texinfo 5 quotes code
5539         in text with undirected single quotes 'like this' and generates
5540         code examples that with many PDF readers cannot be cut out of PDFs
5541         and pasted into code.
5542         * manual/libc.texinfo: Configure the libc manual like the GNU
5543         Emacs manual, by using @documentencoding and setting
5544         txicodequoteundirected and txicodequotebacktick.  This way,
5545         Texinfo 5 quotes code in text with directed single quotes ‘like
5546         this’ and produces examples that can be cut out of PDFs.  This
5547         change causes Texinfo 5 to generate info files that contain UTF-8
5548         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5549         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5551 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5553         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5554         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5555         barriers to their respective compiler built-ins.
5556         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5557         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5558         * sysdeps/powerpc/sysdep.h: Likewise.
5559         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5560         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5561         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5563 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5565         * scripts/config.guess: Revert previous shebang change.
5566         * scripts/config.sub: Likewise.
5567         * scripts/mkinstalldirs: Likewise.
5569 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5571         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5572         PPC_FEATURE2_HAS_IEEE128.
5573         * sysdeps/powerpc/dl-procinfo.c:
5574         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5576 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5578         [BZ #19415]
5579         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5580         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5581         (_dl_lookup_address): Rewrite using function resolver trampoline.
5582         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5583         two bits in address.
5585 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5587         * longlong.h: Change !__SHMEDIA__ to
5588         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5589         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5591 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5592             Joseph Myers  <joseph@codesourcery.com>
5593             Mark Shinwell  <shinwell@codesourcery.com>
5594             Andrew Stubbs  <ams@codesourcery.com>
5595             Rich Felker <dalias@libc.org>
5597         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5599 2016-01-07  Richard Henderson  <rth@redhat.com>
5601         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5603 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5605         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5606         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5607         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5608         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5609         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5611 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5612             Joseph Myers  <joseph@codesourcery.com>
5614         * timezone/private.h: Update from tzcode 2015g.
5615         * timezone/tzfile.h: Likewise.
5616         * timezone/tzselect.ksh: Likewise.
5617         * timezone/zdump.c: Likewise.
5618         * timezone/zic.c: Likewise.
5619         * timezone/ialloc.c: Remove file.
5620         * timezone/scheck.c: Likewise.
5621         * timezone/Makefile (extra-objs): Remove variable.
5622         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5623         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5624         -Wno-maybe-uninitialized.
5625         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5626         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5627         (CFLAGS-ialloc.c): Remove variable.
5628         (CFLAGS-scheck.c): Likewise.
5629         * timezone/README: Update list of files from tzcode.
5631 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5633         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5634         instead of __fxprintf when _LIBC is undefined.
5636 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5638         * catgets/test-gencat.sh: Remove space after shebang.
5639         * conform/GlibcConform.pm: Likewise.
5640         * conform/check-header-lists.sh: Likewise.
5641         * conform/conformtest.pl: Likewise.
5642         * conform/linknamespace.pl: Likewise.
5643         * conform/list-header-symbols.pl: Likewise.
5644         * debug/catchsegv.sh: Likewise.
5645         * elf/genrtldtbl.awk: Likewise.
5646         * elf/tst-pathopt.sh: Likewise.
5647         * elf/tst-rtld-load-self.sh: Likewise.
5648         * grp/tst_fgetgrent.sh: Likewise.
5649         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5650         * iconvdata/gen-8bit-gap.sh: Likewise.
5651         * iconvdata/gen-8bit.sh: Likewise.
5652         * iconvdata/run-iconv-test.sh: Likewise.
5653         * intl/tst-gettext.sh: Likewise.
5654         * intl/tst-gettext2.sh: Likewise.
5655         * intl/tst-gettext4.sh: Likewise.
5656         * intl/tst-gettext6.sh: Likewise.
5657         * intl/tst-translit.sh: Likewise.
5658         * io/ftwtest-sh: Likewise.
5659         * libio/test-freopen.sh: Likewise.
5660         * locale/gen-translit.pl: Likewise.
5661         * malloc/tst-mtrace.sh: Likewise.
5662         * manual/check-safety.sh: Likewise.
5663         * manual/libc-texinfo.sh: Likewise.
5664         * manual/tsort.awk: Likewise.
5665         * manual/xtract-typefun.awk: Likewise.
5666         * nptl/tst-cancel-wrappers.sh: Likewise.
5667         * nptl/tst-tls6.sh: Likewise.
5668         * posix/globtest.sh: Likewise.
5669         * posix/tst-getconf.sh: Likewise.
5670         * posix/wordexp-tst.sh: Likewise.
5671         * scripts/check-c++-types.sh: Likewise.
5672         * scripts/check-local-headers.sh: Likewise.
5673         * scripts/config.guess: Likewise.
5674         * scripts/config.sub: Likewise.
5675         * scripts/cpp: Likewise.
5676         * scripts/cross-test-ssh.sh: Likewise.
5677         * scripts/documented.sh: Likewise.
5678         * scripts/evaluate-test.sh: Likewise.
5679         * scripts/gen-libc-abis: Likewise.
5680         * scripts/gen-sorted.awk: Likewise.
5681         * scripts/list-fixed-bugs.py: Likewise.
5682         * scripts/merge-test-results.sh: Likewise.
5683         * scripts/mkinstalldirs: Likewise.
5684         * scripts/rellns-sh: Likewise.
5685         * scripts/test-installation.pl: Likewise.
5686         * scripts/update-copyrights: Likewise.
5687         * stdio-common/tst-printf.sh: Likewise.
5688         * stdio-common/tst-unbputc.sh: Likewise.
5689         * stdlib/tst-fmtmsg.sh: Likewise.
5690         * stdlib/tst-setcontext3.sh: Likewise.
5691         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5692         * sysdeps/unix/make-syscalls.sh: Likewise.
5694 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5696         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5697         asm stw with atomic_exchange_rel.  Add explanatory comment.
5698         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5699         Likewise.
5701 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5703         [BZ #19122]
5704         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5705         * sysdeps/generic/dl-unistd.h: New file.
5706         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5708 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5710          [BZ #19122]
5711          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5712          * sysdeps/generic/dl-mman.h: New file.
5713          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5715 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5717         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5718         trailing whitespace removed.
5719         * scripts/config.guess: Update to version 2016-01-01.
5720         * scripts/config.sub: Update to version 2016-01-01.
5721         * scripts/move-if-change: Update from gnulib.
5723 2016-01-04  Anton Blanchard  <anton@samba.org>
5725         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5726         for array indices.
5727         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5729 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5731         * NEWS: Update copyright dates.
5732         * catgets/gencat.c (print_version): Likewise.
5733         * csu/version.c (banner): Likewise.
5734         * debug/catchsegv.sh: Likewise.
5735         * debug/pcprofiledump.c (print_version): Likewise.
5736         * debug/xtrace.sh (do_version): Likewise.
5737         * elf/ldconfig.c (print_version): Likewise.
5738         * elf/ldd.bash.in: Likewise.
5739         * elf/pldd.c (print_version): Likewise.
5740         * elf/sotruss.sh: Likewise.
5741         * elf/sprof.c (print_version): Likewise.
5742         * iconv/iconv_prog.c (print_version): Likewise.
5743         * iconv/iconvconfig.c (print_version): Likewise.
5744         * locale/programs/locale.c (print_version): Likewise.
5745         * locale/programs/localedef.c (print_version): Likewise.
5746         * login/programs/pt_chown.c (print_version): Likewise.
5747         * malloc/memusage.sh (do_version): Likewise.
5748         * malloc/memusagestat.c (print_version): Likewise.
5749         * malloc/mtrace.pl: Likewise.
5750         * manual/libc.texinfo: Likewise.
5751         * nptl/version.c (banner): Likewise.
5752         * nscd/nscd.c (print_version): Likewise.
5753         * nss/getent.c (print_version): Likewise.
5754         * nss/makedb.c (print_version): Likewise.
5755         * posix/getconf.c (main): Likewise.
5756         * scripts/test-installation.pl: Likewise.
5757         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5759         * All files with FSF copyright notices: Update copyright dates
5760         using scripts/update-copyrights.
5761         * intl/plural.c: Regenerated.
5762         * locale/programs/charmap-kw.h: Likewise.
5763         * locale/programs/locfile-kw.h: Likewise.
5765 2016-01-02  Helge Deller  <deller@gmx.de>
5767         [BZ #19285]
5768         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5769         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5770         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5771         (MADV_xxK_PAGES): Remove.
5773 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5775         [BZ #15421]
5776         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5777         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5778         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5779         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5781 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5783         [BZ #19408]
5784         * sysdeps/unix/sysv/linux/personality.c: New file.
5785         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5786         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5787         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5788         (sysdep_routines): Add personality.
5789         (tests): Add tst-personality.
5790         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5792         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5793         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5794         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5795         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5796         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5797         Likewise.
5798         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5799         Likewise.
5800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5803         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5804         Likewise.
5806 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5808         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5809         (PATH_ARM_SYSTYPE): Remove.
5810         (PATH_CPUINFO): Likewise.
5811         (IO_BASE_FOOTBRIDGE): Likewise.
5812         (IO_SHIFT_FOOTBRIDGE): Likewise.
5813         (struct platform): Likewise.
5814         (init_iosys): Remove compatibility code for 2.4 kernels.
5815         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5817 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5819         * malloc/tst-malloc-thread-fail.c: New file.
5820         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5821         (tst-malloc-thread-fail): Link against libpthread.
5823 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5825         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5826         (get_parser): New function.
5827         (main): New function.
5829 2015-12-29  Rob Wu  <rob@robwu.nl>
5831         [BZ #19369]
5832         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5834 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5836         [BZ #19270]
5837         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5839 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5841         [BZ #15421]
5842         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5844 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5846         [BZ #13690]
5847         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5848         after releasing it.
5849         (__lll_robust_unlock): Likewise.
5850         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5851         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5852         (lll_robust_unlock): Likewise.
5853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5854         Prevent warnings in callers.
5856 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5858         * malloc/arena.c (list_lock): Update comment.
5860 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5862         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5863         __parse_hwcap_and_convert_at_platform to libc.a.
5865 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5867         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5868         platform and feature support for POWER9.
5869         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5870         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5871         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5872         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5873         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5874         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5875         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5876         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5878 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5880         Harmonize generic stdio-lock support with nptl
5882         This fixes build when _IO_funlockfile is a macro, fixes build where
5883         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5884         stack unwind.
5886         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5887         _IO_release_lock ): Use cleanup attribute on new
5888         _IO_acquire_lock_file variable instead of assuming that
5889         _IO_release_lock will be called.
5890         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5891         _IO_acquire_lock_needs_exceptions_enabled.
5892         (_IO_acquire_lock_clear_flags2): New macro.
5894 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5896         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5898 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5900         [BZ #19182]
5901         * malloc/arena.c (list_lock): Document lock ordering requirements.
5902         (free_list_lock): New lock.
5903         (ptmalloc_lock_all): Comment on free_list_lock.
5904         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5905         (detach_arena): Update comment.  free_list_lock is now needed.
5906         (_int_new_arena): Use free_list_lock around detach_arena call.
5907         Acquire arena lock after list_lock.  Add comment, including FIXME
5908         about incorrect synchronization.
5909         (get_free_list): Switch to free_list_lock.
5910         (reused_arena): Acquire free_list_lock around detach_arena call
5911         and attached threads counter update.  Add two FIXMEs about
5912         incorrect synchronization.
5913         (arena_thread_freeres): Switch to free_list_lock.
5914         * malloc/malloc.c (struct malloc_state): Update comments to
5915         mention free_list_lock.
5917 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5919         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5920         Remove functions.
5921         (sloww, sloww1): Accept argument to offset quadrant.
5922         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5923         quadrant.
5924         (__sin, __cos): Consolidate common code into new functions.
5925         (reduce_sincos_1, do_sincos_1): New functions.
5926         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5929         code to new functions.
5930         (reduce_sincos_2, do_sincos_2): New functions.
5931         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5934         common code for sincos.
5935         (__cos) [!IN_SINCOS]: Likewise.
5936         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5937         New function.
5938         (__sincos): Use it.
5940 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5942         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5943         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5944         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5946 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5948         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5951         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5952         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5953         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5954         index_Prefer_No_VZEROUPPER): New feature.
5955         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5956         Prefer_No_VZEROUPPER for Knights Landing.
5958 015-12-18  Torvald Riegel  <triegel@redhat.com>
5960         * math/atest-exp2.c (mp_exp_m1): Remove.
5962 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5964         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5965         syscalls.
5966         (__SYSCALL0): New macro.
5967         (__SYSCALL1): Likewise.
5968         (__SYSCALL2): Likewise.
5969         (__SYSCALL3): Likewise.
5970         (__SYSCALL4): Likewise.
5971         (__SYSCALL5): Likewise.
5972         (__SYSCALL6): Likewise.
5973         (__SYSCALL_CONCAT_X): Likewise.
5974         (__SYSCALL_CONCAT): Likewise.
5975         (__SYSCALL_DIST): Likewise.
5976         (__SYSCALL_CALL): Likewise.
5978 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5980         [BZ #19363]
5981         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5983 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5985         [BZ #19375]
5986         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5987         negative subnormals.
5989 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5992         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5993         (INTERNAL_SYSCALL_NCS): Use it.
5994         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5996 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5998         [BZ #19243]
5999         * malloc/arena.c (get_free_list): Remove assert and adjust
6000         reference count handling.  Add comment about reused_arena
6001         interaction.
6002         (reused_arena): Add comments abount get_free_list interaction.
6003         * malloc/tst-malloc-thread-exit.c: New file.
6004         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6005         (tst-malloc-thread-exit): Link against libpthread.
6007 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6009         [BZ #19367]
6010         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6011         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6012         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6013         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6014         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6016 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6018         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6019         Silvermont optimizations for Knights Landing.
6021 2015-12-15  Andreas Schwab  <schwab@suse.de>
6023         [BZ #17197]
6024         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6025         immediately after emitting SI.
6026         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6027         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6028         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6029         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6030         * iconvdata/bug-iconv10.c: New file.
6031         * iconvdata/Makefile (tests): Add bug-iconv10.
6032         ($(objpfx)bug-iconv10.out): New rule.
6034 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6036         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6037         aliasing violation.
6039 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #18472]
6042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6043         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6044         conditionals for them.
6045         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6046         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6048         sys/kdaemon.h.
6049         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6050         compat-only syscall, obsoleted in glibc 2.23.
6051         (create_module): Likewise.
6052         (get_kernel_syms): Likewise.
6053         (query_module): Likewise.
6054         (uselib): Likewise.
6055         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6057 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6059         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6060         <linux/version.h>.
6061         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6062         conditional code.
6063         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6064         and ioshift_name initialization.
6066 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6068         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6069         Fix indentation.
6071 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6075 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6077         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6079 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6080             Jakub Wilk  <jwilk@debian.org>
6082         [BZ #19347]
6083         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6084         to change the group of the device to the tty group.
6086 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6088         Split large string section; add truncation advice
6089         * manual/examples/strncat.c: Remove.
6090         This example was misleading, as the code would have undefined
6091         behavior if "hello" was longer than SIZE.  Anyway, the manual
6092         shouldn't encourage strncpy+strncat for this sort of thing.
6093         * manual/string.texi (Copying Strings and Arrays): Split into
6094         three sections Copying Strings and Arrays, Concatenating Strings,
6095         and Truncating Strings, as this section was way too long.  All
6096         cross-referenced changed.  Add advice about string-truncation
6097         functions.  Remove misleading strncat example.
6099 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6101         * manual/nss.texi (NSS Modules Interface): Document
6102         NSS_STATUS_NOTFOUND and SUCCESS.
6104 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6106         [BZ 18568]
6107         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6108         201505L, for Unicode 8.
6110 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6112         * locale/C-translit.h: Regenerate.
6114 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6116         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6117         and U+0153.
6119 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #19351]
6122         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6123         expanding log(1+z), compare z rather than its square with epsilon
6124         to determine when to avoid evaluating the expansion.
6126         [BZ #19350]
6127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6128         Increase overflow threshold.
6130         [BZ #19349]
6131         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6132         when small.
6134         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6136         New macro.
6137         [__LINUX_KERNEL_VERSION >= 0x040300]
6138         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6140         Likewise.
6141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6142         Likewise.
6143         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6144         Likewise.
6145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6146         Likewise.
6147         [__LINUX_KERNEL_VERSION >= 0x040300]
6148         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6149         [__LINUX_KERNEL_VERSION >= 0x040300]
6150         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6151         [__LINUX_KERNEL_VERSION >= 0x040300]
6152         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6153         [__LINUX_KERNEL_VERSION >= 0x040300]
6154         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6155         [__LINUX_KERNEL_VERSION >= 0x040300]
6156         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6158         Likewise.
6159         [__LINUX_KERNEL_VERSION >= 0x040300]
6160         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6162         Likewise.
6163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6164         Likewise.
6165         [__LINUX_KERNEL_VERSION >= 0x040300]
6166         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6168         Likewise.
6169         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6170         Likewise.
6171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6173         Likewise.
6174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6175         Likewise.
6176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6177         Likewise.
6178         [__LINUX_KERNEL_VERSION >= 0x040300]
6179         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6181         Likewise.
6182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6183         Likewise.
6184         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6185         Likewise.
6186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6187         Likewise.
6188         [__LINUX_KERNEL_VERSION >= 0x040300]
6189         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6190         [__LINUX_KERNEL_VERSION >= 0x040300]
6191         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6192         [__LINUX_KERNEL_VERSION >= 0x040300]
6193         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6194         [__LINUX_KERNEL_VERSION >= 0x040300]
6195         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6196         [__LINUX_KERNEL_VERSION >= 0x040300]
6197         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6199         Likewise.
6200         [__LINUX_KERNEL_VERSION >= 0x040300]
6201         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6203         Likewise.
6204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6205         Likewise.
6206         [__LINUX_KERNEL_VERSION >= 0x040300]
6207         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6209         Likewise.
6210         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6211         Likewise.
6212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6213         (__ASSUME_SOCKET_SYSCALL): Likewise.
6214         (__ASSUME_BIND_SYSCALL): Likewise.
6215         (__ASSUME_CONNECT_SYSCALL): Likewise.
6216         (__ASSUME_LISTEN_SYSCALL): Likewise.
6217         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6218         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6219         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6220         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6221         (__ASSUME_SEND_SYSCALL): Likewise.
6222         (__ASSUME_SENDTO_SYSCALL): Likewise.
6223         (__ASSUME_RECV_SYSCALL): Likewise.
6224         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6225         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6226         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6227         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6228         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6229         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6230         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6232         Likewise.
6233         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6234         Likewise.
6235         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6236         Likewise.
6237         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6238         Likewise.
6239         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6240         Likewise.
6241         [__LINUX_KERNEL_VERSION >= 0x020625]
6242         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6243         [__LINUX_KERNEL_VERSION >= 0x020625]
6244         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6245         [__LINUX_KERNEL_VERSION >= 0x020625]
6246         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6247         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6248         Likewise.
6249         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6250         Likewise.
6251         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6252         Likewise.
6253         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6254         Likewise.
6255         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6256         Likewise.
6257         [__LINUX_KERNEL_VERSION >= 0x020625]
6258         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6259         [__LINUX_KERNEL_VERSION >= 0x020625]
6260         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6261         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6262         Likewise.
6263         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6264         Likewise.
6266 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6268         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6269         record the current if the current ABI and CPU support the FP64
6270         extension.
6271         (has-modd-spreg): Define to record the current if the current ABI and
6272         CPU support 32-bit floating point values in odd FPU registers.
6273         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6274         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6275         $(has-modd-spreg) equals yes.
6276         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6277         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6278         $(has-modd-spreg) equal yes.
6280 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6282         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6283         basename.
6285 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6287         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6288         (bench-string): ... here.
6289         (bench): Add bench-string.
6290         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6291         to *-benchset to reflect what they are.
6292         (benchset): Adjust.
6294         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6295         cos-inputs.
6297 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6299         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6300         __attribute__ ((__simd__)) for vector math function declarations.
6302 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6304         Fix typo in strncat, wcsncat manual entries
6305         * manual/string.texi (Copying and Concatenation): Fix typos in
6306         sample implementations of strncat and wcsncat, by having them use
6307         the old value of the destination length, not the new one.
6309 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #16961]
6312         [BZ #16962]
6313         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6314         string on the stack for strtod.
6315         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6316         a string on the stack for strtof.
6317         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6318         constructing a string on the stack for strtold.
6319         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6320         __strtold_nan to GLIBC_PRIVATE.
6321         * math/test-nan-overflow.c: New file.
6322         * math/test-nan-payload.c: Likewise.
6323         * math/Makefile (tests): Add test-nan-overflow and
6324         test-nan-payload.
6326 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6328         Consistency about byte vs character in string.texi
6329         * manual/string.texi (String and Array Utilities):
6330         Distinguish more carefully among bytes, multibyte characters,
6331         and wide characters.  Use "byte" when talking about C 'char',
6332         to distinguish it more clearly from multibyte characters.
6333         Say "wide character" or "multibyte character" instead of
6334         "character", when a wide or multibyte character is intended.
6335         Similarly for "multibyte string" versus "string".
6336         Define these terms more carefully.
6338 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6340         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6341         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6342         Likewise.
6343         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6344         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6345         * sysdeps/sh/math_private.h: New file.
6346         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6347         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6348         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6349         long double function name.
6350         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6356         Remove __finitel, __isinfl, and __isnanl.
6357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6358         Likewise.
6359         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6361         Remove __finitel.
6362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6363         Likewise.
6364         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6366 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6368         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6369         installed libmvec_nonshared.a.
6371 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6373         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6374         (sysdep_routines): Likewise.
6375         (sysdep-rtld-routines): Likewise.
6376         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6377         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6378         * sysdeps/powerpc/Versions: Added new
6379         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6380         * sysdeps/powerpc/hwcapinfo.c: New file.
6381         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6382         and parse hwcap, hwcap2 and platform number information.
6383         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6384         to store HWCAP+HWCAP2 and platform number.
6385         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6386         for HWCAP+HWCAP2 and platform number in the TCB.
6387         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6388         the HWCAP, HWCAP2 and platform number in the TCB.
6389         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6390         (TLS_INIT_TP): Included calls to add the hwcap and
6391         at_platform values in the TCB in TP initialization.
6392         (TLS_DEFINE_INIT_TP): Likewise.
6393         (THREAD_GET_HWCAP): New macro.
6394         (THREAD_SET_HWCAP): Likewise.
6395         (THREAD_GET_AT_PLATFORM): Likewise.
6396         (THREAD_SET_AT_PLATFORM): Likewise.
6397         * sysdeps/powerpc/powerpc32/dl-machine.h:
6398         (dl_platform_init): New function that calls
6399         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6400         powerpc32.
6401         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6402         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6403         this functionality, static linking case.
6404         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6405         linking case.
6406         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6407         __parse_hwcap_and_convert_at_platform for the static linking case.
6408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6409         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6410         ABI list for GLIBC 2.23.
6411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6412         Likewise.
6413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6414         Likewise.
6416 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6418         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6419         * configure: Regenerate.
6420         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6421         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6423 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6425         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6426         * iconvdata/ibm933.c: Likewise.
6427         * iconvdata/ibm935.c: Likewise.
6428         * iconvdata/ibm937.c: Likewise.
6429         * iconvdata/ibm939.c: Likewise.
6431 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6433         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6434         pthread_join.
6435         * nptl/tst-cancel21.c (tf): Likewise.
6437 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6439         [BZ #19313]
6440         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6441         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6442         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6443         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6452         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6453         unsigned long int with __CPU_MASK_TYPE.
6455 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6457         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6459 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6461         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6462         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6463         t512.x.
6464         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6466 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6468         [BZ #19214]
6469         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6470         argument to return extended model.  Update family and model
6471         with extended family and model when family == 0x0f.
6472         (init_cpu_features): Updated.
6474 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6476         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6477         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6479         * sysdeps/mach/hurd/mmap64.c: New file.
6481 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6483         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6484         rights for its main user thread in NEWTASK.
6486 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6488         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6489         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6491 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6493         [BZ #14259]
6494         * Makeconfig: Rename localedir to complocaledir.
6495         Rename inst_localedir to inst_complocaledir.
6496         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6497         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6498         * configure.ac: Use libc_cv_complocaledir.
6499         * configure: Regenerate.
6500         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6501         -DCOMPLOCALEDIR.
6502         * locale/findlocale.c: Use COMPLOCALEDIR.
6503         * locale/loadarchive.c: Likewise.
6504         * locale/programs/locale.c: Likewise.
6505         * locale/programs/localedef.c: Likewise.
6506         * locale/programs/locarchive.c: Likewise.
6507         * localedata/Makefile: Use inst_complocaledir.
6508         * sysdeps/gnu/configure: Regenerate.
6509         * sysdeps/hppa/configure: Regenerate.
6510         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6511         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6513         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6514         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6515         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6516         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6518 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6520         [BZ #19058]
6521         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6522         AS_NEEDED.
6523         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6524         workaround.
6525         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6526         libmvec-static-only-routines): Added new file.
6527         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6529 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6531         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6532         of interrupted RPC instead of restoring it.
6534         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6535         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6536         libc_hidden_def.
6537         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6538         into initialized data instead of common. Define rtld_hidden_data_def.
6539         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6540         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6541         libc_hidden_def.
6542         (if_freenameindex): Add libc_hidden_weak.
6543         (if_nameindex): Add libc_hidden_weak.
6544         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6545         __open64.
6546         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6547         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6548         * sysdeps/mach/nanosleep.c: Include <time.h>
6549         (__nanosleep): Rename to __libc_nanosleep.
6550         (__nanosleep): Add weak_alias.
6551         (nanosleep): Update alias.
6553 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6555         * stdlib/strtod_nan.c: New file.
6556         * stdlib/strtod_nan_double.h: Likewise.
6557         * stdlib/strtod_nan_float.h: Likewise.
6558         * stdlib/strtod_nan_main.c: Likewise.
6559         * stdlib/strtod_nan_narrow.h: Likewise.
6560         * stdlib/strtod_nan_wide.h: Likewise.
6561         * stdlib/strtof_nan.c: Likewise.
6562         * stdlib/strtold_nan.c: Likewise.
6563         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6564         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6565         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6566         * wcsmbs/wcstod_nan.c: Likewise.
6567         * wcsmbs/wcstof_nan.c: Likewise.
6568         * wcsmbs/wcstold_nan.c: Likewise.
6569         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6570         strtold_nan.
6571         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6572         wcstof_nan.
6573         * include/stdlib.h (__strtof_nan): Declare and use
6574         libc_hidden_proto.
6575         (__strtod_nan): Likewise.
6576         (__strtold_nan): Likewise.
6577         (__wcstof_nan): Likewise.
6578         (__wcstod_nan): Likewise.
6579         (__wcstold_nan): Likewise.
6580         * include/wchar.h (____wcstoull_l_internal): Declare.
6581         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6582         (____strtoull_l_internal): Remove declaration.
6583         (STRTOF_NAN): Define macro.
6584         (SET_MANTISSA): Remove macro.
6585         (STRTOULL): Likewise.
6586         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6587         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6588         (STRTOF_NAN): Define macro.
6589         (SET_MANTISSA): Remove macro.
6590         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6591         (SET_MANTISSA): Remove macro.
6592         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6593         macro.
6594         (SET_MANTISSA): Remove macro.
6595         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6596         macro.
6597         (SET_MANTISSA): Remove macro.
6598         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6599         (SET_MANTISSA): Remove macro.
6600         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6601         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6602         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6604         [BZ #19266]
6605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6606         upper case and lower case letters inside NAN(), not using TOLOWER.
6607         * stdlib/tst-strtod-nan-locale-main.c: New file.
6608         * stdlib/tst-strtod-nan-locale.c: Likewise.
6609         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6610         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6611         Depend on $(gen-locales).
6612         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6613         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6614         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6615         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6616         Depend on $(gen-locales).
6617         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6619 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6621         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6623         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6625         __finitel, __isinfl, and __isnanl.
6626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6627         Likewise.
6628         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6630         __finitel.
6631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6632         Likewise.
6633         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6635 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6637         * malloc/memusage.c (me): Remove redundant getenv call.
6639 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6641         [BZ #19143]
6642         [BZ #19164]
6643         * nptl/check-cpuset.h: Remove.
6644         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6645         Remove CPU set size check.
6646         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6647         Likewise.
6648         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6649         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6650         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6651         (__pthread_setaffinity_new): Remove CPU set size check.
6652         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6653         (__kernel_cpumask_size): Remove.
6654         (__sched_setaffinity_new): Remove CPU set size check.
6655         * manual/threads.texi (Default Thread Attributes): Remove stale
6656         reference to check_cpuset_attr, determine_cpumask_size in comment.
6657         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6658         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6659         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6660         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6661         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6662         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6663         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6664         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6665         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6666         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6667         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6668         skeleton test file.
6669         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6670         tst-affinity-pid.
6672 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6674         * scripts/update-abilist.sh: New file.
6675         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6676         * Makerules (update-all-abi-%, update-all-abi)
6677         (subdir_update-all-abi): New targets.
6678         * elf/Makefile (update-all-abi): New target.
6680 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6682         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6683         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6684         (__libc_lock_define_initialized): Use it.
6685         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6686         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6687         * malloc/malloc.c (main_arena): Likewise.
6688         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6689         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6691 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6693         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6694         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6695         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6696         (PTRACE_O_MASK): Update value.
6697         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6698         New value in enum __ptrace_setoptions.
6699         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6700         (PTRACE_O_MASK): Update value.
6701         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6702         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6703         (PTRACE_O_MASK): Update value.
6704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6705         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6706         (PTRACE_O_MASK): Update value.
6707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6708         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6709         (PTRACE_O_MASK): Update value.
6710         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6711         New value in enum __ptrace_setoptions.
6712         (PTRACE_O_MASK): Update value.
6713         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6714         New value in enum __ptrace_setoptions.
6715         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6716         (PTRACE_O_MASK): Update value.
6718         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6719         New macro.
6720         (PACKET_AUXDATA): Likewise.
6721         (PACKET_ORIGDEV): Likewise.
6722         (PACKET_VERSION): Likewise.
6723         (PACKET_HDRLEN): Likewise.
6724         (PACKET_RESERVE): Likewise.
6725         (PACKET_TX_RING): Likewise.
6726         (PACKET_LOSS): Likewise.
6727         (PACKET_VNET_HDR): Likewise.
6728         (PACKET_TX_TIMESTAMP): Likewise.
6729         (PACKET_TIMESTAMP): Likewise.
6730         (PACKET_FANOUT): Likewise.
6731         (PACKET_TX_HAS_OFF): Likewise.
6732         (PACKET_QDISC_BYPASS): Likewise.
6733         (PACKET_ROLLOVER_STATS): Likewise.
6734         (PACKET_FANOUT_DATA): Likewise.
6735         (PACKET_MR_UNICAST): Likewise.
6737         [BZ #19242]
6738         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6739         (TOUPPER): Likewise.
6740         * stdlib/tst-strtol-locale-main.c: New file.
6741         * stdlib/tst-strtol-locale.c: Likewise.
6742         * stdlib/Makefile (tests): Add tst-strtol-locale.
6743         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6744         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6745         Depend on $(gen-locales).
6746         * wcsmbs/tst-wcstol-locale.c: New file.
6747         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6748         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6749         tr_TR.ISO-8859-9.
6750         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6751         Depend on $(gen-locales).
6753 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6755         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6756         __glibc_likely instead of __builtin_expect.  After falling back to
6757         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6758         system interface to register the code pages as occupied.
6760 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6762         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6763         [!ARM_MATH_PRIVATE_H].
6764         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6765         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6766         [!HPPA_MATH_PRIVATE_H].
6767         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6768         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6769         to [!I386_MATH_PRIVATE_H].
6770         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6771         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6772         Change guard to [!M68K_MATH_PRIVATE_H].
6773         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6774         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6775         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6776         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6777         macro.
6778         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6779         [!MIPS_MATH_PRIVATE_H].
6780         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6781         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6782         [!NIO2_MATH_PRIVATE_H].
6783         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6784         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6785         [!TILE_MATH_PRIVATE_H].
6786         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6788         [BZ #15421]
6789         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6790         initialize with 0 and define as weak alias of __signgam.
6791         * include/math.h [!_ISOMAC] (__signgam): Declare.
6792         * math/Makefile (libm-calls): Add w_lgamma_compat.
6793         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6794         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6795         test-signgam-ullong-init.
6796         (tests-static): Add test-signgam-uchar-static,
6797         test-signgam-uchar-init-static, test-signgam-uint-static,
6798         test-signgam-uint-init-static, test-signgam-ullong-static and
6799         test-signgam-ullong-init-static.
6800         (CFLAGS-test-signgam-uchar.c): New variable.
6801         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6802         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6803         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6804         (CFLAGS-test-signgam-uint.c): Likewise.
6805         (CFLAGS-test-signgam-uint-init.c): Likewise.
6806         (CFLAGS-test-signgam-uint-static.c): Likewise.
6807         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6808         (CFLAGS-test-signgam-ullong.c): Likewise.
6809         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6810         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6811         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6812         * math/Versions (libm): Add GLIBC_2.23.
6813         * math/lgamma-compat.h: New file.
6814         * math/test-signgam-main.c: Likewise.
6815         * math/test-signgam-uchar-init-static.c: Likewise.
6816         * math/test-signgam-uchar-init.c: Likewise.
6817         * math/test-signgam-uchar-static.c: Likewise.
6818         * math/test-signgam-uchar.c: Likewise.
6819         * math/test-signgam-uint-init-static.c: Likewise.
6820         * math/test-signgam-uint-init.c: Likewise.
6821         * math/test-signgam-uint-static.c: Likewise.
6822         * math/test-signgam-uint.c: Likewise.
6823         * math/test-signgam-ullong-init-static.c: Likewise.
6824         * math/test-signgam-ullong-init.c: Likewise.
6825         * math/test-signgam-ullong-static.c: Likewise.
6826         * math/test-signgam-ullong.c: Likewise.
6827         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6828         wrapper of w_lgamma_main.c.
6829         * math/w_lgamma_compat.c: New file.
6830         * math/w_lgamma_compatf.c: Likewise.
6831         * math/w_lgamma_compatl.c: Likewise.
6832         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6833         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6834         defining compatibility symbols.
6835         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6836         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6837         wrapper of w_lgammaf_main.c.
6838         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6839         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6840         defining compatibility symbols.
6841         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6842         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6843         wrapper of w_lgammal_main.c.
6844         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6845         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6846         defining compatibility symbols.
6847         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6848         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6849         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6850         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6851         <lgamma-compat.h>.
6852         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6853         (__ieee754_gamma): Define as alias.
6854         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6855         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6856         <lgamma-compat.h>.
6857         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6858         (__ieee754_gammaf): Define as alias.
6859         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6860         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6861         <lgamma-compat.h>.
6862         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6863         (__ieee754_gammal): Define as alias.
6864         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6865         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6866         <math/w_lgamma_compat.c>.
6867         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6868         Define as alias of __lgamma_compat and use in defining lgammal.
6869         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6870         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6871         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6872         (USE_AS_COMPAT): New macro.
6873         (LGAMMA_OLD_VER): Undefine and redefine.
6874         (lgammal): Do not define here.
6875         (gammal): Only define here if [GAMMA_ALIAS].
6876         * conform/linknamespace.pl (@whitelist): Remove signgam.
6877         * sysdeps/nacl/libm.abilist: Update.
6878         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6879         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6880         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6881         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6882         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6883         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6884         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6885         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6886         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6887         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6888         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6889         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6891         Likewise.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6893         Likewise.
6894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6895         Likewise.
6896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6897         Likewise.
6898         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6904         Likewise.
6905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6906         Likewise.
6907         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6911 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6913         [BZ #16364]
6914         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6915         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6917 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6919         * sysdeps/s390/fpu/bits/mathinline.h:
6920         Use __asm__ [__volatile__] instead of asm [volatile].
6921         * sysdeps/s390/abort-instr.h: Likewise.
6922         * sysdeps/s390/atomic-machine.h: Likewise.
6923         * sysdeps/s390/bits/string.h: Likewise.
6924         * sysdeps/s390/dl-tls.h: Likewise.
6925         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6926         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6927         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6928         * sysdeps/s390/fpu/fesetround.c: Likewise.
6929         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6930         * sysdeps/s390/fpu/s_fma.c: Likewise.
6931         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6932         * sysdeps/s390/memusage.h: Likewise.
6933         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6934         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6935         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6936         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6937         * sysdeps/s390/nptl/tls.h: Likewise.
6938         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6939         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6940         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6941         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6942         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6943         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6944         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6945         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6946         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6947         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6948         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6949         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6950         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6951         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6953         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6954         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6955         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6956         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6958         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6960         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6962 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6963             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6965         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6966         Add lwarx hint, and use macro for acquire instruction.
6967         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6968         Likewise.
6969         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6970         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6971         update to use new atomic macros.
6973 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6975         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6976         (__lll_trylock_elision): Fix setting of adapt_count.
6977         * sysdeps/unix/sysv/linux/powerpc/htm.h
6978         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6979         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6980         (_ABORT_SYSCALL): Renumber, and clarify definition.
6981         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6983 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6985         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6986         after system headers to prevent MIN/MAX redefinition.  Define
6987         HAVE_ALLOCA to preserve builtin alloca usage.
6989 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6992         static and don't set or restore rounding.
6993         (__cos)[IN_SINCOS]: Likewise.
6994         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6995         (__sincos): Set and restore rounding mode.  Remove check for infinite
6996         or NaN input.
6998         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7000         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7001         as used.
7003 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7005         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7007 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7009         * config.make.in (have-glob-dat-reloc): New.
7010         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7011         target supports GLOB_DAT relocaton. AC_SUBST.
7012         * configure: Regenerated.
7013         * elf/Makefile (tests): Add tst-prelink.
7014         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7015         (tst-prelink-ENV): New.
7016         ($(objpfx)tst-prelink-conflict.out): Likewise.
7017         ($(objpfx)tst-prelink-cmp.out): Likewise.
7018         * sysdeps/x86/tst-prelink.c: Moved to ...
7019         * elf/tst-prelink.c: Here.
7020         * sysdeps/x86/tst-prelink.exp: Moved to ...
7021         * elf/tst-prelink.exp: Here.
7022         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7023         (tst-prelink-ENV): Removed.
7024         ($(objpfx)tst-prelink-conflict.out): Likewise.
7025         ($(objpfx)tst-prelink-cmp.out): Likewise.
7026         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7028 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7030         [BZ #14551]
7031         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7032         (__mpn_construct_long_double): If high part overflows to infinity,
7033         set errno and recompute overflowed result of the correct sign.
7034         * sysdeps/ieee754/ldbl-128ibm/Makefile
7035         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7036         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7037         $(libm).
7038         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7040 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7042         [BZ #15479]
7043         [BZ #19238]
7044         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7045         floating-point state after first operation on input.  Restore full
7046         state rather than just rounding mode.
7047         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7048         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7049         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7051         [BZ #19235]
7052         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7053         add 0.5 to integer arguments.
7054         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7055         Likewise.
7056         (.LC2): New object.
7058 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7060         * scripts/pylintrc (reports): Set to no.
7062 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7064         * elf/dl-load.c (open_verify): Take new argument FD.
7065         Skip __open call if passed FD is not -1.
7066         (_dl_map_object, open_path): Update callers.
7067         * elf/dl-sysdep-open.h: New file.
7068         * elf/dl-load.c: Include it.
7069         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7070         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7071         * sysdeps/nacl/dl-sysdep-open.h: New file.
7072         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7073         from libc to rtld.
7075 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7077         [BZ #19228]
7078         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7079         and restore full floating-point state.
7080         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7081         Likewise.
7082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7083         Likewise.
7084         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7085         Likewise.
7086         * math/test-nearbyint-except-2.c: New file.
7087         * math/Makefile (tests): Add test-nearbyint-except-2.
7089 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7091         [BZ #19178]
7092         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7093         (tst-prelink-ENV): New.
7094         ($(objpfx)tst-prelink-conflict.out): Likewise.
7095         ($(objpfx)tst-prelink-cmp.out): Likewise.
7096         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7097         * sysdeps/x86/tst-prelink.c: New file.
7098         * sysdeps/x86/tst-prelink.exp: Likewise.
7100 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7102         * math/auto-libm-test-in: Add another test of pow.
7103         * math/auto-libm-test-out: Regenerated.
7104         * math/libm-test.inc (pow_test_data): Add another test.
7106 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7108         [BZ #19219]
7109         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7110         weak_alias to nearbyintl.
7112 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7114         * sysdeps/aarch64/bits/string.h: New file.
7115         (_STRING_ARCH_unaligned): Define.
7117 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7119         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7120         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7121         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7122         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7125 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7127         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7128         for original name of the DSO.  Add it to the name list of the DSO
7129         if it is actually given.
7130         (_dl_map_object): Keep track of whether an audit module rewrote
7131         the file name.  If yes, pass the original name to
7132         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7133         debugging is enabled, log the change of the file name.
7134         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7135         _dl_map_object_from_fd.
7136         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7137         * elf/tst-audit11.c: New file
7138         * elf/tst-auditmod11.c: New file.
7139         * elf/tst-audit11mod1.c: New file.
7140         * elf/tst-audit11mod2.c: New file.
7141         * elf/tst-audit11mod2.map: New file.
7142         * elf/tst-audit12.c: New file
7143         * elf/tst-auditmod12.c: New file.
7144         * elf/tst-audit12mod1.c: New file.
7145         * elf/tst-audit12mod2.c: New file.
7146         * elf/tst-audit12mod2.map: New file.
7147         * elf/tst-audit12mod3.c: New file.
7149 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7151         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7152         Don't create weak aliases,
7153         because versioned symbols are created later.
7154         * sysdeps/s390/s390-32/setjmp.S
7155         (setjmp, _setjmp): Remove weak and rename to an unique name
7156         in SHARED case due to existing versioned symbols.
7157         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7158         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7159         (getcontext): Create weak alias only in non SHARED case.
7160         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7162 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7164         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7165         (__ASSUME_*_SYSCALL) Define new macros.
7166         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7167         Remove socketcall syscalls.
7168         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7169         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7170         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7171         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7172         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7173         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7175 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7177         [BZ #12926]
7178         Terminate process on invalid netlink response.
7179         * sysdeps/unix/sysv/linux/netlinkaccess.h
7180         (__netlink_assert_response): Declare.
7181         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7182         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7183         (sysdep_routines): Add netlink_assert_response.
7184         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7185         __netlink_assert_response.
7186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7187         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7188         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7189         __netlink_assert_response.
7191 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7193         [BZ #19178]
7194         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7195         (RTYPE_CLASS_PLT): Likewise.
7196         (RTYPE_CLASS_COPY): Likewise.
7197         (RTYPE_CLASS_TLS): Likewise.
7198         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7199         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7200         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7201         DL_DEBUG_PRELINK.
7203 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7205         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7206         calls with argument -0.5.
7207         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7209         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7210         (libc_cv_z_nodlopen): Likewise.
7211         (libc_cv_z_initfirst): Likewise.
7212         * configure: Regenerated.
7214 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7216         Simplify abilist format to be line-based.
7217         * scripts/abilist.awk: Collect descriptors in the descs variable.
7218         (emit): Write descs variable and sort it
7219         externally, with sort.
7220         * sysdeps/**/*.abilist: Convert to new format.
7222 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7224         [BZ #11460]
7225         * io/Makefile (routines): Add fts64.
7226         (tests): Add tst-fts and tst-fts-lfs.
7227         (CFLAGS-fts64.c): New.
7228         * io/Versions (GLIBC_2.23): New.
7229         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7230         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7231         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7232         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7233         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7234         (FTSENT64): Likewise.
7235         (fts64_children): Likewise.
7236         (fts64_close): Likewise.
7237         (fts64_open): Likewise.
7238         (fts64_read): Likewise.
7239         (fts64_set): Likewise.
7240         * io/fts64.c: New file.
7241         * io/tst-fts.c: New test.
7242         * io/tst-fts-lfs.c: Likewise.
7243         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7244         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7245         fts64_set.
7246         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7254         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7255         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7256         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7257         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7258         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7260         Likewise.
7261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7262         Likewise.
7263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7273         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7275         * sysdeps/wordsize-64/fts.c: New file.
7276         * sysdeps/wordsize-64/fts64.c: Likewise.
7277         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7278         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7279         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7280         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7282 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7284         * math/libm-test.inc (NON_FINITE): New macro.
7285         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7286         * math/gen-libm-test.pl (show_exceptions): Add argument
7287         $non_finite.
7288         (parse_args): Update call to show_exceptions.
7289         * math/test-math-finite.h: New file.
7290         * math/test-math-no-finite.h: Likewise.
7291         * math/test-double-finite.c: Likewise.
7292         * math/test-float-finite.c: Likewise.
7293         * math/test-ldouble-finite.c: Likewise.
7294         * math/test-double.c: Include "test-math-no-finite.h".
7295         * math/test-float.c: Include "test-math-no-finite.h".
7296         * math/test-ldouble.c: Include "test-math-no-finite.h".
7297         * math/test-math-inline.h (TEST_FINITE): New macro.
7298         * math/test-math-vector.h (TEST_FINITE): Likewise.
7299         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7300         (libm-tests): Add test-float-finite and test-double-finite.
7301         ($(objpfx)test-float-finite.o): New dependency on
7302         $(objpfx)libm-test.stmp.
7303         ($(objpfx)test-double-finite.o): Likewise.
7304         ($(objpfx)test-ldouble-finite.o): Likewise.
7305         (libm-test-no-inline-cflags): New variable.
7306         (libm-test-finite-cflags): Likewise.
7307         (CFLAGS-test-float-finite.c): Likewise.
7308         (CFLAGS-test-double-finite.c): Likewise.
7309         (CFLAGS-test-ldouble-finite.c): Likewise.
7310         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7311         (CFLAGS-test-double.c): Likewise.
7312         (CFLAGS-test-ldouble.c): Likewise.
7314 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7316         * io/fcntl.c (__fcntl): Add ... to prototype.
7317         * misc/ioctl.c (__ioctl): Likewise.
7318         * misc/syscall.c (syscall): Likewise.
7320 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7322         * scripts/list-fixed-bugs.py: New file.
7324         [BZ #19213]
7325         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7326         returned for argument 1.
7327         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7328         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7329         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7330         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7331         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7332         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7334         [BZ #19211]
7335         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7336         __USE_XOPEN], not if [!__USE_ISOC99].
7337         (lgammaf): Likewise.
7338         (lgammal): Likewise.
7339         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7340         (gammaf): Likewise.
7341         (gammal): Likewise.
7342         * math/test-signgam-finite-c11.c: New file.
7343         * math/test-signgam-finite-c99.c: Likewise.
7344         * math/test-signgam-finite.c: Likewise.
7345         * math/Makefile (tests): Add test-signgam-finite,
7346         test-signgam-finite-c99 and test-signgam-finite-c11.
7347         (CFLAGS-test-signgam-finite.c): New variable.
7348         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7349         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7351         [BZ #19212]
7352         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7353         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7354         500].
7355         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7356         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7357         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7358         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7359         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7360         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7361         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7362         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7363         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7364         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7366         [BZ #19209]
7367         * math/bits/math-finite.h (ldexp): Remove declaration.
7368         (ldexpf): Likewise.
7369         (ldexpl): Likewise.
7371         [BZ #19205]
7372         * math/bits/math-finite.h (acosf): Condition declaration on
7373         [__USE_ISOC99].
7374         (acosl): Likewise.
7375         (acoshf): Likewise.
7376         (acoshl): Likewise.
7377         (asinf): Likewise.
7378         (asinl): Likewise.
7379         (atan2f): Likewise.
7380         (atan2l): Likewise.
7381         (atanhf): Likewise.
7382         (atanhl): Likewise.
7383         (coshf): Likewise.
7384         (coshl): Likewise.
7385         (expf): Likewise.
7386         (expl): Likewise.
7387         (fmodf): Likewise.
7388         (fmodl): Likewise.
7389         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7390         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7391         (j0l): Likewise.
7392         (y0f): Likewise.
7393         (y0l): Likewise.
7394         (j1f): Likewise.
7395         (j1l): Likewise.
7396         (y1f): Likewise.
7397         (y1l): Likewise.
7398         (jnf): Likewise.
7399         (jnl): Likewise.
7400         (ynf): Likewise.
7401         (ynl): Likewise.
7402         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7403         (lgammal_r): Likewise.
7404         (__lgamma_r_finite): New declaration.
7405         (__lgammaf_r_finite): Likewise.
7406         (__lgammal_r_finite): Likewise.
7407         (lgamma): Use __lgamma_r_finite.
7408         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7409         __lgammaf_r_finite.
7410         (lgammal): Condition definition on [__USE_ISOC99].  Use
7411         __lgammal_r_finite.
7412         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7413         __lgamma_r_finite.
7414         (gammaf): Condition definition on [__USE_ISOC99].  Use
7415         __lgammaf_r_finite.
7416         (gammal): Condition definition on [__USE_ISOC99].  Use
7417         __lgammal_r_finite.
7418         (logf): Condition declaration on [__USE_ISOC99].
7419         (logl): Likewise.
7420         (log10f): Likewise.
7421         (log10l): Likewise.
7422         (ldexpf): Likewise.
7423         (ldexpl): Likewise.
7424         (powf): Likewise.
7425         (powl): Likewise.
7426         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7427         __USE_ISOC99].
7428         (remainderf): Condition declaration on [__USE_ISOC99].
7429         (remainderl): Likewise.
7430         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7431         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7432         (scalbl): Likewise.
7433         (sinhf): Condition declaration on [__USE_ISOC99].
7434         (sinhl): Likewise.
7435         (sqrtf): Likewise.
7436         (sqrtl): Likewise.
7438 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7440         * sysdeps/arm/atomic-machine.h
7441         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7442         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7443         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7444         Remove conditional code.
7445         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7446         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7447         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7448         Change conditional to [__ASSEMBLER__].
7449         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7450         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7451         [!__ASSEMBLER__].
7452         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7453         code.
7454         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7455         conditional macro definitions.
7456         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7457         (__arch_compare_and_exchange_val_16_acq): Likewise.
7458         (__arch_compare_and_exchange_val_32_acq): Likewise.
7459         (atomic_exchange_and_add): Likewise.
7460         (atomic_add): Likewise.
7461         (atomic_add_negative): Likewise.
7462         (atomic_add_zero): Likewise.
7463         (atomic_bit_set): Likewise.
7464         (atomic_bit_test_set): Likewise.
7465         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7466         code unconditional.
7467         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7469         * math/test-math-errno.h: New file.
7470         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7471         empty.
7472         (TEST_ERRNO): New macro.
7473         (TEST_EXCEPTIONS): Likewise.
7474         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7475         (TEST_EXCEPTIONS): Likewise.
7476         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7477         * math/test-double.c: Include "test-math-errno.h".
7478         * math/test-float.c: Likewise.
7479         * math/test-ldouble.c: Likewise.
7480         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7481         code unconditional.
7482         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7483         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7484         unconditional.
7485         (test_errno): Only run code if TEST_ERRNO.
7486         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7488 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7490         * nptl/tst-once5.cc: Remove attribution.
7492 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7494         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7495         sqrt, tan, tanh, y0, y1 and yn.
7496         * math/auto-libm-test-out: Regenerated.
7497         * math/libm-test.inc (scalb_test_data): Add more tests.
7498         (scalbn_test_data): Likewise.
7499         (scalbln_test_data): Likewise.
7500         (signbit_test_data): Likewise.
7501         (sin_test_data): Likewise.
7502         (sincos_test_data): Likewise.
7503         (sinh_test_data): Likewise.
7504         (sqrt_test_data): Likewise.
7505         (tan_test_data): Likewise.
7506         (tanh_test_data): Likewise.
7507         (tgamma_test_data): Likewise.
7508         (y0_test_data): Likewise.
7509         (y1_test_data): Likewise.
7510         (yn_test_data): Likewise.
7511         (significand_test_data): Likewise.
7512         * sysdeps/i386/fpu/libm-test-ulps: Update.
7514 2015-11-03  David Kastrup  <dak@gnu.org>
7516         [BZ #18604]
7517         * assert/assert.h (assert): Don't macro-expand failed assertion
7518         expression in error message.
7519         * malloc/malloc.c (assert): Likewise.
7521 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7523         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7524         test.
7525         * configure: Regenerated.
7527 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7529         * math/libm-test.inc (modf_test_data): Add more tests.
7530         (nearbyint_test_data): Likewise.
7531         (nextafter_test_data): Likewise.
7532         (nexttoward_test_data): Likewise.
7533         (pow_test_data): Likewise.
7534         (remainder_test_data): Likewise.
7535         (remquo_test_data): Likewise.
7536         (rint_test_data): Likewise.
7538         [BZ #19201]
7539         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7540         Check for zero remainder in case of large exponents and ensure
7541         correct sign of result in that case.
7542         * math/libm-test.inc (remainder_test_data): Add more tests.
7544         [BZ #6799]
7545         * math/s_nextafter.c: Include <errno.h>.
7546         (__nextafter): Set errno on overflow and underflow.
7547         * math/s_nexttowardf.c: Include <errno.h>.
7548         (__nexttowardf): Set errno on overflow and underflow.
7549         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7550         (__nextafterl): Set errno on overflow and underflow.
7551         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7552         (__nexttoward): Set errno on overflow and underflow.
7553         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7554         (__nexttowardf): Set errno on overflow and underflow.
7555         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7556         (__nextafterf): Set errno on overflow and underflow.
7557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7558         (__nextafterl): Set errno on overflow and underflow.
7559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7560         (__nexttoward): Set errno on overflow and underflow.
7561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7562         (__nexttowardf): Set errno on overflow and underflow.
7563         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7564         (__nextafterl): Set errno on overflow and underflow.
7565         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7566         (__nexttoward): Set errno on overflow and underflow.
7567         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7568         (__nexttowardf): Set errno on overflow and underflow.
7569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7570         (__nexttoward): Set errno on overflow and underflow.
7571         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7572         (__nexttowardf): Set errno on overflow and underflow.
7573         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7574         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7575         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7576         (__nextafterl): Set errno on overflow and underflow.
7577         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7578         setting to be missing on overflow.  Add more tests.
7579         (nexttoward_test_data): Likewise.
7581         * configure.ac (libc_cv_initfini_array): Remove configure test.
7582         * configure: Regenerated.
7584 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #19189]
7587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7588         non-finite argument handle arguments with negative sign.
7590         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7591         result from infinite argument.
7592         (j1_test_data): Likewise.
7593         (jn_test_data): Likewise.
7594         (y0_test_data): Likewise.
7595         (y1_test_data): Likewise.
7596         (yn_test_data): Likewise.
7598         [BZ #16171]
7599         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7600         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7601         * math/w_remainderf.c (dremf): Define as weak alias of
7602         __remainderf.
7603         * math/w_remainderl.c (dreml): Define as weak alias of
7604         __remainderl.
7605         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7606         __remainder.
7607         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7608         __remainderf.
7609         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7610         __remainderl.
7611         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7612         weak alias of remainderl.
7613         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7614         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7615         alias of __remainder.
7616         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7617         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7618         strong alias of __remainderl.
7619         (dreml): Use long_double_symbol.
7620         * math/Makefile (libm-calls): Remove w_drem.
7621         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7622         (CFLAGS-nldbl-drem.c): Remove variable.
7623         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7624         * math/w_drem.c: Remove file.
7625         * math/w_dremf.c: Likewise.
7626         * math/w_dreml.c: Likewise.
7627         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7628         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7629         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7631         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7632         * sysdeps/i386/configure: Regenerated.
7633         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7634         * sysdeps/x86_64/configure: Regenerated.
7636         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7637         test.
7638         (libc_cv_visibility_attribute): Likewise.
7639         (libc_cv_protected_data): Test unconditionally.
7640         (libc_cv_broken_visibility_attribute): Remove configure test.
7641         (libc_cv_have_sdata_section): Test unconditionally.
7642         * configure: Regenerated.
7644         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7645         * include/scratch_buffer.h: Include <stddef.h> instead of
7646         <libc-internal.h>.
7647         (struct scratch_buffer): Use max_align_t instead of
7648         libc_max_align_t.
7650 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7652         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7653         instead of extend_alloca.  Change control flow to avoid a goto.
7654         Remove assert which is trivially always true.
7656 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7658         [BZ #16068]
7659         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7660         (FE_ALL_EXCEPT_X86): New macro.
7661         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7662         FE_ALL_EXCEPT.  Ensure precision control is included in
7663         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7664         handle "denormal operand exception" and clear FZ and DAZ bits.
7665         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7666         (FE_ALL_EXCEPT_X86): New macro.
7667         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7668         FE_ALL_EXCEPT.  Ensure precision control is included in
7669         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7670         handle "denormal operand exception" and clear FZ and DAZ bits.
7671         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7672         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7673         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7674         test-fenv-x87 and test-fenv-sse-2.
7675         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7677         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7678         * math/test-double.h (BUILD_COMPLEX): New macro.
7679         * math/test-float.h (BUILD_COMPLEX): Likewise.
7680         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7682         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7683         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7684         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7686         instead of DBL_DENORM_MIN in comment.
7687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7688         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7690         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7692         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7694 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7696         [BZ# 19048]
7697         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7698         attached_threads member.
7699         (main_arena): Initialize attached_threads.
7700         * malloc/arena.c (list_lock): Update comment.
7701         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7702         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7703         (deattach_arena): New function.
7704         (_int_new_arena): Initialize arena reference count and deattach
7705         replaced arena.
7706         (get_free_list, reused_arena): Update reference count and deattach
7707         replaced arena.
7708         (arena_thread_freeres): Update arena reference count and only put
7709         unreferenced arenas on the free list.
7711 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7713         [BZ #19181]
7714         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7715         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7716         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7717         * math/test-fenv-clear-main.c: New file.
7718         * math/test-fenv-clear.c: Likewise.
7719         * math/Makefile (tests): Add test-fenv-clear.
7720         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7721         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7722         test-fenv-clear-sse.
7723         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7725         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7726         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7727         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7729 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7731         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7732         static libc.
7734 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7736         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7737         test.
7738         * sysdeps/i386/configure: Regenerated.
7739         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7740         test.
7741         * sysdeps/x86_64/configure: Regenerated.
7742         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7744         memset-avx2 unconditionally instead of conditionally on
7745         [$(config-cflags-avx2) = yes].
7746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7747         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7748         unconditional.
7749         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7750         * sysdeps/x86_64/multiarch/memset_chk.S
7751         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7752         to [IS_IN (libc) && SHARED].
7754 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7756         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7757         configure test.
7758         * sysdeps/arm/configure: Regenerated.
7759         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7760         Define variable if not already defined.
7762         [BZ #17404]
7763         * sysdeps/mips/atomic-machine.h
7764         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7765         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7766         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7768         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7769         unconditional.
7770         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7771         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7772         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7773         unconditional.
7774         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7775         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7776         unconditional.
7777         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7778         * stdlib/setenv.c
7779         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7780         code unconditional.
7781         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7782         Remove conditional code.
7783         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7784         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7785         unconditional.
7786         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7787         code.
7788         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7789         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7790         unconditional.
7791         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7792         code.
7793         * sysdeps/ieee754/ldbl-128/k_tanl.c
7794         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7795         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7797         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7798         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7800         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7801         unconditional.
7802         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7803         code.
7804         * sysdeps/ieee754/ldbl-96/k_tanl.c
7805         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7806         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7808         * nptl/tst-initializers1-c11.c: New file.
7809         * nptl/tst-initializers1-gnu11.c: Likewise.
7810         * nptl/Makefile (tests): Add these new tests.
7811         (CFLAGS-tst-initializers1-c11.c): New variable.
7812         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7814         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7815         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7816         instead of -std=gnu99.
7817         * configure.ac (systemtap): Test with -std=gnu11 instead of
7818         -std=gnu99.
7819         * configure: Regenerated.
7820         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7821         in compilation command in comment.
7823         * sysdeps/nptl/configure.ac: Remove file.
7824         * sysdeps/nptl/configure: Remove generated file.
7825         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7826         * configure: Regenerated.
7827         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7828         * config.make.in (have-forced-unwind): Remove variable.
7829         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7830         unconditional.
7831         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7832         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7833         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7834         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7835         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7836         unconditional.
7838 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7840         [BZ #19174]
7841         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7842         .skip_lock_out_of_tbegin_retries.
7843         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7844         (__lll_lock_elision): Likewise, and respect a value of
7845         try_tbegin <= 0.
7847 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7849         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7850         statement.
7852 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7854         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7855         variable.
7856         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7857         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7859         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7860         of -std=c1x -D_ISOC11_SOURCE.
7862         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7863         * configure: Regenerated.
7864         * manual/install.texi (Tools for Compilation): Document
7865         requirement for GCC 4.7 or later.
7866         * INSTALL: Regenerated.
7868 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7870         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7871         on CNT to a conditional jump to 'puntdata'.
7873 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7875         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7876         (libc_cv_gcc_tls_model_attr): Likewise.
7877         * configure: Regenerated.
7879         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7880         * configure: Regenerated.
7881         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7883 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7885         * configure.ac (old_glibc_headers): Remove configure test.
7886         * configure: Regenerated.
7887         * config.make.in (old-glibc-headers): Remove variable.
7888         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7889         (install): Remove dependency on remove-old-headers.
7890         (headers2_0): Remove variable.
7891         (remove-old-headers): Remove rule.
7893         * configure.ac (libc_cv_dot_text): Remove configure test.
7894         (libc_cv_asm_set_directive): Use .text instead of
7895         ${libc_cv_dot_text} in configure test.
7896         * configure: Regenerated.
7898 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7900         [BZ #19168]
7901         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7903 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7905         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7906         not support static linking.
7907         * configure: Regenerate.
7909 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7911         * math/libm-test.inc (check_float_internal): Do not special-case
7912         errors up to 0.5 ulp.
7914         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7915         log2.
7916         * math/auto-libm-test-out: Regenerated.
7917         * math/libm-test.inc (MAX_EXP): New macro.
7918         (ilogb_test_data): Add more tests.
7919         (isfinite_test_data): Likewise.
7920         (isgreater_test_data): Likewise.
7921         (isgreaterequal_test_data): Likewise.
7922         (isinf_test_data): Likewise.
7923         (isless_test_data): Likewise.
7924         (islessequal_test_data): Likewise.
7925         (islessgreater_test_data): Likewise.
7926         (isnan_test_data): Likewise.
7927         (isnormal_test_data): Likewise.
7928         (issignaling_test_data): Likewise.
7929         (isunordered_test_data): Likewise.
7930         (j0_test_data): Likewise.
7931         (j1_test_data): Likewise.
7932         (jn_test_data): Likewise.
7933         (lgamma_test_data): Likewise.
7934         (log_test_data): Likewise.
7935         (log10_test_data): Likewise.
7936         (log1p_test_data): Likewise.
7937         (log2_test_data): Likewise.
7938         (logb_test_data): Likewise.
7939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7941         [BZ #18611]
7942         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7943         avoid excess range and precision on underflow.
7944         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7945         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7946         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7947         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7948         underflow.
7949         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7951         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7952         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7953         * math/auto-libm-test-in: Do not allow missing errno setting for
7954         tests of j1 and jn.
7955         * math/auto-libm-test-out: Regenerated.
7957 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7959         [BZ #15491]
7960         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7961         floating-point environment instead of clearing all exceptions.
7962         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7963         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7964         merging in "invalid" exceptions from frndint.
7965         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7966         * math/test-nearbyint-except.c: New file.
7967         * math/Makefile (tests): Add test-nearbyint-except.
7969 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7971         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7973         * sysdeps/tile/libm-test-ulps: Regenerated.
7975 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7978         (__NR_sync_file_range2): Assume it is always defined.
7979         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7980         (__NR_sync_file_range): Assume it is always defined.
7982 2015-10-22  Andreas Schwab  <schwab@suse.de>
7984         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7985         INTERNAL_SYSCALL_ERRNO.
7986         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7987         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7988         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7989         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7993 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7995         * io/tst-fcntl.c (fd): New static variable.
7996         (do_prepare): Open temporary file here....
7997         (do_test): ...not here.
7999         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8001 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8003         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8004         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8005         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8006         Moved before "#ifdef __ASSEMBLER__".
8008 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8010         [BZ #19156]
8011         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8012         arguments very close to 0.
8014 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8016         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8017         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8019 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8021         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8022         New.  Defined for GCC 5 and above when not compiling for
8023         profiling.
8024         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8026         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8027         Renamed to ...
8028         (CFLAGS-epoll_pwait.o): This.
8029         (CFLAGS-mmap.c): Renamed to ...
8030         (CFLAGS-mmap.o): This.
8031         (CFLAGS-mmap64.c): Renamed to ...
8032         (CFLAGS-mmap64.o): This.
8033         (CFLAGS-epoll_pwait.os): New.
8034         (CFLAGS-mmap.os): Likewise.
8035         (CFLAGS-mmap64.os): Likewise.
8036         (CFLAGS-semtimedop.os): Likewise.
8037         (CFLAGS-semtimedop.c): Renamed to ...
8038         (CFLAGS-semtimedop.o): This.
8040 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8042         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8043         warning message.
8045 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8047         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8048         * Makefile ($(objpfx)c++-types-check.out): Filter out
8049         $(+gccwarn-c) instead of -Wstrict-prototypes.
8051         * io/fts.c (fts_open): Convert to prototype-style function
8052         definition.
8053         * malloc/mcheck.c (mcheck): Likewise.
8054         (mcheck_pedantic): Likewise.
8055         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8056         internal_function.
8057         (re_search_internal): Likewise.
8058         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8059         prototype-style function definition.
8060         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8061         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8062         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8063         (xdr_utmpptr): Likewise.
8064         (xdr_utmparr): Likewise.
8065         (xdr_utmpidle): Likewise.
8066         (xdr_utmpidleptr): Likewise.
8067         (xdr_utmpidlearr): Likewise.
8069         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8070         log, log10 and log2.
8071         * math/auto-libm-test-out: Regenerated.
8072         * math/libm-test.inc (fmod_test_data): Add more tests.
8073         (fpclassify_test_data): Likewise.
8074         (frexp_test_data): Likewise.
8075         (hypot_test_data): Likewise.
8076         (ilogb_test_data): Likewise.
8078 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8080         * debug/fortify_fail.c (__fortify_fail): Convert to
8081         prototype-style function definition.  Use internal_function.
8082         * libio/genops.c (save_for_backup): Convert to prototype-style
8083         function definition.
8084         * libio/wgenops.c (save_for_wbackup): Likewise.
8085         * login/grantpt.c (grantpt): Likewise.
8086         * login/ptsname.c (ptsname): Likewise.
8087         (__ptsname_r): Likewise.
8088         * login/unlockpt.c (unlockpt): Likewise.
8089         * mach/msgserver.c (__mach_msg_server): Likewise.
8090         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8091         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8092         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8093         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8094         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8095         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8096         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8097         Likewise.
8098         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8099         internal_function.
8100         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8101         prototype-style function definition.
8102         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8103         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8104         (__pthread_create_2_0): Likewise.
8105         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8106         * nptl/register-atfork.c (__register_atfork): Likewise.
8107         * posix/glob.c (glob): Likewise.
8108         * posix/regcomp.c (re_comp): Likewise.
8109         * posix/regexec.c (re_exec): Likewise.
8110         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8111         [!__STDC__]: Remove conditional code.
8112         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8113         [!__STDC__]: Remove conditional code.
8114         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8115         [!__STDC__]: Remove conditional code.
8116         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8117         [!__STDC__]: Remove conditional code.
8118         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8119         [!__STDC__]: Remove conditional code.
8120         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8121         [!__STDC__]: Remove conditional code.
8122         * stdlib/mul.c [__STDC__]: Make code unconditional.
8123         [!__STDC__]: Remove conditional code.
8124         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8125         [!__STDC__]: Remove conditional code.
8126         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8127         [!__STDC__]: Remove conditional code.
8128         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8129         function definition.
8130         (STRTOF): Likewise.
8131         * stdlib/strtod_l.c (__STRTOF): Likewise.
8132         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8133         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8134         (__strtol_l): Likewise.
8135         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8136         [!__STDC__]: Remove conditional code.
8137         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8138         definition.
8139         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8140         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8141         type.
8142         (__strcasecmp): Convert to prototype-style function definition.
8143         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8144         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8145         type.
8146         (__strncasecmp): Convert to prototype-style function definition.
8147         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8148         * sunrpc/xdr.c (xdr_union): Likewise.
8149         * sunrpc/xdr_array.c (xdr_array): Likewise.
8150         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8151         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8152         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8153         Likewise.
8154         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8155         Likewise.
8156         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8157         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8158         Likewise.
8159         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8160         (LOCALE_PARAM_PROTO): Likewise.
8161         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8162         argument type.
8163         (ut_argument_spec): Remove macro.
8164         (ut_argument_spec_iso): Rename to ut_argument_spec.
8165         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8166         prototype-style function definition.
8167         (memcpy_uppcase): Likewise.
8168         (__strftime_internal): Likewise.
8169         (my_strftime): Likewise.
8170         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8171         (LOCALE_PARAM_DECL): Likewise.
8172         [_LIBC] (LOCALE_PARAM): Include argument type.
8173         (__strptime_internal): Convert to prototype-style function
8174         definition.
8175         (strptime): Likewise.
8176         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8177         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8178         type.
8179         (__wcscasecmp): Convert to prototype-style function definition.
8180         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8181         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8182         type.
8183         (__wcsncasecmp): Convert to prototype-style function definition.
8185         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8186         function definition.
8187         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8188         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8189         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8190         * elf/dl-minimal.c (_itoa): Likewise.
8191         * hurd/hurdmalloc.c (malloc): Likewise.
8192         (free): Likewise.
8193         (realloc): Likewise.
8194         * inet/inet6_option.c (inet6_option_space): Likewise.
8195         (inet6_option_init): Likewise.
8196         (inet6_option_append): Likewise.
8197         (inet6_option_alloc): Likewise.
8198         (inet6_option_next): Likewise.
8199         (inet6_option_find): Likewise.
8200         * io/ftw.c (FTW_NAME): Likewise.
8201         (NFTW_NAME): Likewise.
8202         (NFTW_NEW_NAME): Likewise.
8203         (NFTW_OLD_NAME): Likewise.
8204         * libio/iofwide.c (_IO_fwide): Likewise.
8205         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8206         (_IO_str_init_static): Likewise.
8207         (_IO_str_init_readonly): Likewise.
8208         (_IO_str_overflow): Likewise.
8209         (_IO_str_underflow): Likewise.
8210         (_IO_str_count): Likewise.
8211         (_IO_str_seekoff): Likewise.
8212         (_IO_str_pbackfail): Likewise.
8213         (_IO_str_finish): Likewise.
8214         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8215         (_IO_wstr_overflow): Likewise.
8216         (_IO_wstr_underflow): Likewise.
8217         (_IO_wstr_count): Likewise.
8218         (_IO_wstr_seekoff): Likewise.
8219         (_IO_wstr_pbackfail): Likewise.
8220         (_IO_wstr_finish): Likewise.
8221         * locale/programs/localedef.c (normalize_codeset): Likewise.
8222         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8223         (add_locales_to_archive): Likewise.
8224         (delete_locales_from_archive): Likewise.
8225         * malloc/malloc.c (__libc_mallinfo): Likewise.
8226         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8227         * misc/tsearch.c (__tfind): Likewise.
8228         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8229         * nptl/pthread_attr_getdetachstate.c
8230         (__pthread_attr_getdetachstate): Likewise.
8231         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8232         Likewise.
8233         * nptl/pthread_attr_getinheritsched.c
8234         (__pthread_attr_getinheritsched): Likewise.
8235         * nptl/pthread_attr_getschedparam.c
8236         (__pthread_attr_getschedparam): Likewise.
8237         * nptl/pthread_attr_getschedpolicy.c
8238         (__pthread_attr_getschedpolicy): Likewise.
8239         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8240         Likewise.
8241         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8242         Likewise.
8243         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8244         Likewise.
8245         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8246         Likewise.
8247         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8248         (__pthread_attr_init_2_0): Likewise.
8249         * nptl/pthread_attr_setdetachstate.c
8250         (__pthread_attr_setdetachstate): Likewise.
8251         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8252         Likewise.
8253         * nptl/pthread_attr_setinheritsched.c
8254         (__pthread_attr_setinheritsched): Likewise.
8255         * nptl/pthread_attr_setschedparam.c
8256         (__pthread_attr_setschedparam): Likewise.
8257         * nptl/pthread_attr_setschedpolicy.c
8258         (__pthread_attr_setschedpolicy): Likewise.
8259         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8260         Likewise.
8261         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8262         Likewise.
8263         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8264         Likewise.
8265         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8266         Likewise.
8267         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8268         Likewise.
8269         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8270         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8271         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8272         use internal_function.
8273         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8274         prototype-style function definition.
8275         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8276         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8277         internal_function.
8278         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8279         Convert to prototype-style function definition.
8280         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8281         Likewise.
8282         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8283         Likewise.
8284         (__pthread_mutex_unlock): Likewise.
8285         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8286         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8287         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8288         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8289         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8290         * nss/makedb.c (process_input): Likewise.
8291         * posix/fnmatch.c (__strchrnul): Likewise.
8292         (__wcschrnul): Likewise.
8293         (fnmatch): Likewise.
8294         * posix/fnmatch_loop.c (FCT): Likewise.
8295         * posix/glob.c (globfree): Likewise.
8296         (__glob_pattern_type): Likewise.
8297         (__glob_pattern_p): Likewise.
8298         * posix/regcomp.c (re_compile_pattern): Likewise.
8299         (re_set_syntax): Likewise.
8300         (re_compile_fastmap): Likewise.
8301         (regcomp): Likewise.
8302         (regerror): Likewise.
8303         (regfree): Likewise.
8304         * posix/regexec.c (regexec): Likewise.
8305         (re_match): Likewise.
8306         (re_search): Likewise.
8307         (re_match_2): Likewise.
8308         (re_search_2): Likewise.
8309         (re_search_stub): Likewise.  Use internal_function
8310         (re_copy_regs): Likewise.
8311         (re_set_registers): Convert to prototype-style function
8312         definition.
8313         (prune_impossible_nodes): Likewise.  Use internal_function.
8314         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8315         prototype-style function definition.
8316         (inet_net_pton_ipv4): Likewise.
8317         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8318         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8319         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8320         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8321         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8322         Make variadic.
8323         * time/strptime_l.c (localtime_r): Convert to prototype-style
8324         function definition.
8325         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8326         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8327         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8328         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8330         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8331         definition.
8332         (_ufc_doit_r): Likewise.
8333         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8334         (_ufc_output_conversion_r): Likewise.
8335         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8336         * inet/rcmd.c (rcmd_af): Likewise.
8337         (rcmd): Likewise.
8338         (ruserok_af): Likewise.
8339         (ruserok): Likewise.
8340         (ruserok2_sa): Likewise.
8341         (ruserok_sa): Likewise.
8342         (iruserok_af): Likewise.
8343         (iruserok): Likewise.
8344         (__ivaliduser): Likewise.
8345         (__validuser2_sa): Likewise.
8346         * inet/rexec.c (rexec_af): Likewise.
8347         (rexec): Likewise.
8348         * inet/ruserpass.c (ruserpass): Likewise.
8349         * locale/programs/xmalloc.c (xcalloc): Likewise.
8350         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8351         * math/w_drem.c (__drem): Likewise.
8352         * math/w_dremf.c (__dremf): Likewise.
8353         * math/w_dreml.c (__dreml): Likewise.
8354         * misc/daemon.c (daemon): Likewise.
8355         * resolv/res_debug.c (p_fqnname): Likewise.
8356         * stdlib/div.c (div): Likewise.
8357         * string/memcmp.c (memcmp_bytes): Likewise.
8358         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8359         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8361         * crypt/cert.c (main): Convert to prototype-style function
8362         definition.
8363         * io/pipe.c (__pipe): Likewise.
8364         * io/pipe2.c (__pipe2): Likewise.
8365         * misc/futimesat.c (futimesat): Likewise.
8366         * misc/utimes.c (__utimes): Likewise.
8367         * posix/execve.c (__execve): Likewise.
8368         * posix/execvp.c (execvp): Likewise.
8369         * posix/execvpe.c (__execvpe): Likewise.
8370         * posix/fexecve.c (fexecve): Likewise.
8371         * socket/socketpair.c (socketpair): Likewise.
8372         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8373         * stdlib/erand48.c (erand48): Likewise.
8374         * stdlib/erand48_r.c (__erand48_r): Likewise.
8375         * stdlib/jrand48.c (jrand48): Likewise.
8376         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8377         * stdlib/lcong48.c (lcong48): Likewise.
8378         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8379         * stdlib/nrand48.c (nrand48): Likewise.
8380         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8381         * stdlib/seed48.c (seed48): Likewise.
8382         * stdlib/seed48_r.c (__seed48_r): Likewise.
8383         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8384         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8385         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8387 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8389         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8390         * configure: Regenerated.
8391         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8392         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8393         unconditional.
8394         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8395         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8396         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8397         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8398         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8399         unconditional.
8400         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8402         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8403         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8405         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8406         function definition.
8407         * crypt/crypt_util.c (__encrypt_r): Likewise.
8408         * libio/genops.c (_IO_no_init): Likewise.
8409         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8410         (_IO_old_fopencookie): Likewise.
8411         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8412         * libio/iogetline.c (_IO_getline): Likewise.
8413         (_IO_getline_info): Likewise.
8414         * libio/iogetwline.c (_IO_getwline): Likewise.
8415         (_IO_getwline_info): Likewise.
8416         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8417         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8418         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8419         (find_entry): Likewise.
8420         (iterate_table): Likewise.
8421         (lookup): Likewise.
8422         * login/forkpty.c (forkpty): Likewise.
8423         * misc/hsearch_r.c (__hsearch_r): Likewise.
8424         * misc/select.c (__select): Likewise.
8425         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8426         Likewise.
8427         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8428         Likewise.
8429         * nptl/old_pthread_cond_timedwait.c
8430         (__pthread_cond_timedwait_2_0): Likewise.
8431         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8432         * nptl/pthread_barrierattr_getpshared.c
8433         (pthread_barrierattr_getpshared): Likewise.
8434         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8435         Likewise.
8436         * nptl/pthread_mutex_setprioceiling.c
8437         (pthread_mutex_setprioceiling): Likewise.
8438         * nptl/pthread_mutexattr_getprioceiling.c
8439         (pthread_mutexattr_getprioceiling): Likewise.
8440         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8441         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8442         Likewise.
8443         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8444         Likewise.
8445         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8446         Likewise.
8447         * socket/recvfrom.c (__recvfrom): Likewise.
8448         * socket/sendto.c (__sendto): Likewise.
8449         * socket/setsockopt.c (__setsockopt): Likewise.
8450         * stdio-common/_itoa.c (_itoa): Likewise.
8451         * stdio-common/_itowa.c (_itowa): Likewise.
8452         * stdio-common/reg-printf.c (__register_printf_specifier):
8453         Likewise.
8454         (__register_printf_function): Likewise.
8455         * stdio-common/tempname.c (__path_search): Likewise.
8456         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8457         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8458         * stdlib/random_r.c (__initstate_r): Likewise.
8459         * stdlib/setenv.c (__add_to_environ): Likewise.
8460         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8461         * streams/getpmsg.c (getpmsg): Likewise.
8462         * streams/putmsg.c (putmsg): Likewise.
8463         * streams/putpmsg.c (putpmsg): Likewise.
8464         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8465         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8466         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8467         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8468         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8469         * sunrpc/svc_udp.c (cache_get): Likewise.
8470         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8471         * sysdeps/mach/hurd/getcwd.c
8472         (__canonicalize_directory_name_internal): Likewise.
8473         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8474         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8475         * sysdeps/mach/hurd/select.c (__select): Likewise.
8476         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8477         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8478         * sysdeps/sparc/nptl/pthread_barrier_init.c
8479         (__pthread_barrier_init): Likewise.
8480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8481         (__pthread_cond_timedwait): Likewise.
8482         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8483         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8484         Likewise.
8485         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8486         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8487         Likewise.
8488         * sysvipc/semtimedop.c (semtimedop): Likewise.
8489         * time/setitimer.c (__setitimer): Likewise.
8490         * time/strftime_l.c (emacs_strftime): Likewise.
8492 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8494         * config.make.in (have-ssp): Delete.
8495         (stack-protector): New variable.
8496         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8497         cache test for -fstack-protector-strong.  Export stack_protector to
8498         the best ssp flag.
8499         * configure: Regenerated.
8500         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8501         * nscd/Makefile (CFLAGS-nscd): Likewise.
8502         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8504 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8506         [BZ #19122]
8507         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8508         attribute_hidden.
8510 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8512         [BZ #18743]
8513         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8514         code to...
8515         (ELIDE_LOCK): ...here.
8516         (__get_new_count): New function with part of the code from
8517         __elide_lock that updates the value of adapt_count after a
8518         transaction abort.
8519         (__elided_trylock): Moved this code to...
8520         (ELIDE_TRYLOCK): ...here.
8522 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8524         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8525         * configure: Regenerate.
8526         * INSTALL: Regenerate.
8527         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8528         and tweak grammar.
8530 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8532         * login/programs/pt_chown.c: Include signal.h
8533         (main): Clear any signal mask from the parent process.
8535 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8537         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8538         * configure: Regenerated.
8539         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8540         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8541         $(gnu89-inline-CFLAGS).
8543         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8544         test.
8545         (libc_cv_asm_weakext_directive): Likewise.
8546         * configure: Regenerated.
8547         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8548         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8549         * include/libc-symbols.h
8550         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8551         #error.
8552         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8553         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8555         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8556         prototype-style function definition.
8557         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8558         * sysdeps/i386/ffs.c (__ffs): Likewise.
8559         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8560         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8561         Likewise.
8562         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8563         Likewise.
8564         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8565         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8566         Likewise.
8567         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8568         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8569         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8570         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8571         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8572         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8573         * sysdeps/mach/hurd/access.c (__access): Likewise.
8574         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8575         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8576         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8577         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8578         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8579         (cthread_getspecific): Likewise.
8580         (cthread_setspecific): Likewise.
8581         (__libc_getspecific): Likewise.
8582         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8583         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8584         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8585         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8586         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8587         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8588         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8589         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8590         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8591         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8592         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8593         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8594         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8595         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8596         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8597         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8598         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8599         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8600         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8601         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8602         * sysdeps/mach/hurd/link.c (__link): Likewise.
8603         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8604         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8605         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8606         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8607         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8608         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8609         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8610         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8611         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8612         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8613         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8614         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8615         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8616         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8617         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8618         * sysdeps/mach/hurd/send.c (__send): Likewise.
8619         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8620         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8621         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8622         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8623         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8624         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8625         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8626         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8627         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8628         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8629         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8630         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8631         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8632         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8633         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8634         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8635         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8636         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8637         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8638         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8639         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8640         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8641         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8642         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8643         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8644         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8645         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8646         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8647         * sysdeps/posix/alarm.c (alarm): Likewise.
8648         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8649         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8650         * sysdeps/posix/dup.c (__dup): Likewise.
8651         * sysdeps/posix/dup2.c (__dup2): Likewise.
8652         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8653         (main): Likewise.
8654         * sysdeps/posix/flock.c (__flock): Likewise.
8655         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8656         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8657         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8658         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8659         * sysdeps/posix/isatty.c (__isatty): Likewise.
8660         * sysdeps/posix/killpg.c (killpg): Likewise.
8661         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8662         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8663         * sysdeps/posix/raise.c (raise): Likewise.
8664         * sysdeps/posix/remove.c (remove): Likewise.
8665         * sysdeps/posix/rename.c (rename): Likewise.
8666         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8667         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8668         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8669         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8670         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8671         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8672         * sysdeps/posix/sigset.c (sigset): Likewise.
8673         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8674         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8675         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8676         * sysdeps/posix/time.c (time): Likewise.
8677         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8678         (ttyname): Likewise.
8679         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8680         * sysdeps/posix/utime.c (utime): Likewise.
8681         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8682         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8683         Likewise.
8684         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8685         (pthread_spin_trylock): Likewise.
8686         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8687         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8688         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8689         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8690         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8691         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8692         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8693         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8694         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8695         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8696         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8697         * sysdeps/s390/ffs.c (__ffs): Likewise.
8698         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8699         Likewise.
8700         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8701         Likewise.
8702         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8703         Likewise.
8704         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8705         (pthread_barrier_destroy): Likewise.
8706         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8707         (__pthread_barrier_wait): Likewise.
8708         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8709         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8710         (__pthread_barrier_wait): Likewise.
8711         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8712         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8713         (memcmp_not_common_alignment): Likewise.
8714         (MEMCMP): Likewise.
8715         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8716         (_wordcopy_fwd_dest_aligned): Likewise.
8717         (_wordcopy_bwd_aligned): Likewise.
8718         (_wordcopy_bwd_dest_aligned): Likewise.
8719         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8720         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8721         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8722         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8723         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8724         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8725         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8726         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8727         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8728         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8729         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8730         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8731         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8732         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8733         * sysdeps/unix/stime.c (stime): Likewise.
8734         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8735         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8736         Likewise.  Use internal_function.
8737         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8738         Convert to prototype-style function definition.
8739         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8740         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8741         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8742         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8743         Likewise.  Use internal_function.
8744         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8745         prototype-style function definition
8746         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8747         Likewise.
8748         (__getlogin_r): Likewise.
8749         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8751         (__pthread_cond_broadcast): Likewise.
8752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8753         (__pthread_cond_destroy): Likewise.
8754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8755         (__pthread_cond_init): Likewise.
8756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8757         (__pthread_cond_signal): Likewise.
8758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8759         (__pthread_cond_wait): Likewise.
8760         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8761         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8762         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8763         Likewise.
8764         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8765         Likewise.
8766         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8767         Likewise.
8768         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8769         Likewise.
8770         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8772         (__ftruncate64): Likewise.
8773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8774         (truncate64): Likewise.
8775         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8776         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8777         (pthread_getcpuclockid): Likewise.
8778         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8781         Likewise.
8782         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8783         Likewise.
8784         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8785         Likewise.
8786         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8787         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8788         (__libc_sigaction): Likewise.
8789         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8792         (__sigprocmask): Likewise.
8793         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8794         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8795         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8796         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8797         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8798         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8799         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8800         Likewise.
8801         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8802         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8803         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8804         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8805         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8806         Likewise.
8807         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8808         (__sigprocmask): Likewise.
8809         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8810         (cfgetispeed): Likewise.
8811         (cfsetospeed): Likewise.
8812         (cfsetispeed): Likewise.
8813         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8814         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8815         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8816         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8817         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8818         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8819         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8820         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8821         Likewise.
8822         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8823         Likewise.
8824         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8825         Likewise.
8826         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8827         Likewise.
8828         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8830 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8832         sunrpc: Rewrite with explicit TLS access using __thread.
8833         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8834         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8835         directly.
8836         (__rpc_thread_variables): Access thread_rpc_vars directly.
8837         Eliminate redundant assignment of the tvp variable.
8839 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8841         malloc: Rewrite with explicit TLS access using __thread.
8842         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8843         (tsd_setspecific, tsd_getspecific): Remove.
8844         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8845         (tsd_setspecific, tsd_getspecific): Likewise.
8846         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8847         (tsd_setspecific, tsd_getspecific): Likewise.
8848         * malloc/arena.c (thread_arena): New TLS variable.
8849         (arena_key): Remove variable.
8850         (arena_get): Use thread_arena.
8851         (arena_lookup): Remove macro.
8852         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8853         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8854         (_int_new_arena, get_free_list, reused_arena)
8855         (arena_thread_freeres): Use thread_arena.
8856         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8857         tsd_getspecific, tsd_setspecific from safety annotations.
8858         (Allocating Cleared Space): Remove arena_lookup from safety
8859         annotations.
8861 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8863         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8864         struct scratch_buffer instead of extend_alloca.
8866 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8868         * sysdeps/unix/sysv/linux/kernel-features.h
8869         (__ASSUME_SOCK_CLOEXEC): Remove.
8870         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8871         (__have_paccept): Remove unused macro.
8872         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8873         * misc/syslog.c (openlog_internal): Remove fallback code for
8874         !__ASSUME_SOCK_CLOEXEC.
8875         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8876         missing SOCK_CLOEXEC.
8877         * nscd/connections.c (have_sock_cloexec): Remove definition.
8878         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8879         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8880         !__ASSUME_SOCK_CLOEXEC.
8881         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8882         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8883         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8884         definition.
8885         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8886         code for !__ASSUME_SOCK_CLOEXEC.
8888 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8890         [BZ #18982]
8891         * manual/stdio.texi (Variable Arguments Output): Add portability
8892         note, explaining that vfprintf clobbers the va_list pointer.
8894 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8896         * math/libm-test.inc (fabs_test_data): Add more tests.
8897         (fdim_test_data): Likewise.
8898         (fma_test_data): Likewise.
8899         (fmax_test_data): Likewise.
8900         (fmin_test_data): Likewise.
8901         (fmod_test_data): Likewise.
8903 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8905         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8906         data.
8908 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8910         * math/libm-test.inc (ceil_test_data): Add more tests and more
8911         expectations for "inexact".
8912         (floor_test_data): Add more tests.
8913         (round_test_data): Likewise.
8914         (trunc_test_data): Likewise.
8916         * crypt/cert.c (good_bye): Convert to prototype-style function
8917         definition.
8918         (get8): Likewise.
8919         (put8): Likewise.
8920         * crypt/crypt-entry.c (crypt): Likewise.
8921         (__fcrypt): Likewise.
8922         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8923         (_ufc_set_bits): Likewise.
8924         (_ufc_clearmem): Likewise.
8925         (__init_des_r): Likewise.
8926         (shuffle_sb): Likewise.
8927         (shuffle_sb): Likewise.
8928         (_ufc_setup_salt_r): Likewise.
8929         (_ufc_mk_keytab_r): Likewise.
8930         (_ufc_dofinalperm_r): Likewise.
8931         (encrypt): Likewise.
8932         (__setkey_r): Likewise.
8933         (setkey): Likewise.
8934         * crypt/md5.c (md5_init_ctx): Likewise.
8935         (md5_read_ctx): Likewise.
8936         (md5_finish_ctx): Likewise.
8937         (md5_stream): Likewise.
8938         (md5_buffer): Likewise.
8939         (md5_process_bytes): Likewise.
8940         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8941         (__sha256_finish_ctx): Likewise.
8942         (__sha256_process_bytes): Likewise.
8943         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8944         (__sha512_finish_ctx): Likewise.
8945         (__sha512_process_bytes): Likewise.
8946         * ctype/isctype.c (__isctype): Likewise.
8947         * debug/backtrace.c (__backtrace): Likewise.
8948         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8949         * debug/fgets_chk.c (__fgets_chk): Likewise.
8950         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8951         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8952         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8953         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8954         * debug/memset_chk.c (__memset_chk): Likewise.
8955         * debug/strcat_chk.c (__strcat_chk): Likewise.
8956         * debug/strncat_chk.c (__strncat_chk): Likewise.
8957         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8958         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8959         * dirent/dirfd.c (dirfd): Likewise.
8960         * dirent/getdents.c (__getdirentries): Likewise.
8961         * dirent/getdents64.c (getdirentries64): Likewise.
8962         * dirent/rewinddir.c (__rewinddir): Likewise.
8963         * dirent/seekdir.c (seekdir): Likewise.
8964         * dirent/telldir.c (telldir): Likewise.
8965         * elf/sln.c (makesymlinks): Likewise.
8966         (makesymlink): Likewise.
8967         * gmon/gmon.c (__moncontrol): Likewise.
8968         (__monstartup): Likewise.
8969         (write_hist): Likewise.
8970         (write_call_graph): Likewise.
8971         (write_bb_counts): Likewise.
8972         * grp/setgroups.c (setgroups): Likewise.
8973         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8974         * inet/inet_net.c (inet_network): Likewise.
8975         * inet/inet_netof.c (inet_netof): Likewise.
8976         * inet/rcmd.c (rresvport_af): Likewise.
8977         (rresvport): Likewise.
8978         * io/access.c (__access): Likewise.
8979         * io/chdir.c (__chdir): Likewise.
8980         * io/chmod.c (__chmod): Likewise.
8981         * io/chown.c (__chown): Likewise.
8982         * io/close.c (__close): Likewise.
8983         * io/creat.c (creat): Likewise.
8984         * io/creat64.c (creat64): Likewise.
8985         * io/dup.c (__dup): Likewise.
8986         * io/dup2.c (__dup2): Likewise.
8987         * io/dup3.c (__dup3): Likewise.
8988         * io/euidaccess.c (__euidaccess): Likewise.
8989         * io/faccessat.c (faccessat): Likewise.
8990         * io/fchmod.c (__fchmod): Likewise.
8991         * io/fchmodat.c (fchmodat): Likewise.
8992         * io/fchown.c (__fchown): Likewise.
8993         * io/fchownat.c (fchownat): Likewise.
8994         * io/fcntl.c (__fcntl): Likewise.
8995         * io/flock.c (__flock): Likewise.
8996         * io/fts.c (fts_load): Likewise.
8997         (fts_close): Likewise.
8998         (fts_read): Likewise.
8999         (fts_set): Likewise.
9000         (fts_children): Likewise.
9001         (fts_build): Likewise.
9002         (fts_stat): Likewise.
9003         (fts_sort): Likewise.
9004         (fts_alloc): Likewise.
9005         (fts_lfree): Likewise.
9006         (fts_palloc): Likewise.
9007         (fts_padjust): Likewise.
9008         (fts_maxarglen): Likewise.
9009         (fts_safe_changedir): Likewise.
9010         * io/getwd.c (getwd): Likewise.
9011         * io/isatty.c (__isatty): Likewise.
9012         * io/lchown.c (__lchown): Likewise.
9013         * io/link.c (__link): Likewise.
9014         * io/linkat.c (linkat): Likewise.
9015         * io/lseek.c (__libc_lseek): Likewise.
9016         * io/mkdir.c (__mkdir): Likewise.
9017         * io/mkdirat.c (mkdirat): Likewise.
9018         * io/mkfifo.c (mkfifo): Likewise.
9019         * io/mkfifoat.c (mkfifoat): Likewise.
9020         * io/open.c (__libc_open): Likewise.
9021         * io/open64.c (__libc_open64): Likewise.
9022         * io/readlink.c (__readlink): Likewise.
9023         * io/readlinkat.c (readlinkat): Likewise.
9024         * io/rmdir.c (__rmdir): Likewise.
9025         * io/symlink.c (__symlink): Likewise.
9026         * io/symlinkat.c (symlinkat): Likewise.
9027         * io/ttyname.c (ttyname): Likewise.
9028         * io/ttyname_r.c (__ttyname_r): Likewise.
9029         * io/umask.c (__umask): Likewise.
9030         * io/unlink.c (__unlink): Likewise.
9031         * io/unlinkat.c (unlinkat): Likewise.
9032         * io/utime.c (utime): Likewise.
9033         * libio/clearerr.c (clearerr): Likewise.
9034         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9035         * libio/feof.c (_IO_feof): Likewise.
9036         * libio/feof_u.c (feof_unlocked): Likewise.
9037         * libio/ferror.c (_IO_ferror): Likewise.
9038         * libio/ferror_u.c (ferror_unlocked): Likewise.
9039         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9040         * libio/fileno.c (__fileno): Likewise.
9041         * libio/fputc.c (fputc): Likewise.
9042         * libio/fputc_u.c (fputc_unlocked): Likewise.
9043         * libio/fputwc.c (fputwc): Likewise.
9044         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9045         * libio/freopen.c (freopen): Likewise.
9046         * libio/freopen64.c (freopen64): Likewise.
9047         * libio/fseek.c (fseek): Likewise.
9048         * libio/fseeko.c (fseeko): Likewise.
9049         * libio/fseeko64.c (fseeko64): Likewise.
9050         * libio/ftello.c (__ftello): Likewise.
9051         * libio/ftello64.c (ftello64): Likewise.
9052         * libio/fwide.c (fwide): Likewise.
9053         * libio/genops.c (_IO_un_link): Likewise.
9054         (_IO_link_in): Likewise.
9055         (_IO_least_marker): Likewise.
9056         (_IO_switch_to_main_get_area): Likewise.
9057         (_IO_switch_to_backup_area): Likewise.
9058         (_IO_switch_to_get_mode): Likewise.
9059         (_IO_free_backup_area): Likewise.
9060         (_IO_switch_to_put_mode): Likewise.
9061         (__overflow): Likewise.
9062         (__underflow): Likewise.
9063         (__uflow): Likewise.
9064         (_IO_setb): Likewise.
9065         (_IO_doallocbuf): Likewise.
9066         (_IO_default_underflow): Likewise.
9067         (_IO_default_uflow): Likewise.
9068         (_IO_default_xsputn): Likewise.
9069         (_IO_sgetn): Likewise.
9070         (_IO_default_xsgetn): Likewise.
9071         (_IO_sync): Likewise.
9072         (_IO_default_setbuf): Likewise.
9073         (_IO_default_seekpos): Likewise.
9074         (_IO_default_doallocate): Likewise.
9075         (_IO_init): Likewise.
9076         (_IO_old_init): Likewise.
9077         (_IO_default_sync): Likewise.
9078         (_IO_default_finish): Likewise.
9079         (_IO_default_seekoff): Likewise.
9080         (_IO_sputbackc): Likewise.
9081         (_IO_sungetc): Likewise.
9082         (_IO_set_column): Likewise.
9083         (_IO_set_column): Likewise.
9084         (_IO_adjust_column): Likewise.
9085         (_IO_get_column): Likewise.
9086         (_IO_init_marker): Likewise.
9087         (_IO_remove_marker): Likewise.
9088         (_IO_marker_difference): Likewise.
9089         (_IO_marker_delta): Likewise.
9090         (_IO_seekmark): Likewise.
9091         (_IO_unsave_markers): Likewise.
9092         (_IO_nobackup_pbackfail): Likewise.
9093         (_IO_default_pbackfail): Likewise.
9094         (_IO_default_seek): Likewise.
9095         (_IO_default_stat): Likewise.
9096         (_IO_default_read): Likewise.
9097         (_IO_default_write): Likewise.
9098         (_IO_default_showmanyc): Likewise.
9099         (_IO_default_imbue): Likewise.
9100         (_IO_iter_next): Likewise.
9101         (_IO_iter_file): Likewise.
9102         * libio/getc.c (_IO_getc): Likewise.
9103         * libio/getwc.c (_IO_getwc): Likewise.
9104         * libio/iofclose.c (_IO_new_fclose): Likewise.
9105         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9106         * libio/iofflush.c (_IO_fflush): Likewise.
9107         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9108         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9109         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9110         * libio/iofgets.c (_IO_fgets): Likewise.
9111         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9112         * libio/iofgetws.c (fgetws): Likewise.
9113         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9114         * libio/iofopen64.c (_IO_fopen64): Likewise.
9115         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9116         (_IO_cookie_write): Likewise.
9117         (_IO_cookie_seek): Likewise.
9118         (_IO_cookie_close): Likewise.
9119         (_IO_cookie_seekoff): Likewise.
9120         (_IO_old_cookie_seek): Likewise.
9121         * libio/iofputs.c (_IO_fputs): Likewise.
9122         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9123         * libio/iofputws.c (fputws): Likewise.
9124         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9125         * libio/iofread.c (_IO_fread): Likewise.
9126         * libio/iofread_u.c (__fread_unlocked): Likewise.
9127         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9128         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9129         * libio/ioftell.c (_IO_ftell): Likewise.
9130         * libio/iofwrite.c (_IO_fwrite): Likewise.
9131         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9132         * libio/iogets.c (_IO_gets): Likewise.
9133         * libio/iopadn.c (_IO_padn): Likewise.
9134         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9135         (_IO_new_popen): Likewise.
9136         (_IO_new_proc_close): Likewise.
9137         * libio/ioputs.c (_IO_puts): Likewise.
9138         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9139         (_IO_seekoff): Likewise.
9140         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9141         (_IO_seekpos): Likewise.
9142         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9143         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9144         * libio/ioungetc.c (_IO_ungetc): Likewise.
9145         * libio/ioungetwc.c (ungetwc): Likewise.
9146         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9147         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9148         * libio/iowpadn.c (_IO_wpadn): Likewise.
9149         * libio/libc_fatal.c (__libc_fatal): Likewise.
9150         * libio/memstream.c (__open_memstream): Likewise.
9151         (_IO_mem_sync): Likewise.
9152         (_IO_mem_finish): Likewise.
9153         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9154         (_IO_old_file_close_it): Likewise.
9155         (_IO_old_file_finish): Likewise.
9156         (_IO_old_file_fopen): Likewise.
9157         (_IO_old_file_attach): Likewise.
9158         (_IO_old_file_setbuf): Likewise.
9159         (_IO_old_do_write): Likewise.
9160         (old_do_write): Likewise.
9161         (_IO_old_file_underflow): Likewise.
9162         (_IO_old_file_overflow): Likewise.
9163         (_IO_old_file_sync): Likewise.
9164         (_IO_old_file_seekoff): Likewise.
9165         (_IO_old_file_write): Likewise.
9166         (_IO_old_file_xsputn): Likewise.
9167         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9168         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9169         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9170         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9171         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9172         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9173         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9174         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9175         (_IO_old_popen): Likewise.
9176         (_IO_old_proc_close): Likewise.
9177         * libio/oldpclose.c (__old_pclose): Likewise.
9178         * libio/pclose.c (__new_pclose): Likewise.
9179         * libio/peekc.c (_IO_peekc_locked): Likewise.
9180         * libio/putc.c (_IO_putc): Likewise.
9181         * libio/putc_u.c (putc_unlocked): Likewise.
9182         * libio/putchar.c (putchar): Likewise.
9183         * libio/putchar_u.c (putchar_unlocked): Likewise.
9184         * libio/putwc.c (putwc): Likewise.
9185         * libio/putwc_u.c (putwc_unlocked): Likewise.
9186         * libio/putwchar.c (putwchar): Likewise.
9187         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9188         * libio/rewind.c (rewind): Likewise.
9189         * libio/setbuf.c (setbuf): Likewise.
9190         * libio/setlinebuf.c (setlinebuf): Likewise.
9191         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9192         * libio/vscanf.c (_IO_vscanf): Likewise.
9193         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9194         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9195         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9196         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9197         (_IO_switch_to_main_wget_area): Likewise.
9198         (_IO_switch_to_wbackup_area): Likewise.
9199         (_IO_wsetb): Likewise.
9200         (_IO_wdefault_pbackfail): Likewise.
9201         (_IO_wdefault_finish): Likewise.
9202         (_IO_wdefault_uflow): Likewise.
9203         (__woverflow): Likewise.
9204         (__wuflow): Likewise.
9205         (__wunderflow): Likewise.
9206         (_IO_wdefault_xsputn): Likewise.
9207         (_IO_wdefault_xsgetn): Likewise.
9208         (_IO_wdoallocbuf): Likewise.
9209         (_IO_wdefault_doallocate): Likewise.
9210         (_IO_switch_to_wget_mode): Likewise.
9211         (_IO_free_wbackup_area): Likewise.
9212         (_IO_switch_to_wput_mode): Likewise.
9213         (_IO_sputbackwc): Likewise.
9214         (_IO_sungetwc): Likewise.
9215         (_IO_adjust_wcolumn): Likewise.
9216         (_IO_init_wmarker): Likewise.
9217         (_IO_wmarker_delta): Likewise.
9218         (_IO_seekwmark): Likewise.
9219         (_IO_unsave_wmarkers): Likewise.
9220         * libio/wmemstream.c (open_wmemstream): Likewise.
9221         (_IO_wmem_sync): Likewise.
9222         (_IO_wmem_finish): Likewise.
9223         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9224         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9225         * locale/programs/simple-hash.c (init_hash): Likewise.
9226         (delete_hash): Likewise.
9227         (insert_entry): Likewise.
9228         (set_entry): Likewise.
9229         (next_prime): Likewise.
9230         (is_prime): Likewise.
9231         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9232         (xmalloc): Likewise.
9233         (xrealloc): Likewise.
9234         * locale/programs/xstrdup.c (xstrdup): Likewise.
9235         * localedata/collate-test.c (xstrcoll): Likewise.
9236         * localedata/xfrm-test.c (xstrcmp): Likewise.
9237         * login/getlogin_r.c (__getlogin_r): Likewise.
9238         * login/getpt.c (__posix_openpt): Likewise.
9239         * login/login_tty.c (login_tty): Likewise.
9240         * login/setlogin.c (setlogin): Likewise.
9241         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9242         (mach_msg_destroy_port): Likewise.
9243         (mach_msg_destroy_memory): Likewise.
9244         * malloc/mcheck.c (flood): Likewise.
9245         * misc/acct.c (acct): Likewise.
9246         * misc/brk.c (__brk): Likewise.
9247         * misc/chflags.c (chflags): Likewise.
9248         * misc/chroot.c (chroot): Likewise.
9249         * misc/fchflags.c (fchflags): Likewise.
9250         * misc/fstab.c (getfsspec): Likewise.
9251         (getfsfile): Likewise.
9252         * misc/fsync.c (fsync): Likewise.
9253         * misc/ftruncate.c (__ftruncate): Likewise.
9254         * misc/ftruncate64.c (__ftruncate64): Likewise.
9255         * misc/getdomain.c (getdomainname): Likewise.
9256         (getdomainname): Likewise.
9257         * misc/gethostname.c (__gethostname): Likewise.
9258         * misc/getpass.c (getpass): Likewise.
9259         * misc/getttyent.c (skip): Likewise.
9260         (value): Likewise.
9261         * misc/gtty.c (gtty): Likewise.
9262         * misc/hsearch.c (hsearch): Likewise.
9263         (hcreate): Likewise.
9264         * misc/hsearch_r.c (__hcreate_r): Likewise.
9265         (__hdestroy_r): Likewise.
9266         * misc/ioctl.c (__ioctl): Likewise.
9267         * misc/mkdtemp.c (mkdtemp): Likewise.
9268         * misc/mkostemp.c (mkostemp): Likewise.
9269         * misc/mkostemp64.c (mkostemp64): Likewise.
9270         * misc/mkostemps.c (mkostemps): Likewise.
9271         * misc/mkostemps64.c (mkostemps64): Likewise.
9272         * misc/mkstemp.c (mkstemp): Likewise.
9273         * misc/mkstemp64.c (mkstemp64): Likewise.
9274         * misc/mkstemps.c (mkstemps): Likewise.
9275         * misc/mkstemps64.c (mkstemps64): Likewise.
9276         * misc/mktemp.c (__mktemp): Likewise.
9277         * misc/preadv.c (preadv): Likewise.
9278         * misc/preadv64.c (preadv64): Likewise.
9279         * misc/pwritev.c (pwritev): Likewise.
9280         * misc/pwritev64.c (pwritev64): Likewise.
9281         * misc/readv.c (__readv): Likewise.
9282         * misc/revoke.c (revoke): Likewise.
9283         * misc/setdomain.c (setdomainname): Likewise.
9284         * misc/setegid.c (setegid): Likewise.
9285         * misc/seteuid.c (seteuid): Likewise.
9286         * misc/sethostid.c (sethostid): Likewise.
9287         * misc/sethostname.c (sethostname): Likewise.
9288         * misc/setregid.c (__setregid): Likewise.
9289         * misc/setreuid.c (__setreuid): Likewise.
9290         * misc/sstk.c (sstk): Likewise.
9291         * misc/stty.c (stty): Likewise.
9292         * misc/syscall.c (syscall): Likewise.
9293         * misc/syslog.c (setlogmask): Likewise.
9294         * misc/truncate.c (__truncate): Likewise.
9295         * misc/truncate64.c (truncate64): Likewise.
9296         * misc/ualarm.c (ualarm): Likewise.
9297         * misc/usleep.c (usleep): Likewise.
9298         * misc/ustat.c (ustat): Likewise.
9299         * misc/writev.c (__writev): Likewise.
9300         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9301         * nptl/old_pthread_cond_broadcast.c
9302         (__pthread_cond_broadcast_2_0): Likewise.
9303         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9304         Likewise.
9305         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9306         Likewise.
9307         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9308         Likewise.
9309         * nptl/pt-raise.c (raise): Likewise.
9310         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9311         Likewise.
9312         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9313         * nptl/pthread_barrierattr_destroy.c
9314         (pthread_barrierattr_destroy): Likewise.
9315         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9316         Likewise.
9317         * nptl/pthread_barrierattr_setpshared.c
9318         (pthread_barrierattr_setpshared): Likewise.
9319         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9320         Likewise.
9321         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9322         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9323         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9324         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9325         Likewise.
9326         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9327         Likewise.
9328         * nptl/pthread_condattr_getpshared.c
9329         (pthread_condattr_getpshared): Likewise.
9330         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9331         Likewise.
9332         * nptl/pthread_condattr_setpshared.c
9333         (pthread_condattr_setpshared): Likewise.
9334         * nptl/pthread_detach.c (pthread_detach): Likewise.
9335         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9336         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9337         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9338         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9339         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9340         Likewise.
9341         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9342         Likewise.
9343         * nptl/pthread_mutex_getprioceiling.c
9344         (pthread_mutex_getprioceiling): Likewise.
9345         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9346         Likewise.
9347         * nptl/pthread_mutexattr_getprotocol.c
9348         (pthread_mutexattr_getprotocol): Likewise.
9349         * nptl/pthread_mutexattr_getpshared.c
9350         (pthread_mutexattr_getpshared): Likewise.
9351         * nptl/pthread_mutexattr_getrobust.c
9352         (pthread_mutexattr_getrobust): Likewise.
9353         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9354         Likewise.
9355         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9356         Likewise.
9357         * nptl/pthread_mutexattr_setprioceiling.c
9358         (pthread_mutexattr_setprioceiling): Likewise.
9359         * nptl/pthread_mutexattr_setprotocol.c
9360         (pthread_mutexattr_setprotocol): Likewise.
9361         * nptl/pthread_mutexattr_setpshared.c
9362         (pthread_mutexattr_setpshared): Likewise.
9363         * nptl/pthread_mutexattr_setrobust.c
9364         (pthread_mutexattr_setrobust): Likewise.
9365         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9366         Likewise.
9367         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9368         Likewise.
9369         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9370         Likewise.
9371         * nptl/pthread_rwlockattr_getkind_np.c
9372         (pthread_rwlockattr_getkind_np): Likewise.
9373         * nptl/pthread_rwlockattr_getpshared.c
9374         (pthread_rwlockattr_getpshared): Likewise.
9375         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9376         Likewise.
9377         * nptl/pthread_rwlockattr_setkind_np.c
9378         (pthread_rwlockattr_setkind_np): Likewise.
9379         * nptl/pthread_rwlockattr_setpshared.c
9380         (pthread_rwlockattr_setpshared): Likewise.
9381         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9382         Likewise.
9383         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9384         Likewise.
9385         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9386         Likewise.
9387         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9388         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9389         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9390         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9391         * nptl/sem_close.c (sem_close): Likewise.
9392         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9393         * nptl/sem_init.c (__old_sem_init): Likewise.
9394         * nptl/sigaction.c (__sigaction): Likewise.
9395         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9396         * posix/_exit.c (_exit): Likewise.
9397         * posix/alarm.c (alarm): Likewise.
9398         * posix/confstr.c (confstr): Likewise.
9399         * posix/fpathconf.c (__fpathconf): Likewise.
9400         * posix/getgroups.c (__getgroups): Likewise.
9401         * posix/getpgid.c (__getpgid): Likewise.
9402         * posix/group_member.c (__group_member): Likewise.
9403         * posix/pathconf.c (__pathconf): Likewise.
9404         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9405         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9406         * posix/setgid.c (__setgid): Likewise.
9407         * posix/setpgid.c (__setpgid): Likewise.
9408         * posix/setuid.c (__setuid): Likewise.
9409         * posix/sleep.c (__sleep): Likewise.
9410         * posix/sysconf.c (__sysconf): Likewise.
9411         * posix/times.c (__times): Likewise.
9412         * posix/uname.c (__uname): Likewise.
9413         * posix/waitid.c (__waitid): Likewise.
9414         * pwd/getpw.c (__getpw): Likewise.
9415         * resolv/base64.c (b64_pton): Likewise.
9416         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9417         * resolv/gethnamaddr.c (Dprintf): Likewise.
9418         (gethostbyname): Likewise.
9419         (gethostbyname2): Likewise.
9420         (gethostbyaddr): Likewise.
9421         (_sethtent): Likewise.
9422         (_gethtbyname): Likewise.
9423         (_gethtbyname2): Likewise.
9424         (_gethtbyaddr): Likewise.
9425         (map_v4v6_address): Likewise.
9426         (map_v4v6_hostent): Likewise.
9427         (addrsort): Likewise.
9428         (ht_sethostent): Likewise.
9429         (ht_gethostbyname): Likewise.
9430         (ht_gethostbyaddr): Likewise.
9431         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9432         (inet_net_ntop_ipv4): Likewise.
9433         * resolv/inet_neta.c (inet_neta): Likewise.
9434         * resolv/inet_ntop.c (inet_ntop): Likewise.
9435         (inet_ntop4): Likewise.
9436         (inet_ntop6): Likewise.
9437         * resolv/inet_pton.c (__inet_pton): Likewise.
9438         (inet_pton4): Likewise.
9439         (inet_pton6): Likewise.
9440         * resolv/res_debug.c (loc_aton): Likewise.
9441         (loc_ntoa): Likewise.
9442         * resource/getpriority.c (__getpriority): Likewise.
9443         * resource/getrusage.c (__getrusage): Likewise.
9444         * resource/nice.c (nice): Likewise.
9445         * resource/setpriority.c (__setpriority): Likewise.
9446         * resource/setrlimit64.c (setrlimit64): Likewise.
9447         * resource/vlimit.c (vlimit): Likewise.
9448         * resource/vtimes.c (vtimes): Likewise.
9449         * rt/aio_error.c (aio_error): Likewise.
9450         * rt/aio_return.c (aio_return): Likewise.
9451         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9452         * signal/kill.c (__kill): Likewise.
9453         * signal/killpg.c (killpg): Likewise.
9454         * signal/raise.c (raise): Likewise.
9455         * signal/sigaction.c (__sigaction): Likewise.
9456         * signal/sigaddset.c (sigaddset): Likewise.
9457         * signal/sigaltstack.c (sigaltstack): Likewise.
9458         * signal/sigandset.c (sigandset): Likewise.
9459         * signal/sigblock.c (__sigblock): Likewise.
9460         * signal/sigdelset.c (sigdelset): Likewise.
9461         * signal/sigempty.c (sigemptyset): Likewise.
9462         * signal/sigfillset.c (sigfillset): Likewise.
9463         * signal/sighold.c (sighold): Likewise.
9464         * signal/sigignore.c (sigignore): Likewise.
9465         * signal/sigintr.c (siginterrupt): Likewise.
9466         * signal/sigisempty.c (sigisemptyset): Likewise.
9467         * signal/sigismem.c (sigismember): Likewise.
9468         * signal/signal.c (signal): Likewise.
9469         * signal/sigorset.c (sigorset): Likewise.
9470         * signal/sigpause.c (__sigpause): Likewise.
9471         * signal/sigpending.c (sigpending): Likewise.
9472         * signal/sigprocmask.c (__sigprocmask): Likewise.
9473         * signal/sigrelse.c (sigrelse): Likewise.
9474         * signal/sigreturn.c (__sigreturn): Likewise.
9475         * signal/sigset.c (sigset): Likewise.
9476         * signal/sigsetmask.c (__sigsetmask): Likewise.
9477         * signal/sigstack.c (sigstack): Likewise.
9478         * signal/sigsuspend.c (__sigsuspend): Likewise.
9479         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9480         * signal/sysv_signal.c (__sysv_signal): Likewise.
9481         * socket/accept.c (accept): Likewise.
9482         * socket/accept4.c (__libc_accept4): Likewise.
9483         * socket/bind.c (__bind): Likewise.
9484         * socket/connect.c (__connect): Likewise.
9485         * socket/getpeername.c (getpeername): Likewise.
9486         * socket/getsockname.c (__getsockname): Likewise.
9487         * socket/getsockopt.c (getsockopt): Likewise.
9488         * socket/listen.c (__listen): Likewise.
9489         * socket/recv.c (__recv): Likewise.
9490         * socket/recvmsg.c (__recvmsg): Likewise.
9491         * socket/send.c (__send): Likewise.
9492         * socket/sendmsg.c (__sendmsg): Likewise.
9493         * socket/shutdown.c (shutdown): Likewise.
9494         * socket/sockatmark.c (sockatmark): Likewise.
9495         * socket/socket.c (__socket): Likewise.
9496         * stdio-common/ctermid.c (ctermid): Likewise.
9497         * stdio-common/cuserid.c (cuserid): Likewise.
9498         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9499         * stdio-common/remove.c (remove): Likewise.
9500         * stdio-common/rename.c (rename): Likewise.
9501         * stdio-common/renameat.c (renameat): Likewise.
9502         * stdio-common/tempname.c (__gen_tempname): Likewise.
9503         * stdio-common/xbug.c (InitBuffer): Likewise.
9504         (AppendToBuffer): Likewise.
9505         (ReadFile): Likewise.
9506         * stdlib/a64l.c (a64l): Likewise.
9507         * stdlib/drand48_r.c (drand48_r): Likewise.
9508         * stdlib/getcontext.c (getcontext): Likewise.
9509         * stdlib/getenv.c (getenv): Likewise.
9510         * stdlib/l64a.c (l64a): Likewise.
9511         * stdlib/llabs.c (llabs): Likewise.
9512         * stdlib/lldiv.c (lldiv): Likewise.
9513         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9514         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9515         * stdlib/putenv.c (putenv): Likewise.
9516         * stdlib/random.c (__srandom): Likewise.
9517         (__initstate): Likewise.
9518         (__setstate): Likewise.
9519         * stdlib/random_r.c (__srandom_r): Likewise.
9520         (__setstate_r): Likewise.
9521         (__random_r): Likewise.
9522         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9523         * stdlib/setcontext.c (setcontext): Likewise.
9524         * stdlib/setenv.c (setenv): Likewise.
9525         (unsetenv): Likewise.
9526         * stdlib/srand48.c (srand48): Likewise.
9527         * stdlib/srand48_r.c (__srand48_r): Likewise.
9528         * stdlib/swapcontext.c (swapcontext): Likewise.
9529         * stdlib/system.c (__libc_system): Likewise.
9530         * stdlib/tst-strtod.c (expand): Likewise.
9531         * stdlib/tst-strtol.c (expand): Likewise.
9532         * stdlib/tst-strtoll.c (expand): Likewise.
9533         * streams/fattach.c (fattach): Likewise.
9534         * streams/fdetach.c (fdetach): Likewise.
9535         * streams/getmsg.c (getmsg): Likewise.
9536         * streams/isastream.c (isastream): Likewise.
9537         * string/ffs.c (__ffs): Likewise.
9538         * string/ffsll.c (ffsll): Likewise.
9539         * string/memcmp.c (memcmp_common_alignment): Likewise.
9540         (memcmp_not_common_alignment): Likewise.
9541         (MEMCMP): Likewise.
9542         * string/memcpy.c (memcpy): Likewise.
9543         * string/memmove.c (MEMMOVE): Likewise.
9544         * string/memset.c (memset): Likewise.
9545         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9546         * string/strchrnul.c (STRCHRNUL): Likewise.
9547         * string/strerror.c (strerror): Likewise.
9548         * string/strndup.c (__strndup): Likewise.
9549         * string/strverscmp.c (__strverscmp): Likewise.
9550         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9551         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9552         (clnttcp_freeres): Likewise.
9553         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9554         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9555         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9556         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9557         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9558         (xdr_callhdr): Likewise.
9559         * sunrpc/rpcinfo.c (udpping): Likewise.
9560         (tcpping): Likewise.
9561         (pstatus): Likewise.
9562         (pmapdump): Likewise.
9563         (brdcst): Likewise.
9564         (deletereg): Likewise.
9565         (getprognum): Likewise.
9566         (getvers): Likewise.
9567         (get_inet_address): Likewise.
9568         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9569         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9570         (svcudp_stat): Likewise.
9571         (svcudp_recv): Likewise.
9572         (svcudp_reply): Likewise.
9573         (svcudp_getargs): Likewise.
9574         (svcudp_freeargs): Likewise.
9575         (svcudp_destroy): Likewise.
9576         * sunrpc/xdr.c (xdr_bytes): Likewise.
9577         (xdr_netobj): Likewise.
9578         (xdr_string): Likewise.
9579         (xdr_wrapstring): Likewise.
9580         * sunrpc/xdr_float.c (xdr_float): Likewise.
9581         (xdr_double): Likewise.
9582         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9583         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9584         * sysvipc/ftok.c (ftok): Likewise.
9585         * sysvipc/msgctl.c (msgctl): Likewise.
9586         * sysvipc/msgget.c (msgget): Likewise.
9587         * sysvipc/msgrcv.c (msgrcv): Likewise.
9588         * sysvipc/msgsnd.c (msgsnd): Likewise.
9589         * sysvipc/semget.c (semget): Likewise.
9590         * sysvipc/semop.c (semop): Likewise.
9591         * sysvipc/shmat.c (shmat): Likewise.
9592         * sysvipc/shmctl.c (shmctl): Likewise.
9593         * sysvipc/shmdt.c (shmdt): Likewise.
9594         * sysvipc/shmget.c (shmget): Likewise.
9595         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9596         * termios/speed.c (cfgetospeed): Likewise.
9597         (cfgetispeed): Likewise.
9598         (cfsetospeed): Likewise.
9599         (cfsetispeed): Likewise.
9600         * termios/tcflow.c (tcflow): Likewise.
9601         * termios/tcflush.c (tcflush): Likewise.
9602         * termios/tcgetattr.c (__tcgetattr): Likewise.
9603         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9604         * termios/tcgetsid.c (tcgetsid): Likewise.
9605         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9606         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9607         * time/adjtime.c (__adjtime): Likewise.
9608         * time/dysize.c (dysize): Likewise.
9609         * time/ftime.c (ftime): Likewise.
9610         * time/getitimer.c (__getitimer): Likewise.
9611         * time/gettimeofday.c (__gettimeofday): Likewise.
9612         * time/gmtime.c (__gmtime_r): Likewise.
9613         (gmtime): Likewise.
9614         * time/localtime.c (__localtime_r): Likewise.
9615         (localtime): Likewise.
9616         * time/offtime.c (__offtime): Likewise.
9617         * time/settimeofday.c (__settimeofday): Likewise.
9618         * time/stime.c (stime): Likewise.
9619         * time/strftime_l.c (tm_diff): Likewise.
9620         (iso_week_days): Likewise.
9621         * time/strptime.c (strptime): Likewise.
9622         * time/time.c (time): Likewise.
9623         * time/timespec_get.c (timespec_get): Likewise.
9624         * time/tzset.c (tzset_internal): Likewise.
9625         (compute_change): Likewise.
9626         (__tz_compute): Likewise.
9627         * wcsmbs/btowc.c (__btowc): Likewise.
9628         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9629         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9630         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9631         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9632         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9633         * wcsmbs/wcscat.c (__wcscat): Likewise.
9634         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9635         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9636         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9637         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9638         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9639         * wcsmbs/wcslen.c (__wcslen): Likewise.
9640         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9641         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9642         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9643         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9644         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9645         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9646         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9647         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9648         * wcsmbs/wcstok.c (wcstok): Likewise.
9649         * wcsmbs/wctob.c (wctob): Likewise.
9650         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9651         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9652         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9653         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9654         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9655         * wcsmbs/wmemset.c (__wmemset): Likewise.
9656         * wctype/wcfuncs.c (__towlower): Likewise.
9657         (__towupper): Likewise.
9659         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9660         (lll_unlock_elision): Add adapt_count parameter.
9662 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9664         * sysdeps/nptl/configure.ac: Do not give errors based on the
9665         results of top-level configure tests.
9666         * sysdeps/nptl/configure: Regenerated.
9668         * configure.ac (libc_cv_Bgroup): Remove configure test.
9669         * configure: Regenerated.
9670         * config.make.in (have-Bgroup): Remove variable.
9672         * configure.ac (sizeof_long_double): Remove configure test.
9673         * configure: Regenerated.
9674         * config.make.in (sizeof-long-double): Remove variable.
9676         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9677         * configure: Regenerated.
9678         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9679         variable.
9680         (exceptions): Likewise.
9681         * sysdeps/arm/configure: Regenerated.
9682         * config.make.in (exceptions): Remove variable.
9683         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9684         $(exceptions).
9685         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9686         (CFLAGS-vdprintf_chk.c): Likewise.
9687         (CFLAGS-printf_chk.c): Likewise.
9688         (CFLAGS-fprintf_chk.c): Likewise.
9689         (CFLAGS-vprintf_chk.c): Likewise.
9690         (CFLAGS-vfprintf_chk.c): Likewise.
9691         (CFLAGS-gets_chk.c): Likewise.
9692         (CFLAGS-fgets_chk.c): Likewise.
9693         (CFLAGS-fgets_u_chk.c): Likewise.
9694         (CFLAGS-fread_chk.c): Likewise.
9695         (CFLAGS-fread_u_chk.c): Likewise.
9696         (CFLAGS-wprintf_chk.c): Likewise.
9697         (CFLAGS-fwprintf_chk.c): Likewise.
9698         (CFLAGS-vwprintf_chk.c): Likewise.
9699         (CFLAGS-vfwprintf_chk.c): Likewise.
9700         (CFLAGS-fgetws_chk.c): Likewise.
9701         (CFLAGS-fgetws_u_chk.c): Likewise.
9702         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9703         (CFLAGS-fputc.c): Likewise.
9704         (CFLAGS-fputwc.c): Likewise.
9705         (CFLAGS-freopen64.c): Likewise.
9706         (CFLAGS-freopen.c): Likewise.
9707         (CFLAGS-fseek.c): Likewise.
9708         (CFLAGS-fseeko64.c): Likewise.
9709         (CFLAGS-fseeko.c): Likewise.
9710         (CFLAGS-ftello64.c): Likewise.
9711         (CFLAGS-ftello.c): Likewise.
9712         (CFLAGS-fwide.c): Likewise.
9713         (CFLAGS-genops.c): Likewise.
9714         (CFLAGS-getc.c): Likewise.
9715         (CFLAGS-getchar.c): Likewise.
9716         (CFLAGS-getwc.c): Likewise.
9717         (CFLAGS-getwchar.c): Likewise.
9718         (CFLAGS-iofclose.c): Likewise.
9719         (CFLAGS-iofflush.c): Likewise.
9720         (CFLAGS-iofgetpos64.c): Likewise.
9721         (CFLAGS-iofgetpos.c): Likewise.
9722         (CFLAGS-iofgets.c): Likewise.
9723         (CFLAGS-iofgetws.c): Likewise.
9724         (CFLAGS-iofputs.c): Likewise.
9725         (CFLAGS-iofputws.c): Likewise.
9726         (CFLAGS-iofread.c): Likewise.
9727         (CFLAGS-iofsetpos64.c): Likewise.
9728         (CFLAGS-iofsetpos.c): Likewise.
9729         (CFLAGS-ioftell.c): Likewise.
9730         (CFLAGS-iofwrite.c): Likewise.
9731         (CFLAGS-iogetdelim.c): Likewise.
9732         (CFLAGS-iogetline.c): Likewise.
9733         (CFLAGS-iogets.c): Likewise.
9734         (CFLAGS-iogetwline.c): Likewise.
9735         (CFLAGS-ioputs.c): Likewise.
9736         (CFLAGS-ioseekoff.c): Likewise.
9737         (CFLAGS-ioseekpos.c): Likewise.
9738         (CFLAGS-iosetbuffer.c): Likewise.
9739         (CFLAGS-iosetvbuf.c): Likewise.
9740         (CFLAGS-ioungetc.c): Likewise.
9741         (CFLAGS-ioungetwc.c): Likewise.
9742         (CFLAGS-oldfileops.c): Likewise.
9743         (CFLAGS-oldiofclose.c): Likewise.
9744         (CFLAGS-oldiofgetpos64.c): Likewise.
9745         (CFLAGS-oldiofgetpos.c): Likewise.
9746         (CFLAGS-oldiofsetpos64.c): Likewise.
9747         (CFLAGS-oldiofsetpos.c): Likewise.
9748         (CFLAGS-peekc.c): Likewise.
9749         (CFLAGS-putc.c): Likewise.
9750         (CFLAGS-putchar.c): Likewise.
9751         (CFLAGS-putwc.c): Likewise.
9752         (CFLAGS-putwchar.c): Likewise.
9753         (CFLAGS-rewind.c): Likewise.
9754         (CFLAGS-wfileops.c): Likewise.
9755         (CFLAGS-wgenops.c): Likewise.
9756         (CFLAGS-oldiofopen.c): Likewise.
9757         (CFLAGS-iofopen.c): Likewise.
9758         (CFLAGS-iofopen64.c): Likewise.
9759         (CFLAGS-oldtmpfile.c): Likewise.
9760         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9761         (CFLAGS-fprintf.c): Likewise.
9762         (CFLAGS-printf.c): Likewise.
9763         (CFLAGS-vfwprintf.c): Likewise.
9764         (CFLAGS-vfscanf.c): Likewise.
9765         (CFLAGS-vfwscanf.c): Likewise.
9766         (CFLAGS-fscanf.c): Likewise.
9767         (CFLAGS-scanf.c): Likewise.
9768         (CFLAGS-isoc99_vfscanf.c): Likewise.
9769         (CFLAGS-isoc99_vscanf.c): Likewise.
9770         (CFLAGS-isoc99_fscanf.c): Likewise.
9771         (CFLAGS-isoc99_scanf.c): Likewise.
9772         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9773         (CFLAGS-isoc99_fwscanf.c): Likewise.
9774         (CFLAGS-isoc99_vwscanf.c): Likewise.
9775         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9777         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9778         after mkstemp64.
9779         * login/tst-utmp.c (do_prepare): Likewise.
9780         * rt/tst-aio.c (do_prepare): Likewise.
9781         * rt/tst-aio64.c (do_prepare): Likewise.
9783 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9785         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9786         (__lll_lock_elision): Remove adapt_count decrement...
9787         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9788         (__lll_trylock_elision): Likewise.
9789         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9790         (__lll_unlock_elision): ... to here. And utilize
9791         new adapt_count parameter.
9792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9793         (__lll_unlock_elision): Update to include adapt_count
9794         parameter.
9795         (lll_unlock_elision): Pass pointer to adapt_count
9796         variable.
9798 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9800         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9801         Add elision adapt_count parameter to list of arguments.
9802         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9803         (lll_unlock_elision): Update with new parameter list
9804         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9805         (lll_unlock_elision): Likewise.
9806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9807         (lll_unlock_elision): Likewise.
9809 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9811         [BZ #19122]
9812         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9813         attribute_hidden.
9815         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9816         attribute_hidden.
9817         [IS_IN (rtld)] (__strdup): Likewise.
9818         [IS_IN (rtld)] (__strerror_r): Likewise.
9819         [IS_IN (rtld)] (__strsep_g): Likewise.
9820         [IS_IN (rtld)] (memchr): Likewise.
9821         [IS_IN (rtld)] (memcmp): Likewise.
9822         [IS_IN (rtld)] (memcpy): Likewise.
9823         [IS_IN (rtld)] (memmove): Likewise.
9824         [IS_IN (rtld)] (memset): Likewise.
9825         [IS_IN (rtld)] (rawmemchr): Likewise.
9826         [IS_IN (rtld)] (stpcpy): Likewise.
9827         [IS_IN (rtld)] (strchr): Likewise.
9828         [IS_IN (rtld)] (strcmp): Likewise.
9829         [IS_IN (rtld)] (strlen): Likewise.
9830         [IS_IN (rtld)] (strnlen): Likewise.
9831         [IS_IN (rtld)] (strsep): Likewise.
9833         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9834         attribute_hidden.
9835         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9837         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9838         attribute_hidden.
9839         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9841         * include/setjmp.h (__longjmp): Add attribute_hidden.
9842         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9844         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9845         Add attribute_hidden.
9847         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9848         [IS_IN (rtld)] (__open): Likewise.
9849         [IS_IN (rtld)] (__fcntl): Likewise.
9851         * include/dirent.h (__opendirat): Add attribute_hidden.
9852         (__getdents): Likewise.
9853         (__getdents64): Likewise.
9854         (__alloc_dir): Likewise.
9855         [IS_IN (rtld)] (__closedir): Likewise.
9856         [IS_IN (rtld)] (__fdopendir): Likewise.
9857         [IS_IN (rtld)] (__readdir): Likewise.
9858         [IS_IN (rtld)] (__readdir64): Likewise.
9859         [IS_IN (rtld)] (__rewinddir): Likewise.
9861         * include/dlfcn.h (_dl_catch_error): Moved to ...
9862         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9863         attribute_hidden.
9865         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9866         (_itoa_word): Likewise.
9868         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9869         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9870         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9871         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9872         (_dl_higher_prime_number): Likewise.
9873         (_dl_debug_printf_c): Likewise.
9874         (_dl_signal_cerror): Likewise.
9875         (_dl_receive_error): Likewise.
9876         (_dl_reloc_bad_type): Likewise.
9877         (_dl_resolve_conflicts): Likewise.
9878         (_dl_check_all_versions): Likewise.
9879         (_dl_check_map_versions): Likewise.
9880         (_dl_sort_fini): Likewise.
9881         (_dl_debug_initialize): Likewise.
9882         (_dl_init_paths): Likewise.
9883         (_dl_show_auxv): Likewise.
9884         (_dl_next_ld_env_entry): Likewise.
9885         (_dl_important_hwcaps): Likewise.
9886         (_dl_load_cache_lookup): Likewise.
9887         (_dl_update_slotinfo): Likewise.
9888         (_dl_show_scope): Likewise.
9890         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9891         attribute_hidden.
9892         (_wordcopy_fwd_dest_aligned): Likewise.
9893         (_wordcopy_bwd_aligned): Likewise.
9894         (_wordcopy_bwd_dest_aligned): Likewise.
9896         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9897         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9898         Likewise.
9899         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9900         Likewise.
9901         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9903 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9905         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9906         GCC 5 requirement.
9908 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9910         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9911         test.
9912         * sysdeps/i386/configure: Regenerated.
9913         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9914         code unconditional.
9916         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9917         test.
9918         (libc_cv_asm_popsection_directive): Likewise.
9919         * configure: Regenerated.
9920         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9921         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9922         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9923         (__make_section_unallocated): Make definition unconditional.
9924         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9925         Remove conditional definition.
9926         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9927         (__make_section_unallocated): Likewise.
9929         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9930         * configure: Regenerated.
9931         * config.make.in (static-libgcc): Remove variable.
9932         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9933         $(static-libgcc).
9934         (build-module-helper): Likewise.
9936         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9937         * configure: Regenerated.
9939 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9941         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9942         (struct char_buffer): New type.
9943         (char_buffer_start, char_buffer_size, char_buffer_error)
9944         (char_buffer_rewind, char_buffer_add): New functions.
9945         (ADDW): Remove macro, replaced by the char_buffer_add function.
9946         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9947         of extend_alloca.  Make control flow more explicit.
9949 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9951         [BZ #19137]
9952         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9953         Add -fomit-frame-pointer.
9954         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9956 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9958         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9959         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9960         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9961         only if !__GNUC_PREREQ (5,0).
9962         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9963         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9964         (INTERNAL_SYSCALL_NCS): Likewise.
9965         (LOADREGS_0): New macro for GCC 5.
9966         (ASMARGS_0): Likewise.
9967         (LOADREGS_1): Likewise.
9968         (ASMARGS_1): Likewise.
9969         (LOADREGS_2): Likewise.
9970         (ASMARGS_2): Likewise.
9971         (LOADREGS_3): Likewise.
9972         (ASMARGS_3): Likewise.
9973         (LOADREGS_4): Likewise.
9974         (ASMARGS_4): Likewise.
9975         (LOADREGS_5): Likewise.
9976         (ASMARGS_5): Likewise.
9977         (LOADREGS_6): Likewise.
9978         (ASMARGS_6): Likewise.
9980 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9982         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9983         -fomit-frame-pointer.
9984         (CFLAGS-mmap64.c): Likewise.
9985         (CFLAGS-semtimedop.c): Likewise.
9986         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9987         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9988         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9989         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9991 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9993         [BZ #18928]
9994         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9995         _dl_pointer_guard member.
9996         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9997         initializer.
9998         (security_init): Always set up pointer guard.
9999         (process_envvars): Do not process LD_POINTER_GUARD.
10001 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10003         [BZ #19134]
10004         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10005         (.LC2): Likewise.
10006         (.LC3): Likewise.
10007         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10009 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10011         [BZ #19129]
10012         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10013         r0 and r1.
10015 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10017         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10019 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10021         * include/stap-probe.h: Fix macro definition formatting.
10023 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10025         [BZ #19074]
10026         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10027         load and store num_ifs.
10029 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10031         [BZ #18822]
10032         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10033         (__sched_getaffinity_new): Add libc_hidden_proto and
10034         libc_hidden_def.
10036 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10038         [BZ #19007]
10039         * scripts/localplt.awk: Also allow GOT references.
10040         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10041         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10042         with "+ REL R_386_GLOB_DAT".
10043         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10044         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10046 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10048         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10049         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10050         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10051         Likewise.
10052         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10053         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10054         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10055         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10056         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10057         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10058         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10059         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10063 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10065         [BZ #19125]
10066         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10067         <math_private.h> and <stdint.h>.
10068         (__llround): Avoid conversions to and from long long int, and
10069         subtractions, where those might raise spurious exceptions.
10070         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10071         <math_private.h> and <stdint.h>.
10072         (__llroundf): Avoid conversions to and from long long int, and
10073         subtractions, where those might raise spurious exceptions.
10075 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10077         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10078         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10079         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10080         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10081         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10082         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10083         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10084         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10085         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10086         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10087         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10088         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10089         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10090         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10091         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10092         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10093         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10094         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10095         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10096         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10098         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10099         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10100         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10101         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10102         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10103         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10104         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10105         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10106         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10107         (__xstat64_conv): Likewise.
10108         (__xstat32_conv): Likewise.
10110 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10112         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10113         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10114         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10115         <sysdeps/unix/sysv/linux/sysdep.h>.
10116         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10117         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10118         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10119         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10120         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10121         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10122         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10123         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10124         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10129         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10130         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10132         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10133         (sysdep-dl-routines): Add sysdep.
10134         [$(subdir) == nptl] (libpthread-routines): Likewise.
10135         [$(subdir) == rt] (librt-routines): Likewise.
10136         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10137         PIC when branching to SYSCALL_ERROR_LABEL.
10138         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10140         <sysdeps/unix/sysv/linux/sysdep.h>.
10141         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10142         (SYSCALL_ERROR_ERRNO): Removed.
10143         (SYSCALL_ERROR_HANDLER): Changed to empty.
10144         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10145         (__syscall_error): New prototype.
10146         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10147         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10149 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10151         [BZ #19124]
10152         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10153         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10154         _dl_runtime_resolve_avx.
10155         (_dl_runtime_profile_avx512): Make it a hidden alias of
10156         _dl_runtime_profile_avx.
10158 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10160         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10161         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10162         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10163         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10165         [BZ #16422]
10166         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10167         New configure test.
10168         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10169         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10170         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10171         <math_private.h> and <stdint.h>.
10172         (__llrint): Avoid conversions to long long int where those might
10173         raise spurious exceptions.
10174         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10175         <math_private.h> and <stdint.h>.
10176         (__llrintf): Avoid conversions to long long int where those might
10177         raise spurious exceptions.
10179 2015-10-12  Andreas Schwab  <schwab@suse.de>
10181         [BZ #18969]
10182         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10183         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10184         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10185         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10186         $(gen-locales).
10187         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10188         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10189         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10190         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10191         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10192         $(gen-locales).
10193         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10194         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10195         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10196         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10197         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10198         ($(objpfx)tst-ftell-active-handler.out)
10199         ($(objpfx)tst-ftell-append.out)
10200         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10201         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10202         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10203         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10204         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10205         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10206         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10207         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10208         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10209         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10210         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10211         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10212         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10213         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10214         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10215         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10216         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10217         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10218         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10219         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10220         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10221         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10222         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10223         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10224         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10225         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10226         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10227         $(gen-locales).
10228         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10229         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10230         $(gen-locales).
10231         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10232         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10233         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10234         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10235         $(gen-locales).
10236         * libio/tst_wprintf2.c (main): Use explicit locale.
10237         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10239 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10241         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10242         __msg_sig_post.
10243         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10245 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10247         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10248         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10250         * sysdeps/arm/libm-test-ulps: Regenerated.
10252         [BZ #15470]
10253         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10255         [BZ #16399]
10256         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10257         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10258         and <fix-fp-int-convert-overflow.h>.
10259         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10260         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10261         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10262         and <fix-fp-int-convert-overflow.h>.
10263         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10264         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10265         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10266         <fix-fp-int-convert-overflow.h>.
10267         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10268         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10269         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10270         <fix-fp-int-convert-overflow.h>.
10271         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10272         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10273         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10274         and <fix-fp-int-convert-overflow.h>.
10275         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10276         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10277         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10278         <limits.h> and <fix-fp-int-convert-overflow.h>.
10279         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10280         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10281         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10282         and <fix-fp-int-convert-overflow.h>.
10283         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10284         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10285         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10286         and <fix-fp-int-convert-overflow.h>.
10287         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10288         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10289         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10291 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10293         [BZ #18589]
10294         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10295         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10296         $(gen-locales).
10298 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10299             Phil Blundell <pb@pbcl.net>
10301         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10302         * nptl/tst-cancel26.c: New file.
10303         * nptl/tst-cancel27.c: Likewise.
10305 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10307         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10308         __ILP32__ isn't defined.
10309         (lrint): Likewise.
10310         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10311         (lrintf): Likewise.
10312         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10313         (lrintl): Likewise.
10314         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10315         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10316         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10318 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10320         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10323         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10324         file.
10325         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10326         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10328 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10330         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10331         configure test.
10332         * sysdeps/i386/configure: Regenerated.
10333         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10334         configure test.
10335         * sysdeps/x86_64/configure: Regenerated.
10336         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10337         Make code unconditional.
10339         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10340         test.
10341         * sysdeps/i386/configure: Regenerated.
10342         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10343         test.
10344         * sysdeps/x86_64/configure: Regenerated.
10345         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10346         Make code unconditional.
10347         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10348         Likewise.
10349         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10350         Likewise.
10351         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10352         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10353         code unconditional.
10354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10355         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10356         code unconditional.
10357         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10358         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10359         code unconditional.
10360         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10361         code unconditional.
10362         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10363         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10364         code unconditional.
10365         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10366         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10367         code unconditional.
10368         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10369         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10370         code unconditional.
10371         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10372         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10373         code unconditional.
10374         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10375         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10377         [BZ #19095]
10378         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10379         mantissa to long int before shifting left.
10381 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10383         [BZ #19094]
10384         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10385         <limits.h>.
10386         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10387         when result overflows but exception would not result from cast.
10388         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10389         <limits.h>.
10390         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10391         when result overflows but exception would not result from cast.
10392         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10393         <limits.h>.
10394         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10395         when result overflows but exception would not result from cast.
10396         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10397         <limits.h>.
10398         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10399         when result overflows but exception would not result from cast.
10400         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10401         <limits.h>.
10402         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10403         when result overflows but exception would not result from cast.
10404         * math/libm-test.inc (lrint_test_data): Add more tests.
10405         (llrint_test_data): Likewise.
10407 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10409         [BZ #18872]
10410         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10411         Move out from under [$(run-built-tests) = yes] conditional.
10412         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10413         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10415 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10417         [BZ #18589]
10418         * string/Makefile (tests): Add bug-strcoll2.
10419         (LOCALES): Add cs_CZ.UTF-8.
10420         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10422         [BZ #18589]
10423         * string/bug-strcoll2.c: New file.
10424         * locale/categories.def: Revert commit
10425         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10426         * locale/langinfo.h: Likewise.
10427         * locale/localeinfo.h: Likewise.
10428         * locale/C-collate.c: Likewise.
10429         * locale/programs/ld-collate.c (collate_output): Likewise.
10430         * string/strcoll_l.c (STRDIFF): Likewise.
10431         (STRCOLL): Likewise.
10432         * wcsmbs/wcscoll_l.c: Likewise.
10434 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10436         * math/libm-test.inc (lround_test_data): Do not expect the absence
10437         of "inexact" for some tests with non-integer arguments.
10438         (llround_test_data): Likewise.
10440         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10441         test.
10442         (libc_cv_cc_sse2avx): Likewise.
10443         * sysdeps/i386/configure: Regenerated.
10444         * sysdeps/i386/i686/multiarch/Makefile
10445         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10446         [$(subdir) = math].
10447         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10448         code unconditional.
10449         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10450         Likewise.
10451         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10452         Likewise.
10453         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10454         Likewise.
10455         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10456         test.
10457         (libc_cv_cc_sse2avx): Likewise.
10458         * sysdeps/x86_64/configure: Regenerated.
10459         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10460         unconditional.
10461         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10462         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10463         unconditional.
10464         (_dl_runtime_profile)
10465         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10466         conditional code.
10467         * sysdeps/x86_64/fpu/multiarch/Makefile
10468         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10469         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10470         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10471         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10473         * sysdeps/x86_64/fpu/multiarch/e_log.c
10474         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10475         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10476         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10477         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10478         Likewise.
10479         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10480         Likewise.
10481         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10482         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10483         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10484         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10485         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10486         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10487         (HAVE_SSE2AVX_SUPPORT): Likewise.
10489 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10491         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10492         instead of #pragma optimize.
10494 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10496         [BZ #17195]
10497         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10498         as is similarly done in systrim and _int_free already.
10500 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10502         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10504 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #19088]
10507         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10508         <limits.h>.
10509         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10510         overflows but exception would not result from cast.
10511         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10512         and <limits.h>.
10513         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10514         overflows but exception would not result from cast.
10515         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10516         <limits.h>.
10517         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10518         overflows but exception would not result from cast.
10519         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10520         <limits.h>.
10521         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10522         overflows but exception would not result from cast.
10523         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10524         <limits.h>.
10525         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10526         overflows but exception would not result from cast.
10527         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10528         <limits.h>.
10529         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10530         overflows but exception would not result from cast.
10531         * math/libm-test.inc (lround_test_data): Add more tests.
10532         (llround_test_data): Likewise.
10534 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10536         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10537         (CFLAGS-ialloc.c): Ditto.
10538         (CFLAGS-scheck.c): Ditto.
10540 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10542         [BZ #19086]
10543         * manual/filesys.texi (Storage Allocation): Fix argument order for
10544         posix_fallocate64.
10546 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10548         [BZ #19085]
10549         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10550         exponent below 48 inside case for non-overflowing exponent.
10551         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10553 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10555         * iconvdata/cp737.h (from_idx): Add const.
10556         * iconvdata/cp775.h (from_idx): Likewise.
10558 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10560         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10561         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10562         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10564         [BZ #19079]
10565         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10566         file, conditioned on [!_LP64].
10567         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10568         [!_LP64] (__lround): Do not define as function or alias.
10569         [!_LP64] (lround): Likewise.
10570         [!_LP64] (__lroundl): Likewise.
10571         [!_LP64] (lroundl): Likewise.
10572         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10573         macro.
10574         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10575         Likewise.
10577 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10579         * math/libm-test.inc (lrint_test_data): Add more tests.
10580         (llrint_test_data): Likewise.
10581         (lround_test_data): Likewise.
10582         (llround_test_data): Likewise.
10584         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10585         (llrint_test_data): Add tests used for lrint.
10587         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10588         test.
10589         * sysdeps/i386/configure: Regenerated.
10590         * sysdeps/i386/i686/multiarch/Makefile
10591         [$(config-cflags-sse4) = yes]: Make code unconditional.
10592         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10593         Likewise.
10594         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10595         Likewise.
10596         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10597         test.
10598         * sysdeps/x86_64/configure: Regenerated.
10599         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10600         Make code unconditional.
10601         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10602         Likewise.
10603         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10604         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10606         * scripts/rpm2dynsym.sh: Remove file.
10608 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10610         * configure.ac (libc_cv_cxx_thread_local): Define.
10611         * configure: Regenerate.
10612         * config.make.in (have-cxx-thread_local): Define.
10613         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10614         (LDLIBS-tst-thread_local1): Define.
10615         (tests): Add tst-thread_local1.
10616         [have-cxx-thread_local != yes] (tests-unsupported): Add
10617         tst-thread_local1.
10618         * nptl/tst-thread_local1.cc: New file.
10620 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10622         [BZ #19078]
10623         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10624         (u_thres): Likewise.
10625         (__expl): Determine whether to call __kernel_standard_l based on
10626         value of result, not argument.
10628         * math/libm-test.inc (scalb_test_data): Add more expectations for
10629         the "inexact" exception.
10631         [BZ #19077]
10632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10633         0.0L for argument 1.0L.
10635         [BZ #19076]
10636         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10637         constant 0.0L when computing infinite result.
10639 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10641         [BZ #10432]
10642         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10643         malloc_usable_size.
10645 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10647         [BZ #19018]
10648         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10649         Mangle function pointer before storing it.
10650         (__call_tls_dtors): Demangle function pointer before calling it.
10652 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10654         [BZ #19012]
10655         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10656         Clean up on failure.
10658 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #19071]
10661         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10662         long int variable to store possibly incremented high part of
10663         mantissa.
10664         * math/libm-test.inc (lround_test_data): Add tests used for
10665         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10666         for tests requiring 64-bit long.  Do not condition tests on
10667         [TEST_FLOAT] unnecessarily.
10668         (llround_test_data): Add tests used for lround.  Add another
10669         expectation for the "inexact" exception.  Do not condition tests
10670         on [TEST_FLOAT] unnecessarily.
10672         [BZ #887]
10673         [BZ #19049]
10674         [BZ #19050]
10675         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10676         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10677         <fix-int-fp-convert-zero.h>.
10678         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10679         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10680         <fix-int-fp-convert-zero.h>.
10681         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10682         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10683         <fix-int-fp-convert-zero.h>.
10684         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10685         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10686         <fix-int-fp-convert-zero.h>.
10687         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10688         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10689         <fix-int-fp-convert-zero.h>.
10690         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10691         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10692         <fix-int-fp-convert-zero.h>.
10693         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10694         * sysdeps/ieee754/flt-32/s_erff.c: Include
10695         <fix-int-fp-convert-zero.h>.
10696         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10697         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10698         <fix-int-fp-convert-zero.h>.
10699         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10701         <fix-int-fp-convert-zero.h>.
10702         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10704         <fix-int-fp-convert-zero.h>.
10705         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10706         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10707         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10708         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10709         file.
10710         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10712 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10714         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10716 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10718         [BZ #19059]
10719         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10720         overflowing computation.
10721         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10722         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10723         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10724         Likewise.
10725         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10726         Likewise.
10727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10728         Likewise.
10729         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10730         Likewise.
10731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10732         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10733         Likewise.
10734         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10735         Likewise.
10736         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10738         * nss/rewrite_field.c (__nss_rewrite_field): Use
10739         internal_function.
10740         * nss/valid_field.c (__nss_valid_field): Likewise.
10741         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10743 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10745         [BZ #18724]
10746         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10747         (__nss_invalid_field_characters, __nss_valid_field)
10748         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10749         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10750         tst-field.c: New file.
10751         * nss/Makefile (routines): Add valid_field, rewrite_field.
10752         (tests-static): Define unconditionally.
10753         (tests): Include tests-static.
10754         [build-static-nss] (tests-static): Use append.
10755         [build-static-nss] (tests): Remove modification.
10756         * nss/getent.c (print_group): Call putgrent.  Report error.
10757         (print_gshadow): Call putsgent.  Report error.
10758         (print_passwd): Call putpwent.  Report error.
10759         (print_shadow): Call putspent.  Report error.
10760         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10761         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10762         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10763         name, password, directory, shell fields for valid syntax.  Rewrite
10764         GECOS field to match syntax.
10765         * pwd/Makefile (tests): Add tst-putpwent.
10766         * pwd/tst-putpwent.c: New file.
10767         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10768         Check grName, grpasswd, gr_mem fields for valid syntax.
10769         Change loop variable i to size_t.
10770         * grp/Makefile (tests): Add tst-putgrent.
10771         * grp/tst-putgrent.c: New file.
10772         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10773         valid syntax.
10774         * shadow/Makefile (tests): Add tst-putspent.
10775         * shadow/tst-putspent.c: New file.
10776         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10777         sg_mem fields for valid syntax.
10778         * gshadow/Makefile (tests): Add tst-putsgent.
10779         * gshadow/tst-putsgent.c: New file.
10781 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10783         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10784         assembly instructions.
10786 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10788         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10789         prefix from operands.
10791 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10793         [BZ #16347]
10794         [BZ #19046]
10795         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10796         <libc-internal.h>.
10797         (MAXLGM): Do not use diagnostic control macros.
10798         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10799         threshold for ldbl-128ibm.
10800         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10801         instead of multiplying by log then subtracting.
10802         * math/auto-libm-test-in: Add more tests of lgamma.
10803         * math/auto-libm-test-out: Regenerated.
10805         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10806         (TYPE_HEX_DIG): Likewise.
10807         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10808         precisions when printing floating-point numbers.
10809         (check_float_internal): Likewise.
10811 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10813         [BZ #16620]
10814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10815         of log (10) rounded downward to 48 bits.
10816         (log10_low): Use corresponding low part of log (10).
10818         [BZ #19032]
10819         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10820         compute result as (x - x) / (x - x) not as 0 / 0.
10821         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10822         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10824         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10825         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10826         and expm1.
10827         * math/auto-libm-test-out: Regenerated.
10828         * math/libm-test.inc (acos_test_data): Add more tests.
10829         (asin_test_data): Likewise.
10830         (asinh_test_data): Likewise.
10831         (atan_test_data): Likewise.
10832         (atanh_test_data): Likewise.
10833         (atan2_test_data): Likewise.
10834         (cbrt_test_data): Likewise.
10835         (ceil_test_data): Likewise.
10836         (copysign_test_data): Likewise.
10837         (cos_test_data): Likewise.
10838         (cosh_test_data): Likewise.
10839         (erf_test_data): Likewise.
10840         (erfc_test_data): Likewise.
10841         (exp_test_data): Likewise.
10842         (exp10_test_data): Likewise.
10843         (exp2_test_data): Likewise.
10844         (expm1_test_data): Likewise.
10845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10847 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10849         [BZ #19006]
10850         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10851         to ...
10852         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10853         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10854         to ...
10855         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10856         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10857         to ...
10858         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10859         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10860         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10861         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10862         to ...
10863         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10864         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10865         Moved to ...
10866         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10867         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10868         Moved to ...
10869         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10871         to ...
10872         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10873         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10874         Moved to ...
10875         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10876         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10877         to ...
10878         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10879         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10880         Removed.
10881         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10882         Likewise.
10883         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10884         Likewise.
10885         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10886         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10887         Likewise.
10888         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10889         Likewise.
10890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10893         Likewise.
10894         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10895         Likewise.
10896         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10897         Likewise.
10898         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10905         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10906         Likewise.
10907         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10916         Replace ../i486/pthread_cond_timedwait.S with
10917         ../pthread_cond_timedwait.S.
10919 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10921         * math/libm-test.inc (acos_test_data): Refine expectations for
10922         errno and "inexact" exceptions.
10923         (acosh_test_data): Likewise.
10924         (asin_test_data): Likewise.
10925         (asinh_test_data): Likewise.
10926         (atan_test_data): Likewise.
10927         (atanh_test_data): Likewise.
10928         (atan2_test_data): Likewise.
10929         (cbrt_test_data): Likewise.
10930         (ceil_test_data): Likewise.
10931         (copysign_test_data): Likewise.
10932         (cosh_test_data): Likewise.
10933         (erf_test_data): Likewise.
10934         (erfc_test_data): Likewise.
10935         (exp_test_data): Likewise.
10936         (exp10_test_data): Likewise.
10937         (exp2_test_data): Likewise.
10938         (expm1_test_data): Likewise.
10939         (fabs_test_data): Likewise.
10940         (floor_test_data): Likewise.
10941         (fma_test_data): Likewise.
10942         (fmax_test_data): Likewise.
10943         (fmin_test_data): Likewise.
10944         (fmod_test_data): Likewise.
10945         (fpclassify_test_data): Likewise.
10946         (frexp_test_data): Likewise.
10947         (hypot_test_data): Likewise.
10948         (ilogb_test_data): Likewise.
10949         (isgreater_test_data): Likewise.
10950         (isgreaterequal_test_data): Likewise.
10951         (isinf_test_data): Likewise.
10952         (isless_test_data): Likewise.
10953         (islessequal_test_data): Likewise.
10954         (islessgreater_test_data): Likewise.
10955         (isnan_test_data): Likewise.
10956         (isnormal_test_data): Likewise.
10957         (issignaling_test_data): Likewise.
10958         (isunordered_test_data): Likewise.
10959         (j0_test_data): Likewise.
10960         (j1_test_data): Likewise.
10961         (jn_test_data): Likewise.
10962         (lgamma_test_data): Likewise.
10963         (lrint_test_data): Likewise.
10964         (llrint_test_data): Likewise.
10965         (log_test_data): Likewise.
10966         (log10_test_data): Likewise.
10967         (log1p_test_data): Likewise.
10968         (log2_test_data): Likewise.
10969         (logb_test_data): Likewise.
10970         (lround_test_data): Likewise.
10971         (llround_test_data): Likewise.
10972         (modf_test_data): Likewise.
10973         (nearbyint_test_data): Likewise.
10974         (nextafter_test_data): Likewise.
10975         (nexttoward_test_data): Likewise.
10976         (pow_test_data): Likewise.
10977         (remainder_test_data): Likewise.
10978         (remquo_test_data): Likewise.
10979         (rint_test_data): Likewise.
10980         (round_test_data): Likewise.
10981         (signbit_test_data): Likewise.
10982         (sinh_test_data): Likewise.
10983         (sqrt_test_data): Likewise.
10984         (tanh_test_data): Likewise.
10985         (tgamma_test_data): Likewise.
10986         (trunc_test_data): Likewise.
10987         (y0_test_data): Likewise.
10988         (y1_test_data): Likewise.
10989         (yn_test_data): Likewise.
10990         (significand_test_data): Likewise.
10992 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10994         * manual/filesys.texi (Storage Allocation): Document that
10995         posix_fallocate emulation fails when fd is open with O_WRONLY.
10997 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10999         [BZ #19016]
11000         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11001         allow more cases with X^2 + Y^2 >= 0.5.
11002         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11003         normal element in sum instead of special-casing based on values of
11004         arguments.
11005         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11006         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11007         -1 as normal element in sum instead of special-casing based on
11008         values of arguments.
11009         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11010         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11011         (__x2y2m1): Update comment.
11012         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11013         as normal element in sum instead of special-casing based on values
11014         of arguments.
11015         * math/s_clog.c (__clog): Handle more cases using log1p without
11016         hypot.
11017         * math/s_clog10.c (__clog10): Likewise.
11018         * math/s_clog10f.c (__clog10f): Likewise.
11019         * math/s_clog10l.c (__clog10l): Likewise.
11020         * math/s_clogf.c (__clogf): Likewise.
11021         * math/s_clogl.c (__clogl): Likewise.
11022         * math/auto-libm-test-in: Add more tests of clog and clog10.
11023         * math/auto-libm-test-out: Regenerated.
11024         * sysdeps/i386/fpu/libm-test-ulps: Update.
11025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11027 2015-09-28  Martin Sebor  <msebor@redhat.com>
11029         [BZ #18969]
11030         * string/Makefile (LOCALES): Define.
11031         (gen-locales.mk): Include.
11032         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11033         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11034         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11035         on setlocale failure.
11037 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11039         [BZ #18985]
11040         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11041         (__strftime_internal): Likewise.
11042         * time/tst-strftime.c (do_bz18985): New test.
11043         (do_test): Call it.
11045 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11047         [BZ #18956]
11048         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11049         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11050         extracting high part.
11051         * math/auto-libm-test-in: Add another test of pow.
11052         * math/auto-libm-test-out: Regenerated.
11053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11055 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11057         [BZ #18825]
11058         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11059         New macro.
11060         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11061         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11062         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11063         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11064         DBL_NARROW_EVAL, reloading the PIC register as needed.
11065         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11066         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11067         FLT_NARROW_EVAL.  Use separate return path for case when first
11068         argument is NaN.
11069         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11070         DEFINE_LDBL_MIN.
11071         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11072         PIC register.
11073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11074         math_check_force_underflow_nonneg.
11075         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11076         underflow for subnormal result.
11077         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11079         math_check_force_underflow_nonneg.
11080         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11081         math_check_force_underflow.
11082         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11083         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11084         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11085         DEFINE_LDBL_MIN.
11086         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11087         * math/auto-libm-test-in: Add more tests of pow.
11088         * math/auto-libm-test-out: Regenerated.
11090 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11092         * nss/bug17079.c (init_test_items): Add diagnostic for
11093         inconsistent entries.
11094         (test_buffer_size): Skip inconsistent entries.
11096 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11098         [BZ #13304]
11099         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11100         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11101         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11103         [BZ #13304]
11104         * sysdeps/microblaze/s_fma.c: New file.
11105         * sysdeps/microblaze/s_fmaf.c: Likewise.
11106         * sysdeps/microblaze/sfp-machine.h: Likewise.
11108 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11110         [BZ #17250]
11111         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11112         member.
11114 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11116         [BZ #18803]
11117         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11118         (MO): New macro.
11119         (__ieee754_hypot) [PIC]: Load PIC register.
11120         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11121         DBL_NARROW_EVAL.
11122         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11123         math_check_force_underflow_nonneg in case where result might be
11124         tiny.
11125         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11126         Likewise.
11127         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11128         Likewise.
11129         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11130         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11131         * math/auto-libm-test-in: Add more tests of hypot.
11132         * math/auto-libm-test-out: Regenerated.
11134 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11136         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11138 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11140         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11141         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11142         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11143         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11144         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11145         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11146         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11148         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11149         LOAD_PIC_REG.
11151         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11152         (FLT_CHECK_FORCE_UFLOW): Likewise.
11153         (DBL_CHECK_FORCE_UFLOW): Likewise.
11154         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11155         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11156         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11157         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11158         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11159         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11160         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11161         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11162         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11163         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11164         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11165         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11166         (flt_min): Replace with use of DEFINE_FLT_MIN.
11167         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11168         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11169         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11170         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11171         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11172         (flt_min): Replace with use of DEFINE_FLT_MIN.
11173         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11174         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11175         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11176         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11177         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11178         (flt_min): Replace with use of DEFINE_FLT_MIN.
11179         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11180         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11181         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11182         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11183         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11184         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11185         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11186         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11187         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11188         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11189         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11190         (flt_min): Replace with use of DEFINE_FLT_MIN.
11191         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11192         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11193         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11194         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11195         main computation.
11196         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11197         (flt_min): Replace with use of DEFINE_FLT_MIN.
11198         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11199         main computation.
11200         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11202         (MO): New macro.
11203         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11204         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11205         (flt_min): Replace with use of DEFINE_FLT_MIN.
11206         (MO): New macro.
11207         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11208         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11209         (__log1pl): Use MO.
11211         [BZ #19003]
11212         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11213         $(config-cflags-nofma).
11215 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11217         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11219 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11221         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11222         (TWO127): Likewise.
11224         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11225         (min_of_type): Likewise.
11226         (math_check_force_underflow): Likewise.
11227         (math_check_force_underflow_nonneg): Likewise.
11228         (math_check_force_underflow_complex): Likewise.
11229         * math/e_exp2l.c (__ieee754_exp2l): Use
11230         math_check_force_underflow_nonneg.
11231         * math/k_casinh.c (__kernel_casinh): Likewise.
11232         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11233         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11234         * math/s_catan.c (__catan): Use
11235         math_check_force_underflow_complex.
11236         * math/s_catanf.c (__catanf): Likewise.
11237         * math/s_catanh.c (__catanh): Likewise.
11238         * math/s_catanhf.c (__catanhf): Likewise.
11239         * math/s_catanhl.c (__catanhl): Likewise.
11240         * math/s_catanl.c (__catanl): Likewise.
11241         * math/s_ccosh.c (__ccosh): Likewise.
11242         * math/s_ccoshf.c (__ccoshf): Likewise.
11243         * math/s_ccoshl.c (__ccoshl): Likewise.
11244         * math/s_cexp.c (__cexp): Likewise.
11245         * math/s_cexpf.c (__cexpf): Likewise.
11246         * math/s_cexpl.c (__cexpl): Likewise.
11247         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11248         * math/s_clog10.c (__clog10): Likewise.
11249         * math/s_clog10f.c (__clog10f): Likewise.
11250         * math/s_clog10l.c (__clog10l): Likewise.
11251         * math/s_clogf.c (__clogf): Likewise.
11252         * math/s_clogl.c (__clogl): Likewise.
11253         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11254         * math/s_csinf.c (__csinf): Likewise.
11255         * math/s_csinh.c (__csinh): Likewise.
11256         * math/s_csinhf.c (__csinhf): Likewise.
11257         * math/s_csinhl.c (__csinhl): Likewise.
11258         * math/s_csinl.c (__csinl): Likewise.
11259         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11260         * math/s_csqrtf.c (__csqrtf): Likewise.
11261         * math/s_csqrtl.c (__csqrtl): Likewise.
11262         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11263         * math/s_ctanf.c (__ctanf): Likewise.
11264         * math/s_ctanh.c (__ctanh): Likewise.
11265         * math/s_ctanhf.c (__ctanhf): Likewise.
11266         * math/s_ctanhl.c (__ctanhl): Likewise.
11267         * math/s_ctanl.c (__ctanl): Likewise.
11268         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11269         instead of volatile.
11270         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11271         math_check_force_underflow.
11272         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11273         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11274         volatile when forcing underflow.
11275         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11276         math_check_force_underflow_nonneg.
11277         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11278         Likewise.
11279         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11280         math_check_force_underflow.
11281         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11282         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11283         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11284         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11285         math_check_force_underflow_nonneg.
11286         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11287         math_check_force_underflow.
11288         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11290         instead of volatile.
11291         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11292         math_check_force_underflow.
11293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11294         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11295         math_check_force_underflow_nonneg.
11296         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11297         math_check_force_underflow.
11298         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11299         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11300         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11301         math_check_force_underflow_nonneg.
11302         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11303         Likewise.
11304         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11305         math_check_force_underflow.
11306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11307         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11308         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11309         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11310         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11311         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11312         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11313         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11314         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11315         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11316         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11317         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11318         Likewise.
11319         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11320         math_check_force_underflow_nonneg.
11321         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11322         Likewise.
11323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11324         math_check_force_underflow.
11325         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11326         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11327         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11328         Likewise.
11329         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11330         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11331         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11332         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11333         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11334         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11336         instead of volatile.
11337         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11338         math_check_force_underflow.
11339         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11341         math_check_force_underflow.
11342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11343         Likewise.
11344         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11345         Use math_check_force_underflow_nonneg.
11346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11347         math_check_force_underflow.
11348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11349         Likewise.
11350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11351         Likewise.
11352         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11353         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11354         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11355         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11356         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11357         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11358         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11359         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11360         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11361         math_check_force_underflow_nonneg.
11362         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11363         math_check_force_underflow.
11364         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11365         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11366         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11367         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11368         math_check_force_underflow_nonneg.
11369         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11370         math_check_force_underflow.
11371         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11372         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11373         instead of volatile.
11374         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11375         math_check_force_underflow.
11377         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11378         * stdlib/strtod_l.c: Include <math_private.h>.
11379         (overflow_value): Use math_narrow_eval.
11380         (underflow_value): Likewise.
11381         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11382         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11383         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11384         (__ieee754_gamma_r): Likewise.
11385         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11386         Likewise.
11387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11388         Likewise.
11389         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11390         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11391         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11392         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11393         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11394         (__ieee754_gammaf_r): Likewise.
11395         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11396         Likewise.
11397         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11398         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11399         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11400         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11401         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11402         volatile.
11403         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11404         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11405         math_narrow_eval.
11406         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11407         Likewise.
11408         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11409         Likewise.
11410         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11411         Likewise.
11412         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11413         volatile.
11414         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11415         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11416         math_narrow_eval.
11417         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11418         Likewise.
11419         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11420         Likewise.
11422 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11424         * nptl/Versions: Remove ignored symbols.
11426 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11428         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11429         * nss/Makefile (tests): Update.
11431 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11433         * nss/bug18287.c: New file.
11434         * nss/Makefile (tests): Add bug18287.
11436 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11438         * mach/Versions (__mach_host_self_): Add symbol.
11440 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11442         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11443         vm_page_size.
11445 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11447         Really fix sysdeps/i386/fpu/s_scalbn.S build
11449         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11450         (libc: GLIBC_2_22): Remove unused version set.
11452 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11454         * config.make.in (enable-timezone-tools): New variable.
11455         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11456         (enable_timezone_tools): Export to generated files.
11457         * configure: Regenerate.
11458         * INSTALL: Regenerate.
11459         * manual/install.texi (--disable-timezone-tools): Document new flag.
11460         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11461         ifeq ($(enable-timezone-tools),yes) check.
11463 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11465         * timezone/Makefile: Revert previous change.
11467         [BZ #18980]
11468         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11469         (DEFINE_DBL_MIN): Likewise.
11470         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11471         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11472         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11473         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11474         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11475         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11476         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11477         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11478         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11479         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11480         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11481         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11482         (flt_min): Replace with use of DEFINE_FLT_MIN.
11483         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11484         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11485         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11486         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11487         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11488         (flt_min): Replace with use of DEFINE_FLT_MIN.
11489         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11490         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11491         (flt_min): Replace with use of DEFINE_FLT_MIN.
11492         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11493         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11494         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11495         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11496         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11497         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11498         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11499         (__ieee754_pow): Use DBL_NARROW_EVAL.
11500         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11501         (__ieee754_powf): Use FLT_NARROW_EVAL.
11502         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11503         (__ieee754_expf_sse2): Convert double-precision result to single
11504         precision.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11507 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11509         * timezone/Makefile: Ignore unused variable errors due to private.h
11510         (time_t_min) and (time_t_max).
11511         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11512         Likewise.
11514 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11516         [BZ #18981]
11517         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11518         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11519         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11520         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11521         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11522         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11523         (__scalbn): Use DBL_NARROW_EVAL.
11524         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11525         (__scalbnf): Use FLT_NARROW_EVAL.
11527 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11529         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11530         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11531         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11532         * stdio-common/printf_fp.c (___printf_fp):
11533         Use signbit to get the sign. Use isinf macro to allow inlining.
11534         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11535         * stdio-common/printf_size.c (__printf_size): Likewise.
11537 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11539         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11541 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11543         [BZ #18980]
11544         * sysdeps/generic/math_private.h: Include <float.h>.
11545         (math_narrow_eval): New macro.
11546         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11547         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11548         math_narrow_eval on overflowing return value.
11549         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11550         Likewise.
11551         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11552         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11554         Likewise.
11555         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11557 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11559         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11560         * math/Makefile: Remove isinf_ns.c.
11561         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11562         * math/multc3.c (__multc3): Likewise.
11563         * math/s_casin.c (__casin): Likewise.
11564         * math/s_casinf.c (__casinf): Likewise.
11565         * math/s_casinl.c (__casinl): Likewise.
11566         * math/s_cproj.c (__cproj): Likewise.
11567         * math/s_cprojf.c (__cprojf): Likewise.
11568         * math/s_cprojl.c (__cprofl): Likewise.
11569         * math/s_ctan.c (__ctan): Likewise.
11570         * math/s_ctanf.c (__ctanf): Likewise.
11571         * math/s_ctanh.c (__ctanh): Likewise.
11572         * math/s_ctanhf.c (__ctanhf): Likewise.
11573         * math/s_ctanhl.c (__ctanhl): Likewise.
11574         * math/s_ctanl.c (__ctanl): Likewise.
11575         * math/w_fmod.c (__fmod): Likewise.
11576         * math/w_fmodf.c (__fmodf): Likewise.
11577         * math/w_fmodl.c (_fmodl): Likewise.
11578         * math/w_remainder.c (__remainder): Likewise.
11579         * math/w_remainderf.c (__remainderf): Likewise.
11580         * math/w_remainderl.c (__remainderl): Likewise.
11581         * math/w_scalb.c (__scalb): Likewise.
11582         * math/w_scalbf.c (__scalbf): Likewise.
11583         * math/w_scalbl.c (__scalbl): Likewise.
11584         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11585         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11586         with isinf.
11587         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11589         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11590         __isinf_nsf with isinf.
11591         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11592         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11593         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11594         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11595         with isinf.
11596         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11597         __isinf_nsl with isinf.
11598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11599         with isinf.
11600         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11601         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11602         __isinf_nsl with isinf.
11603         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11604         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11605         with isinf.
11607 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11609         * resolv/base64.c (rcsid): Remove unused static.
11610         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11611         static.  (tqpi1): Likewise.
11612         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11613         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11614         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11615         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11616         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11617         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11618         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11619         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11620         Likewise.
11622 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11624         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11625         <nptl/pthreadP.h>.
11626         (_longjmp_unwind): Use __libc_ptf_call.
11627         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11629 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11631         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11632         * sysdeps/arm/__longjmp.S: Likewise.
11634 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11636         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11637         Use __builtin_signbit.
11638         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11639         Use __builtin_signbitf.
11640         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11641         Use __builtin_signbitl.
11642         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11643         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11647         [BZ #15367]
11648         [BZ #17441]
11650         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11651         * math/math.h (fpclassify): Use __builtin_fpclassify when
11652         available.  (signbit): Use __builtin_signbit(f/l).
11653         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11654         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11655         (isinf): Use __builtin_isinf_sign.
11657 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11659         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11660         * benchtests/bench-math-inlines.c: New benchmark.
11661         * benchtests/bench-util.h: New file.
11662         * benchtests/bench-util.c: New file.
11663         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11665 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11667         * elf/tst-dlmopen1.c: Define TEST_SO.
11668         (do_test): Use TEST_SO.
11670         * elf/dl-load.c: Include libc-internal.h.
11671         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11673 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11675         [BZ #17887]
11676         * time/strptime_l.c (__strptime_internal): Make %z accept
11677         [+-]HH:MM time zones.
11679 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11681         [BZ #17886]
11682         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11683         valid time zone.
11685 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11687         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11688         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11689         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11690         (__ASSUME_FDATASYNC): Delete.
11692 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11694         * conform/linknamespace.pl: Require weak undefined symbols to be
11695         in the standard namespace.
11696         (%strong_syms): Rename to %seen_syms.
11697         (%strong_seen): Rename to %seen_where.
11699 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11701         [BZ #18970]
11702         * misc/error.c (error): Replace pthread_setcancelstate with
11703         __pthread_setcancelstate.
11704         (error_at_line): Likewise.
11705         * posix/wordexp.c (parse_comm): Likewise.
11706         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11707         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11708         (__pthread_setcancelstate): This.
11709         (pthread_setcancelstate): Add an alias.
11710         * nptl/nptl-init.c (pthread_functions): Replace
11711         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11712         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11713         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11714         hidden_proto.
11715         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11716         it with hidden_def.
11717         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11718         (pthread_setcancelstate): Renamed to ...
11719         (__pthread_setcancelstate): This.
11720         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11721         __libc_ptf_call with __pthread_setcancelstate.
11723 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11724             Andreas Schwab  <schwab@suse.de>
11726         [BZ #17118]
11727         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11728         result when imaginary part of argument is infinite using sine and
11729         cosine.
11730         * math/s_ctanf.c (__ctanf): Likewise.
11731         * math/s_ctanl.c (__ctanl): Likewise.
11732         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11733         of result when real part of argument is infinite using sine and
11734         cosine.
11735         * math/s_ctanhf.c (__ctanhf): Likewise.
11736         * math/s_ctanhl.c (__ctanhl): Likewise.
11737         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11738         (ctanh_test_data): Add more tests of ctanh.
11740 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11742         [BZ #15384]
11743         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11744         bit-mask as in subtraction.
11745         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11746         Likewise.
11747         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11748         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11749         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11751         [BZ #18951]
11752         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11753         underflow exception for small results.
11754         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11755         Likewise.
11756         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11757         Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11759         Likewise.
11760         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11761         Likewise.
11762         * math/auto-libm-test-in: Add more tests of tgamma.
11763         * math/auto-libm-test-out: Regenerated.
11765 2015-09-17  Andreas Schwab  <schwab@suse.de>
11767         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11769 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11771         [BZ #18977]
11772         * math/bits/mathcalls.h
11773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11774         not declare.
11775         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11776         Likewise.
11777         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11778         Likewise.
11779         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11780         Likewise.
11781         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11782         Likewise.
11783         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11784         Likewise.
11785         * conform/data/math.h-data
11786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11787         function.
11788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11790         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11791         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11792         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11793         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11794         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11795         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11796         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11797         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11798         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11800         [BZ #6803]
11801         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11802         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11803         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11804         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11805         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11806         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11807         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11808         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11809         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11811         Likewise.
11812         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11813         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11814         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11816         long_double_symbol calls.
11817         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11818         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11819         strong alias of __ldexpl.
11820         (scalbnl): Define using long_double_symbol.
11821         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11822         Remove alias.
11823         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11824         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11825         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11826         (scalbln_test_data): Add more errno expectations.
11828 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11830         Cache the host port like we cache the task port.  This way we do not
11831         need to call the kernel just to get the port.  Furthermore, we no
11832         longer increase the reference count on every invocation of
11833         `mach_host_self'.
11835         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11836         Protect declarations against the macro expansion.
11837         * mach/mach_init.c (__mach_host_self_): New variable.
11838         (mach_init): Initialize `__mach_host_self_'.
11839         * mach/mach_init.h (__mach_host_self_): New declaration.
11840         (__mach_host_self, mach_host_self): New macros.
11841         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11842         Release reference.
11844 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11846         [BZ #4404]
11847         * po/de.po: Update from Translation Project.
11849         [BZ #16415]
11850         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11851         (__expm1l): Remove code to handle positive infinity and overflow.
11852         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11853         variable.
11854         (__expm1l): Remove code to handle positive infinity and overflow.
11856 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11857             Paul Pluzhnikov  <ppluzhnikov@google.com>
11859         [BZ #18872]
11860         * stdio-common/Makefile (tst-printf-bz18872): New test.
11861         (tst-printf-bz18872-mem.out): Likewise.
11862         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11863         * stdio-common/vfprintf.c: Fix memory leaks.
11865 2015-09-16  Andreas Schwab  <schwab@suse.de>
11867         [BZ #17244]
11868         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11869         Remove extra va_start/va_end calls.
11871         [BZ #17243]
11872         * posix/execl.c (execl): Add missing va_end.
11873         * posix/execle.c (execle): Likewise.
11874         * posix/execlp.c (execlp): Likewise.
11876 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11878         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11879         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11881 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11883         [BZ #18967]
11884         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11885         undefine around includes of <bits/mathcalls.h>.
11886         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11887         not declare function.
11888         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11889         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11890         (scalb): Likewise.
11891         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11892         not define macro.
11893         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11894         variable.
11895         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11896         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11897         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11899         [BZ #18857]
11900         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11901         return non-finite argument without doing ordered comparisons on
11902         it.
11904         [BZ #16296]
11905         * math/fenv.h (fegetround): Use __attribute_pure__.
11906         * include/fenv.h (__fegetround): Likewise.
11908         [BZ #18595]
11909         * math/s_ctan.c (__ctan): Force underflow exception for results
11910         whose real or imaginary part has small absolute value.
11911         * math/s_ctanf.c (__ctanf): Likewise.
11912         * math/s_ctanh.c (__ctanh): Likewise.
11913         * math/s_ctanhf.c (__ctanhf): Likewise.
11914         * math/s_ctanhl.c (__ctanhl): Likewise.
11915         * math/s_ctanl.c (__ctanl): Likewise.
11916         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11917         and ctanh.  Add more tests of ctan and ctanh.
11919         [BZ #15918]
11920         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11921         handling of cases where one argument is an infinity.
11923         [BZ #18875]
11924         [BZ #18966]
11925         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11926         (MO): New macro.
11927         (__ieee754_exp10): For small results, force underflow exception
11928         and remove excess range and precision from return value.
11929         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11930         (MO): New macro.
11931         (__ieee754_exp10f): For small results, force underflow exception
11932         and remove excess range and precision from return value.
11933         * math/auto-libm-test-in: Add more tests of exp10.
11934         * math/auto-libm-test-out: Regenerated.
11936 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11938         [BZ #18875]
11939         [BZ #18961]
11940         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11941         (MO): New macro.
11942         (__ieee754_exp): For small results, force underflow exception and
11943         remove excess range and precision from return value.
11944         (__exp_finite): Likewise.
11945         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11946         (MO): New macro.
11947         (__ieee754_expf): For small results, force underflow exception and
11948         remove excess range and precision from return value.
11949         (__expf_finite): Likewise.
11950         * math/auto-libm-test-in: Add more tests of exp.
11951         * math/auto-libm-test-out: Regenerated.
11953         [BZ #16521]
11954         [BZ #18875]
11955         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11956         small results.
11957         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11958         (MO): New macro.
11959         (__ieee754_exp2): For small results, force underflow exception and
11960         remove excess range and precision from return value.
11961         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11962         (MO): New macro.
11963         (__ieee754_exp2f): For small results, force underflow exception
11964         and remove excess range and precision from return value.
11965         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11966         (MO): New macro.
11967         (__ieee754_exp2l): Force underflow exception for small results.
11968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11969         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11970         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11971         (MO): New macro.
11972         (__ieee754_exp2l): Force underflow exception for small results.
11973         * math/auto-libm-test-in: Add more tests or exp2.
11974         * math/auto-libm-test-out: Regenerated.
11976 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11978         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11980         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11981         /dev/null.
11983 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11985         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11986         io fs process)): Drop spurious backslash.
11988 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11991         Use sysinfo system call instead of parsing /proc/meminfo.
11992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11993         Likewise.
11995 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11997         [BZ #16985]
11998         * programs/localedef.c (main): Display argv[remaining] when
11999         output_path is NULL.
12001 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12003         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12004         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12005         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12006         tanh.
12007         * math/auto-libm-test-out: Regenerated.
12008         * sysdeps/i386/fpu/libm-test-ulps: Update.
12009         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12010         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12013 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12015         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12016         Use 'override' keyword to freeze the value here, preventing
12017         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12019 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12021         [BZ #14912]
12022         * sysdeps/aarch64/bits/atomic.h: Move to ...
12023         * sysdeps/aarch64/atomic-machine.h: ...here.
12024         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12025         _AARCH64_ATOMIC_MACHINE_H.
12026         * sysdeps/alpha/bits/atomic.h: Move to ...
12027         * sysdeps/alpha/atomic-machine.h: ...here.
12028         * sysdeps/arm/bits/atomic.h: Move to ...
12029         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12030         * bits/atomic.h: Move to ...
12031         * sysdeps/generic/atomic-machine.h: ...here.
12032         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12033         * sysdeps/i386/bits/atomic.h: Move to ...
12034         * sysdeps/i386/atomic-machine.h: ...here.
12035         * sysdeps/ia64/bits/atomic.h: Move to ...
12036         * sysdeps/ia64/atomic-machine.h: ...here.
12037         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12038         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12039         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12040         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12041         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12042         * sysdeps/microblaze/bits/atomic.h: Move to ...
12043         * sysdeps/microblaze/atomic-machine.h: ...here.
12044         * sysdeps/mips/bits/atomic.h: Move to ...
12045         * sysdeps/mips/atomic-machine.h: ...here.
12046         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12047         * sysdeps/powerpc/bits/atomic.h: Move to ...
12048         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12049         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12050         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12051         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12052         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12053         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12054         <atomic-machine.h> instead of <bits/atomic.h>.
12055         * sysdeps/s390/bits/atomic.h: Move to ...
12056         * sysdeps/s390/atomic-machine.h: ...here.
12057         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12058         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12059         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12060         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12061         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12062         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12063         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12064         * sysdeps/tile/bits/atomic.h: Move to ...
12065         * sysdeps/tile/atomic-machine.h: ...here.
12066         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12067         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12068         <sysdeps/tile/atomic-machine.h> instead of
12069         <sysdeps/tile/bits/atomic.h>.
12070         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12071         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12072         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12073         <sysdeps/tile/atomic-machine.h> instead of
12074         <sysdeps/tile/bits/atomic.h>.
12075         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12076         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12077         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12078         <sysdeps/arm/atomic-machine.h> instead of
12079         <sysdeps/arm/bits/atomic.h>.
12080         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12081         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12082         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12083         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12084         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12085         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12086         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12087         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12088         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12089         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12090         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12091         * sysdeps/x86_64/bits/atomic.h: Move to ...
12092         * sysdeps/x86_64/atomic-machine.h: ...here.
12093         * include/atomic.h: Include <atomic-machine.h> instead of
12094         <bits/atomic.h>.
12096         * sysdeps/mips/mips32/libm-test-ulps: Update.
12097         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12099         [BZ #18952]
12100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12101         not convert non-integer negative arguments to int to determine the
12102         value of signgam.
12103         * math/auto-libm-test-in: Add more tests of lgamma.
12104         * math/auto-libm-test-out: Regenerated.
12106         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12107         cosh, csqrt, erfc, expm1 and lgamma.
12108         * math/auto-libm-test-out: Regenerated.
12109         * sysdeps/i386/fpu/libm-test-ulps: Update.
12110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12112 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12114         [BZ #2542]
12115         [BZ #2543]
12116         [BZ #2558]
12117         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12118         __lgamma_neg for arguments from -28.0 to -2.0.
12119         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12120         __lgamma_negf for arguments from -15.0 to -2.0.
12121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12122         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12123         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12124         Call __lgamma_negl for arguments from -33.0 to -2.0.
12125         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12126         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12127         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12128         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12129         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12130         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12131         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12132         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12133         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12134         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12135         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12136         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12137         (__lgamma_neg): Likewise.
12138         (__lgamma_negl): Likewise.
12139         (__lgamma_product): Likewise.
12140         (__lgamma_productl): Likewise.
12141         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12142         * math/auto-libm-test-in: Add more tests of lgamma.
12143         * math/auto-libm-test-out: Regenerated.
12144         * sysdeps/i386/fpu/libm-test-ulps: Update.
12145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12149         [BZ #18675]
12150         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12152 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12154         [BZ #14912]
12155         * bits/libc-lock.h: Move to ...
12156         * sysdeps/generic/libc-lock.h: ...here.
12157         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12158         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12159         * sysdeps/mach/hurd/libc-lock.h: ...here.
12160         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12161         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12162         * sysdeps/mach/bits/libc-lock.h: Move to ...
12163         * sysdeps/mach/libc-lock.h: ...here.
12164         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12165         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12166         * sysdeps/nptl/libc-lock.h: ...here.
12167         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12168         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12169         * sysdeps/nptl/libc-lockP.h: ...here.
12170         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12171         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12172         <bits/libc-lock.h>.
12173         * dirent/scandir-tail.c: Likewise.
12174         * dlfcn/dlerror.c: Likewise.
12175         * elf/dl-close.c: Likewise.
12176         * elf/dl-iteratephdr.c: Likewise.
12177         * elf/dl-lookup.c: Likewise.
12178         * elf/dl-open.c: Likewise.
12179         * elf/dl-support.c: Likewise.
12180         * elf/dl-writev.h: Likewise.
12181         * elf/rtld.c: Likewise.
12182         * grp/fgetgrent.c: Likewise.
12183         * gshadow/fgetsgent.c: Likewise.
12184         * gshadow/sgetsgent.c: Likewise.
12185         * iconv/gconv_conf.c: Likewise.
12186         * iconv/gconv_db.c: Likewise.
12187         * iconv/gconv_dl.c: Likewise.
12188         * iconv/gconv_int.h: Likewise.
12189         * iconv/gconv_trans.c: Likewise.
12190         * include/link.h: Likewise.
12191         * inet/getnameinfo.c: Likewise.
12192         * inet/getnetgrent.c: Likewise.
12193         * inet/getnetgrent_r.c: Likewise.
12194         * intl/bindtextdom.c: Likewise.
12195         * intl/dcigettext.c: Likewise.
12196         * intl/finddomain.c: Likewise.
12197         * intl/gettextP.h: Likewise.
12198         * intl/loadmsgcat.c: Likewise.
12199         * intl/localealias.c: Likewise.
12200         * intl/textdomain.c: Likewise.
12201         * libidn/idn-stub.c: Likewise.
12202         * libio/libioP.h: Likewise.
12203         * locale/duplocale.c: Likewise.
12204         * locale/freelocale.c: Likewise.
12205         * locale/newlocale.c: Likewise.
12206         * locale/setlocale.c: Likewise.
12207         * login/getutent_r.c: Likewise.
12208         * login/getutid_r.c: Likewise.
12209         * login/getutline_r.c: Likewise.
12210         * login/utmp-private.h: Likewise.
12211         * login/utmpname.c: Likewise.
12212         * malloc/mtrace.c: Likewise.
12213         * misc/efgcvt.c: Likewise.
12214         * misc/error.c: Likewise.
12215         * misc/fstab.c: Likewise.
12216         * misc/getpass.c: Likewise.
12217         * misc/mntent.c: Likewise.
12218         * misc/syslog.c: Likewise.
12219         * nis/nis_call.c: Likewise.
12220         * nis/nis_callback.c: Likewise.
12221         * nis/nss-default.c: Likewise.
12222         * nis/nss_compat/compat-grp.c: Likewise.
12223         * nis/nss_compat/compat-initgroups.c: Likewise.
12224         * nis/nss_compat/compat-pwd.c: Likewise.
12225         * nis/nss_compat/compat-spwd.c: Likewise.
12226         * nis/nss_nis/nis-alias.c: Likewise.
12227         * nis/nss_nis/nis-ethers.c: Likewise.
12228         * nis/nss_nis/nis-grp.c: Likewise.
12229         * nis/nss_nis/nis-hosts.c: Likewise.
12230         * nis/nss_nis/nis-network.c: Likewise.
12231         * nis/nss_nis/nis-proto.c: Likewise.
12232         * nis/nss_nis/nis-pwd.c: Likewise.
12233         * nis/nss_nis/nis-rpc.c: Likewise.
12234         * nis/nss_nis/nis-service.c: Likewise.
12235         * nis/nss_nis/nis-spwd.c: Likewise.
12236         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12237         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12238         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12239         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12240         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12241         * nis/nss_nisplus/nisplus-network.c: Likewise.
12242         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12243         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12244         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12245         * nis/nss_nisplus/nisplus-service.c: Likewise.
12246         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12247         * nis/ypclnt.c: Likewise.
12248         * nptl/libc_pthread_init.c: Likewise.
12249         * nss/getXXbyYY.c: Likewise.
12250         * nss/getXXent.c: Likewise.
12251         * nss/getXXent_r.c: Likewise.
12252         * nss/nss_db/db-XXX.c: Likewise.
12253         * nss/nss_db/db-netgrp.c: Likewise.
12254         * nss/nss_db/nss_db.h: Likewise.
12255         * nss/nss_files/files-XXX.c: Likewise.
12256         * nss/nss_files/files-alias.c: Likewise.
12257         * nss/nsswitch.c: Likewise.
12258         * posix/regex_internal.h: Likewise.
12259         * posix/wordexp.c: Likewise.
12260         * pwd/fgetpwent.c: Likewise.
12261         * resolv/res_hconf.c: Likewise.
12262         * resolv/res_libc.c: Likewise.
12263         * shadow/fgetspent.c: Likewise.
12264         * shadow/lckpwdf.c: Likewise.
12265         * shadow/sgetspent.c: Likewise.
12266         * socket/opensock.c: Likewise.
12267         * stdio-common/reg-modifier.c: Likewise.
12268         * stdio-common/reg-printf.c: Likewise.
12269         * stdio-common/reg-type.c: Likewise.
12270         * stdio-common/vfprintf.c: Likewise.
12271         * stdio-common/vfscanf.c: Likewise.
12272         * stdlib/abort.c: Likewise.
12273         * stdlib/cxa_atexit.c: Likewise.
12274         * stdlib/fmtmsg.c: Likewise.
12275         * stdlib/random.c: Likewise.
12276         * stdlib/setenv.c: Likewise.
12277         * string/strsignal.c: Likewise.
12278         * sunrpc/auth_none.c: Likewise.
12279         * sunrpc/bindrsvprt.c: Likewise.
12280         * sunrpc/create_xid.c: Likewise.
12281         * sunrpc/key_call.c: Likewise.
12282         * sunrpc/rpc_thread.c: Likewise.
12283         * sysdeps/arm/backtrace.c: Likewise.
12284         * sysdeps/generic/ldsodefs.h: Likewise.
12285         * sysdeps/generic/stdio-lock.h: Likewise.
12286         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12287         * sysdeps/i386/backtrace.c: Likewise.
12288         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12289         * sysdeps/m68k/backtrace.c: Likewise.
12290         * sysdeps/mach/hurd/cthreads.c: Likewise.
12291         * sysdeps/mach/hurd/dirstream.h: Likewise.
12292         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12293         * sysdeps/nptl/malloc-machine.h: Likewise.
12294         * sysdeps/nptl/stdio-lock.h: Likewise.
12295         * sysdeps/posix/dirstream.h: Likewise.
12296         * sysdeps/posix/getaddrinfo.c: Likewise.
12297         * sysdeps/posix/system.c: Likewise.
12298         * sysdeps/pthread/aio_suspend.c: Likewise.
12299         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12300         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12301         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12302         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12303         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12304         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12305         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12306         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12307         * sysdeps/unix/sysv/linux/system.c: Likewise.
12308         * sysdeps/x86_64/backtrace.c: Likewise.
12309         * time/alt_digit.c: Likewise.
12310         * time/era.c: Likewise.
12311         * time/tzset.c: Likewise.
12312         * wcsmbs/wcsmbsload.c: Likewise.
12313         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12314         instead of <bits/libc-lock.h> in comment.
12316 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12318         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12319         Only use .set mips2 if the current ISA is below mips2.
12320         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12321         Likewise.
12322         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12323         mips32r2 if the current ISA is below mips32r2.
12324         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12325         (TLS_IE): Updated to use the TLD_RDHWR macro.
12326         (TLS_LE): Likewise.
12327         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12328         __ASSEMBLER__ condition.
12330 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12332         Fix parallel build of before-compile targets.
12334         * sysdeps/mach/Makefile ($(patsubst
12335         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12336         mach-before-compile target.
12337         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12338         io fs process)): Move rule to dedicated hurd-before-compile target.
12340 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12342         Fix rules generating headers in hurd/ and mach/ when initial make call
12343         has subdir= explicitly set.
12345         * sysdeps/mach/Makefile ($(patsubst
12346         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12347         calling $(MAKE).
12348         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12349         io fs process)): Force subdir to hurd when calling $(MAKE).
12350         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12351         subdir to mach when calling $(MAKE).
12353 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12355         Check sysheaders when looking for Mach and Hurd headers
12357         * sysdeps/mach/configure.ac: Add sysheaders check.
12358         * sysdeps/mach/configure: Regenerate.
12359         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12360         * sysdeps/mach/hurd/configure: Regenerate.
12362 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12364         [BZ #18921]
12365         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12366         Fix inverted sense of test of 'o_directory_works' value.
12367         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12368         Bernhard Voelker <mail@bernhard-voelker.de>.
12370 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12372         [BZ #14912]
12373         * bits/linkmap.h: Move to ...
12374         * sysdeps/generic/linkmap.h: ...here.
12375         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12376         * sysdeps/aarch64/linkmap.h: ...here.
12377         * sysdeps/arm/bits/linkmap.h: Move to ...
12378         * sysdeps/arm/linkmap.h: ...here.
12379         * sysdeps/hppa/bits/linkmap.h: Move to ...
12380         * sysdeps/hppa/linkmap.h: ...here.
12381         * sysdeps/ia64/bits/linkmap.h: Move to ...
12382         * sysdeps/ia64/linkmap.h: ...here.
12383         * sysdeps/mips/bits/linkmap.h: Move to ...
12384         * sysdeps/mips/linkmap.h: ...here.
12385         * sysdeps/s390/bits/linkmap.h: Move to ...
12386         * sysdeps/s390/linkmap.h: ...here.
12387         * sysdeps/sh/bits/linkmap.h: Move to ...
12388         * sysdeps/sh/linkmap.h: ...here.
12389         * sysdeps/x86/bits/linkmap.h: Move to ...
12390         * sysdeps/x86/linkmap.h: ...here.
12391         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12393 2015-09-04  Andreas Schwab  <schwab@suse.de>
12395         [BZ #18635]
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12397         (__makecontext): Terminate FDE before return label.
12398         (__novec_makecontext): Likewise.
12400 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12402         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12403         first member of struct sv in syscall macro.
12405 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12407         [BZ #14912]
12408         * bits/stdio-lock.h: Move to ...
12409         * sysdeps/generic/stdio-lock.h: ...here.
12410         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12411         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12412         * sysdeps/nptl/stdio-lock.h: ...here.
12413         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12414         * include/libio.h: Include <stdio-lock.h> instead of
12415         <bits/stdio-lock.h>.
12416         * sysdeps/nptl/fork.c: Likewise.
12417         * sysdeps/pthread/flockfile.c: Likewise.
12418         * sysdeps/pthread/ftrylockfile.c: Likewise.
12419         * sysdeps/pthread/funlockfile.c: Likewise.
12421         [BZ #14912]
12422         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12423         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12424         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12425         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12426         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12427         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12428         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12430 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12432         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12433         (test-xfail-tst-protected1b): New variable.
12435 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12437         [BZ #14912]
12438         * bits/libc-tsd.h: Move to ...
12439         * sysdeps/generic/libc-tsd.h: ...here.
12440         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12441         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12442         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12443         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12444         * include/ctype.h: Include <libc-tsd.h> instead of
12445         <bits/libc-tsd.h>.
12446         * include/rpc/rpc.h: Likewise.
12447         * locale/localeinfo.h: Likewise.
12448         * sunrpc/rpc_thread.c: Likewise.
12449         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12450         * sysdeps/nptl/malloc-machine.h: Likewise.
12452         * Makefile (headers): Remove bits/libc-lock.h.
12453         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12455         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12456         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12457         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12458         <bits/stdio-lock.h>.
12459         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12460         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12462 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12464         [BZ #18757]
12465         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12466         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12467         BZ #18757.
12469 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12471         * malloc/mtrace.pl: Filter out NULL entries.
12473 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12475         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12476         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12477         macro.
12479         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12480         (TCP_CC_INFO): Likewise.
12481         (TCP_SAVE_SYN): Likewise.
12482         (TCP_SAVED_SYN): Likewise.
12484 2015-08-31  Brett Neumeier <brett@neumeier.us>
12486         [BZ #18870]
12487         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12489 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12491         [BZ #18873]
12492         Fix broken overflow check in posix_fallocate
12493         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12494         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12495         Fix parenthesization typo.
12497 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12499         [BZ #18887]
12500         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12501         tst-mntent-blank-passno.
12502         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12503         * misc/tst-mntent-blank-corrupt.c: New test.
12504         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12505         * misc/tst-mntent.c (do_test): ... here.
12507 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12509         [BZ #4404]
12510         * po/de.po: Fix SIGALRM typo.
12512 2015-08-28  James Perkins  <james@loowit.net>
12514         * time/tst-strptime2.c (tests): Replace short list of test
12515         strings for strptime %z specifier with code which exhaustively
12516         tests every combination of sign and 0 to 5 digits. Tests for
12517         rejection of invalid strings.
12519 2015-08-28  James Perkins  <james@loowit.net>
12521         [BZ #16141]
12522         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12523         calculation, removing incorrect decimal time rounding, so that
12524         all minute values result in a valid seconds value.
12525         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12526         offset range limits to UTC-99:59 through UTC+99:59 to parse
12527         current and historical use cases.
12528         * time/tst-strptime2.c (tests): Modify and add tests for the
12529         strptime %z input field descriptor, specifically conversion of
12530         minutes to seconds and validating an offset range of -9959 to
12531         +9959.
12533 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12534             Dmitry V. Levin  <ldv@altlinux.org>
12536         [BZ #18877]
12537         * posix/Makefile (tests): Add tst-mmap-offset.
12538         * posix/tst-mmap.c: New file.
12539         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12540         offset calculation for negative values.
12542 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12544         * sysdeps/i386/init-arch.h: New file.
12545         * sysdeps/i386/i586/init-arch.h: Likewise.
12546         * sysdeps/i386/i686/init-arch.h: Likewise.
12547         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12548         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12549         * sysdeps/x86/cpu-features.h (bit_I586): New.
12550         (bit_I686): Likewise.
12551         (bit_CX8): Likewise.
12552         (bit_CMOV): Likewise.
12553         (index_CX8): Likewise.
12554         (index_CMOV): Likewise.
12555         (index_I586): Likewise.
12556         (index_I686): Likewise.
12557         (reg_CX8): Likewise.
12558         (reg_CMOV): Likewise.
12559         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12560         available at compile-time.
12561         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12562         available at compile-time.
12563         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12564         (USE_I686): Likewise.
12566 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12568         * sysdeps/i386/bcopy.S: New file.
12569         * sysdeps/i386/bzero.S: Likewise.
12570         * sysdeps/i386/memcpy.S: Likewise.
12571         * sysdeps/i386/memmove.S: Likewise.
12572         * sysdeps/i386/mempcpy.S: Likewise.
12573         * sysdeps/i386/memset.S: Likewise.
12574         * sysdeps/i386/bzero.c: Removed.
12575         * sysdeps/i386/memset.c: Likewise.
12576         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12577         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12578         * sysdeps/i386/i586/memset_chk.S: Likewise.
12579         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12580         * sysdeps/i386/memcpy_chk.S: Here.
12581         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12582         * sysdeps/i386/memmove_chk.S: Here.
12583         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12584         * sysdeps/i386/mempcpy_chk.S: Likewise.
12585         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12586         * sysdeps/i386/memset_chk.S: Likewise.
12588 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12590         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12591         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12592         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12593         * soft-fp/fmadf4.c: Ditto.
12594         * soft-fp/fmatf4.c: Ditto.
12596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12598         * sysdeps/i386/i586/Implies: Removed.
12599         * sysdeps/i386/i686/Implies: Likewise.
12601 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12603         * sysdeps/i386/i486/strlen.S: Moved to ...
12604         * sysdeps/i386/strlen.S: Here.
12606 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12608         * sysdeps/i386/i486/strcat.S: Moved to ...
12609         * sysdeps/i386/strcat.S: Here.
12611 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12613         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12614         * sysdeps/i386/pthread_spin_trylock.S: Here.
12615         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12616         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12618 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12620         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12621         * sysdeps/i386/string-inlines.c: Here.
12623 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12625         * sysdeps/i386/i486/htonl.S: Moved ...
12626         * sysdeps/i386/htonl.S: here.
12628 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12630         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12631         * sysdeps/i386/bits/atomic.h: Here.
12633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12635         * sysdeps/i386/i486/Versions: Removed.
12637 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12639         [BZ #2898]
12640         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12641         Based on patch by Aurelien Jarno.
12643 2015-08-26  Stan Shebs  <stanshebs@google.com>
12645         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12646         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12648 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12650         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12651         * sysdeps/powerpc/dl-procinfo.c:
12652         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12653         feature so it shows when LD_SHOW_AUXV=1.
12655 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12657         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12658         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12659         definition.  ISA 2.07B no longer requires full sync.
12661 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12663         [BZ #18863]
12664         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12665         (si_call_addr): Define.
12666         (si_syscall): Define.
12667         (si_arch): Define.
12669 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12671         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12672         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12673         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12674         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12675         (__memset_zero_constant_len_parameter): New.
12676         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12677         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12678         (__memset_zero_constant_len_parameter): Don't define if
12679         __memset_chk or USE_AS_BZERO are defined.
12681         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12682         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12683         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12685         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12686         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12687         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12688         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12689         comments.
12690         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12691         -mno-mmx for $(all-rtld-routines).
12692         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12693         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12694         i386.
12696 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12698         * sysdeps/generic/unwind.h
12699         (_Unwind_Word): Use __mode__(__unwind_word__)
12700         instead of __mode__(__word__).
12701         (_Unwind_Sword): Likewise.
12703         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12704         (MAX_NEEDED_INPUT): New define.
12705         (MAX_NEEDED_OUTPUT): New define.
12707         * NEWS: New item for IBM z13 string optimizations.
12709         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12710         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12711         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12712         * sysdeps/s390/multiarch/Makefile
12713         (sysdep_routines): Add memrchr functions.
12714         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12715         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12717         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12718         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12719         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12720         * sysdeps/s390/multiarch/Makefile
12721         (sysdep_routines): Add wmemcmp functions.
12722         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12723         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12724         * benchtests/bench-wmemcmp.c: New File.
12725         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12727         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12728         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12729         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12730         * sysdeps/s390/multiarch/Makefile
12731         (sysdep_routines): Add wmemset functions.
12732         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12733         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12734         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12735         * string/test-memset.c: Add wmemset support.
12736         * wcsmbs/test-wmemset.c: New File.
12737         * wcsmbs/Makefile (strop-tests): Add wmemset.
12738         * benchtests/bench-memset.c: Add wmemset support.
12739         * benchtests/bench-wmemset.c: New File.
12740         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12742         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12743         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12744         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12745         * sysdeps/s390/multiarch/Makefile
12746         (sysdep_routines): Add memccpy functions.
12747         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12748         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12749         * string/memccpy.c: Use MEMCCPY if defined.
12751         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12752         * sysdeps/s390/multiarch/memchr.c: Likewise.
12753         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12754         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12755         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12756         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12757         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12758         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12759         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12760         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12761         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12762         and rawmemchr functions.
12763         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12764         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12765         and wmemchr.
12766         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12767         * string/test-memchr.c: Add wmemchr support.
12768         * wcsmbs/test-wmemchr.c: New File.
12769         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12770         * benchtests/bench-memchr.c: Add wmemchr support.
12771         * benchtests/bench-wmemchr.c: New File.
12772         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12774         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12775         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12776         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12777         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12778         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12779         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12781         wcscspn functions.
12782         * sysdeps/s390/multiarch/ifunc-impl-list.c
12783         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12784         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12785         * string/test-strcspn.c: Add wcscspn support.
12786         * wcsmbs/test-wcscspn.c: New File.
12787         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12788         * benchtests/bench-strcspn.c: Add wcscspn support.
12789         * benchtests/bench-wcscspn.c: New File.
12790         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12792         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12793         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12794         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12795         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12796         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12797         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12798         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12799         wcspbrk functions.
12800         * sysdeps/s390/multiarch/ifunc-impl-list.c
12801         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12802         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12803         * string/test-strpbrk.c: Add wcspbrk support.
12804         * wcsmbs/test-wcspbrk.c: New File.
12805         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12806         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12807         * benchtests/bench-wcspbrk.c: New File.
12808         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12810         * sysdeps/s390/multiarch/strspn-c.c: New File.
12811         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12812         * sysdeps/s390/multiarch/strspn.c: Likewise.
12813         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12814         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12815         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12816         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12817         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12818         wcsspn functions.
12819         * sysdeps/s390/multiarch/ifunc-impl-list.c
12820         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12821         * string/test-strspn.c: Add wcsspn support.
12822         * wcsmbs/test-wcsspn.c: New File.
12823         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12824         * benchtests/bench-strspn.c: Add wcsspn support.
12825         * benchtests/bench-wcsspn.c: New File.
12826         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12828         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12829         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12830         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12831         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12832         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12833         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12835         wcsrchr functions.
12836         * sysdeps/s390/multiarch/ifunc-impl-list.c
12837         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12838         * benchtests/bench-wcsrchr.c: New File.
12839         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12841         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12842         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12843         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12844         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12845         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12846         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12848         wcschrnul functions.
12849         * sysdeps/s390/multiarch/ifunc-impl-list.c
12850         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12851         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12852         * string/test-strchr.c: Add wcschrnul support.
12853         * wcsmbs/test-wcschrnul.c: New File.
12854         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12855         * benchtests/bench-strchr.c: Add wcschrnul support.
12856         * benchtests/bench-wcschrnul.c: New File.
12857         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12859         * sysdeps/s390/multiarch/strchr-c.c: New File.
12860         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12861         * sysdeps/s390/multiarch/strchr.c: Likewise.
12862         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12863         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12864         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12866         wcschr functions.
12867         * sysdeps/s390/multiarch/ifunc-impl-list.c
12868         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12869         * string/strchr.c (STRCHR): Define and use macro.
12870         * benchtests/bench-wcschr.c: New File.
12871         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12873         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12874         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12875         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12876         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12877         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12878         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12880         wcsncmp functions.
12881         * sysdeps/s390/multiarch/ifunc-impl-list.c
12882         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12883         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12884         * benchtests/bench-strncmp.c: Add wcsncmp support.
12885         * benchtests/bench-wcsncmp.c: New File.
12886         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12888         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12889         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12890         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12891         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12892         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12893         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12894         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12895         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12896         wcscmp functions.
12897         * sysdeps/s390/multiarch/ifunc-impl-list.c
12898         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12899         * string/strcmp.c (STRCMP): Define and use macro.
12900         * benchtests/bench-wcscmp.c: New File.
12901         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12902         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12903         instead of _HAVE_STRING_ARCH_memchr.
12905         * sysdeps/s390/multiarch/strncat-c.c: New File.
12906         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12907         * sysdeps/s390/multiarch/strncat.c: Likewise.
12908         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12909         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12910         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12911         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12912         wcsncat functions.
12913         * sysdeps/s390/multiarch/ifunc-impl-list.c
12914         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12915         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12916         * string/test-strncat.c: Add wcsncat support.
12917         * wcsmbs/test-wcsncat.c: New File.
12918         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12919         * benchtests/bench-strncat.c: Add wcsncat support.
12920         * benchtests/bench-wcsncat.c: New File.
12921         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12923         * sysdeps/s390/multiarch/strcat-c.c: New File.
12924         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12925         * sysdeps/s390/multiarch/strcat.c: Likewise.
12926         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12927         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12928         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12930         wcscat functions.
12931         * sysdeps/s390/multiarch/ifunc-impl-list.c
12932         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12933         * string/strcat.c (STRCAT): Define and use macro.
12934         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12935         * string/test-strcat.c: Add wcscat support.
12936         * wcsmbs/test-wcscat.c: New File.
12937         * wcsmbs/Makefile (strop-tests): Add wcscat.
12938         * benchtests/bench-strcat.c: Add wcscat support.
12939         * benchtests/bench-wcscat.c: New File.
12940         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12942         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12943         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12944         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12945         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12946         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12947         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12948         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12949         wcpncpy functions.
12950         * sysdeps/s390/multiarch/ifunc-impl-list.c
12951         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12952         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12953         * string/test-stpncpy.c: Add wcpncpy support.
12954         * wcsmbs/test-wcpncpy.c: New File.
12955         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12956         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12957         * benchtests/bench-wcpncpy.c: New File.
12958         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12960         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12961         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12962         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12963         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12964         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12965         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12966         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12968         wcsncpy functions.
12969         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12970         * sysdeps/s390/multiarch/ifunc-impl-list.c
12971         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12972         * string/test-strncpy.c: Add wcsncpy support.
12973         * wcsmbs/test-wcsncpy.c: New File.
12974         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12975         * benchtests/bench-strncpy.c: Add wcsncpy support.
12976         * benchtests/bench-wcsncpy.c: New File.
12977         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12979         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12980         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12981         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12982         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12983         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12984         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12986         wcpcpy functions.
12987         * string/stpcpy.c: Use STPCPY if defined.
12988         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12989         * sysdeps/s390/multiarch/ifunc-impl-list.c
12990         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12991         * string/test-stpcpy.c: Add wcpcpy support.
12992         * wcsmbs/test-wcpcpy.c: New File.
12993         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12994         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12995         * benchtests/bench-wcpcpy.c: New File.
12996         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12998         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12999         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13000         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13001         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13002         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13003         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13004         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13006         wcscpy functions.
13007         * sysdeps/s390/multiarch/ifunc-impl-list.c
13008         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13009         * benchtests/bench-wcscpy.c: New File.
13010         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13012         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13013         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13014         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13015         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13016         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13017         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13019         wcsnlen functions.
13020         * sysdeps/s390/multiarch/ifunc-impl-list.c
13021         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13022         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13023         * string/test-strnlen.c: Add wcsnlen support.
13024         * wcsmbs/test-wcsnlen.c: New File.
13025         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13026         * benchtests/bench-strnlen.c: Add wcsnlen support.
13027         * benchtests/bench-wcsnlen.c: New File.
13028         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13030         * sysdeps/s390/multiarch/Makefile: New File.
13031         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13032         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13033         * sysdeps/s390/multiarch/strlen.c: Likewise.
13034         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13035         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13036         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13037         * string/strlen.c (STRLEN): Define and use macro.
13038         * sysdeps/s390/multiarch/ifunc-impl-list.c
13039         (IFUNC_VX_IMPL): New macro function.
13040         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13041         * benchtests/Makefile (wcsmbs-bench): New variable.
13042         (string-bench-all): Added wcsmbs-bench.
13043         * benchtests/bench-wcslen.c: New File.
13045         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13046         s390_vx_libc_ifunc2): New macro function.
13048         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13049         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13050         assembler support.
13051         * sysdeps/s390/configure: Regenerated.
13053         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13054         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13056         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13057         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13058         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13060         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13061         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13062         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13063         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13064         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13065         (memcmp, bcmp): Use __memcmp_default as alias source.
13066         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13067         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13068         Rename to __memcmp_default.
13069         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13070         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13071         (memcpy): Use __memcpy_default as alias source.
13072         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13073         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13074         Rename to __memcpy_default.
13075         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13076         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13077         (memset): Use __memset_default as alias source.
13078         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13079         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13080         Rename to __memset_default.
13081         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13082         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13083         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13084         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13085         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13086         (memcmp, bcmp): Use __memcmp_default as alias source.
13087         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13088         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13089         Rename to __memcmp_default.
13090         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13091         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13092         (memcpy): Use __memcpy_default as alias source.
13093         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13094         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13095         Rename to __memcpy_default.
13096         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13097         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13098         (memset): Use __memset_default as alias source.
13099         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13100         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13101         Rename to __memset_default.
13102         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13103         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13105         [BZ #18610]
13106         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13107         __ieee_instruction_pointer to __unused.
13108         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13109         __ieee_instruction_pointer.
13110         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13111         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13112         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13113         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13114         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13115         Mark dxc-field as reserved.
13117 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13119         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13120         if the weak reference is not null.
13122 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13124         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13126         [BZ #11214]
13127         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13129 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13132         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13133         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13134         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13135         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13136         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13137         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13138         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13139         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13140         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13141         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13142         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13143         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13144         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13145         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13146         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13147         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13148         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13150 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13152         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13153         register other than r0 for tabort, it has special meaning.
13154         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13155         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13156         transaction before starting syscall.
13158 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13160         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13162 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13164         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13166         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13167         * sysdeps/x86_64/rtld-memset.S: Likewise.
13168         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13169         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13170         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13171         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13173         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13175 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13177         * debug/strcpy_chk.c: Improve performance.
13178         * debug/stpcpy_chk.c: Likewise.
13179         * sysdeps/x86_64/strcpy_chk.S: Remove.
13180         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13182         [BZ #18240]
13183         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13185 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13187         [BZ #15128]
13188         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13189         ifuncmain8.
13190         (modules-names): Add ifuncmod8.
13191         ($(objpfx)ifuncmain8): New rule.
13192         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13193         <cpuid.h>.
13194         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13195         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13196         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13197         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13198         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13199         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13200         * sysdeps/x86_64/ifuncmain8.c: New file.
13201         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13202         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13203         Removed.
13204         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13205         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13206         Change rtld_savespace_sse to __glibc_unused2.
13207         (RTLD_CHECK_FOREIGN_CALL): Removed.
13208         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13209         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13210         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13212 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13214         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13216 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13218         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13219         Unconditionally set __fpcr to avoid uninialized warning.
13220         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13222 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13224         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13225         is corrupt.
13227         * malloc/arena.c (arena_get2): Drop unused argument.
13228         (arena_lock): Adjust.
13229         (arena_get_retry): Likewise.
13231 2015-08-24  Andreas Schwab  <schwab@suse.de>
13233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13234         Don't define.
13235         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13236         (__ASSUME_IPC64): Don't undef.
13237         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13238         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13239         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13240         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13241         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13242         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13243         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13244         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13245         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13246         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13247         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13248         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13249         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13250         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13251         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13252         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13253         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13254         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13255         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13256         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13257         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13259 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13261         * manual/Makefile (install): Only build manual when perl is available.
13263 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13265         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13266         '#undef memcpy' by '#undef memchr'.
13268 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13270         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13271         memchr not point to the internal __GI_memchr implementation.
13273 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13275         * timezone/Makefile (CFLAGS-zdump.c): Remove
13276         -Wno-strict-prototypes.
13277         (CFLAGS-zic.c): Likewise.
13278         (CFLAGS-ialloc.c): Likewise.
13279         (CFLAGS-scheck.c): Likewise.
13281         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13282         -Wno-error=undef.
13284 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13286         * i386/i686/multiarch/strcasestr-c.c: Removed.
13287         * x86_64/multiarch/strcasestr.c: Likewise.
13288         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13289         Remove strcasestr.
13291 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13293         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13295         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13296         variables for high and low parts before possibly modifying them.
13298 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13300         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13301         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13302         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13303         of "multiarch/init-arch.h".
13304         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13305         * sysdeps/x86/init-arch.h: This.
13307 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13309         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13310         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13312 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13314         [BZ #17787]
13315         * manual/macros.texi: Add twoexp macro.
13316         * manual/filesys.texi: Fix exponents.
13317         * manual/llio.texi: Likewise.
13318         * manual/stdio.texi: Likewise.
13320 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13322         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13323         incorrect use.
13325 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #18370]
13328         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13329         whose real or imaginary part has small absolute value.
13330         * math/s_csqrtf.c (__csqrtf): Likewise.
13331         * math/s_csqrtl.c (__csqrtl): Likewise.
13332         * math/auto-libm-test-in: Add more tests of csqrt.
13333         * math/auto-libm-test-out: Regenerated.
13334         * sysdeps/i386/fpu/libm-test-ulps: Update.
13336 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13338         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13339         __ppc_set_ppr_very_low): New functions.
13340         * manual/platform.texi: Add documentation about
13341         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13343 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13345         * string/stpncpy.c (stpncpy): Improve performance using
13346         __strnlen/memcpy/memset.
13348 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13350         [BZ #18796]
13351         * scripts/test-installation.pl: Don't add -lmvec to build options if
13352         libmvec wasn't built.
13354 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13356         [BZ #14341]
13357         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13358         case when there is a gap between DT_REL and DT_JMPREL sections.
13359         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13360         (LDFLAGS-tst-split-dynreloc): New.
13361         (tst-split-dynreloc-ENV): Likewise.
13362         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13363         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13365 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13367         [BZ #18822]
13368         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13369         attribute_hidden.
13370         (__xstat64_conv): Likewise.
13371         (__xstat32_conv): Likewise.
13373 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13375         [BZ #18822]
13376         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13377         Don't load %ebx when calling __setcontext.  Call __setcontext
13378         with HIDDEN_JUMPTARGET.
13379         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13380         libc_hidden_def.
13382 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13384         * sysdeps/i386/i686/Makefile
13385         [$(subdir) == string] (sysdep_routines): Moved to ...
13386         * sysdeps/i386/Makefile: Here.
13387         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13388         * sysdeps/i386/cacheinfo.c: Here.
13389         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13390         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13391         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13392         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13394 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13396         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13397         __i586__ is defined.
13398         (HAS_I686): Defined to 1 if __i686__ is defined.
13400 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13402         * elf/Makefile [$(have-z-execstack) = yes]
13403         (CPPFLAGS-tst-execstack.c): New variable.
13405         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13406         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13407         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13408         UTMPX || _HAVE_UT_TV].
13409         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13410         UTMPX || _HAVE_UT_TV - 0].
13412 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13414         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13415         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13416         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13418 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13420         * sysdeps/powerpc/dl-procinfo.c:
13421         (_dl_powerpc_cap_flags): Added missing strings for some
13422         hwcap features.
13423         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13425 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13427         Port the 0x7efe...feff pattern to GCC 6.
13428         See Steve Ellcey's bug report in:
13429         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13430         * string/memrchr.c (MEMRCHR):
13431         * string/rawmemchr.c (RAWMEMCHR):
13432         * string/strchr.c (strchr):
13433         * string/strchrnul.c (STRCHRNUL):
13434         Rewrite code to avoid issues with signed shift overflow.
13436 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13438         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13439         whether cpuid is available only if HAS_CPUID is 0.
13440         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13441         (HAS_I586): Likewise.
13442         (HAS_I686): Likewise.
13444 2015-08-18  Zack Weinberg  <zackw@panix.com>
13446         * misc/Versions (libc): Add GLIBC_2.23.
13448 2015-08-18  Alan Modra  <amodra@gmail.com>
13450         [BZ #18421]
13451         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13452         .Lp__global.
13453         (_start): Load %dp via .Lp__global.
13454         [!SHARED]: Use .section .rodata.
13456 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13458         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13459         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13461 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13463         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13464         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13466 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13468         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13469         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13471 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13473         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13474         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13476 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13478         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13479         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13481 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13483         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13484         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13486 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13488         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13490 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13492         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13493         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13494         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13495         (__ASSUME_LWS_CAS): Delete.
13497 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13499         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13500         * sysdeps/hppa/configure: Regenerated.
13501         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13502         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13503         * sysdeps/hppa/nptl/tls.h: Likewise.
13505 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13507         [BZ #18823]
13508         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13509         for scaling up small arguments.
13510         * math/s_csqrtf.c (__csqrtf): Likewise.
13511         * math/s_csqrtl.c (__csqrtl): Likewise.
13512         * math/auto-libm-test-in: Add more tests of csqrt.
13513         * math/auto-libm-test-out: Regenerated.
13515 2015-08-17  Andreas Schwab  <schwab@suse.de>
13517         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13518         version set GLIBC_2.19.
13520 2015-08-16  Zack Weinberg  <zackw@panix.com>
13522         [BZ #18681]
13523         * misc/regexp.h: This interface is no longer supported.
13524         Remove all contents, leaving only an #error directive.
13525         * misc/regexp.c (loc1, loc2, locs, step, advance):
13526         Demote to compatibility symbols.
13528 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13530         [BZ #18084]
13531         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13532         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13533         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13534         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13535         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13536         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13537         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13538         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13539         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13541 2015-08-15  Zack Weinberg  <zackw@panix.com>
13543         [BZ #18795]
13544         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13545         buffer length is known to be too large, not if it's known to be
13546         small enough.
13547         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13548         overflow at runtime, involving a length parameter, twice: once
13549         with a compile-time constant length parameter, once without.
13551 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13553         [BZ #18824]
13554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13555         scaling x * y up instead of down.
13556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13558         * math/auto-libm-test-in: Add more tests of fma.
13559         * math/auto-libm-test-out: Regenerated.
13561 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13563         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13565 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13567         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13568         unnecessary movq.
13569         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13570         Likewise.
13572 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13574         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13575         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13576         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13577         and tgamma.
13578         * math/auto-libm-test-out: Regenerated.
13579         * sysdeps/i386/fpu/libm-test-ulps: Update.
13580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13582         [BZ #16520]
13583         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13584         (__tanh): Force underflow exception for arguments with small
13585         absolute value.
13586         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13587         (__tanhf): Force underflow exception for arguments with small
13588         absolute value.
13589         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13590         (__tanhl): Force underflow exception for arguments with small
13591         absolute value.
13592         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13593         (__tanhl): Force underflow exception for arguments with small
13594         absolute value.
13595         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13596         (__tanhl): Force underflow exception for arguments with small
13597         absolute value.
13598         * math/auto-libm-test-in: Add more tests of tanh.
13599         * math/auto-libm-test-out: Regenerated.
13600         * sysdeps/i386/fpu/libm-test-ulps: Update.
13602 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13604         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13605         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13607 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13609         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13610         <cpuid.h>.
13612 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13614         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13615         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13617 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13619         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13620         Remove $(objpfx)init-arch.o.
13621         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13622         init-arch.
13623         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13624         (INIT_ARCH_EXT): Defined as empty.
13625         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13626         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13627         __init_cpu_features call.  Replace HAS_XXX with
13628         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13629         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13630         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13634         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13635         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13636         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13637         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13638         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13640         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13642         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13648         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13653         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13654         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13657         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13661         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13662         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13665 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13667         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13668         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13669         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13670         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13671         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13672         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13673         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13674         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13675         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13676         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13677         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13678         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13679         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13680         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13681         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13682         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13683         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13684         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13685         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13686         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13687         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13688         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13689         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13690         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13691         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13692         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13694         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13695         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13696         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13697         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13698         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13699         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13700         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13701         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13702         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13703         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13704         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13705         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13706         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13707         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13708         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13709         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13711 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13713         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13714         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13715         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13716         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13717         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13718         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13719         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13720         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13721         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13723         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13724         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13725         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13726         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13727         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13728         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13729         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13730         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13731         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13732         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13734         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13735         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13736         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13737         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13738         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13739         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13740         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13741         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13742         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13743         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13744         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13745         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13746         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13747         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13748         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13749         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13750         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13751         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13752         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13753         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13754         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13755         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13757 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13759         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13760         (dl_platform_init): Call init_cpu_features.
13761         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13762         * sysdeps/i386/i686/cacheinfo.c
13763         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13764         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13765         * sysdeps/i386/i686/multiarch/Versions: Removed.
13766         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13767         Removed.
13768         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13769         * sysdeps/unix/sysv/linux/x86/Makefile
13770         (libpthread-sysdep_routines): Remove init-arch.
13771         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13772         <sysdeps/x86_64/dl-procinfo.c> instead of
13773         sysdeps/generic/dl-procinfo.c>.
13774         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13775         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13776         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13777         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13778         [$(subdir) == elf] (tests-static): Add
13779         tst-get-cpu-features-static.
13780         * sysdeps/x86/Versions: New file.
13781         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13782         * sysdeps/x86/cpu-features.c: Likewise.
13783         * sysdeps/x86/cpu-features.h: Likewise.
13784         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13785         * sysdeps/x86/libc-start.c: Likewise.
13786         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13787         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13788         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13789         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13790         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13791         Assume USE_MULTIARCH is defined and don't check it.
13792         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13793         (is_amd): Likewise.
13794         (max_cpuid): Likewise.
13795         (intel_check_word): Likewise.
13796         (__cache_sysconf): Don't call __init_cpu_features.
13797         (__x86_preferred_memory_instruction): Removed.
13798         (init_cacheinfo): Don't call __init_cpu_features. Replace
13799         __cpu_features with GLRO(dl_x86_cpu_features).
13800         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13801         (dl_platform_init): Call init_cpu_features.
13802         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13803         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13804         * sysdeps/x86_64/multiarch/Versions: Removed.
13805         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13806         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13807         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13808         Removed.
13809         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13811 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13813         [BZ #18820]
13814         * libio/Makefile (test-fmemopen-mem): New test.
13815         * libio/test-fmemopen.c (do_bz18820): New test.
13816         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13817         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13819 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13821         [BZ #16734]
13822         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13823         (FREE_BUF): Delete.
13824         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13825         * libio/genops.c (_IO_setb): Use malloc and free directly.
13826         (_IO_default_doallocate, _IO_default_finish): Likewise.
13827         ( _IO_unbuffer_all): Likewise.
13828         ( libc_freeres_fn): Likewise.
13829         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13830         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13831         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13832         (_IO_wdefault_doallocate): Likewise.
13834 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13836         [BZ #18086]
13837         * sysdeps/posix/nice.c (nice): Restore old errno.
13838         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13840 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13844 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13846         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13847         __bcopy and add a weak_alias to bcopy.
13848         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13849         for static build.
13851         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13852         cleanup macro usage.
13853         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13856         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13857         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13858         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13859         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13860         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13861         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13862         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13864         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13866         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13867         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13869         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13870         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13871         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13873         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13874         libc_hidden_def.
13875         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13877         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13878         (sysdep_routines): Add strstr-ppc64.
13879         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13881 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13883         [BZ #18778]
13884         * elf/Makefile (tests): Add Add tst-nodelete2.
13885         (modules-names): Add tst-nodelete2mod.
13886         (tst-nodelete2mod.so-no-z-defs): New.
13887         ($(objpfx)tst-nodelete2): Likewise.
13888         ($(objpfx)tst-nodelete2.out): Likewise.
13889         (LDFLAGS-tst-nodelete2): Likewise.
13890         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13891         out of loop through all loaded libraries.
13892         * elf/tst-nodelete2.c: New file.
13893         * elf/tst-nodelete2mod.c: Likewise.
13894         * elf/tst-znodelete-zlib.cc: Delete.
13896 2015-08-11  Andreas Schwab  <schwab@suse.de>
13898         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13899         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13900         (__openat64_nocancel): Likewise.
13902 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13904         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13905         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13906         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13907         * math/auto-libm-test-out: Regenerated.
13908         * sysdeps/i386/fpu/libm-test-ulps: Update.
13909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #18790]
13914         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13915         threshold for returning +/- 1.
13916         * math/auto-libm-test-in: Add more tests of tanh.
13917         * math/auto-libm-test-out: Regenerated.
13918         * sysdeps/i386/fpu/libm-test-ulps: Update.
13920 2015-08-10  Andreas Schwab  <schwab@suse.de>
13922         [BZ #18781]
13923         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13924         MORE_OFLAGS to oflag.
13925         * io/test-lfs.c (do_test): Test openat64.
13927 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #18789]
13930         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13931         smaller threshold for returning the argument.
13932         * math/auto-libm-test-in: Add more tests of sinh.
13933         * math/auto-libm-test-out: Regenerated.
13934         * sysdeps/i386/fpu/libm-test-ulps: Update.
13936 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13938         [BZ #18674]
13939         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13940         break.
13942 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13944         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13945         (generated): Don't add $(addprefix z.,$(tzfiles)).
13947 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13949         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13950         * scripts/sysd-rules.awk: Likewise.
13952 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13954         * iconvdata/tst-tables.sh: Change echo -n to printf.
13955         * nss/db-Makefile: Likewise.
13956         * posix/tst-getconf.sh: Likewise.
13957         * stdio-common/tst-unbputc.sh: Likewise.
13959 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13961         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13962         MADV_*_PAGES defines behind this feature check.
13964 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13966         [BZ #18480]
13967         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13968         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13969         Define.
13970         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13971         LOAD_REGS_5, LOAD_REGS_6): Update.
13972         (INTERNAL_SYSCALL): Update using new LOAD defines.
13973         (INTERNAL_SYSCALL_NCS): Likewise.
13974         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13976 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13978         [BZ #16734]
13979         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13981 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13983         [BZ #17905]
13984         * catgets/Makefile (tst-catgets-mem): New test.
13985         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13986         * catgets/open_catalog.c (__open_catalog): Likewise.
13987         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13989 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13991         [BZ #18787]
13992         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13993         clobber registers.
13994         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13995         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13996         Cast return to __typeof (oldval).
13998 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14000         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14001         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14002         and delete sys/syscall.h include.
14004 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14006         [BZ #16517]
14007         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14008         (tan): Force underflow exception for arguments with small absolute
14009         value.
14010         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14011         (__kernel_tanf): Force underflow exception for arguments with
14012         small absolute value.
14013         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14014         (__kernel_tanl): Force underflow exception for arguments with
14015         small absolute value.
14016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14017         (__kernel_tanl): Force underflow exception for arguments with
14018         small absolute value.
14019         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14020         (__kernel_tanl): Force underflow exception for arguments with
14021         small absolute value.
14022         * math/auto-libm-test-in: Add more tests of tan.
14023         * math/auto-libm-test-out: Regenerated.
14025 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14027         Fix sysdeps/i386/fpu/s_scalbn.S build
14029         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14031 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14033         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14035 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14037         Fix gcrt0.o compilation
14039         When static-start-installed-name is different from
14040         start-installed-name, we must not use the shared objects.
14042         * csu/Makefile
14043         (extra-objs): Add gmon-start.o when building shared library and
14044         $(static-start-installed-name) is different from
14045         $(start-installed-name).
14046         $(objpfx)g$(static-start-installed-name): When building shared
14047         library and $(static-start-installed-name) is different from
14048         $(static-start-installed-name), revert to non-shared rule,
14049         i.e. using $(objpfx)% and gmon-start.o.
14051 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14053         [BZ #16519]
14054         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14055         (__ieee754_sinh): Force underflow exception for arguments with
14056         small absolute value.
14057         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14058         (__ieee754_sinhf): Force underflow exception for arguments with
14059         small absolute value.
14060         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14061         (__ieee754_sinhl): Force underflow exception for arguments with
14062         small absolute value.
14063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14064         (__ieee754_sinhl): Force underflow exception for arguments with
14065         small absolute value.
14066         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14067         (__ieee754_sinhl): Force underflow exception for arguments with
14068         small absolute value.
14069         * math/auto-libm-test-in: Add more tests of sinh.
14070         * math/auto-libm-test-out: Regenerated.
14071         * sysdeps/i386/fpu/libm-test-ulps: Update.
14073 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14075         * libio/oldfileops.c: Include unistd.h.
14077 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14079         * stdlib/isomac.c: Include ctype.h.
14081 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14083         * dirent/tst-seekdir.c (main): Converted to ...
14084         (do_test): ... this.
14085         (TEST_FUNCTION): New macro.
14086         Include test-skeleton.c.
14087         * elf/tst-dlmodcount.c (main): Converted to ...
14088         (do_test): ... this.
14089         (TEST_FUNCTION): New macro.
14090         Include test-skeleton.c.
14091         * elf/tst-order-main.c (main): Converted to ...
14092         (do_test): ... this.
14093         (TEST_FUNCTION): New macro.
14094         Include test-skeleton.c.
14095         * elf/tst-pie2.c (main): Converted to ...
14096         (do_test): ... this.
14097         (TEST_FUNCTION): New macro.
14098         Include test-skeleton.c.
14099         * inet/tst-ether_aton.c (main): Converted to ...
14100         (do_test): ... this.
14101         (TEST_FUNCTION): New macro.
14102         Include test-skeleton.c.
14103         * misc/tst-mntent.c (main): Converted to ...
14104         (do_test): ... this.
14105         (TEST_FUNCTION): New macro.
14106         Include test-skeleton.c.
14107         * misc/tst-tsearch.c (main): Converted to ...
14108         (do_test): ... this.
14109         (TEST_FUNCTION): New macro.
14110         Include test-skeleton.c.
14111         * posix/tst-regexloc.c (main): Converted to ...
14112         (do_test): ... this.
14113         (TEST_FUNCTION): New macro.
14114         Include test-skeleton.c.
14115         * resolv/tst-aton.c (main): Converted to ...
14116         (do_test): ... this.
14117         (TEST_FUNCTION): New macro.
14118         Include test-skeleton.c.
14119         * stdio-common/test-fwrite.c (main): Converted to ...
14120         (do_test): ... this.
14121         (TEST_FUNCTION): New macro.
14122         Include test-skeleton.c.
14123         * stdio-common/tst-ferror.c (main): Converted to ...
14124         (do_test): ... this.
14125         (TEST_FUNCTION): New macro.
14126         Include test-skeleton.c.
14127         * stdio-common/tst-printf.c (main): Converted to ...
14128         (do_test): ... this.
14129         (TEST_FUNCTION): New macro.
14130         Include test-skeleton.c.
14131         * stdio-common/tst-printfsz.c (main): Converted to ...
14132         (do_test): ... this.
14133         (TEST_FUNCTION): New macro.
14134         Include test-skeleton.c.
14135         * stdlib/tst-strtod.c (main): Converted to ...
14136         (do_test): ... this.
14137         (TEST_FUNCTION): New macro.
14138         Include test-skeleton.c.
14139         * string/tst-strlen.c (main): Converted to ...
14140         (do_test): ... this.
14141         (TEST_FUNCTION): New macro.
14142         Include test-skeleton.c.
14143         * string/tst-svc.c (main): Converted to ...
14144         (do_test): ... this.
14145         (TEST_FUNCTION): New macro.
14146         Include test-skeleton.c.
14147         * time/tst-strptime.c (main): Converted to ...
14148         (do_test): ... this.
14149         (TEST_FUNCTION): New macro.
14150         Include test-skeleton.c.
14151         * timezone/tst-timezone.c (main): Converted to ...
14152         (do_test): ... this.
14153         (TEST_FUNCTION): New macro.
14154         Include test-skeleton.c.
14156 2015-08-05  Zack Weinberg  <zackw@panix.com>
14158         * misc/regexp.h: Update comments.
14160 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14162         [BZ #18635]
14163         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14164         before return label.
14166 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14168         [BZ #18661]
14169         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14170         when calling __errno_location.
14171         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14172         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14174 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14176         [BZ #18661]
14177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14178         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14179         __gettimeofday.
14181 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14183         [BZ #18661]
14184         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14185         (__start_context): Don't use pop to restore %rdi so that stack
14186         is aligned to 16 bytes when calling __setcontext.
14188 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14190         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14191         only for libc.
14192         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14194 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14196         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14197         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14198         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14200 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14202         * string/memccpy.c (memccpy):
14203         Improve performance by using memchr/memcpy/__mempcpy.
14205 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14207         * string/strncpy.c (strncpy):
14208         Improve performance by using __strnlen/memcpy.
14210 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14212         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14213         Optimize to avoid an unnecessary FPCR read.
14215 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14218         Optimize to reduce FPCR/FPSR accesses.
14220 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14222         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14223         dead->data[category] != NULL.
14225 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14227         [BZ #18647]
14228         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14229         and |x| close to 1, use absolute value of x when computing log.
14230         * math/auto-libm-test-in: Add more tests of pow.
14231         * math/auto-libm-test-out: Regenerated.
14233 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14235         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14236         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14237         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14239 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14241         [BZ #18525]
14242         * locales/km_KH: Remove timezone definition.
14243         * locales/lo_LA: Likewise.
14244         * locales/my_MM: Likewise.
14245         * locales/nan_TW@latin: Likewise.
14246         * locales/th_TH: Likewise.
14247         * locales/uk_UA: Likewise.
14249 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14251         [BZ #18265]
14252         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14253         (wcsncat): Likewise.
14254         (wcscmp): Likewise.
14255         (wcsncmp): Likewise.
14257 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14259         * test-skeleton.c (usage): New function.
14260         (main): Call usage when opt is '?'.
14262 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14264         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14265         before first use.
14267 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14269         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14270         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14271         in there too.
14273 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14275         * version.h (RELEASE): Set to "development".
14276         (VERSION): Set to "2.22.90"
14278         * version.h (RELEASE): Set to "stable".
14279         (VERSION): Set to "2.22"
14280         * include/features.h (__GLIBC_MINOR__): Set to 22.
14282 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14284         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14285         Restructure macro to avoid "value computed is not used" warning.
14286         (atomic_compare_and_exchange_val_acq): Likewise.
14288 2015-08-04  Andreas Schwab  <schwab@suse.de>
14290         [BZ #18635]
14291         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14292         ret.
14293         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14295 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14297         * po/pl.po: Updated translation.
14298         * po/uk.po: Likewise.
14299         * po/fi.po: Likewise.
14300         * po/ko.po: Likewise.
14301         * po/ru.po: Likewise.
14302         * po/vi.po: Likewise.
14304 2015-07-31  Zack Weinberg  <zackw@panix.com>
14306         [BZ #18681]
14307         * regexp.h: Add unconditional #warning stating that this header
14308         will be removed soon.  Revise banner comment to match.
14309         (compile): Consistently use ERROR instead of RETURN to report
14310         errors (partial fix for bz#18681).
14311         * regexp.c: Don't include regexp.h. Remove some unnecessary
14312         declarations.
14314 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14316         * po/libc.pot: Regenerated.
14318 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14320         [BZ #18740]
14321         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14322         float-vlen4-arch-ext-cflags): Removed.
14323         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14324         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14326 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14328         [BZ #14113]
14329         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14330         aligned to __aligned__.
14331         (pthread_cond_t, pthread_rwlock_t): Likewise.
14333 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14335         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14337 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14339         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14340         (struct sigaction): Change sa_flags from a long to an int, and add
14341         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14343 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14345         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14346         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14347         sysdeps/generic/sysdep.h include.
14348         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14349         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14350         sysdeps/hppa/sysdep.h.
14351         (ENTRY, PSEUDO): Undefine before defining.
14353 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14355         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14356         from scratch to use INTERNAL_SYSCALL.
14358 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14360         [BZ #18078]
14361         * scripts/check-localplt.awk: Support alternate relocations.
14362         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14363         sections.
14364         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14365         malloc entries with + REL R_386_GLOB_DAT.
14366         * sysdeps/x86_64/localplt.data: New file.
14368 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14370         [BZ #18731]
14371         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14372         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14373         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14375 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14377         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14379 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14381         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14382         directly in terms of __sync_fetch_and_add and delete (int) cast.
14384 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14386         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14387         the -D_ASM_IA64_CURRENT_H flag.
14389 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14391         [BZ #18641]
14392         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14394 2015-07-27  Andreas Schwab  <schwab@suse.de>
14396         * conform/conformtest.pl (checknamespace): Filter out string
14397         literals while tokenizing.
14399 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14401         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14402         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14403         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14405 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14407         * nptl/tst-join7mod.c: Add #include <string.h>.
14409 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14411         * sysdeps/nios2/libm-test-ulps: Update.
14413 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14415         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14416         Fix order of arguments to the rt_sigprocmask syscall.
14417         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14418         Likewise.
14420 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14422         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14424 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14426         [BZ #18457]
14427         * nptl/Makefile (tests): New test case tst-join7.
14428         (modules-names): New test case module tst-join7mod.
14429         * nptl/tst-join7.c: New file.
14430         * nptl/tst-join7mod.c: New file.
14431         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14432         all translation units in libc.so, libpthread.so and rtld.
14434 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14438 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14440         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14442         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14444         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14445         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14447         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14448         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14449         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14452         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14453         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14454         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14455         implementation.
14457 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14459         [BZ #17711]
14460         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14461         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14462         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14463         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14464         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14465         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14467 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14469         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14470         instead of just saying load lock in the comments.
14472 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14474         * sysdeps/unix/Subdirs: Moved ...
14475         * sysdeps/posix/Subdirs: ... here.
14476         * login/pty.h (struct termios, struct winsize): Add forward decls.
14477         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14478         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14479         * sysdeps/arm/nacl/libc.abilist: Updated.
14480         * sysdeps/nacl/libutil.abilist: New file.
14482         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14483         (SIGWINCH): New macro.
14485         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14486         * sysdeps/arm/nacl/libc.abilist: Add it.
14488 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14490         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14492 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14494         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14495         Swap __glibc_reserved0 and sa_flags order.
14497 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14499         [BZ #18657]
14500         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14501         are pending TLS destructor calls.
14502         * include/link.h (struct link_map): Add concurrency note for
14503         L_TLS_DTOR_COUNT.
14504         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14505         Don't touch the link map flag.  Atomically increment
14506         l_tls_dtor_count.
14507         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14508         Avoid taking the load lock and don't touch the link map flag.
14509         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14510         * stdlib/Makefile (tests): Use it.
14511         * stdlib/tst-tls-atexit.c (do_test): dlopen
14512         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14513         to allow tst-tls-atexit-nodelete test case to use it.
14515 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14517         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14518         to bits/types.h.
14519         (msgqnum_t): New typedef.
14520         (msglen_t): Likewise.
14521         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14522         and msg_qbytes type to msglen_t.
14524 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14526         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14527         pad0 to __glibc_reserved0.
14528         (struct stat64): Likewise.
14530 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14532         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14533         Change sa_flags from a long to an int and add __glibc_reserved0 before
14534         it for padding.
14536 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14538         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14539         anonymous by deleting "siginfo" name.
14541 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14543         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14544         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14545         rather than __nacl_irt_filename.
14546         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14548         * NEWS: New item for arm-nacl port.
14549         * sysdeps/arm/nacl/libc.abilist: New file.
14550         * sysdeps/nacl/ld.abilist: New file.
14551         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14552         * sysdeps/nacl/libanl.abilist: New file.
14553         * sysdeps/nacl/libcrypt.abilist: New file.
14554         * sysdeps/nacl/libdl.abilist: New file.
14555         * sysdeps/nacl/libm.abilist: New file.
14556         * sysdeps/nacl/libpthread.abilist: New file.
14557         * sysdeps/nacl/libresolv.abilist: New file.
14558         * sysdeps/nacl/librt.abilist: New file.
14560 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14562         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14563         __startcontext to initialize the new context.
14564         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14565         up CFI directive to forbid further backtracing.
14567 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14569         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14570         reference.
14571         * charmaps/ANSI_X3.4-1968: Likewise.
14572         * charmaps/BS_4730: Likewise.
14573         * charmaps/BS_VIEWDATA: Likewise.
14574         * charmaps/CP1250: Likewise.
14575         * charmaps/CP1251: Likewise.
14576         * charmaps/CP1252: Likewise.
14577         * charmaps/CP1253: Likewise.
14578         * charmaps/CP1254: Likewise.
14579         * charmaps/CP1255: Likewise.
14580         * charmaps/CP1256: Likewise.
14581         * charmaps/CSN_369103: Likewise.
14582         * charmaps/EBCDIC-DK-NO: Likewise.
14583         * charmaps/GB_1988-80: Likewise.
14584         * charmaps/GREEK-CCITT: Likewise.
14585         * charmaps/GREEK7: Likewise.
14586         * charmaps/INIS-8: Likewise.
14587         * charmaps/ISIRI-3342: Likewise.
14588         * charmaps/ISO_2033-1983: Likewise.
14589         * charmaps/ISO_5427-EXT: Likewise.
14590         * locales/POSIX: Likewise.
14591         * locales/ar_SA: Likewise.
14592         * locales/be_BY: Likewise.
14593         * locales/be_BY@latin: Likewise.
14594         * locales/ca_ES: Likewise.
14595         * locales/cs_CZ: Likewise.
14596         * locales/da_DK: Likewise.
14597         * locales/de_BE: Likewise.
14598         * locales/de_CH: Likewise.
14599         * locales/de_LU: Likewise.
14600         * locales/en_AU: Likewise.
14601         * locales/en_BW: Likewise.
14602         * locales/en_CA: Likewise.
14603         * locales/en_DK: Likewise.
14604         * locales/en_GB: Likewise.
14605         * locales/en_IE: Likewise.
14606         * locales/en_NZ: Likewise.
14607         * locales/en_ZA: Likewise.
14608         * locales/en_ZW: Likewise.
14609         * locales/es_AR: Likewise.
14610         * locales/es_BO: Likewise.
14611         * locales/es_CL: Likewise.
14612         * locales/es_CO: Likewise.
14613         * locales/es_DO: Likewise.
14614         * locales/es_EC: Likewise.
14615         * locales/es_ES: Likewise.
14616         * locales/es_HN: Likewise.
14617         * locales/es_MX: Likewise.
14618         * locales/es_PA: Likewise.
14619         * locales/es_PE: Likewise.
14620         * locales/es_PY: Likewise.
14621         * locales/es_SV: Likewise.
14622         * locales/es_US: Likewise.
14623         * locales/es_UY: Likewise.
14624         * locales/es_VE: Likewise.
14625         * locales/et_EE: Likewise.
14626         * locales/fa_IR: Likewise.
14627         * locales/fo_FO: Likewise.
14628         * locales/fr_CA: Likewise.
14629         * locales/fr_CH: Likewise.
14630         * locales/gv_GB: Likewise.
14631         * locales/he_IL: Likewise.
14632         * locales/hr_HR: Likewise.
14633         * locales/id_ID: Likewise.
14634         * locales/is_IS: Likewise.
14635         * locales/it_CH: Likewise.
14636         * locales/iw_IL: Likewise.
14637         * locales/kl_GL: Likewise.
14638         * locales/ko_KR: Likewise.
14639         * locales/kw_GB: Likewise.
14640         * locales/lg_UG: Likewise.
14641         * locales/lt_LT: Likewise.
14642         * locales/lv_LV: Likewise.
14643         * locales/mi_NZ: Likewise.
14644         * locales/nhn_MX: Likewise.
14645         * locales/nl_BE: Likewise.
14646         * locales/pl_PL: Likewise.
14647         * locales/sk_SK: Likewise.
14648         * locales/sl_SI: Likewise.
14649         * locales/sv_FI: Likewise.
14650         * locales/tl_PH: Likewise.
14651         * locales/tr_TR: Likewise.
14652         * locales/vi_VN: Likewise.
14654 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14656         [BZ #17475]
14657         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14658         of tu_IN and bh_IN.
14660 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14662         [BZ #18694]
14663         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14664         bits/wordsize.h.
14665         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14667 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14669         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14670         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14671         (spawn_thread): New function.
14672         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14673         (do_test): ... here.  Use IS_LOADED to test for its
14674         availability.
14676 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14678         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14680 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14682         [BZ #18696]
14683         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14684         si_addr_bnd.
14685         (si_lower): New.
14686         (si_upper): Likewise.
14688 2015-07-16  David S. Miller  <davem@davemloft.net>
14690         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14692 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14694         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14695         buffer.
14696         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14697         fail output information.
14699 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14702         and strstr-ppc64..
14703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14704         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14705         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14706         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14707         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14709 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14711         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14712         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14713         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14714         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14716 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14718         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14719         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14720         rtld_hidden_proto.
14721         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14723 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14725         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14726         the test can fail.
14728         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14730         [BZ #18676]
14731         * elf/tst-nodelete-opened.c: New test case.
14732         * elf/tst-nodelete-opened-lib.c: New test case module.
14733         * elf/Makefile (tests, modules-names): Use them.
14734         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14735         early.
14737 2015-07-15  David S. Miller  <davem@davemloft.net>
14739         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14740         futex-intenal.h
14741         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14742         * sysdeps/sparc/sparc64/Makefile: Likewise.
14743         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14744         Remove space from macro define.
14745         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14747 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14749         [BZ #17475]
14750         * locale/iso-639.def: Update Bhili and Tulu language codes as
14751         per iso639-3.
14753 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14755         * elf/tst-leaks1.c (main): Converted to ...
14756         (do_test): ... this.
14757         (TEST_FUNCTION): New macro.
14758         Include test-skeleton.c.
14759         * localedata/tst-langinfo.c (main): Converted to ...
14760         (do_test): ... this.
14761         (TEST_FUNCTION): New macro.
14762         Include test-skeleton.c.
14763         * math/test-fpucw.c (main): Converted to ...
14764         (do_test): ... this.
14765         (TEST_FUNCTION): New macro.
14766         Include test-skeleton.c.
14767         * math/test-tgmath.c (main): Converted to ...
14768         (do_test): ... this.
14769         (TEST_FUNCTION): New macro.
14770         Include test-skeleton.c.
14771         * math/test-tgmath2.c (main): Converted to ...
14772         (do_test): ... this.
14773         (TEST_FUNCTION): New macro.
14774         Include test-skeleton.c.
14775         * setjmp/tst-setjmp.c (main): Converted to ...
14776         (do_test): ... this.
14777         (TEST_FUNCTION): New macro.
14778         Include test-skeleton.c.
14779         * stdio-common/tst-sscanf.c (main): Converted to ...
14780         (do_test): ... this.
14781         (TEST_FUNCTION): New macro.
14782         Include test-skeleton.c.
14783         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14784         (do_test): ... this.
14785         (TEST_FUNCTION): New macro.
14786         Include test-skeleton.c.
14788         * elf/tst-audit9.c (main): Converted to ...
14789         (do_test): ... this.
14790         (TEST_FUNCTION): New macro.
14791         Include test-skeleton.c.
14793 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14795         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14797 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14799         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14800         New variable.
14802 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14804         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14806 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14808         * sysdeps/generic/dl-fileid.h: New file.
14809         * sysdeps/posix/dl-fileid.h: New file.
14810         * sysdeps/nacl/dl-fileid.h: New file.
14811         * include/link.h: Include <dl-fileid.h>.
14812         (struct link_map): Replace l_dev and l_ino with l_file_id.
14813         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14814         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14815         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14817 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14819         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14821 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14823         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14824         Add iff $CXX is set.
14825         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14826         Likewise.
14827         (tst-nodelete-zmodiff): Likewise.
14828         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14830 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14832         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14834 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14836         * sysdeps/aarch64/fpu/math_private.h
14837         (define math_opt_barrier): Add AArch64 version.
14838         (math_force_eval): Likewise.
14840 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14842         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14844 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14846         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14847         %ld with %jd and cast to intmax_t.
14848         (do_test_length_zero): Likewise.
14850 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14852         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14854 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14856         * sysdeps/tile/libm-test-ulps: Regenerated.
14858         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14859         Comment out the whole function, not just its body.
14861 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14863         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14864         locks.
14866         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14868 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14870         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14871         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14873 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14875         * sysdeps/nptl/futex-internal.h: New file.
14876         * sysdeps/nacl/futex-internal.h: New file.
14877         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14878         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14879         error checking.
14880         (setxid_unmark_thread): Likewise.
14881         (__nptl_setxid): Likewise.
14882         (__wait_lookup_done): Likewise.
14883         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14884         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14885         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14886         * nptl/pthread_once.c (clear_once_control): Likewise.
14887         (__pthread_once_slow): Likewise.
14888         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14889         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14890         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14891         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14892         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14893         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14894         Likewise.
14895         (__pthread_rwlock_rdlock): Likewise.
14896         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14897         Likewise.
14898         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14899         Likewise.
14900         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14901         Likewise.
14902         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14903         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14904         Likewise.
14905         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14906         __ASSUME_PRIVATE_FUTEX check.
14907         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14908         Check that shared futexes are supported.
14909         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14910         wrappers with error checking.
14911         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14912         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14913         * nptl/pthread_barrierattr_setpshared.c
14914         (pthread_barrierattr_setpshared): Check that shared futexes are
14915         supported.
14916         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14917         Likewise.
14918         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14919         Likewise.
14920         * nptl/sem_init.c (futex_private_if_supported): Remove.
14921         (__new_sem_init): Adapt and check that shared futexes are supported.
14922         * nptl/sem_open.c (sem_open): Likewise.
14923         * nptl/sem_post.c (futex_wake): Remove.
14924         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14925         (do_futex_wait): Use futex wrappers with error checking.
14926         * nptl/sem_wait.c: Include lowlevellock.h.
14927         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14928         Use futex_supports_pshared.
14929         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14930         Use futex wrappers with error checking.
14931         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14932         Likewise.
14933         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14934         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14935         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14936         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14937         (futex_wake): Likewise.
14938         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14939         (do_futex_wait): Use futex wrappers with error checking.
14940         (__new_sem_wait_slow): Update EINTR handling.
14941         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14943 2015-07-09  Martin Sebor  <msebor@redhat.com>
14945         [BZ #18435]
14946         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14947         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14948         * nptl/Makefile (test-xfail-tst-once5): Define.
14950 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14952         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14953         * elf/dl-minimal.c: For readability, reorder some definitions and
14954         introduce more page breaks.  Include <stdio.h>.
14955         (__libc_fatal): New function.
14957         * include/unistd.h: Add rtld_hidden_proto for _exit.
14958         * posix/_exit.c: Add rtld_hidden_def.
14959         * sysdeps/mach/hurd/_exit.c: Likewise.
14960         * sysdeps/nacl/_exit.c: Likewise.
14961         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14962         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14964 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14967         bndmov encoding with zero displacement.
14969 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14970             H.J. Lu  <hongjiu.lu@intel.com>
14972         [BZ #18134]
14973         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14974         * sysdeps/i386/configure: Regenerated.
14975         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14976         (_dl_runtime_profile): Save and restore Intel MPX return bound
14977         registers when calling _dl_call_pltexit.  Add
14978         PRESERVE_BND_REGS_PREFIX before return.
14979         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14980         (LRV_BND1_OFFSET): Likewise.
14981         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14982         lrv_bnd1.
14983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14984         typo in bndmov encoding.
14985         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14986         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14987         branch instructions to preserve bounds.
14989 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14992         [GLIBC_2.22]: Add fmemopen.
14994 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14996         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14997         returns an error, also try to use host port from __mach_host_self for
14998         the __vm_wire call.
14999         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15001 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15003         [BZ #18400]
15004         [BZ #18648]
15005         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15006         Fix pr_uid and pr_gid members.
15007         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15008         definition to elf_greg_t.
15010 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15012         [BZ #18383]
15013         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15014         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15015         * sysdeps/arm/configure: Regenerated.
15016         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15017         (test-xfail-tst-tlsalign-static): Variable removed.
15019         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15020         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15021         rather than explicit 'ln -s'.
15023         * resolv/rpc/netdb.h: New file.
15024         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15026 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15028         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15029         length buffers.
15030         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15031         test-skeleton.c.
15033         [BZ #6544]
15034         [BZ #11216]
15035         [BZ #12836]
15036         [BZ #13151]
15037         [BZ #13152]
15038         [BZ #14292]
15039         * include/stdio.h (fmemopen): Remove hidden prototype.
15040         (__fmemopen): Add new hidden prototype.
15041         * libio/Makefile: Add oldfmemopen object.
15042         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15043         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15044         compliance.
15045         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15046         symbol compatibility.
15047         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15048         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15049         fmemopen.
15050         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15051         on append and read mode.
15052         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15053         fmemopen.
15054         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15055         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15056         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15057         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15060         [GLIBC_2.22]: Likewise.
15061         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15064         Likewise.
15065         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15066         [GLIBC_2.22]: Likewise.
15067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15068         [GLIBC_2.22]: Likewise.
15069         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15070         [GLIBC_2.22]: Likewise.
15071         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15072         [GLIBC_2.22]: Likewise.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15074         [GLIBC_2.22]: Likewise.
15075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15076         [GLIBC_2.22]: Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15078         [GLIBC_2.22]: Likewise.
15079         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15082         Likewise.
15083         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15084         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15085         [GLIBC_2.22]: Likewise.
15086         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15087         [GLIBC_2.22]: Likewise.
15088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15089         [GLIBC_2.22]: Likewise.
15090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15091         [GLIBC_2.22]: Likewise.
15092         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15095         Likewise.
15096         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15097         Likewise.
15098         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15099         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15101 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15103         [BZ #18643]
15104         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15105         IPV6_PATHMTU, and IPV6_DONTFRAG.
15107 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15109         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15110         and _IO_UNBUFFERED.
15111         * libio/oldfileops.c: Likewise.
15112         * libio/wfileops.c: Likewise.
15114 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15116         * nscd/selinux.c: Delete selinux/flask.h include.
15118 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15120         [BZ #18641]
15121         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15122         (putpwent): Likewise.
15123         (getpwnam): Likewise.
15124         (getpwent_r): Likewise.
15125         (getpwuid_r): Likewise.
15126         (getpwnam_r): Likewise.
15127         (fgetpwent_r): Likewise.
15129 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15131         [BZ #18557]
15132         * inet/rcmd.c (__validuser2_sa): Check user first to
15133         short-circuit host check.
15135 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15136             Mikhail Ilin  <m.ilin@samsung.com>
15138         [BZ #17833]
15139         * elf/Makefile (tests): Add tst-nodelete.
15140         (modules-names): Add tst-nodelete-uniquemod.
15141         (tst-nodelete-uniquemod.so-no-z-defs): New.
15142         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15143         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15144         ($(objpfx)tst-nodelete): Likewise.
15145         ($(objpfx)tst-nodelete.out): Likewise.
15146         (LDFLAGS-tst-nodelete): Likewise.
15147         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15148         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15149         implement forced object deletion.
15150         (_dl_close): Pass false to _dl_close_worker.
15151         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15152         * elf/tst-nodelete.cc: New file.
15153         * elf/tst-nodeletelib.cc: Likewise.
15154         * elf/tst-znodeletelib.cc: Likewise.
15155         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15157 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15159         [BZ #18508]
15160         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15161         Depend on $(libdl).
15162         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15163         is not called infinitely times.
15164         (backtrace_helper): New function.
15165         (trace_arg): New struct.
15166         (st1): Enlarge stack size.
15167         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15168         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15169         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15170         Likewise.
15172 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15174         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15176 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15178         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15179         Include sys/types.h instead of bits/types.h.
15180         Remove inclusion of bits/wordsize.h.
15182 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15184         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15185         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15186         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15187         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15188         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15189         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15191 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15193         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15194         link-defines.sym.
15195         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15196         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15197         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15198         and LR_SIZE.
15199         * sysdeps/i386/link-defines.sym: New file.
15201 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15203         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15204         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15205         ($(objpfx)tst-audit3): New rule.
15206         ($(objpfx)tst-audit3.out): Likewise.
15207         * sysdeps/i386/tst-audit3.c: New file.
15208         * sysdeps/i386/tst-audit3.h: Likewise.
15209         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15210         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15212 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15214         [BZ #18633]
15215         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15216         pointer in C code.
15217         (__strcat_c): Likewise.
15218         (__strcat_g): Likewise.
15220 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15222         [BZ #18592]
15223         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15225 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15227         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15228         New function.  (__ieee754_sqrtf): New function.
15229         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15230         New function.
15231         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15232         New function.
15234 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15236         * sysdeps/ieee754/support.c: Remove unused file.
15238 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15240         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15241         registers instead of d ones so the layout is kernel abi compatible.
15242         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15243         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15244         Likewise.
15246 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15248         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15250 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15252         [BZ #18619]
15253         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15254         and return argument in case of subnormal argument.
15256 2015-07-01  Martin Sebor  <msebor@redhat.com>
15258         [BZ #18435]
15259         * nptl/Makefile: Add tst-once5.cc.
15260         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15261         Remove macro redefinitions.
15262         * nptl/tst-once5.cc: New test.
15264 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15266         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15268         * sysdeps/arm/libm-test-ulps: Regenerated.
15270         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15273 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15275         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15276         lll_lock_wait_private and lll_futex_wake probes.
15278         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15279         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15280         Likewise.
15281         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15282         atomic_spin_nop.
15283         * sysdeps/x86_64/bits/atomic.h: Likewise.
15284         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15285         to atomic_spin_nop and move ...
15286         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15287         ... here and ...
15288         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15289         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15290         atomic_spin_nop instead of BUSY_WAIT_NOP.
15291         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15292         Likewise.
15293         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15294         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15295         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15296         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15297         instead of atomic_delay.
15299 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15301         [BZ #18613]
15302         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15303         X_ADJ not X when adjusting exponent.
15304         (__ieee754_gamma_r): Do intermediate computations in
15305         round-to-nearest then adjust overflowing and underflowing results
15306         as needed.
15307         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15308         of X_ADJ not X when adjusting exponent.
15309         (__ieee754_gammaf_r): Do intermediate computations in
15310         round-to-nearest then adjust overflowing and underflowing results
15311         as needed.
15312         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15313         log of X_ADJ not X when adjusting exponent.
15314         (__ieee754_gammal_r): Do intermediate computations in
15315         round-to-nearest then adjust overflowing and underflowing results
15316         as needed.  Use 1.0L not 1.0f as numerator of division.
15317         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15318         log of X_ADJ not X when adjusting exponent.
15319         (__ieee754_gammal_r): Do intermediate computations in
15320         round-to-nearest then adjust overflowing and underflowing results
15321         as needed.  Use 1.0L not 1.0f as numerator of division.
15322         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15323         of X_ADJ not X when adjusting exponent.
15324         (__ieee754_gammal_r): Do intermediate computations in
15325         round-to-nearest then adjust overflowing and underflowing results
15326         as needed.  Use 1.0L not 1.0f as numerator of division.
15327         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15328         to auto-libm-test-in.
15329         (tgamma_test): Use ALL_RM_TEST.
15330         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15331         tests of tgamma with spurious-overflow.
15332         * math/auto-libm-test-out: Regenerated.
15333         * math/gen-libm-have-vector-test.sh: Do not check for START.
15334         * sysdeps/i386/fpu/libm-test-ulps: Update.
15335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337         [BZ #18612]
15338         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15339         arguments, just return 0.5 times the argument, with underflow
15340         forced as needed.
15341         * math/auto-libm-test-in: Add more tests of j1.
15342         * math/auto-libm-test-out: Regenerated.
15344         [BZ #16559]
15345         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15346         (__ieee754_j1): Force underflow exception for small results.
15347         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15348         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15349         (__ieee754_j1f): Force underflow exception for small results.
15350         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15351         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15352         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15353         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15354         (__ieee754_j1l): Force underflow exception for small results.
15355         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15356         * math/auto-libm-test-in: Add more tests of j1 and jn.
15357         * math/auto-libm-test-out: Regenerated.
15359         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15360         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15361         (PF_MPLS): Likewise.
15362         (AF_IB): Likewise.
15363         (AF_MPLS): Likewise.
15364         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15365         value and macro.
15366         (MS_RMT_MASK): Include MS_LAZYTIME.
15368 2015-06-26  Mel Gorman  <mgorman@suse.de>
15370         [BZ #18502]
15371         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15372         already minimal.
15374 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15376         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15377         (DT_MIPS_NUM): Update.
15378         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15379         DT_MIPS_RLD_MAP_REL.
15381 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #16559]
15384         [BZ #18602]
15385         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15386         round-to-nearest internally then recompute results that
15387         underflowed to zero in the original rounding mode.
15388         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15389         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15392         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15393         * sysdeps/i386/fpu/libm-test-ulps: Update.
15394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15396 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15398         * NEWS: Fixed description of link with vector math library.
15400 2015-06-25  Andreas Schwab  <schwab@suse.de>
15402         [BZ #18549]
15403         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15404         * libio/test-fmemopen.c (do_test): Add test for it.
15406 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15408         [BZ #17841]
15409         * Makeconfig (no-pie-ldflag): New.
15410         (+link): Set to $(+link-pie) if default to PIE.
15411         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15412         * config.make.in (build-pie-default): New.
15413         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15414         is default.  AC_SUBST.
15415         * configure: Regenerated.
15416         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15418 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15420         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15421         to 'unsigned int'.
15423         * resolv/gai_misc.h (struct waitlist): Change type of field
15424         counterp to 'volatile unsigned int *'.
15425         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15426         FUTEXADDR and OLDVAL.
15427         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15428         Give local variable TOTAL type 'volatile unsigned int'.
15429         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15430         * resolv/gai_suspend.c (gai_suspend):
15431         Give local variable CNTR type 'unsigned int'.
15433         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15434         counterp to 'volatile unsigned int *'.
15435         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15436         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15437         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15438         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15439         Give local variable TOTAL type 'volatile unsigned int'.
15440         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15442 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15444         [BZ #18383]
15445         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15446         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15447         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15448         comment for i386/x86-64.
15449         (test-xfail-tst-tlsalign-extern-static): Removed.
15451 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15453         * math/test-double.h: New file.
15454         * math/test-float.h: Likewise.
15455         * math/test-ldouble.h: Likewise.
15456         * math/test-math-inline.h: Likewise.
15457         * math/test-math-no-inline.h: Likewise.
15458         * math/test-math-scalar.h: Likewise.
15459         * math/test-math-vector.h: Likewise.
15460         * math/test-vec-loop.h: Remove file.  Contents moved into
15461         test-math-vector.h.
15462         * math/libm-test.inc (MATHCONST): Do not document macro.
15463         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15464         and test-math-scalar.h.
15465         (FUNC): Remove macro.
15466         (FUNC_TEST): Likewise.
15467         (FLOAT): Likewise.
15468         (MATHCONST): Likewise.
15469         (PRINTF_EXPR): Likewise.
15470         (PRINTF_XEXPR): Likewise.
15471         (PRINTF_NEXPR): Likewise.
15472         (TEST_DOUBLE): Likewise.
15473         (TEST_MATHVEC): Likewise.
15474         (__NO_MATH_INLINES): Likewise.
15475         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15476         and test-math-scalar.h.
15477         (FUNC): Remove macro.
15478         (FUNC_TEST): Likewise.
15479         (FLOAT): Likewise.
15480         (MATHCONST): Likewise.
15481         (PRINTF_EXPR): Likewise.
15482         (PRINTF_XEXPR): Likewise.
15483         (PRINTF_NEXPR): Likewise.
15484         (TEST_FLOAT): Likewise.
15485         (TEST_MATHVEC): Likewise.
15486         (__NO_MATH_INLINES): Likewise.
15487         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15488         and test-math-scalar.h.
15489         (FUNC): Remove macro.
15490         (FUNC_TEST): Likewise.
15491         (FLOAT): Likewise.
15492         (MATHCONST): Likewise.
15493         (PRINTF_EXPR): Likewise.
15494         (PRINTF_XEXPR): Likewise.
15495         (PRINTF_NEXPR): Likewise.
15496         (TEST_DOUBLE): Likewise.
15497         (TEST_MATHVEC): Likewise.
15498         (TEST_INLINE): Likewise.
15499         (__NO_MATH_INLINES): Likewise.
15500         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15501         test-math-scalar.h.
15502         (FUNC): Remove macro.
15503         (FUNC_TEST): Likewise.
15504         (FLOAT): Likewise.
15505         (MATHCONST): Likewise.
15506         (PRINTF_EXPR): Likewise.
15507         (PRINTF_XEXPR): Likewise.
15508         (PRINTF_NEXPR): Likewise.
15509         (TEST_FLOAT): Likewise.
15510         (TEST_MATHVEC): Likewise.
15511         (TEST_INLINE): Likewise.
15512         (__NO_MATH_INLINES): Likewise.
15513         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15514         and test-math-scalar.h.
15515         (FUNC): Remove macro.
15516         (FUNC_TEST): Likewise.
15517         (FLOAT): Likewise.
15518         (MATHCONST): Likewise.
15519         (PRINTF_EXPR): Likewise.
15520         (PRINTF_XEXPR): Likewise.
15521         (PRINTF_NEXPR): Likewise.
15522         (TEST_LDOUBLE): Likewise.
15523         (TEST_MATHVEC): Likewise.
15524         (TEST_INLINE): Likewise.
15525         (__NO_MATH_INLINES): Likewise.
15526         * math/test-ldouble.c: Include test-ldouble.h,
15527         test-math-no-inline.h and test-math-scalar.h.
15528         (FUNC): Remove macro.
15529         (FUNC_TEST): Likewise.
15530         (FLOAT): Likewise.
15531         (MATHCONST): Likewise.
15532         (PRINTF_EXPR): Likewise.
15533         (PRINTF_XEXPR): Likewise.
15534         (PRINTF_NEXPR): Likewise.
15535         (TEST_LDOUBLE): Likewise.
15536         (TEST_MATHVEC): Likewise.
15537         (__NO_MATH_INLINES): Likewise.
15538         * math/test-double-vlen2.h: Include test-double.h,
15539         test-math-no-inline.h and test-math-vector.h.
15540         (FLOAT): Remove macro.
15541         (FUNC): Likewise.
15542         (MATHCONST): Likewise.
15543         (PRINTF_EXPR): Likewise.
15544         (PRINTF_XEXPR): Likewise.
15545         (PRINTF_NEXPR): Likewise.
15546         (TEST_DOUBLE): Likewise.
15547         (TEST_MATHVEC): Likewise.
15548         (__NO_MATH_INLINES): Likewise.
15549         (CNCT): Likewise.
15550         (CONCAT): Likewise.
15551         (WRAPPER_NAME): Likewise.
15552         (WRAPPER_DECL): Likewise.
15553         (WRAPPER_DECL_ff): Likewise.
15554         (WRAPPER_DECL_fFF): Likewise.
15555         (VECTOR_WRAPPER): Likewise.
15556         (VECTOR_WRAPPER_ff): Likewise.
15557         (VECTOR_WRAPPER_fFF): Likewise.
15558         (VEC_LEN): New macro.
15559         * math/test-double-vlen4.h: Include test-double.h,
15560         test-math-no-inline.h and test-math-vector.h.
15561         (FLOAT): Remove macro.
15562         (FUNC): Likewise.
15563         (MATHCONST): Likewise.
15564         (PRINTF_EXPR): Likewise.
15565         (PRINTF_XEXPR): Likewise.
15566         (PRINTF_NEXPR): Likewise.
15567         (TEST_DOUBLE): Likewise.
15568         (TEST_MATHVEC): Likewise.
15569         (__NO_MATH_INLINES): Likewise.
15570         (CNCT): Likewise.
15571         (CONCAT): Likewise.
15572         (WRAPPER_NAME): Likewise.
15573         (WRAPPER_DECL): Likewise.
15574         (WRAPPER_DECL_ff): Likewise.
15575         (WRAPPER_DECL_fFF): Likewise.
15576         (VECTOR_WRAPPER): Likewise.
15577         (VECTOR_WRAPPER_ff): Likewise.
15578         (VECTOR_WRAPPER_fFF): Likewise.
15579         (VEC_LEN): New macro.
15580         * math/test-double-vlen8.h: Include test-double.h,
15581         test-math-no-inline.h and test-math-vector.h.
15582         (FLOAT): Remove macro.
15583         (FUNC): Likewise.
15584         (MATHCONST): Likewise.
15585         (PRINTF_EXPR): Likewise.
15586         (PRINTF_XEXPR): Likewise.
15587         (PRINTF_NEXPR): Likewise.
15588         (TEST_DOUBLE): Likewise.
15589         (TEST_MATHVEC): Likewise.
15590         (__NO_MATH_INLINES): Likewise.
15591         (CNCT): Likewise.
15592         (CONCAT): Likewise.
15593         (WRAPPER_NAME): Likewise.
15594         (WRAPPER_DECL): Likewise.
15595         (WRAPPER_DECL_ff): Likewise.
15596         (WRAPPER_DECL_fFF): Likewise.
15597         (VECTOR_WRAPPER): Likewise.
15598         (VECTOR_WRAPPER_ff): Likewise.
15599         (VECTOR_WRAPPER_fFF): Likewise.
15600         (VEC_LEN): New macro.
15601         * math/test-float-vlen4.h: Include test-float.h,
15602         test-math-no-inline.h and test-math-vector.h.
15603         (FLOAT): Remove macro.
15604         (FUNC): Likewise.
15605         (MATHCONST): Likewise.
15606         (PRINTF_EXPR): Likewise.
15607         (PRINTF_XEXPR): Likewise.
15608         (PRINTF_NEXPR): Likewise.
15609         (TEST_FLOAT): Likewise.
15610         (TEST_MATHVEC): Likewise.
15611         (__NO_MATH_INLINES): Likewise.
15612         (CNCT): Likewise.
15613         (CONCAT): Likewise.
15614         (WRAPPER_NAME): Likewise.
15615         (WRAPPER_DECL): Likewise.
15616         (WRAPPER_DECL_ff): Likewise.
15617         (WRAPPER_DECL_fFF): Likewise.
15618         (VECTOR_WRAPPER): Likewise.
15619         (VECTOR_WRAPPER_ff): Likewise.
15620         (VECTOR_WRAPPER_fFF): Likewise.
15621         (VEC_LEN): New macro.
15622         * math/test-float-vlen8.h: Include test-float.h,
15623         test-math-no-inline.h and test-math-vector.h.
15624         (FLOAT): Remove macro.
15625         (FUNC): Likewise.
15626         (MATHCONST): Likewise.
15627         (PRINTF_EXPR): Likewise.
15628         (PRINTF_XEXPR): Likewise.
15629         (PRINTF_NEXPR): Likewise.
15630         (TEST_FLOAT): Likewise.
15631         (TEST_MATHVEC): Likewise.
15632         (__NO_MATH_INLINES): Likewise.
15633         (CNCT): Likewise.
15634         (CONCAT): Likewise.
15635         (WRAPPER_NAME): Likewise.
15636         (WRAPPER_DECL): Likewise.
15637         (WRAPPER_DECL_ff): Likewise.
15638         (WRAPPER_DECL_fFF): Likewise.
15639         (VECTOR_WRAPPER): Likewise.
15640         (VECTOR_WRAPPER_ff): Likewise.
15641         (VECTOR_WRAPPER_fFF): Likewise.
15642         (VEC_LEN): New macro.
15643         * math/test-float-vlen16.h: Include test-float.h,
15644         test-math-no-inline.h and test-math-vector.h.
15645         (FLOAT): Remove macro.
15646         (FUNC): Likewise.
15647         (MATHCONST): Likewise.
15648         (PRINTF_EXPR): Likewise.
15649         (PRINTF_XEXPR): Likewise.
15650         (PRINTF_NEXPR): Likewise.
15651         (TEST_FLOAT): Likewise.
15652         (TEST_MATHVEC): Likewise.
15653         (__NO_MATH_INLINES): Likewise.
15654         (CNCT): Likewise.
15655         (CONCAT): Likewise.
15656         (WRAPPER_NAME): Likewise.
15657         (WRAPPER_DECL): Likewise.
15658         (WRAPPER_DECL_ff): Likewise.
15659         (WRAPPER_DECL_fFF): Likewise.
15660         (VECTOR_WRAPPER): Likewise.
15661         (VECTOR_WRAPPER_ff): Likewise.
15662         (VECTOR_WRAPPER_fFF): Likewise.
15663         (VEC_LEN): New macro.
15664         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15665         test-vec-loop.h.
15666         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15668         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15669         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15670         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15672         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15674 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15676         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15677         (__getlogin_r): ... this.
15679 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15681         [BZ #18594]
15682         * math/s_ccosh.c (__ccosh): Compare with least normal value
15683         instead of comparing class with FP_SUBNORMAL.
15684         * math/s_ccoshf.c (__ccoshf): Likewise.
15685         * math/s_ccoshl.c (__ccoshl): Likewise.
15686         * math/s_cexp.c (__cexp): Likewise.
15687         * math/s_cexpf.c (__cexpf): Likewise.
15688         * math/s_cexpl.c (__cexpl): Likewise.
15689         * math/s_csin.c (__csin): Likewise.
15690         * math/s_csinf.c (__csinf): Likewise.
15691         * math/s_csinh.c (__csinh): Likewise.
15692         * math/s_csinhf.c (__csinhf): Likewise.
15693         * math/s_csinhl.c (__csinhl): Likewise.
15694         * math/s_csinl.c (__csinl): Likewise.
15695         * math/s_ctan.c (__ctan): Likewise.
15696         * math/s_ctanf.c (__ctanf): Likewise.
15697         * math/s_ctanh.c (__ctanh): Likewise.
15698         * math/s_ctanhf.c (__ctanhf): Likewise.
15699         * math/s_ctanhl.c (__ctanhl): Likewise.
15700         * math/s_ctanl.c (__ctanl): Likewise.
15701         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15702         csin, csinh, ctan and ctanh.
15703         * math/auto-libm-test-out: Regenerated.
15704         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15705         * sysdeps/i386/fpu/libm-test-ulps: Update.
15706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15710         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15711         return value is wrong, print the expected value too.
15713 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15715         [BZ #18585]
15716         * elf/readlib.c (is_gdb_python_file): New.
15717         (process_file): Don't issue errors on filenames with -gdb.py
15718         suffix.
15720 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15722         * math/auto-libm-test-in: Add more tests of csin and csinh.
15723         * math/auto-libm-test-out: Regenerated.
15724         * math/libm-test.inc (csin_test_data): Remove tests moved to
15725         auto-libm-test-in.
15726         (csinh_test_data): Likewise.
15728         [BZ #18593]
15729         * math/s_csin.c (__csin): Negate before rather than after possibly
15730         overflowing multiplication.
15731         * math/s_csinf.c (__csinf): Likewise.
15732         * math/s_csinh.c (__csinh): Likewise.
15733         * math/s_csinhf.c (__csinhf): Likewise.
15734         * math/s_csinhl.c (__csinhl): Likewise.
15735         * math/s_csinl.c (__csinl): Likewise.
15736         * math/auto-libm-test-in: Add some tests of csin and csinh.
15737         * math/auto-libm-test-out: Regenerated.
15738         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15739         (csinh_test_data): Likewise.
15740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15742         [BZ #18586]
15743         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15744         underflow exception for small results.
15746 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15749         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15750         variable and included header.
15751         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15754         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15755         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15756         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15757         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15758         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15759         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15760         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15761         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15762         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15763         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15764         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15765         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15766         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15768 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15770         [BZ #16526]
15771         [BZ #16538]
15772         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15773         (__sin): Force underflow exception for arguments with small
15774         absolute value.
15775         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15776         (__kernel_sinf): Force underflow exception for arguments with
15777         small absolute value.
15778         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15779         (__kernel_sincosl): Force underflow exception for arguments with
15780         small absolute value.
15781         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15782         (__kernel_sinl): Force underflow exception for arguments with
15783         small absolute value.
15784         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15785         (__kernel_sincosl): Force underflow exception for arguments with
15786         small absolute value.
15787         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15788         (__kernel_sinl): Force underflow exception for arguments with
15789         small absolute value.
15790         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15791         (__kernel_sinl): Force underflow exception for arguments with
15792         small absolute value.
15793         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15794         (__kernel_sinf): Force underflow exception for arguments with
15795         small absolute value.
15796         * math/auto-libm-test-in: Add more tests of sin and sincos.
15797         * math/auto-libm-test-out: Regenerated.
15799         [BZ #18245]
15800         [BZ #18583]
15801         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15802         (__kernel_standard_l): Use feholdexcept and fesetenv around
15803         conversion to double instead of special-casing overflow and
15804         underflow.
15805         * math/libm-test.inc (fmod_test_data): Add more tests.
15806         (remainder_test_data): Likewise.
15807         (sqrt_test_data): Likewise.
15809 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15811         [BZ #17403]
15812         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15813         atomic_read_barrier, atomic_write_barrier): Define.
15814         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15815         atomic_read_barrier, atomic_write_barrier): Define.
15817 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15819         * math/Makefile [$(PERL) != no]
15820         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15821         dependency on libm-test.stmp below the inclusion of Rules.
15823 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15827         and included header.
15828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15831         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15832         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15835         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15836         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15837         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15838         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15839         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15840         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15841         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15842         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15843         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15844         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15845         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15846         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15848 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15850         [BZ #18371]
15851         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15852         intermediate but not final result might underflow.
15853         * math/s_csqrtf.c (__csqrtf): Likewise.
15854         * math/s_csqrtl.c (__csqrtl): Likewise.
15855         * math/auto-libm-test-in: Add more tests of csqrt.
15856         * math/auto-libm-test-out: Regenerated.
15857         * sysdeps/i386/fpu/libm-test-ulps: Update.
15859         [BZ #18219]
15860         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15861         threshold on absolute value of exponent for which scaling is used.
15862         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15863         * math/auto-libm-test-in: Add more tests of exp2.
15864         * math/auto-libm-test-out: Regenerated.
15866 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15868         [BZ #17977]
15869         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15870         when initializing interface list, based on the bug analysis
15871         and the patch proposed by Eric Newton.
15872         * resolv/tst-res_hconf_reorder.c: New test.
15873         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15874         tst-res_hconf_reorder.
15875         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15876         and $(shared-thread-library).
15877         (tst-res_hconf_reorder-ENV): New variable.
15879         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15880         in comment.
15882 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15884         [BZ #16353]
15885         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15886         (__expm1): Force underflow exception for arguments with small
15887         absolute value.
15888         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15889         (__expm1f): Force underflow exception for arguments with small
15890         absolute value.
15891         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15892         (__expm1): Force underflow exception for arguments with small
15893         absolute value.
15894         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15895         (__expm1f): Force underflow exception for arguments with small
15896         absolute value.
15897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15898         Check for small arguments before calling __expm1.
15899         * math/auto-libm-test-in: Do not mark underflow exceptions as
15900         possibly missing for bug 16353.
15901         * math/auto-libm-test-out: Regenerated.
15903 2015-06-22  Andreas Schwab  <schwab@suse.de>
15905         [BZ #18513]
15906         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15907         PTR queries.
15909 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15911         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15913         * string/strcoll_l.c: Remove unused struct element idxnow.
15915 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15917         [BZ #18569]
15918         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15919         underflow and return argument in case of subnormal argument.
15920         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15921         Likewise.
15922         * math/auto-libm-test-in: Add more tests of expm1.
15923         * math/auto-libm-test-out: Regenerated.
15925         [BZ #16361]
15926         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15927         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15928         tiny results.
15929         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15930         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15931         tiny results.
15932         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15933         mark underflow exceptions as possibly missing for bug 16361.
15934         * math/auto-libm-test-out: Regenerated.
15936 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15938         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15939         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15940         Remove variable.
15941         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15942         (test-xfail-XOPEN2K8/utmpx.h/conform).
15944         * conform/conformtest.pl ($xerrors): New variable.
15945         (note_error): New function.
15946         (compiletest): New argument $xfail.  Use not_error.
15947         (runtest): Likewise.
15948         (top level): Handle xfail- lines.  Update calls to compiletest and
15949         runtest.  Handle xfail- and optional- in headers listed with
15950         allow-header.
15951         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15952         (O_EXEC): Likewise.
15953         (O_SEARCH): Likewise.
15954         * conform/data/stropts.h-data (ioctl): Likewise.
15955         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15956         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15957         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15958         (msghdr.msg_controllen): Likewise.
15959         (cmsghdr.cmsg_len): Likewise.
15960         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15961         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15962         variable.
15963         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15964         (test-xfail-XPG4/stropts.h/conform): Likewise.
15965         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15966         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15967         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15968         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15969         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15970         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15971         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15972         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15973         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15974         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15975         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15976         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15977         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15978         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15979         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15980         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15981         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15982         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15983         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15985 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15987         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15988         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15989         definitions for proper unfolding of __MATHDECL_VEC.
15991 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15993         * benchtests/bench-strcoll.c:
15994         Include string.h.
15995         (main): Remove unused variable res.
15997 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15999         * timezone/Makefile (%/UTC %/Universal):
16000         Generate test-result files for UTC and Universal.
16002 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16004         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16006 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16008         [BZ #16350]
16009         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16010         for arguments with small absolute value.
16011         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16012         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16013         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16014         (__asinh): Force underflow exception for arguments with small
16015         absolute value.
16016         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16017         (__asinhf): Force underflow exception for arguments with small
16018         absolute value.
16019         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16020         (__asinhl): Force underflow exception for arguments with small
16021         absolute value.
16022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16023         (__asinhl): Force underflow exception for arguments with small
16024         absolute value.
16025         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16026         (__asinhl): Force underflow exception for arguments with small
16027         absolute value.
16028         * math/auto-libm-test-in: Do not mark underflow exceptions as
16029         possibly missing for bug 16350.
16030         * math/auto-libm-test-out: Regenerated.
16032         * include/bits/ipc.h: Remove file.
16033         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16034         variable.
16035         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16036         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16037         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16038         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16039         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16040         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16041         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16042         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16043         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16045         * math/auto-libm-test-in: Remove spurious underflow allowance for
16046         tests of cexp.
16047         * math/auto-libm-test-out: Regenerated.
16049         [BZ #18558]
16050         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16051         unconditional definition.
16052         (MCAST_BLOCK_SOURCE): Likewise.
16053         (MCAST_UNBLOCK_SOURCE): Likewise.
16054         (MCAST_LEAVE_GROUP): Likewise.
16055         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16056         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16057         (MCAST_MSFILTER): Likewise.
16058         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16059         Remove variable.
16060         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16061         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16062         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16063         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16064         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16066 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16068         * NEWS: Mention addition of x86_64 vector sincosf.
16069         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16070         * math/test-float-vlen4.h: Likewise.
16071         * math/test-float-vlen8.h: Likewise.
16072         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16073         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16075         * sysdeps/x86_64/fpu/Versions: New versions added.
16076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16077         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16078         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16079         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16085         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16086         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16087         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16088         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16089         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16090         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16091         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16092         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16093         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16094         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16095         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16098         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16099         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16101         * NEWS: Mention addition of x86_64 vector sincos.
16102         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16103         * math/math.h (__MATHDECL_VEC): New macro.
16104         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16105         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16106         declaration under condition.
16107         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16108         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16109         TEST_VEC_LOOP change.
16110         * math/test-double-vlen4.h: Likewise.
16111         * math/test-double-vlen8.h: Likewise.
16112         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16113         * math/test-float-vlen4.h: Likewise.
16114         * math/test-float-vlen8.h: Likewise.
16115         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16116         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16117         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16118         * sysdeps/x86_64/fpu/Versions: New versions added.
16119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16120         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16121         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16126         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16128         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16129         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16130         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16131         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16132         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16133         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16134         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16135         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16136         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16137         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16138         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16139         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16140         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16141         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16142         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16144         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16145         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16146         redirections for powf.
16147         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16148         * sysdeps/x86_64/fpu/Versions: New versions added.
16149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16150         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16151         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16152         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16153         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16154         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16155         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16156         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16157         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16158         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16159         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16160         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16161         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16162         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16163         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16164         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16165         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16166         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16167         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16168         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16169         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16170         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16171         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16172         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16173         * math/test-float-vlen16.h: Fixed 2 argument macro.
16174         * math/test-float-vlen4.h: Likewise.
16175         * math/test-float-vlen8.h: Likewise.
16176         * NEWS: Mention addition of x86_64 vector powf.
16178 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16180         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16181         and redefine.
16182         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16183         and redefine.
16184         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16185         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16188         [BZ #18553]
16189         * resource/getpriority.c (getpriority): Rename to __getpriority
16190         and define as weak alias of __getpriority.
16191         * resource/setpriority.c (setpriority): Rename to __setpriority
16192         and define as weak alias of __setpriority.
16193         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16194         __getpriority and define as weak alias of __getpriority.
16195         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16196         __setpriority and define as weak alias of __setpriority.
16197         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16198         strong name.
16199         (setpriority): Use __setpriority as strong name.
16200         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16201         __getpriority and define as weak alias of __getpriority.
16202         * include/sys/resource.h (__getpriority): Declare.  Use
16203         libc_hidden_proto.
16204         (__setpriority): Likewise.
16205         (getpriority): Don't use libc_hidden_proto.
16206         (setpriority): Likewise.
16207         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16208         getpriority.  Call __setpriority instead of setpriority.
16209         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16210         Remove variable.
16212         [BZ #18547]
16213         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16214         as weak alias of __getttynam.  Use prototype function definition.
16215         Call __setttyent, __getttyent and __endttyent instead of
16216         setttyent, getttyent and endttyent.
16217         (getttyent): Rename to __getttyent and define as weak alias of
16218         __getttyent.  Call __setttyent instead of setttyent.  Call
16219         __fgets_unlocked instead of fgets_unlocked.
16220         (setttyent): Rename to __setttyent and define as weak alias of
16221         __setttyent.
16222         (endttyent): Rename to __endttyent and define as weak alias of
16223         __endttyent.
16224         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16225         (__setttyent): Likewise.
16226         (__endttyent): Likewise.
16227         (getttyent): Don't use libc_hidden_proto.
16228         (setttyent): Likewise.
16229         (endttyent): Likewise.
16230         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16231         __endttyent instead of setttyent, getttyent and endttyent.
16232         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16233         Remove variable.
16235         [BZ #18546]
16236         * socket/recv.c (__recv): Use libc_hidden_def.
16237         * socket/socket.c (__socket): Likewise.
16238         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16239         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16240         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16241         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16242         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16243         libc_hidden_def.
16244         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16245         libc_hidden_weak.
16246         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16247         Use libc_hidden_proto.
16248         (__recv): Likewise.
16249         * socket/Versions (libc): Export __recv and __socket at version
16250         GLIBC_PRIVATE.
16251         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16252         instead of recv.
16253         (init_mq_netlink): Call __socket instead of socket.
16254         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16255         Remove variable.
16257         [BZ #18545]
16258         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16259         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16260         hidden_weak.
16261         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16262         define as alias of __mq_timedsend.  Use hidden_weak.
16263         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16264         __mq_timedsend as strong name.
16265         (mq_timedreceive): Use __mq_timedreceive as strong name.
16266         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16267         (__mq_timedreceive): Likewise.
16268         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16269         __mq_timedreceive instead of mq_timedreceive.
16270         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16271         instead of mq_timedsend.
16272         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16273         Remove variable.
16275         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16276         hidden_def and hidden_weak instead of libc_hidden_def and
16277         libc_hidden_weak.
16278         (top level): Refer to hidden_def in comment.
16279         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16280         macro.  Use it instead of libc_hidden_def.
16281         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16282         specify __GI_* name explicitly.
16283         (mq_timedreceive): Likewise.
16284         (mq_setattr): Likewise.
16286         [BZ #18544]
16287         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16288         __pthread_barrier_init and define as weak alias of
16289         __pthread_barrier_init.
16290         * sysdeps/sparc/nptl/pthread_barrier_init.c
16291         (pthread_barrier_init): Likewise.
16292         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16293         __pthread_barrier_wait and define as weak alias of
16294         __pthread_barrier_wait.
16295         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16296         (pthread_barrier_wait): Likewise.
16297         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16298         (pthread_barrier_wait): Likewise.
16299         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16300         (pthread_barrier_wait): Likewise.
16301         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16302         (pthread_barrier_wait): Likewise.
16303         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16304         __pthread_barrier_wait at version GLIBC_PRIVATE.
16305         * include/pthread.h (__pthread_barrier_init): Declare.
16306         (__pthread_barrier_wait): Likewise.
16307         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16308         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16309         (helper_thread): Likewise.
16310         (init_mq_netlink): Call __pthread_barrier_init instead of
16311         pthread_barrier_init.
16313         [BZ #18542]
16314         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16315         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16316         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16317         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16318         vswscanf.
16319         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16320         Remove variable.
16322         [BZ #18540]
16323         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16324         strong alias of _IO_fflush.  Use libc_hidden_def.
16325         * libio/iofflush_u.c (fflush_unlocked): Rename to
16326         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16327         Use libc_hidden_weak.
16328         * include/stdio.h (__fflush_unlocked): Declare.  Use
16329         libc_hidden_proto.
16330         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16331         fflush_unlocked.
16332         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16333         Remove variable.
16335         [BZ #18539]
16336         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16337         define as weak alias of __addseverity.
16338         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16339         Remove variable.
16340         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16341         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16342         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16344         [BZ #18536]
16345         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16346         (__tfind): Likewise.
16347         (__tdelete): Likewise.
16348         (__twalk): Likewise.
16349         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16350         __twalk to GLIBC_PRIVATE.
16351         * include/search.h (__tsearch): Use libc_hidden_proto.
16352         (__tfind): Likewise.
16353         (__tdelete): Likewise.
16354         (__twalk): Likewise.
16355         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16356         Call __tdelete instead of tdelete.
16357         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16358         tfind.  Call __tsearch instead of tsearch.
16359         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16360         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16361         Remove variable.
16362         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16364         [BZ #18534]
16365         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16366         (dprintf): Define as a weak alias of __dprintf, not a strong
16367         alias.
16368         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16369         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16370         dprintf.
16371         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16372         Remove variable.
16373         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16374         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16376         [BZ #18533]
16377         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16378         not a strong alias.
16379         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16380         Remove variable.
16382         [BZ #18532]
16383         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16384         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16385         (in6addr_loopback): Rename to __in6addr_loopback and define as
16386         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16387         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16388         libc_hidden_proto.
16389         (__in6addr_any): Likewise.
16390         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16391         in6addr_any.
16392         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16393         variable.
16394         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16396 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16398         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16399         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16400         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16401         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16402         redirections for pow.
16403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16404         * sysdeps/x86_64/fpu/Versions: New versions added.
16405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16407         build of SSE, AVX2 and AVX512 IFUNC versions.
16408         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16410         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16411         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16412         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16413         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16414         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16415         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16416         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16417         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16418         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16419         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16420         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16421         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16422         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16423         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16426         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16427         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16428         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16429         * NEWS: Mention addition of x86_64 vector pow.
16431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16432         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16433         redirections for expf.
16434         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16435         * sysdeps/x86_64/fpu/Versions: New versions added.
16436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16437         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16438         build of SSE, AVX2 and AVX512 IFUNC versions.
16439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16442         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16443         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16444         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16445         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16446         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16447         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16448         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16449         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16450         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16451         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16452         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16454         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16456         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16457         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16458         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16459         * NEWS: Mention addition of x86_64 vector expf.
16461         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16462         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16463         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16464         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16465         redirections for exp.
16466         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16467         * sysdeps/x86_64/fpu/Versions: New versions added.
16468         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16469         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16470         build of SSE, AVX2 and AVX512 IFUNC versions.
16471         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16472         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16473         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16475         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16476         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16477         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16478         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16479         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16480         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16481         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16482         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16483         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16484         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16485         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16486         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16487         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16488         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16489         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16490         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16491         * NEWS: Mention addition of x86_64 vector exp.
16493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16494         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16495         redirections for logf.
16496         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16497         * sysdeps/x86_64/fpu/Versions: New versions added.
16498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16499         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16500         build of SSE, AVX2 and AVX512 IFUNC versions.
16501         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16503         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16507         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16508         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16509         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16510         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16511         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16512         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16513         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16514         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16515         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16516         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16517         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16518         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16521         * NEWS: Mention addition of x86_64 vector logf.
16523         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16524         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16525         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16526         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16527         redirections for log.
16528         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16529         * sysdeps/x86_64/fpu/Versions: New versions added.
16530         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16531         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16532         build of SSE, AVX2 and AVX512 IFUNC versions.
16533         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16534         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16535         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16536         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16537         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16538         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16539         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16540         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16541         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16542         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16543         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16544         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16545         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16546         test.
16547         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16549         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16550         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16551         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16552         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16553         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16554         * NEWS: Mention addition of x86_64 vector log.
16556 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16558         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16559         cfi_adjust_cfa_offset argument.
16560         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16561         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16563         [BZ #18034]
16564         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16565         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16566         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16567         ordering using ldar.
16568         (_dl_tlsdesc_dynamic): Likewise.
16569         (_dl_tlsdesc_return_lazy): Likewise.
16570         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16571         relaxed atomics instead of volatile and synchronize with release store.
16572         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16573         volatile.
16574         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16576 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16578         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16579         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16580         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16581         * sysdeps/x86_64/fpu/Versions: New versions added.
16582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16583         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16584         build of SSE, AVX2 and AVX512 IFUNC versions.
16585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16591         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16592         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16593         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16594         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16595         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16596         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16597         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16598         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16605         * NEWS: Mention addition of x86_64 vector sinf.
16607 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16609         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16610         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16611         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16612         Remove variable.
16613         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16614         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16616 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16618         [BZ #18530]
16619         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16620         strong alias of _IO_fputs.  Use libc_hidden_def.
16621         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16622         and define as weak alias of __fputs_unlocked.  Use
16623         libc_hidden_weak.
16624         * include/stdio.h (__fputs_unlocked): Declare.  Use
16625         libc_hidden_proto.
16626         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16627         fputs_unlocked.
16629         [BZ #18529]
16630         * resolv/netdb.h [__USE_POSIX]: Change condition to
16631         [__USE_XOPEN2K].
16632         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16633         not expect.
16634         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16635         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16636         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16637         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16638         [XPG4 || UNIX98] (AI_ALL): Likewise.
16639         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16640         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16641         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16642         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16643         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16644         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16645         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16646         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16647         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16648         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16649         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16650         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16651         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16652         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16653         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16654         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16655         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16656         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16657         [XPG4 || UNIX98] (gai_strerror): Likewise.
16658         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16659         [XPG4 || UNIX98] (getnameinfo): Likewise.
16661         [BZ #18528]
16662         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16663         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16664         __USE_XOPEN2K8].
16665         (getgrent): Likewise.
16666         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16667         expect.
16668         [XPG3 || POSIX2008] (endgrent): Likewise.
16669         [XPG3] (setgrent): Likewise.
16670         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16671         variable.
16672         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16674         [BZ #18527]
16675         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16676         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16677         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16678         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16679         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16680         * include/unistd.h (__getlogin_r): Declare.  Use
16681         libc_hidden_proto.
16682         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16683         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16684         variable.
16685         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16686         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16687         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16689 2015-06-12  Martin Sebor  <msebor@redhat.com>
16691         [BZ #18512]
16692         * Makerules (check-install-supported): New target.
16693         (install): Add check-install-supported as a dependency.
16694         * manual/install.texi (Installing the C Library): Document
16695         that overriding prefix and exec_prefix is not supported.
16696         Mention DESTDIR.
16697         * INSTALL: Regenerate from the above.
16699 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16701         [BZ #18519]
16702         * posix/Versions (libc): Export __libc_pread at version
16703         GLIBC_PRIVATE.
16704         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16705         instead of pread.
16706         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16707         variable.
16709         [BZ #18522]
16710         * misc/efgcvt_r.c
16711         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16712         (cvt_symbol): Use weak_alias instead of strong_alias.
16713         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16714         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16715         Remove variable.
16716         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16717         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16719         [BZ #18520]
16720         * inet/herrno.c (h_errno): Rename to __h_errno.
16721         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16722         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16723         to __h_errno instead of h_errno.
16724         * nptl/herrno.c (h_errno): Rename to __h_errno.
16725         (__h_errno_location): Refer to __h_errno not h_errno.
16726         * resolv/Versions (h_errno): Rename to __h_errno.
16727         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16728         Remove variable.
16729         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16731 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16733         * configure.ac: More strict check for AVX512 assembler support.
16734         * configure: Regenerated.
16736         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16737         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16738         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16739         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16740         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16741         * sysdeps/x86_64/fpu/Versions: New versions added.
16742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16743         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16744         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16745         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16747         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16749         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16750         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16751         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16752         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16753         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16754         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16755         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16756         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16757         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16758         test.
16759         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16760         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16761         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16762         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16763         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16764         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16765         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16766         * NEWS: Mention addition of x86_64 vector sin.
16768 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16770         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16771         comment.
16773 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16775         [BZ #18479]
16776         * nptl/pt-interp.c: New file.
16777         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16778         Add pt-interp.
16779         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16780         $(common-objpfx)runtime-linker.h.
16782 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16784         * Makeconfig (+interp): Remove unused variable.
16785         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16786         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16787         $(elf-objpfx)runtime-linker.h.
16788         ($(elf-objpfx)runtime-linker.h): Rename to
16789         $(common-objpfx)runtime-linker.h and move ...
16790         * Makerules [$(build-shared) = yes]: ... here.
16791         * elf/interp.c: Include <runtime-linker.h> instead of
16792         <elf/runtime-linker.h>.
16794 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16796         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16797         (__gettimeofday_syscall): Remove vsyscall fallback.
16798         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16799         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16800         Add syscall fallback function.
16801         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16802         if vDSO is not present.
16803         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16804         fallback function.
16805         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16806         present.
16807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16808         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16810 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16812         [BZ #18497]
16813         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16814         of wcscmp.
16815         (wcscmp): Define as weak alias of WCSCMP.
16816         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16817         wcscoll.
16818         (USE_HIDDEN_DEF): Define.
16819         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16820         __wcscoll.  Don't use libc_hidden_weak.
16821         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16822         wcscmp.
16823         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16824         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16825         __GI_wcscmp.
16826         (weak_alias): Undefine and redefine.
16827         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16828         __wcscmp and define as weak alias of __wcscmp.
16829         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16830         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16831         (__wcscoll): Likewise.
16832         (wcscmp): Don't use libc_hidden_proto.
16833         (wcscoll): Likewise.
16834         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16835         wcscoll.
16836         * posix/regexec.c (check_node_accept_bytes): Likewise.
16837         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16838         variable.
16839         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16840         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16842         [BZ #18507]
16843         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16844         __fstatvfs and define as weak alias of __fstatvfs.  Use
16845         libc_hidden_weak.
16846         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16847         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16848         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16849         Define as alias of __fstatvfs, not fstatvfs.
16850         (fstatvfs64): Likewise.
16851         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16852         Define as alias of __statvfs, not statvfs.
16853         (statvfs64): Likewise.
16854         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16855         Remove variable.
16857 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16860         (HAVE_GETCPU_VSYSCALL): Define.
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16862         (HAVE_GETCPU_VSYSCALL): Likewise.
16863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16864         * sysdeps/unix/sysv/linux/sched_getcpu.c
16865         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16866         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16867         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16868         prototype.
16869         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16870         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16871         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16873         Define.
16874         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16875         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16876         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16877         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16879 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16881         * sysdeps/x86_64/fpu/Makefile: New file.
16882         * sysdeps/x86_64/fpu/Versions: New file.
16883         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16884         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16885         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16886         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16887         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16888         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16889         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16891         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16894         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16896         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16897         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16898         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16899         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16900         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16901         * sysdeps/x86_64/configure: Regenerated.
16902         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16904         * manual/install.texi (Configuring and compiling): Document
16905         --disable-mathvec.
16906         * INSTALL: Regenerated.
16907         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16909         * math/Makefile: Added rules for vector tests.
16910         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16911         declaration under condition.
16912         * math/test-double-vlen2.h: New file.
16913         * math/test-double-vlen4.h: New file.
16914         * math/test-double-vlen8.h: New file.
16915         * math/test-vec-loop.h: Added initialization macro.
16916         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16918         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16919         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16920         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16923         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16924         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16925         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16926         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16929         * sysdeps/x86_64/fpu/Versions: New versions added.
16930         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16933         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16934         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16937         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16941         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16942         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16945         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16946         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16947         * NEWS: Mention addition of x86_64 vector cosf.
16949         * math/Makefile: Added CFLAGS for new tests.
16950         * math/test-float-vlen16.h: New file.
16951         * math/test-float-vlen4.h: New file.
16952         * math/test-float-vlen8.h: New file.
16953         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16954         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16956         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16957         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16959         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16961         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16962         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16963         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16965 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16967         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16968         * locale/programs/ld-ctype.c: Likewise.
16970 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16972         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16973         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16974         bit_ZMM16_31_state): New macro.
16975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16976         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16978 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16980         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16982 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16984         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16986 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #18498]
16989         * libio/memstream.c (open_memstream): Rename to __open_memstream
16990         and define as weak alias of __open_memstream.
16991         * include/stdio.h (__open_memstream): Declare.  Use
16992         libc_hidden_proto.
16993         (open_memstream): Don't use libc_hidden_proto.
16994         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16995         open_memstream.
16996         * posix/getopt.c (_getopt_internal_r): Likewise.
16997         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16998         variable.
16999         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17000         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17001         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17003         [BZ #18496]
17004         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17005         instead of wcrtomb.
17007         [BZ #18483]
17008         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17009         [__USE_XOPEN2K8].  Remove redundant #endif.
17010         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17011         Remove redundant #if.
17012         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17013         Remove variable.
17014         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17015         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17017         [BZ #18495]
17018         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17019         (__iswlower): Likewise.
17020         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17021         (__iswlower): Likewise.
17022         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17023         instead of towlower.
17024         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17025         instead of iswlower.  Call __towupper instead of towupper.
17026         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17027         instead of iswalnum.
17029 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17031         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17032         errors to stderr.
17034 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17036         [BZ #15661]
17037         [BZ #17322]
17038         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17039         Check for overflow properly.  Check for O_APPEND.  Ignore large
17040         file system block sizes.  Add comments about problems.
17041         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17042         * manual/filesys.texi (Storage Allocation): New node.
17044 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17046         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17047         cancellable syscalls.
17048         (SYS_ify): Add guard to no redefine it.
17049         (INLINE_SYSCALL): Likewise.
17050         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17051         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17052         SYSCALL_CANCEL instead.
17053         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17054         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17055         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17056         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17057         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17058         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17059         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17060         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17061         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17062         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17063         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17064         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17065         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17066         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17067         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17069         Likewise.
17070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17071         (__libc_pread64): Likewise.
17072         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17073         (__libc_preadv): Likewise.
17074         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17075         (__libc_readv64): Likewise.
17076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17077         (__libc_pwrite): Likewise.
17078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17079         (__libc_pwrite64): Likewise.
17080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17081         (__libc_pwritev): Likewise.
17082         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17083         (__libc_pwritev64): Likewise.
17084         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17085         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17086         (sync_file_range): Likewise.
17087         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17088         Likewise.
17089         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17090         Likewise.
17091         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17092         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17093         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17094         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17095         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17096         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17097         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17098         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17100         Likewise.
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17102         (__libc_read64): Likewise.
17103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17104         Likewise.
17105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17106         Likewise.
17107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17108         Likewise.
17109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17110         Likewise.
17111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17112         (__libc_pread64): Likewise.
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17114         Likewise.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17116         (__libc_pwrite64): Likewise.
17117         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17118         (sync_file_range): Likewise.
17119         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17120         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17121         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17122         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17123         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17124         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17125         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17126         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17127         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17128         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17129         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17130         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17131         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17132         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17133         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17134         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17135         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17136         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17137         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17138         Likewise.
17139         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17140         Likewise.
17141         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17142         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17143         Likewise.
17144         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17145         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17146         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17148         Likewise.
17149         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17150         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17151         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17152         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17153         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17155 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17157         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17158         Include dl-vdso.
17159         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17160         Use VDSO routines for gettimeofday, clock_gettime if
17161         available.
17162         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17163         Declare VDSO symbols.
17164         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17165         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17166         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17167         * sysdeps/unix/sysv/linux/arm/Versions: Add
17168         __vdso_clock_gettime.
17170 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17172         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17173         be an inline implementation regardless of library is built within.
17174         (open_not_cancel_2): Likewise.
17175         (__read_nocancel): Likewise.
17176         (__write_nocancel): Likewise.
17177         (openat_not_cancel): Likewise.
17178         (openat_not_cancel_3): Likewise.
17179         (openat64_not_cancel): Likewise.
17180         (openat64_not_cancel_3): Likewise.
17181         (__close_nocancel): Likewise.
17182         (pause_not_cancel): Likewise.
17183         (nanosleep_not_cancel): Likewise.
17184         (sigsuspend_not_cancel): Likewise.
17186 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17188         [BZ #14958]
17189         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17190         wake-up.
17191         (__pthread_rwlock_rdlock_slow): Likewise.
17192         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17193         Likewise.
17194         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17195         Likewise.
17196         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17197         * nptl/tst-rwlock16.c: New file.
17198         * nptl/Makefile (tests): Add new test.
17200 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17202         [BZ #18324]
17203         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17204         missing wake-up of readers.
17205         * nptl/tst-rwlock15.c: New file.
17206         * nptl/Makefile (tests): Add new test.
17208 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17210         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17211         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17212         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17213         and __nacl_supply_interface_rtld.
17214         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17215         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17216         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17217         Add __nacl_supply_interface_rtld.
17218         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17220 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17222         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17223         isfinite.
17224         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17225         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17227 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17229         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17230         __signbit* with standard C99 macros.
17231         * math/e_exp10l.c: Likewise.
17232         * math/e_exp2l.c: Likewise.
17233         * math/e_scalb.c: Likewise.
17234         * math/e_scalbf.c: Likewise.
17235         * math/e_scalbl.c: Likewise.
17236         * math/s_ldexp.c: Likewise.
17237         * math/s_ldexpf.c: Likewise.
17238         * math/s_ldexpl.c: Likewise.
17239         * math/w_atan2.c: Likewise.
17240         * math/w_atan2f.c: Likewise.
17241         * math/w_atan2l.c: Likewise.
17242         * math/w_cosh.c: Likewise.
17243         * math/w_coshf.c: Likewise.
17244         * math/w_coshl.c: Likewise.
17245         * math/w_exp10.c: Likewise.
17246         * math/w_exp10f.c: Likewise.
17247         * math/w_exp10l.c: Likewise.
17248         * math/w_exp2.c: Likewise.
17249         * math/w_exp2f.c: Likewise.
17250         * math/w_exp2l.c: Likewise.
17251         * math/w_fmod.c: Likewise.
17252         * math/w_fmodf.c: Likewise.
17253         * math/w_fmodl.c: Likewise.
17254         * math/w_hypot.c: Likewise.
17255         * math/w_hypotf.c: Likewise.
17256         * math/w_hypotl.c: Likewise.
17257         * math/w_jnl.c: Likewise.
17258         * math/w_lgamma.c: Likewise.
17259         * math/w_lgamma_r.c: Likewise.
17260         * math/w_lgammaf.c: Likewise.
17261         * math/w_lgammaf_r.c: Likewise.
17262         * math/w_lgammal.c: Likewise.
17263         * math/w_lgammal_r.c: Likewise.
17264         * math/w_pow.c: Likewise.
17265         * math/w_powf.c: Likewise.
17266         * math/w_powl.c: Likewise.
17267         * math/w_remainder.c: Likewise.
17268         * math/w_remainderf.c: Likewise.
17269         * math/w_remainderl.c: Likewise.
17270         * math/w_scalb.c: Likewise.
17271         * math/w_scalbf.c: Likewise.
17272         * math/w_scalbl.c: Likewise.
17273         * math/w_scalbln.c: Likewise.
17274         * math/w_scalblnf.c: Likewise.
17275         * math/w_scalblnl.c: Likewise.
17276         * math/w_sinh.c: Likewise.
17277         * math/w_sinhf.c: Likewise.
17278         * math/w_sinhl.c: Likewise.
17279         * math/w_tgamma.c: Likewise.
17280         * math/w_tgammaf.c: Likewise.
17281         * math/w_tgammal.c: Likewise.
17282         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17283         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17284         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17285         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17286         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17288         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17289         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17290         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17291         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17292         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17293         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17294         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17296         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17297         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17299         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17300         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17301         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17302         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17303         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17306         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17308         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17310         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17311         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17312         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17313         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17314         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17315         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17316         * stdio-common/printf_fp.c: Likewise.
17317         * stdio-common/printf_fphex.c: Likewise.
17318         * stdio-common/printf_size.c: Likewise.
17320 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17322         [BZ #18470]
17323         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17324         strnlen.
17325         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17326         Remove variable.
17327         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17328         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17329         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17330         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17331         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17332         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17333         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17334         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17335         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17336         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17338         [BZ #18468]
17339         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17340         weak alias of __wmemchr.  Use libc_hidden_weak.
17341         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17342         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17343         instead of wmemchr.
17345 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17347         [BZ #18383]
17348         * elf/tst-tlsalign-extern.c: New file.
17349         * elf/tst-tlsalign-extern-static.c: New file.
17350         * elf/tst-tlsalign-vars.c: New file.
17351         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17352         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17353         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17354         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17355         (test-xfail-tst-tlsalign-extern-static): New variable.
17357 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17359         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17360         Use variable name _sc_err instead of err.
17361         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17362         instead of ret.
17363         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17364         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17365         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17366         (INLINE_SYSCALL): Likewise.
17368         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17369         * include/string.h (__strnlen): Use libc_hidden_proto.
17370         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17371         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17372         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17374         (libc_hidden_def): Undefine and redefine.
17375         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17376         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17377         __GI_strnlen.
17378         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17379         libc_hidden_def.
17380         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17382         [BZ #18469]
17383         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17384         weak alias of __towlower.  Use libc_hidden_weak.
17385         (towupper): Rename to __towupper and define as weak alias of
17386         __towupper.  Use libc_hidden_weak.
17387         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17388         (__towupper): Likewise.
17389         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17390         __towlower instead of towlower.
17392 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17394         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17395         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17397 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17399         * sysdeps/aarch64/libm-test-ulps: Update.
17401 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17403         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17404         Define.
17405         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17407         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17408         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17409         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17410         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17411         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17413 2015-06-01  Martin Sebor  <msebor@redhat.com>
17415         [BZ #18116]
17416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17417         (__setcontext): Use extended four-operand version of mtsf whenever
17418         possible.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17420         (__novec_swapcontext): Likewise.
17422 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17424         * benchtests/scripts/compare_bench.py: New file.
17425         * benchtests/scripts/import_bench.py (mean): New function.
17426         (split_list): Likewise.
17427         (do_for_all_timings): Likewise.
17428         (compress_timings): Likewise.
17430         * benchtests/scripts/import_bench.py: New file.
17431         * benchtests/scripts/validate_benchout.py: Import import_bench
17432         instead of jsonschema.
17433         (validate_bench): Remove function.
17434         (main): Use import_bench.
17436 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17438         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17439         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17441 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17445 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17447         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17448         set THREAD_SELF->tid to a magic value and futex-wake it.
17449         Pass its address to the thread_exit system call.
17450         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17451         bit is clear.
17452         * sysdeps/nacl/lowlevellock.h: New file.
17453         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17455         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17456         Add TIMEOUT to current time, don't subtract it.
17458 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17460         [BZ #2981]
17461         [BZ #18422]
17462         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17463         ($(objpfx)tst-audit2.out): Also depend on
17464         $(objpfx)tst-auditmod9b.so.
17465         * elf/tst-audit2.c: Include <dlfcn.h>.
17466         (calloc_called): New.
17467         (calloc): Allow to be called more than once.
17468         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17470 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17472         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17473         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17475 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17477         * stdlib/monetary.h: Fix comment.
17479 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17481         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17482         Avoid using variables in #defines that might cause shadowing.
17483         (INTERNAL_VSYSCALL_CALL): Likewise.
17485 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17487         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17489         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17490         * nptl/lll_timedlock_wait.c: ... to this new file.
17491         * nptl/Makefile (libpthread-routines): Add it.
17492         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17493         * nptl/lll_timedwait_tid.c: ... to this new file.
17494         * nptl/Makefile (libpthread-routines): Add it.
17495         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17496         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17497         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17498         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17499         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17500         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17501         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17502         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17503         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17504         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17506 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17508         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17509         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17510         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17512         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17514         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17516         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17517         * sysdeps/unix/sysv/linux/tile/sysdep.h
17518         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17519         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17520         using vDSO syscall macro.
17522 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17524         [BZ #17293]
17525         * uk_UA: Fix sorting order for Ukrainian locale
17527 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17529         * stdlib/monetary.h: Fix comment.
17531 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17533         [BZ #18234]
17534         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17535         st_mtim and st_ctim members.
17536         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17537         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17538         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17539         (struct stat64): Likewise.
17540         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17541         (struct stat64): Likewise.
17542         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17543         (struct stat64): Likewise.
17545 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17547         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17548         Define and include sysdep-vdso.h.
17549         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17550         Likewise.
17551         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17552         Likewise.
17553         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17554         Define with VDSO_SYMBOL and use PTR_MANGLE.
17555         (__vdso_clock_gettime): Likewise.
17556         (__vdso_clock_getres): Likewise.
17557         (_libc_vdso_platform_setup): Likewise.
17558         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17559         Likewise.
17560         (_libc_vdso_platform_setup): Likewise.
17561         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17562         Likewise.
17563         (__vdso_clock_gettime): Likewise.
17564         (__vdso_clock_getres): Likewise.
17565         (__vdso_get_tbfreq): Likewise.
17566         (__vdso_getcpu): Likewise.
17567         (__vdso_time): Likewise.
17568         (__vdso_sigtramp_rt64): Likewise.
17569         (__vdso_signtramp32): Likewise.
17570         (__vdso_sigtramp_rt32): Likewise.
17571         (_libc_vdso_platform_setup): Likewise.
17572         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17573         Likewise.
17574         (__vdso_clock_gettime): Likewise.
17575         (__vdso_clock_getres): Likewise.
17576         (_libc_vdso_platform_setup): Likewise.
17577         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17578         Likewise.
17579         (__vdso_clock_gettime): Likewise.
17580         (_libc_vdso_platform_setup): Likewise.
17581         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17582         Likewise.
17583         (__vdso_getcpu): Likewise.
17584         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17585         Use VDSO_SYMBOL macro to define.
17586         (__vdso_clock_gettime): Likewise.
17587         (__vdso_clock_getres): Likewise.
17588         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17589         Likewise.
17590         (__vdso_clock_gettime): Likewise.
17591         (__vdso_clock_getres): Likewise.
17592         (__vdso_get_tbfreq): Likewise.
17593         (__vdso_getcpu): Likewise.
17594         (__vdso_time): Likewise.
17595         (__vdso_sigtramp_rt64): Likewise.
17596         (__vdso_signtramp32): Likewise.
17597         (__vdso_sigtramp_rt32): Likewise.
17598         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17599         Likewise.
17600         (__vdso_clock_gettime): Likewise.
17601         (__vdso_clock_getres): Likewise.
17602         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17603         Likewise.
17604         (__vdso_clock_gettime): Likewise.
17605         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17606         Likewise.
17607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17608         macro.
17609         (INTERNAL_VSYSCALL): Likewise.
17610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17611         Remove macro.
17612         (INTERNAL_VSYSCALL): Likewise.
17613         (INTERNAL_VSYSCALL_NCS): Likewise.
17614         (INTERNAL_VSYSCALL_CALL): New macro.
17615         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17617         Likewise.
17618         (INTERNAL_VSYSCALL): Likewise.
17619         (INTERNAL_VSYSCALL_NCS): Likewise.
17620         (INTERNAL_VSYSCALL_CALL): New macro.
17621         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17623         (INLINE_VSYSCALL): Remove macro.
17624         (INTERNAL_VSYSCALL): Remove macro.
17625         (INTERNAL_VSYSCALL_NCS): Remove macro.
17626         (INTERNAL_VSYSCALL_CALL): New macro.
17627         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17628         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17629         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17630         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17631         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17633         (INLINE_VSYSCALL): Remove macro.
17634         (INTERNAL_VSYSCALL): Likewise.
17635         (INTERNAL_VSYSCALL_NCS): Likewise.
17636         (INTERNAL_VSYSCALL_CALL): New macro.
17637         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17638         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17639         PTR_DEMANGLE on vDSO pointer.
17640         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17641         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17642         macro.
17643         (INTERNAL_SYSCALL): Likewise.
17644         (INTERNAL_VSYSCALL_NCS): Remove macro.
17645         (INTERNAL_VSYSCALL_CALL): New macro.
17646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17647         Remove macro.
17648         (INTERNAL_VSYSCALL): Likewise.
17649         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17650         sysdep-vdso.h instead of libc-vdso.h.
17651         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17652         definition.
17653         (INLINE_VSYSCALL): Likewise.
17654         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17655         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17656         definition.
17657         (INLINE_VSYSCALL): Likewise.
17658         (INTERNAL_VSYSCALL): Likewise.
17659         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17660         * sysdeps/unix/sysv/linux/timespec_get.c
17661         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17662         (timespec_get): Use ANSI prototype.
17663         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17664         and definition for Linux.
17666 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17668         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17669         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17671 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17673         [BZ #2981]
17674         [BZ #18410]
17675         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17676         for missing DT_PLTRELSZ.
17678 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17680         Remove obsolete aliases that broke 'locale -a'
17681         [BZ #18412]
17682         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17683         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17684         breaking some applications that use 'locale -a' output.
17685         Change the encoding of this file from Latin-1 to ASCII to avoid
17686         other potential problems with people grepping this file.
17688 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17690         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17691         -fasynchronous-unwind-tables.
17692         (CFLAGS-sendto.c): Likewise.
17693         (CFLAGS-sendmsg.c): Likewise.
17694         (CFLAGS-connect.c): Likewise.
17695         (CFLAGS-recvmsg.c): Likewise.
17696         (CFLAGS-recvfrom.c): Likewise.
17697         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17698         (SOCKETCALL): New macro: non-cancellable socketcall.
17699         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17700         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17701         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17702         * sysdeps/unix/sysv/linux/accept.c: New file.
17703         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17704         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17705         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17706         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17707         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17708         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17709         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17710         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17711         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17712         * sysdeps/unix/sysv/linux/send.c: Likewise.
17713         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17714         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17715         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17716         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17717         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17718         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17719         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17720         prototype.
17721         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17722         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17723         instead of __internal_xxx function.
17724         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17725         prototype.
17726         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17727         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17728         instead of __internal_xxx function.
17729         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17730         prototype.
17731         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17732         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17733         instead of __internal_xxx function.
17734         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17735         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17736         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17737         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17738         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17739         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17740         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17741         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17742         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17743         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17744         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17745         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17746         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17747         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17748         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17749         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17750         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17751         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17752         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17753         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17756         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17757         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17758         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17759         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17760         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17761         * sysdeps/unix/sysv/linux/send.S: Likewise.
17762         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17763         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17764         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17765         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17766         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17767         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17768         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17769         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17770         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17771         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17772         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17773         socketcall is implemented in GLIBC.
17775 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17777         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17778         (__fma): Ignore uninitialized warnings around packing.
17779         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17780         (__fmaf): Ignore uninitialized warnings around packing.
17781         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17782         (__fmal): Ignore uninitialized warnings around packing.
17784         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17785         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17786         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17787         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17789         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17790         switch statement into default case.
17791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17793         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17794         a conditional in forcing "inexact".
17795         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17796         Likewise.
17798 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17800         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17801         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17802         for each INTERNAL_SYSCALL use.
17804 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #438]
17807         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17808         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17809         variable.
17811         [BZ #18444]
17812         * string/basename.c (basename): Rename to __basename and define as
17813         weak alias of __basename.  Use libc_hidden_weak.
17814         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17815         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17816         __basename instead of basename.
17817         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17818         Remove variable.
17819         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17821 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17823         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17824         (_IO_JUMPS_FILE_plus): New.
17825         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17826         _IO_CAST_FIELD_ACCESS.
17827         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17828         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17829         * libio/freopen.c (freopen): Likewise.
17830         * libio/freopen64.c (freopen64): Likewise.
17831         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17832         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17833         * libio/iofwide.c (_IO_fwide): Likewise.
17834         * libio/memstream.c (open_memstream): Likewise.
17835         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17836         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17837         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17839 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17841         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17842         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17843         NADJ.
17844         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17845         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17846         NADJ.
17847         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17848         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17849         NADJ.
17851         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17852         (p == 4) case.
17854         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17855         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17856         Remove variable.
17857         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17858         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17859         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17861 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17863         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17864         Adjust jump table label generation macros.
17866 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17868         * stdio-common/vfprintf.c (vfprintf): Move local variables
17869         args_malloced, specs, specs_malloced, and the code after
17870         do_positional to the printf_positional function.
17871         (printf_positional): New function.
17873 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17875         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17876         function.
17877         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17878         STEP4_TABLE, process_arg): Move macro definitions
17879         out of the vfprintf function.  (Cosmetic change only.)
17881 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17883         * benchtests/Makefile (stdio-common-bench): Define.
17884         (benchset): Add stdio-common-bench.
17885         * sprintf-inputs: New file.
17886         * sprintf-source.c: New file.
17888 2015-05-21  Andreas Schwab  <schwab@suse.de>
17890         [BZ #13028]
17891         [BZ #17053]
17892         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17893         of struct __res_state.
17894         * resolv/res_send.c (__libc_res_nsend): Likewise.
17895         (get_nsaddr): New function.
17896         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17897         statp directly.
17899 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17901         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17902         -D_POSIX_C_SOURCE=199506L.
17904         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17906         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17907         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17908         Do not mention otherwise.
17909         [POSIX] (_XOPEN_VERSION): Do not expect.
17910         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17911         [POSIX] (_POSIX2_C_BIND): Likewise.
17912         [POSIX] (_POSIX2_VERSION): Likewise.
17913         [POSIX] (_XOPEN_XPG2): Likewise.
17914         [POSIX] (_XOPEN_XPG3): Likewise.
17915         [POSIX] (_XOPEN_XPG4): Likewise.
17916         [POSIX] (_XOPEN_UNIX): Likewise.
17917         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17918         [POSIX] (_POSIX_BARRIERS): Likewise.
17919         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17920         [POSIX] (_POSIX_CPUTIME): Likewise.
17921         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17922         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17923         [POSIX] (_POSIX_SHELL): Likewise.
17924         [POSIX] (_POSIX_SPAWN): Likewise.
17925         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17926         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17927         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17928         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17929         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17930         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17931         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17932         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17933         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17934         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17935         [POSIX] (_POSIX2_PBS): Likewise.
17936         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17937         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17938         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17939         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17940         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17941         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17942         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17943         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17944         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17945         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17946         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17947         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17948         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17949         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17950         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17951         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17952         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17953         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17954         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17955         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17956         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17957         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17958         [POSIX] (_SC_2_C_BIND): Likewise.
17959         [POSIX] (_SC_2_C_VERSION): Likewise.
17960         [POSIX] (_SC_2_PBS): Likewise.
17961         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17962         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17963         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17964         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17965         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17966         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17967         [POSIX] (_SC_BARRIERS): Likewise.
17968         [POSIX] (_SC_BASE): Likewise.
17969         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17970         [POSIX] (_SC_DEVICE_IO): Likewise.
17971         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17972         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17973         [POSIX] (_SC_FD_MGMT): Likewise.
17974         [POSIX] (_SC_FIFO): Likewise.
17975         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17976         [POSIX] (_SC_FILE_LOCKING): Likewise.
17977         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17978         [POSIX] (_SC_IOV_MAX): Likewise.
17979         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17980         [POSIX] (_SC_NETWORKING): Likewise.
17981         [POSIX] (_SC_PAGE_SIZE): Likewise.
17982         [POSIX] (_SC_PASS_MAX): Likewise.
17983         [POSIX] (_SC_PIPE): Likewise.
17984         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17985         [POSIX] (_SC_REGEXP): Likewise.
17986         [POSIX] (_SC_SHELL): Likewise.
17987         [POSIX] (_SC_SIGNALS): Likewise.
17988         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17989         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17990         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17991         [POSIX] (_SC_USER_GROUPS): Likewise.
17992         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17993         [POSIX] (_SC_STREAMS): Likewise.
17994         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17995         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17996         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17997         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17998         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17999         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18000         [POSIX] (_PC_FILESIZEBITS): Likewise.
18001         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18002         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18003         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18004         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18005         [POSIX] (uid_t): Likewise.
18006         [POSIX] (gid_t): Likewise.
18007         [POSIX] (off_t): Likewise.
18008         [POSIX] (pid_t): Likewise.
18009         [POSIX] (cuserid): Allow.
18010         (_SC_2_CHAR_TERM): Require constant.
18011         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18012         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18013         variable.
18015 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18017         * sysdeps/nacl/pthread-pids.h: New file.
18018         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18019         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18021         * nptl/pthread-pids.h: New file.
18022         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18023         * nptl/nptl-init.c: Include <pthread-pids.h>.
18024         (__pthread_initialize_minimal_internal):
18025         Call __pthread_initialize_pids instead of set_tid_address syscall.
18027         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18028         * sysdeps/posix/usleep.c: ... here.
18030 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18032         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18033         call_pselect6 object.
18034         [$(subdir) = io]: Remove call_sync_file_range object.
18035         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18036         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18037         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18038         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18040 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18042         * math/s_cproj.c: Add include "math_private.h".
18043         * math/s_cprojf.c: Likewise.
18044         * math/s_cprojl.c: Likewise.
18046 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18048         [BZ #18244]
18049         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18050         high mantissa bit when testing whether P is a NaN.
18051         * math/libm-test.inc (remainder_test_data): Add more tests.
18052         (remquo_test_data): Likewise.
18054         [BZ #18049]
18055         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18056         below -32, return the argument, with underflow if subnormal.
18057         * math/auto-libm-test-in: Add more tests of atanh.
18058         * math/auto-libm-test-out: Regenerated.
18060 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18062         [BZ #18434]
18063         * nptl/tst-sem15.c: New file.
18064         * nptl/Makefile (tests): Add it.
18065         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18066         s/<</>>/ to fix typo in EOVERFLOW check.
18067         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18069 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18071         * manual/strings.texi (envz_remove): Fix typo in safety
18072         annotations.
18074 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18075             Steve Ellcey  <sellcey@imgtec.com>
18077         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18078         in order to avoid strict alias warnings.
18079         (iruserok_af): Ditto for ra.
18081 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18083         [BZ #17581]
18084         * malloc/hooks.c
18085         (magicbyte): Convert to a function and avoid returning 0x01.
18086         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18087         (mem2chunk_check): Fix unsigned comparisons to zero.
18088         Hoist defs of sz and magic.
18090 2015-05-19  Richard Henderson  <rth@redhat.com>
18092         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18094         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18096 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098         [BZ #16159]
18099         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18100         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18101         (reused_arena): Find a non-corrupt arena.
18102         (heap_trim): Pass arena to unlink.
18103         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18104         malloc_printerr.
18105         (top_check): Likewise.
18106         (free_check): Likewise.
18107         (realloc_check): Likewise.
18108         * malloc/malloc.c (malloc_printerr): Add arena argument.
18109         (unlink): Likewise.
18110         (munmap_chunk): Adjust.
18111         (ARENA_CORRUPTION_BIT): New macro.
18112         (arena_is_corrupt): Likewise.
18113         (set_arena_corrupt): Likewise.
18114         (sysmalloc): Use mmap if there are no usable arenas.
18115         (_int_malloc): Likewise.
18116         (__libc_malloc): Don't fail if arena_get returns NULL.
18117         (_mid_memalign): Likewise.
18118         (__libc_calloc): Likewise.
18119         (__libc_realloc): Adjust for additional argument to
18120         malloc_printerr.
18121         (_int_free): Likewise.
18122         (malloc_consolidate): Likewise.
18123         (_int_realloc): Likewise.
18124         (_int_memalign): Don't touch corrupt arenas.
18125         * malloc/tst-malloc-backtrace.c: New test case.
18127         * Makefile (summarize-tests): Fix return value on success.
18129         * manual/string.texi (Envz Functions): Add envz_remove.
18131 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18133         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18134         (invalid_name): New function, broken out of ...
18135         (__opendirat): ... here.  Call it.
18136         (need_isdir_precheck): New function, broken out of ...
18137         (__opendirat): ... here.  Call it.
18138         Use __fxstatat64, not __xstatat64.
18139         (opendir_oflags): New function, broken out of ...
18140         (__opendirat): ... here.  Call it.
18141         (opendir_tail): New function, broken out of ...
18142         (__opendirat): ... here.  Call it.
18143         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18144         opendir_tail, rather than punting to __opendirat.
18145         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18147 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18149         * .gitignore: Ignore generated *.pyc.
18151 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18153         * include/stdio.h: Define __need_wint_t.
18154         * test-skeleton.c: Avoid `for' loop initial declaration.
18155         * nptl/tst-initializers1.c: Use test-skeleton.c.
18157 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18159         [BZ #18418]
18160         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18162 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18164         [BZ #16352]
18165         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18166         (__ieee754_atanh): Force underflow exception for results with
18167         small absolute value.
18168         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18169         (__ieee754_atanhf): Force underflow exception for results with
18170         small absolute value.
18171         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18172         (__ieee754_atanh): Force underflow exception for results with
18173         small absolute value.
18174         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18175         (__ieee754_atanhf): Force underflow exception for results with
18176         small absolute value.
18177         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18178         (__ieee754_atanhl): Force underflow exception for results with
18179         small absolute value.
18180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18181         (__ieee754_atanhl): Force underflow exception for results with
18182         small absolute value.
18183         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18184         (__ieee754_atanhl): Force underflow exception for results with
18185         small absolute value.
18186         * math/auto-libm-test-in: Do not allow missing underflow
18187         exceptions from atanh.
18188         * math/auto-libm-test-out: Regenerated.
18190         [BZ #18221]
18191         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18192         2**-28 as threshold for returning x or +/- 1/x.
18193         * math/auto-libm-test-in: Add more tests of tan.
18194         * math/auto-libm-test-out: Regenerated.
18196         [BZ #18220]
18197         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18198         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18199         * math/auto-libm-test-in: Add another test of lgamma.
18200         * math/auto-libm-test-out: Regenerated.
18202 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18204         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18205         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18206         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18207         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18208         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18209         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18210         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18211         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18212         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18213         (log1): Use fabs.  (my_log2): Use fabs.
18214         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18215         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18217         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18219         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18220         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18221         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18222         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18223         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18224         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18226 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18228         [BZ #18217]
18229         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18230         as threshold for returning 1 - x.
18231         * math/auto-libm-test-in: Add more tests of erfc.
18232         * math/auto-libm-test-out: Regenerated.
18234 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18236         [BZ #18196]
18237         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18238         threshold for large arguments.
18239         * math/auto-libm-test-in: Add another test of atan.
18240         * math/auto-libm-test-out: Regenerated.
18242         [BZ #16339]
18243         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18244         (__log1p): Force underflow exception for results with small
18245         absolute value.
18246         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18247         (__log1pf): Force underflow exception for results with small
18248         absolute value.
18249         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18250         (__log1p): Force underflow exception for results with small
18251         absolute value.
18252         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18253         (__log1pf): Force underflow exception for results with small
18254         absolute value.
18255         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18256         (__log1pl): Force underflow exception for results with small
18257         absolute value.
18258         * math/auto-libm-test-in: Do not allow missing underflow
18259         exceptions from log1p.
18260         * math/auto-libm-test-out: Regenerated.
18262 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18263             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18265         [BZ #16704]
18266         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18268 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18270         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18271         (libmvec): New variable.
18272         * configure.ac: Added option for mathvec build.
18273         * configure: Regenerated.
18274         * mathvec/Depend: New file.
18275         * mathvec/Makefile: New file.
18276         * shlib-versions: Added libmvec.
18277         * math/Makefile: Added rule for libm.so installation.
18279         * bits/math-vector.h: New file.
18280         * bits/libm-simd-decl-stubs.h: New header.
18281         * math/Makefile (headers): Added new header
18282         libm-simd-decl-stubs.h.
18283         * math/math.h (__MATHCALL_VEC): New macro.
18285         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18286         for conditions in testing functions.
18287         * math/Makefile: Added call of libm-have-vector-test.sh.
18288         * math/libm-test.inc (HAVE_VECTOR): New macros.
18290         * math/libm-test.inc: START refactored.
18291         * math/test-double.c (TEST_MATHVEC): Add define.
18292         * math/test-float.c: Likewise.
18293         * math/test-idouble.c: Likewise.
18294         * math/test-ifloat.c: Likewise.
18295         * math/test-ildoubl.c: Likewise.
18296         * math/test-ldouble.c: Likewise.
18297         * sysdeps/generic/math-tests-arch.h
18298         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18299         architecture check.
18301         * math/test-double.c (FUNC_TEST): New macro.
18302         * math/test-float.c: Likewise.
18303         * math/test-idouble.c: Likewise.
18304         * math/test-ifloat.c: Likewise.
18305         * math/test-ildoubl.c: Likewise.
18306         * math/test-ldouble.c: Likewise.
18307         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18309 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18311         * sysdeps/nacl/fdopendir.c: New file.
18313         * dirent/scandir-tail.c: New file.
18314         * dirent/scandir64-tail.c: New file.
18315         * dirent/Makefile (routines): Add them.
18316         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18317         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18318         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18319         [!SCANDIR] (SCANDIR_TAIL): New macro.
18320         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18321         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18322         (SCANDIRAT): Macro removed.
18323         (SCANDIR_TAIL): New macro.
18324         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18325         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18326         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18327         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18328         (READDIR): Macro removed.
18329         (SCANDIR_TAIL): New macro.
18330         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18331         (SCANDIR_TAIL): New macro.
18333         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18334         * dirent/scandir-cancel.c: ... to this new file.
18335         * dirent/Makefile (routines): Add it.
18336         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18337         * sysdeps/unix/sysv/linux/i386/scandir64.c
18338         (SKIP_SCANDIR_CANCEL): Macro removed.
18339         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18341         * dirent/tst-scandir.c: New file.
18342         * dirent/tst-scandir64.c: New file.
18343         * dirent/Makefile (tests): Add them.
18345 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18347         [BZ #18409]
18348         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18350 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18352         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18353         list.
18355 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18357         * benchtests/bench-strcoll.c: New benchmark.
18358         * benchtests/Makefile: Generate locales and run benchmark.
18359         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18360         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18361         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18362         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18363         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18364         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18365         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18366         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18367         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18368         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18369         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18370         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18371         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18372         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18373         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18374         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18375         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18376         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18377         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18378         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18379         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18380         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18381         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18382         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18384 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18386         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18387         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18389 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18391         * posix/uname-values.h: New file.
18392         * posix/uname.c: Include that instead of <config-name.h>.
18393         * sysdeps/nacl/uname-values.h: New file.
18394         * sysdeps/arm/nacl/uname-values.h: New file.
18396 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18398         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18399         splitting into fields.
18401 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18403         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18404         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18405         * locale/localeinfo.h: Add enum collation_encoding_type.
18406         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18407         * programs/ld-collate.c (collate_output): Add encoding type info.
18408         * string/strcoll_l.c (STRDIFF): New function.
18409         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18410         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18412 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18414         [BZ #18397]
18415         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18416         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18417         <fpu_control.h> instead of <math/fpu_control.c>.
18418         * sysdeps/mips/mips32/fpu/Makefile: New file.
18420 2015-05-11  Andreas Schwab  <schwab@suse.de>
18422         [BZ #18007]
18423         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18424         nss_endgrent.
18425         (_nss_compat_endgrent): Call nss_endgrent.
18426         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18427         nss_endpwent.
18428         (_nss_compat_endpwent): Call nss_endpwent.
18429         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18430         needent, call nss_setspent only if non-zero.
18431         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18432         (internal_endspent): Don't call nss_endspent.
18433         (_nss_compat_endspent): Call nss_endspent.
18434         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18435         Remove.  All uses removed.
18436         (internal_setent): Remove parameter stayopen, add parameter
18437         stream.  Use it instead of global variable.
18438         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18439         (internal_endent, internal_getent): Add parameter stream.  Use it
18440         instead of global variable.
18441         (CONCAT(_nss_files_end,ENTNAME))
18442         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18443         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18444         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18445         uses removed.
18446         (internal_setent, internal_endent): Add parameter stream.  Use it
18447         instead of global variable.
18448         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18449         stream.
18450         (get_next_alias): Add parameter stream.
18451         (_nss_files_getaliasent_r): Pass global stream.
18452         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18453         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18454         (_nss_files_gethostbyname4_r): Pass local stream to
18455         internal_setent, internal_getent and internal_endent.  Remove
18456         locking.
18458 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18460         * tst-strfmon1.c (tests): Update expected currency symbol.
18462 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18464         * sysdeps/nacl/gethostname.c: New file.
18466 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18468         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18469         and sinh.
18470         * math/auto-libm-test-out: Regenerated.
18471         * sysdeps/i386/fpu/libm-test-ulps: Update.
18472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18474 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18476         [BZ #18125]
18477         * stdlib/tst-setcontext3.c: New file.
18478         * stdlib/tst-setcontext3.sh: New file.
18479         * stdlib/Makefile (tests): Add tst-setcontext3.
18480         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18481         to verify test program created output file.
18482         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18483         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18484         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18485         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18487 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18489         [BZ #18383]
18490         * elf/tst-tlsalign.c: New file.
18491         * elf/tst-tlsalign-static.c: New file.
18492         * elf/tst-tlsalign-lib.c: New file.
18493         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18494         (tests-static): Add tst-tlsalign-static.
18495         (modules-names): Add tst-tlsalign-lib.
18496         (test-xfail-tst-tlsalign): New variable.
18497         (test-xfail-tst-tlsalign-static): New variable.
18499         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18500         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18502 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18504         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18505         csqrt, erfc, sin and sincos.
18506         * math/auto-libm-test-out: Regenerated.
18507         * sysdeps/i386/fpu/libm-test-ulps: Update.
18508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18510 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18512         * sysdeps/aarch64/libm-test-ulps: Update.
18514 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18516         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18517         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18518         * math/auto-libm-test-out: Regenerated.
18519         * sysdeps/i386/fpu/libm-test-ulps: Update.
18520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18522 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18524         [BZ #18265]
18525         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18526         (wcsncpy): Likewise.
18528 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18530         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18531         Assume __ASSUME_FALLOCATE is always true.
18532         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18533         (__posix_fallocate64_l64): Likweise.
18534         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18535         (posix_fallocate): Likewise.
18536         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18537         (__posix_fallocate64_l64): Likewise.
18538         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18539         [!__ASSUME_FALLOCATE]: Add comment.
18541 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18543         * sysdeps/unix/sysv/linux/i386/Makefile
18544         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18545         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18546         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18547         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18548         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18549         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18550         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18552 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18554         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18555         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18556         tgamma.
18557         * math/auto-libm-test-out: Regenerated.
18558         * sysdeps/i386/fpu/libm-test-ulps: Update.
18559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18561 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18563         * math/auto-libm-test-in: Add more tests of tgamma.
18564         * math/auto-libm-test-out: Regenerated.
18565         * sysdeps/i386/fpu/libm-test-ulps: Update.
18566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18568         * math/auto-libm-test-in: Add more tests of tanh.
18569         * math/auto-libm-test-out: Regenerated.
18570         * sysdeps/i386/fpu/libm-test-ulps: Update.
18571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18573         * math/auto-libm-test-in: Add more tests of tan.
18574         * math/auto-libm-test-out: Regenerated.
18575         * sysdeps/i386/fpu/libm-test-ulps: Update.
18576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18578         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18579         * math/auto-libm-test-out: Regenerated.
18580         * sysdeps/i386/fpu/libm-test-ulps: Update.
18581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18583         * math/auto-libm-test-in: Add another test of pow.
18584         * math/auto-libm-test-out: Regenerated.
18585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18587         * math/auto-libm-test-in: Add more tests of lgamma.
18588         * math/auto-libm-test-out: Regenerated.
18589         * sysdeps/i386/fpu/libm-test-ulps: Update.
18590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18592         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18593         log1p.
18594         * math/auto-libm-test-out: Regenerated.
18595         * sysdeps/i386/fpu/libm-test-ulps: Update.
18596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18598 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18600         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18601         Elf64_Chdr structs and ELFCOMPRESS constants.
18603 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18605         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18606         expm1.
18607         * math/auto-libm-test-out: Regenerated.
18608         * sysdeps/i386/fpu/libm-test-ulps: Update.
18609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18611         * math/auto-libm-test-in: Add more tests of erf and erfc.
18612         * math/auto-libm-test-out: Regenerated.
18613         * sysdeps/i386/fpu/libm-test-ulps: Update.
18614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18616 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18618         * config.h.in (HAVE_AARCH64_BE): Add.
18620 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18622         * math/auto-libm-test-in: Add more tests of csqrt.
18623         * math/auto-libm-test-out: Regenerated.
18624         * sysdeps/i386/fpu/libm-test-ulps: Update.
18625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18627         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18628         * math/auto-libm-test-out: Regenerated.
18629         * sysdeps/i386/fpu/libm-test-ulps: Update.
18630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18632         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18634 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18636         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18637         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18639         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18640         (euidaccess, eaccess): Define as weak aliases.
18642         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18643         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18644         but __suseconds_t is often 'long int' so some sources assume that
18645         type is being used (e.g. they use %ld to print tv_usec).
18647 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18649         [BZ #18007]
18650         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18651         (CVE-2014-8121)
18652         * nss/tst-nss-getpwent.c: New file.
18653         * nss/Makefile (tests): Add new test.
18655 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18657         [BZ #18346]
18658         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18659         exponents less than 48 as cases where high part of mantissa needs
18660         examining to determine whether argument is integral.
18661         * math/libm-test.inc (round_test_data): Add more tests.
18663 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18665         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18667 2015-04-27  David S. Miller  <davem@davemloft.net>
18669         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18670         __tls_get_addr.
18671         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18673 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18675         [BZ#18333]
18676         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18678 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18680         [BZ#18333]
18681         * time/tzset.c (parse_tzname): Return error on memory allocation
18682         failure.
18683         * test-skeleton.c (struct temp_name_list): Change type of name
18684         member to non-const.
18685         (add_temp_file): Create a copy of the file name.
18686         (delete_temp_files): Deallocate memory.
18687         (create_temp_file): Add comment.
18689 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18691         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18692         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18694 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18696         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18697         * sysdeps/arm/configure: Regenerated.
18699 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18701         [BZ #17715]
18702         * time/tzfile.c (__tzfile_read): Check for large values of
18703         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18704         * time/tzset.c (__tzstring_len): New function, based on the old
18705         __tzstring function.
18706         (__tzstring): Call __tzstring_len.
18707         (parse_tzname): New helper function extracted from
18708         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18709         the input string.
18710         (parse_offset): New helper function extracted from
18711         __tzset_parse_tz.  Replace switch with fallthrough with
18712         initialization before sscanf.
18713         (parse_rule): Likewise.
18714         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18715         new-style function definition.
18716         * timezone/Makefile (tests): Add tst-tzset.
18717         (tst-tzset.out): Dependencies on time zone files.
18718         (tst-tzset-ENV): Set TZDIR.
18719         (testdata/XT%): Copy crafted time zone files.
18720         * timezone/README: Mention crafted time zone files.
18721         * timezone/testdata/XT1, timezone/testdata/XT2,
18722         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18723         files.
18724         * timezone/tst-tzset.c: New test.
18726 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18728         * Makeconfig (+gccwarn): Remove -Winline.
18730 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18732         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18734 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18736         * NEWS: Mention sysconf() cache information support for s390.
18737         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18739 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18741         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18742         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18743         (__nearbyint): Likewise.
18744         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18745         (copysignl): Likewise.
18747 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18749         [BZ #18287]
18750         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18751         based on padding.  (CVE-2015-1781)
18753 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18755         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18756         libc-vdso.h.
18757         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18758         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18759         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18760         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18761         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18762         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18763         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18765         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18766         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18767         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18768         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18769         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18770         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18771         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18772         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18773         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18775         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18776         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18777         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18778         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18779         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18781 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18783         * stdlib/setenv.c (__add_to_environ):
18784         Dump core quickly if setenv (..., NULL, ...) is called.
18785         This time, do it the right way, and pacify GCC with a pragma.
18787 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18789         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18790         IMAP->l_prev cannot be null, and #if out the code for the contrary
18791         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18792         believe that NS (&_dl_ns[NSID]) could point outside the array.
18794         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18795         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18796         before using NSID as an index.
18798 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18800         [BZ #17825]
18801         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18802         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18803         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18805 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18807         Add preliminary port to Google Native Client on ARM.
18808         * abi-tags (.*-.*-nacl.*): New entry.
18809         * sysdeps/arm/nacl: New directory.
18810         * sysdeps/nacl: New directory.
18812 2015-04-16  David S. Miller  <davem@davemloft.net>
18814         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18815         lowlevellock-futex.h
18817 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18819         * sysdeps/tile/configure.ac: New file.
18820         * sysdeps/tile/configure: Regenerated.
18822 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18824         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18825         conditionals for weak_alias and libc_hidden_weak.
18826         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18827         libc_hidden_weak and weak_alias.
18828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18829         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18830         and weak_alias for static one.
18832 2015-04-15  David S. Miller  <davem@davemloft.net>
18834         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18836 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18838         [BZ #18206]
18839         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18840           Use signed comparision instead of substraction to avoid
18841           overflow bug.
18842         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18843           Take the sign of ret.
18844         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18845           Do not expect precise return values. Only the sign matters.
18846         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18847         * wcsmbs/test-wcsncmp.c: New File.
18848         * string/test-strncmp.c: Add wcsncmp support.
18850 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18852         [BZ #6792]
18853         * math/w_log1p.c: New file.
18854         * math/w_log1pf.c: Likewise.
18855         * math/w_log1pl.c: Likewise.
18856         * math/Makefile (libm-calls): Add w_log1p.
18857         * math/s_log1pl.c (log1pl): Remove weak_alias.
18858         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18859         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18860         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18861         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18862         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18863         [NO_LONG_DOUBLE] (log1pl): Likewise.
18864         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18865         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18866         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18867         (log1p): Remove long_double_symbol.
18868         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18869         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18870         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18871         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18872         remove weak_alias for corresponding log1p function.
18873         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18874         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18875         * sysdeps/ia64/fpu/w_log1p.c: New file.
18876         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18877         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18878         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18880 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #18247]
18883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18884         decimal exponent by 1.
18885         * stdlib/tst-strtod-round-data: Add more tests.
18886         * stdlib/tst-strtod-round.c (tests): Regenerated.
18888 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18890         * math/auto-libm-test-in: Add more tests of clog and clog10.
18891         * math/auto-libm-test-out: Regenerated.
18892         * sysdeps/i386/fpu/libm-test-ulps: Update.
18893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18895 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18897         * Makeconfig (module-cppflags): Exclude all .v.i files.
18898         (skip-module-cppflags): Variable removed.
18900         * configure.ac (libc_config_ok): Initialize before reading
18901         preconfigure scripts, not after.
18902         * configure: Regenerated.
18904         * test-skeleton.c (TIMEOUT): Move #define to top level.
18905         (main): Grok environment variable TEST_DIRECT.  If set, print
18906         test expectation details into that file and then behave as if
18907         given --direct.
18909 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18911         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18912         warning on 32-bit.
18914 2015-04-08  David S. Miller  <davem@davemloft.net>
18916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18918 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18920         * math/auto-libm-test-in: Add more tests of atanh.
18921         * math/auto-libm-test-out: Regenerated.
18922         * sysdeps/i386/fpu/libm-test-ulps: Update.
18923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925         * math/auto-libm-test-in: Add more tests of atan.
18926         * math/auto-libm-test-out: Regenerated.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18932         * elf/pldd.c (main): Rewrite to use struct
18933         scratch_buffer instead of extend_alloca.
18934         * elf/pldd-xx.c (find_maps): Likewise.
18935         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18936         <alloca.h>.
18937         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18938         scratch_buffer instead of extend_alloca.
18939         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18940         grp/compat-initgroups.c.
18941         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18942         Rewrite to use struct scratch_buffer instead of extend_alloca.
18943         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18944         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18946 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18948         * math/auto-libm-test-in: Add more tests of cbrt.
18949         * math/auto-libm-test-out: Regenerated.
18950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18952         * math/auto-libm-test-in: Add more tests of cabs.
18953         * math/auto-libm-test-out: Regenerated.
18954         * sysdeps/i386/fpu/libm-test-ulps: Update.
18955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18957         [BZ #18210]
18958         [BZ #18211]
18959         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18960         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18961         computations.
18962         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18963         clog10.
18964         * math/auto-libm-test-out: Regenerated.
18965         * sysdeps/i386/fpu/libm-test-ulps: Update.
18966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18968         [BZ #18197]
18969         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18970         (atan): Set FE_TONEAREST mode for internal computations.
18971         * math/auto-libm-test-in: Add more tests of atan.
18972         * math/auto-libm-test-out: Regenerated.
18974 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18976         [BZ #17930]
18977         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18979 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18981         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18983 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18985         * include/scratch_buffer.h: New file.
18986         * malloc/scratch_buffer_grow.c: Likewise.
18987         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18988         * malloc/scratch_buffer_set_array_size.c: Likewise.
18989         * malloc/tst-scratch_buffer.c: Likewise.
18990         * malloc/Makefile (routines): Add scratch_buffer_grow.
18991         (tests): Add test case.
18992         * malloc/Versions (GLIBC_PRIVATE): Export
18993         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18994         __libc_scratch_buffer_set_array_size.
18996 2015-04-06  Richard Henderson  <rth@redhat.com>
18998         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18999         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19001         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19002         unsigned int before printing.
19004 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19006         [BZ #17596]
19007         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19008         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19010 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19012         * include/libc-internal.h (libc_max_align_t): Define.
19014 2015-04-02  Andreas Schwab  <schwab@suse.de>
19016         [BZ #16850]
19017         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19019 2015-04-02  Mel Gorman  <mgorman@suse.de>
19021         [BZ #17195]
19022         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19023         as well as the main arena.
19025 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19027         [BZ #18185]
19028         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19029         sharing L2 cache to 2 for Silvermont/Knights Landing.
19031 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19033         [BZ #17711]
19034         * config.make.in (have-protected-data): New.
19035         * configure.ac: Check linker support for protected data symbol.
19036         * configure: Regenerated.
19037         * elf/Makefile (modules-names): Add tst-protected1moda and
19038         tst-protected1modb if $(have-protected-data) is yes.
19039         (tests): Add tst-protected1a and tst-protected1b if
19040         $(have-protected-data) is yes.
19041         ($(objpfx)tst-protected1a): New.
19042         ($(objpfx)tst-protected1b): Likewise.
19043         (tst-protected1modb.so-no-z-defs): Likewise.
19044         * elf/tst-protected1a.c: New file.
19045         * elf/tst-protected1b.c: Likewise.
19046         * elf/tst-protected1mod.h: Likewise.
19047         * elf/tst-protected1moda.c: Likewise.
19048         * elf/tst-protected1modb.c: Likewise.
19050 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19052         [BZ #17711]
19053         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19054         indicates it is called from do_lookup_x on relocation against
19055         protected data, skip the data definion in the executable from
19056         copy reloc.
19057         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19058         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19059         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19060         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19061         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19062         otherwise to 0.
19063         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19064         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19065         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19066         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19067         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19068         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19070 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19072         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19073         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19075 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19077         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19078         THREAD_SETMEM_NC.
19079         * sysdeps/x86_64/nptl/tls.h: Ditto.
19081 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19083         * dlfcn/tststatic.c (main): Converted to ...
19084         (do_test): ... this.
19085         (TEST_FUNCTION): New macro.
19086         Include test-skeleton.c.
19088 2015-03-26  Alan Modra  <amodra@gmail.com>
19090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19091         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19092         zero for undefined weak.
19093         (elf_machine_plt_conflict): Similarly.
19095 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19097         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19098         atanh.
19099         * math/auto-libm-test-out: Regenerated.
19100         * sysdeps/i386/fpu/libm-test-ulps: Update.
19101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19103         * math/auto-libm-test-in: Add another test of asin.
19104         * math/auto-libm-test-out: Regenerated.
19105         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19108         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19109         Remove macro.
19110         (LLL_EBX_REG): Likewise.
19111         (LLL_ENTER_KERNEL): Likewise.
19113         * math/auto-libm-test-in: Add more tests of asin.
19114         * math/auto-libm-test-out: Regenerated.
19115         * sysdeps/i386/fpu/libm-test-ulps: Update.
19116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19118         [BZ #18138]
19119         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19120         libc_do_syscall_args): New structure.
19121         (INTERNAL_SYSCALL_MAIN_0): New macro.
19122         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19123         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19124         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19125         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19126         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19127         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19128         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19129         Replace conditional definitions by conditional definitions of ....
19130         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19131         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19132         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19133         (libpthread-sysdep_routines): Add libc-do-syscall.
19134         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19136         to __NR_futex not 240.
19138 2015-03-25  Alan Modra  <amodra@gmail.com>
19140         * NEWS: Advertise TLS optimization.
19141         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19142         (DT_PPC_NUM): Increment.
19143         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19144         (CHECK_STATIC_TLS): Use here.
19145         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19146         TLS descriptors.
19147         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19148         * sysdeps/powerpc/dl-tls.c: New file.
19149         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19150         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19151         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19152         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19157 2015-03-25  Alan Modra  <amodra@gmail.com>
19159         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19160         for overlapping .opd entries" to "support...".
19161         * sysdeps/powerpc/powerpc64/configure: Regenerate
19163 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19165         * math/auto-libm-test-in: Add more tests of acos.
19166         * math/auto-libm-test-out: Regenerated.
19167         * sysdeps/i386/fpu/libm-test-ulps: Update.
19168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19170         * math/auto-libm-test-in: Add more tests of expm1.
19171         * math/auto-libm-test-out: Regenerated.
19172         * sysdeps/i386/fpu/libm-test-ulps: Update.
19173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19175 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19177         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19178         * math/auto-libm-test-out: Regenerated.
19179         * sysdeps/i386/fpu/libm-test-ulps: Update.
19180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19182         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19185         * math/auto-libm-test-in: Add more tests of log2.
19186         * math/auto-libm-test-out: Regenerated.
19187         * sysdeps/i386/fpu/libm-test-ulps: Update.
19188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19190 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19192         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19193         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19194         _IO_IS_APPENDING bit in READ_WRITE instead.
19196 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19198         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19199         (__determine_cpumask_size): Replace extend_alloca with a
19200         variable-length array.  Do not treat res == 0 as an error.
19202 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19204         [BZ #18100]
19205         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19206         and integer overflow.
19207         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19208         (main): Add integer overflow tests.
19209         * manual/pattern.texi (Calling Wordexp): Document additional use
19210         for WRDE_SYNTAX.
19212 2015-03-23  Alan Modra  <amodra@gmail.com>
19214         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19215         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19216         and false branch of conditional.
19217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19218         Likewise.
19220 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19222         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19223         libc-modules.h
19224         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19225         unused declaration of _hurd_intr_rpc_msg_in_trap.
19226         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19227         defined instead of whether it is non-zero.
19228         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19229         input constraint instead of both input and output constraint.  Use ecx
19230         clobber instead of %ecx.
19231         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19232         mutex_unlock): Use a statement expression instead of an expression list.
19233         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19234         type to vm_size_t instead of vm_address_t.
19235         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19236         defined instead of whether it is non-zero.
19237         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19238         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19239         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19240         comparisons with mapaddr.
19241         * nscd/nscd-client.h: Include <time.h>.
19242         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19243         9th parameter to __vm_region instead of int.
19244         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19245         * scripts/check-local-headers.sh (exclude): Add device/,
19246         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19247         cthreads.h.
19249 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19251         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19252         to account for alignment padding.
19253         * sysdeps/arm/memmove.S: Likewise.
19255 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19257         * sysdeps/unix/sysv/linux/generic/README: New file.
19259 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19261         [BZ #18138]
19262         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19263         (futex_abstimed_wait)
19264         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19265         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19266         of lll_futex_timed_wait.
19268 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19270         [BZ #17542]
19271         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19273 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19275         [BZ #17090]
19276         [BZ #17620]
19277         [BZ #17621]
19278         [BZ #17628]
19279         * NEWS: Update.
19280         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19281         entries with Static TLS too.  Skip entries past the end of the
19282         allocated DTV, from Alan Modra.
19283         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19284         Static TLS DTV entry set up from...
19285         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19286         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19287         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19288         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19289         for Static TLS.
19290         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19291         that the slot we find is associated with the given map before
19292         using its generation count.
19293         * nptl_db/db_info.c: Include ldsodefs.h.
19294         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19295         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19296         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19297         (link_map::l_tls_offset): New struct field.
19298         (dtv_t::counter): Likewise.
19299         (rtld_global): New struct.
19300         (_rtld_global): New rtld variable.
19301         (dl_tls_dtv_slotinfo_list): New rtld global field.
19302         (dtv_slotinfo_list): New struct.
19303         (dtv_slotinfo): Likewise.
19304         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19305         (td_lookup): Rename to...
19306         (td_mod_lookup): ... this.  Use new mod parameter instead of
19307         LIBPTHREAD_SO.
19308         * nptl_db/td_thr_tlsbase.c: Include link.h.
19309         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19310         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19311         addresses even if the DTV is out of date or missing them.
19312         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19313         index zero-length arrays.
19314         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19315         (td_lookup): Make it a macro implemented in terms of...
19316         (td_mod_lookup): ... this declaration.
19317         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19318         (DB_MAIN_VARIABLE): Likewise.
19320 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19322         [BZ #18134]
19323         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19325 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19327         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19329 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19331         [BZ #18128]
19332         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19333         (atomic_add, atomic_increment_and_test)
19334         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19336 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19338         * stdlib/setenv.c (__add_to_environ):
19339         Dump core quickly if setenv (..., NULL, ...) is called.
19341 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19343         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19344         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19345         all the necessary asm magic in one place.
19346         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19347         using those.
19349 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19351         [BZ #14906]
19352         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19353         traced file mtime. Use consistent log message.
19354         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19355         (register_traced_file): Call install_watches. Always set mtime.
19356         (invalidate_cache): Iterate over all trace files. Call install_watches.
19357         (inotify_check_files): Don't inline. Handle watching parent
19358         directories and configuration file movement in and out.
19359         (handle_inotify_events): New function.
19360         (main_loop_poll): Call handle_inotify_events.
19361         (main_loop_epoll): Likewise.
19362         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19363         (struct traced_file): Use array of inotify fds. Add parent directory,
19364         and basename.
19365         (struct database_dyn): Remove unused file_mtime.
19366         (init_traced_file): New inline function.
19367         (define_traced_file): New macro.
19368         * nss/nss_db/db-init.c: Use define_traced_file.
19369         (_nss_db_init): Use init_traced_file.
19370         * nss/nss_files/files-init.c: Use define_traced_file.
19371         (_nss_files_init): Use init_traced_file.
19373 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19375         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19376         [_LIBC]: Do not include <stdlib.h>.
19377         [!_LIBC] (abort): Remove declaration.
19378         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19379         _FP_STATIC_ASSERT instead of conditionally calling abort.
19380         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19381         (_FP_EXTEND_CNAN): Likewise.
19382         (FP_TRUNC): Likewise.
19383         (__FP_CLZ): Likewise.
19384         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19386 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19388         * manual/string.texi (XPG basename): Fix prototype.
19390 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19392         [BZ #18080]
19393         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19394         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19395         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19396         (__setcontext): Likewise.
19397         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19398         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19399         Call rt_sigprocmask syscall one time to set new signal mask
19400         and retrieve the current signal mask instead of two calls.
19401         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19402         (__swapcontext): Likewise.
19403         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19404         * stdlib/tst-setcontext2.c: New file.
19406 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19408         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19410 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19412         [BZ #18093]
19413         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19414         the wrong size.
19416 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19418         [BZ #18043]
19419         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19421 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19423         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19424         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19425         Remove define.
19426         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19427         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19428         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19429         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19430         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19431         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19432         define.
19433         * nptl_db/td_symbol_list.c (td_lookup): Remove
19434         HAVE_ASM_GLOBAL_DOT_NAME code.
19435         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19436         HAVE_ASM_GLOBAL_DOT_NAME check.
19437         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19438         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19439         (DOT_LABEL): Remove define.
19440         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19441         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19442         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19443         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19444         (__TLS_GET_ADDR): Likewise.
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19446         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19448 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19450         [BZ #18111]
19451         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19452         (_FPU_SETCW): Initialize cw from fpsr before storing.
19453         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19454         (fesetexceptflag): Rewrite using fpu_control.h.
19455         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19457 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19459         [BZ #18110]
19460         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19461         asms.
19462         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19464 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19466         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19467         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19468         abort.
19469         (_FP_FMA): Likewise.
19470         (_FP_DIV): Likewise.
19472 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19474         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19475         with 0 in that case.
19476         * Makefile (summarize-tests): New canned sequence, factored out of
19477         commands for targets tests and xtests.  Display summary lines that
19478         don't start with PASS: or XFAIL: rather than ones that do start with
19479         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19480         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19481         do start with ERROR: or FAIL:.
19482         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19483         (except for [$(build-shared) = yes]).
19484         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19485         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19486         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19487         * nptl/Makefile: Revert 2015-03-04 changes.
19488         [$(CXX) empty] (tests-unsupported): New variable.
19489         * debug/Makefile: Likewise.
19491         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19492         gnulib file.  Replace __attribute with __attribute__ throughout.
19494 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19496         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19498 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19500         [BZ #18104]
19501         * math/auto-libm-test-in: Add another test of pow.
19502         * math/auto-libm-test-out: Regenerated.
19504 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19506         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19507         $(config-cflags-nofma).
19509 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19511         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19512         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19513         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19514         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19515         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19516         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19517         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19518         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19519         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19520         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19521         Add comment on closing #endif.
19523 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19525         * posix/wordexp.c (CHAR_IN_SET): New macro.
19526         (parse_param): Use it.
19528 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19530         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19532 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19534         [BZ #18043]
19535         * posix/wordexp.c (parse_param): Fix buffer overflow.
19536         * posix/wordexp-test.c (test_case): Add test case.
19538 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19540         [BZ #18042]
19541         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19542         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19544 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19546         [BZ #18043]
19547         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19548         (do_bz18043): Delete.
19549         (at_page_end): New.
19550         (testit): Refactor to have words at the edge of unreadable page.
19552 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19554         [BZ #16734]
19555         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19556         Cleanup read-only streams as well.
19557         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19559 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19561         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19562         <bits/libc-lockP.h>
19564 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19566         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19567         on [__KERNEL__].
19568         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19569         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19570         * soft-fp/op-common.h (_FP_DECL): Likewise.
19572 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19574         * elf/ifuncdep2.c (global): Replace
19575         __attribute__((visibility("protected"))) with
19576         asm (".protected global").
19577         * elf/ifuncmod1.c (global): Likewise.
19578         * elf/ifuncmod5.c (global): Likewise.
19580 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19582         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19583         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19585 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19587         * manual/install.texi (Configuring and compiling):
19588         Document test-wrapper-env-only.
19589         * INSTALL: Regenerated.
19591 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19593         [BZ #18043]
19594         * posix/wordexp.c (parse_param): Fix buffer overflow.
19595         * posix/wordexp-test.c (do_bz18043): Add test case.
19597 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19599         * time/tst-strptime2.c (do_test): Ensure failing tests are
19600         reported correctly.
19601         * time/tst-strptime3.c (do_test): Likewise.
19603 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19605         Fix aio_error thread-safety.
19606         * sysdeps/pthread/aio_error.c: New file
19607         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19608         synchronization.
19610 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19612         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19613         (group_number, vfprintf): Use it.
19614         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19615         (JUMP, REF): Use it.
19616         (WORK_BUFFER_SIZE): New enum constant.
19617         (process_arg, vfprintf): Use it.
19619 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19621         * manual/errno.texi (Error Messages): Complete example function
19622         by adding missing #define.
19623         (program_invocation_name): Add statement indicating GNU
19624         extension and reference which header file declares the variable.
19625         (program_invocation_short_name): Likewise.
19627 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19629         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19630         compatibility note.
19632 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19634         * Makeconfig (test-wrapper-env-only): New variable.
19635         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19636         then use that with $(test-wrapper-env-only) rather than using
19637         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19639 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19641         [BZ #18082]
19642         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19643         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19644         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19645         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19646         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19647         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19648         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19649         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19650         Likewise.
19651         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19652         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19653         Likewise.
19654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19655         Likewise.
19656         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19657         Likewise.
19658         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19659         Likewise.
19660         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19661         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19662         Likewise.
19663         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19664         Likewise.
19665         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19666         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19668 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19670         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19671         (ETH_ALEN): New macro.
19672         (struct ether_addr): Use it for length of ether_addr_octet.
19674         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19675         (setdb): Don't call __nss_configure_lookup for "rpc".
19676         (do_test): Don't call test_rpc.
19677         (output_rpcent, test_rpc): Functions moved ...
19678         * sunrpc/test-rpcent.c: ... to this new file.
19679         * sunrpc/Makefile (tests): Add it.
19681         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19682         __xpg_sigpause.
19683         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19684         * nptl/tst-signal6.c: Likewise.
19685         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19686         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19688         * configure.ac (libc_cv_cxx_link_ok): New check.
19689         Reset CXX to empty if it fails to link.
19690         * configure: Regenerated.
19691         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19692         bug-atexit3-lib only if $(CXX) is nonempty.
19693         * nptl/Makefile (tests): Likewise for tst-cancel24.
19694         (tests, tests-static): Likewise for tst-cancel24-static.
19695         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19696         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19697         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19698         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19700 2015-03-04  Andreas Schwab  <schwab@suse.de>
19702         [BZ #17631]
19703         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19704         for non-GCC compilers.
19705         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19706         Likewise.
19708 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19710         [BZ #17776]
19711         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19712         integer before bitwise and assembly operations.
19713         (feclearexcept): Likewise.
19714         * math/test-fenvinline.c: New file.
19715         * math/Makefile: Add test-fenvinline test.
19717 2015-03-03  Alan Modra  <amodra@gmail.com>
19719         [BZ #16512]
19720         * scripts/localplt.awk: Strip off symbol version.
19721         * NEWS: Mention bug fix.
19723 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19725         * sysdeps/pthread/timer_routines.c
19726         (timer_free_list, thread_free_list, thread_active_list): Make static.
19728 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19730         [BZ #17779]
19731         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19732         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19733         Undefine.
19734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19735         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19736         Likewise.
19737         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19738         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19739         Likewise.
19741 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19743         [BZ #18036]
19744         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19745         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19747 2015-03-02  Andreas Schwab  <schwab@suse.de>
19749         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19750         variable name.
19752 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19754         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19755         Return error status.
19757 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19759         [BZ #15969]
19760         * locale/findlocale.c (_nl_find_locale): Introduce const
19761         version of loc_name and drop unsafe type casts.
19763 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19765         * dlfcn/tststatic2.c (main): Converted to ...
19766         (do_test): ... this.
19767         (TEST_FUNCTION): New macro.
19768         Include test-skeleton.c.
19770 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19772         [BZ #17711]
19773         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19774         (tests-pie): Add vismain.
19775         (CFLAGS-vismain.c): New.
19776         * elf/vismain.c: Add comments for PIE requirement.
19778 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #18046]
19781         [BZ #18047]
19782         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19783         0x1p-56L as threshold for just returning the argument.
19784         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19785         0x1p-32L as threshold for just returning the argument.
19786         * math/auto-libm-test-in: Add more tests of atanh.
19787         * math/auto-libm-test-out: Regenerated.
19788         * sysdeps/i386/fpu/libm-test-ulps: Update.
19789         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19791 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19793         * string/bcopy.c (bcopy): Call memmove for performance.
19795 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19797         * string/bzero.c (__bzero): Call memset for performance.
19799 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19801         [BZ #18068]
19802         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19803         to 00100000.
19805 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19807         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19809 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19811         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19812         (__kernel_standard): Use CSTR macro when setting exc.name.
19813         * sysdeps/ieee754/Makefile [$(subdir) = math]
19814         (CFLAGS-k_standard.c): Remove variable.
19816         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19817         setting p and q from "else if" to "else".
19818         (qzero): Likewise.
19819         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19820         (qone): Likewise.
19821         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19822         (qzerof): Likewise.
19823         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19824         (qonef): Likewise.
19825         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19826         (qzero): Likewise.
19827         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19828         (qone): Likewise.
19830         [BZ #18038]
19831         [BZ #18039]
19832         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19833         return pi/2 for arguments below 0x1p-113L.
19834         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19835         return pi/2 for arguments below 0x1p-106L.
19836         * math/auto-libm-test-in: Add more tests of acos.
19837         * math/auto-libm-test-out: Regenerated.
19839         [BZ #16351]
19840         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19841         (MO): New macro.
19842         (__ieee754_asin): Force underflow exception for results with small
19843         absolute value.
19844         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19845         (MO): New macro.
19846         (__ieee754_asinf): Force underflow exception for results with
19847         small absolute value.
19848         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19849         (__ieee754_asin): Force underflow exception for results with small
19850         absolute value.
19851         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19852         (__ieee754_asinf): Force underflow exception for results with
19853         small absolute value.
19854         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19855         (__ieee754_asinl): Force underflow exception for results with
19856         small absolute value.
19857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19858         (__ieee754_asinl): Force underflow exception for results with
19859         small absolute value.
19860         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19861         (__ieee754_asinl): Force underflow exception for results with
19862         small absolute value.
19863         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19864         Include <math.h>.
19865         * math/auto-libm-test-in: Do not mark underflow exceptions as
19866         possibly missing for bug 16351.
19867         * math/auto-libm-test-out: Regenerated.
19869         [BZ #18030]
19870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19871         of power of 2 down when low part has opposite sign.
19872         * math/libm-test.inc (logb_test_data): Add more tests.
19874 2015-02-26  Andreas Schwab  <schwab@suse.de>
19876         [BZ #18032]
19877         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19878         over collating symbol inside a bracket expression.  Minor cleanup.
19879         * posix/tst-fnmatch3.c (do_test): Add test case.
19881 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #18029]
19884         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19885         Adjust exponent of power of 2 down when low part has opposite
19886         sign.
19887         * math/libm-test.inc (ilogb_test_data): Add more tests.
19889 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19891         [BZ #15969]
19892         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19893         the previous change.
19895         [BZ #15969]
19896         * locale/findlocale.c (_nl_find_locale): Retry archive search
19897         after alias expansion.
19899 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19901         * iconv/tst-iconv3.c (main): Converted to ...
19902         (do_test): ... this.
19903         (TEST_FUNCTION): New macro.
19904         Include test-skeleton.c.
19906         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19907         (convert): Make function static.
19908         (test_unalign): Likewise.  Add const to argument pointee types.
19909         (main): Replace with static function do_test.
19910         Print "Succeeded." only if RET is zero.
19911         (TEST_FUNCTION): New macro.
19912         Include test-skeleton.c.
19914         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19915         returns a null pointer.
19917 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19919         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19920         to __memcpy_ppc only for static builds.
19922 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19924         [BZ #18020]
19925         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19926         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19927         * math/auto-libm-test-in: Add more tests of asinh.
19928         * math/auto-libm-test-out: Regenerated.
19929         * sysdeps/i386/fpu/libm-test-ulps: Update.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19932 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19934         [BZ #15850]
19935         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19936         and ip6_mtuinfo definitions here.
19937         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19938         in this define too.  Update comment.
19940 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19942         * elf/sprof.c (load_shobj): Tweak error message to match others.
19944 2015-02-24  Kevin Easton  <kevin@guarana.org>
19946         [BZ #16145] (partial fix)
19947         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19948         to reduce lock contention.
19950 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19952         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19953         (struct timex): Update time comment.
19954         (ADJ_SETOFFSET): Define.
19956 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19958         [BZ #18019]
19959         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19960         2**56 not 2**28 as threshold for log (2x) formula.
19961         * math/auto-libm-test-in: Add more tests of acosh.
19962         * math/auto-libm-test-out: Regenerated.
19963         * sysdeps/i386/fpu/libm-test-ulps: Update.
19964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19966 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19968         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19969         parenthesis around the buf assignment.
19970         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19972 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #16783]
19975         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19976         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19977         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19978         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19979         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19980         * math/libm-test.inc (scalb_test_data): Add more tests.
19982 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19984         [BZ #17916]
19985         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19986         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19988 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19990         [BZ #17523]
19991         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19992         * io/bits/fcntl2.h (open): Use it.
19993         (openat): Likewise.
19994         * io/open.c (__libc_open): Likewise.
19995         * io/open64.c (__libc_open64): Likewise.
19996         * io/open64_2.c (__open64_2): Likewise.
19997         * io/open_2.c (__open_2): Likewise.
19998         * io/openat.c (__openat): Likewise.
19999         * io/openat64.c (__openat64): Likewise.
20000         * io/openat64_2.c (__openat64_2): Likewise.
20001         * io/openat_2.c (__openat_2): Likewise.
20002         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20003         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20004         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20005         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20006         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20007         (__open_nocancel): Likewise.
20008         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20009         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20010         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20012 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20014         [BZ #14841]
20015         * resolv/gethnamaddr.c (getanswer): Skip logging if
20016         RES_USE_DNSSEC is set.
20017         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20019 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20021         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20023 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20025         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20026         201304L, for Unicode 7.
20028 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20030         [BZ #17836]
20031         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20032         shared library.  Add gmon-start.os otherwise.
20033         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20034         $(objpfx)gmon-start.os if builing shared library.
20035         ($(objpfx)g$(static-start-installed-name)): Likewise.
20037 2015-02-23  Andreas Schwab  <schwab@suse.de>
20039         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20041 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20043         [BZ #17269]
20044         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20045         (enlarge_userbuf): Likewise.
20047 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20049         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20050         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20051         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20052         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20054 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20056         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20057         expression inside statement expression.
20059 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20061         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20062         <sysdeps/nptl/lowlevellock.h> and remove macros and
20063         functions that are now defined there.
20064         (SYS_futex): Remove.
20065         (lll_compare_and_swap): Remove.
20066         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20068 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20070         [BZ #17999]
20071         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20072         instead of scandirat.
20073         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20074         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20075         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20076         __scandirat.
20077         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20078         (__scandirat): Declare.  Use libc_hidden_proto.
20079         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20080         Remove variable.
20081         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20083 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20085         [BZ #15319]
20086         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20087         (MO): New macro.
20088         (__ieee754_atan2): For results with small absolute value, force
20089         underflow exception and remove excess range and precision from
20090         return value.
20091         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20092         (MO): New macro.
20093         (__ieee754_atan2f): For results with small absolute value, force
20094         underflow exception and remove excess range and precision from
20095         return value.
20096         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20097         (MO): New macro.
20098         (__atan): For results with small absolute value, force underflow
20099         exception and remove excess range and precision from return value.
20100         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20101         (MO): New macro.
20102         (__atanf): For results with small absolute value, force underflow
20103         exception and remove excess range and precision from return value.
20104         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20105         <math.h>.
20106         (__ieee754_atan2): Force underflow exception for results with
20107         small absolute value.
20108         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20109         <math_private.h>.
20110         (atan): Force underflow exception for results with small absolute
20111         value.
20112         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20113         (__atanf): Force underflow exception for results with small
20114         absolute value.
20115         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20116         <math.h>.
20117         (__atanl): Force underflow exception for results with small
20118         absolute value.
20119         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20120         (__atanl): Force underflow exception for results with small
20121         absolute value.
20122         * sysdeps/x86/fpu/bits/mathinline.h
20123         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20124         (__ieee754_atan2): Only define inline for long double.
20125         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20126         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20127         * math/auto-libm-test-in: Do not mark underflow exceptions as
20128         possibly missing for bug 15319.  Add more tests of atan2.
20129         * math/auto-libm-test-out: Regenerated.
20130         * math/libm-test.inc (casin_test_data): Do not mark underflow
20131         exceptions as possibly missing for bug 15319.
20132         (casinh_test_data): Likewise.
20133         * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20137         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20138         * sysdeps/mips/bits/endian.h: Fix comments.
20140 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20142         [BZ #17996]
20143         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20144         (hdestroy_r): Likewise.
20145         (hsearch_r): Likewise.
20146         (__hcreate_r): Declare and use libc_hidden_proto.
20147         (__hdestroy_r): Likewise.
20148         (__hsearch_r): Likewise.
20149         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20150         (hcreate): Call __hcreate_r instead of hcreate_r.
20151         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20152         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20153         as weak alias of __hcreate_r.
20154         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20155         __hdestroy_r.
20156         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20157         __hsearch_r.
20158         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20159         Remove variable.
20160         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20161         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20162         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20163         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20165 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20167         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20168         arena_lock into a single arena_get.
20170 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20172         * dl-reloc.c: Inlucde libc-internal.h.
20173         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20174         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20175         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20176         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20177         (grow_heap): Likewise.
20178         * malloc/malloc.c: Include libc-internal.h.
20179         (do_check_malloc): Call powerof2.
20180         (sysmalloc): Use pagesize. Call ALIGN_UP.
20181         (systrim): Use pagesize.
20182         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20183         (__libc_valloc): Use pagesize.
20184         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20186 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20188         [BZ #17991]
20189         * include/sys/resource.h (__getrlimit64): Declare.  Use
20190         libc_hidden_proto.
20191         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20192         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20193         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20194         getrlimit64.
20195         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20196         __getrlimit64.
20197         [!getrlimit64] (getrlimit64): Define as weak alias of
20198         __getrlimit64.  Use libc_hidden_weak.
20199         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20200         using __getrlimit64 not __new_getrlimit64.
20201         (__GI_getrlimit64): Likewise.
20202         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20203         Likewise.
20204         (__GI_getrlimit64): Likewise.
20205         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20207         (getrlimit): Add __getrlimit64 alias.
20208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20209         Likewise.
20210         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20211         Remove variable.
20212         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20213         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20215 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20217         * libio/fileops.c: Add missing sys/mman.h
20218         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20220 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20222         * manual/math.texi (Errors in Math Functions): Clarify goals
20223         regarding inexact and underflow exceptions.
20225 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20227         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20228         * sysdeps/mips/memset.S: Ditto.
20230 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20232         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20234 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20236         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20237         (__v1longjmp): Remove versioned symbol.
20238         (__v1siglongjmp): Remove alias and versioned symbol.
20239         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20240         (__v2siglongjmp): Likewise.
20242 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20244         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20246 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20248         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20250 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #17987]
20253         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20254         zero result does not depend on the sign resulting from
20255         subtraction.
20256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20257         Likewise.
20258         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20259         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20260         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20261         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20262         * math/libm-test.inc (remquo_test_data): Add more tests.
20264 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20266         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20267         Problem reported by J William Piggott.
20269 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20271         [BZ #17978]
20272         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20273         products 4 * y and 2 * y where those would overflow.
20274         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20275         Likewise.
20276         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20277         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20278         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20279         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20280         * math/libm-test.inc (remquo_test_data): Add more tests.
20282         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20284         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20285         [defined _COMPILING_NEWLIB].
20286         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20287         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20289         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20290         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20292 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20294         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20295         acquired.
20297 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20299         [BZ #17792]
20300         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20301         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20302         HOST_STACK_END_ADDR): Likewise.
20304 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20306         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20307         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20308         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20310 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20312         * sysdeps/generic/c++-types.data: New file.
20313         * sysdeps/generic/ld.abilist: New file.
20314         * sysdeps/generic/libBrokenLocale.abilist: New file.
20315         * sysdeps/generic/libanl.abilist: New file.
20316         * sysdeps/generic/libc.abilist: New file.
20317         * sysdeps/generic/libcrypt.abilist: New file.
20318         * sysdeps/generic/libdl.abilist: New file.
20319         * sysdeps/generic/libm.abilist: New file.
20320         * sysdeps/generic/libpthread.abilist: New file.
20321         * sysdeps/generic/libresolv.abilist: New file.
20322         * sysdeps/generic/librt.abilist: New file.
20324 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20326         [BZ #17569]
20327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20328         Compute absolute value of x as modified by fmod, not original
20329         value of x.
20330         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20331         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20332         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20333         RUN_TEST_ffI_f1_mod8.
20334         (remquo_test_data): Add more tests.
20336 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20338         * sysdeps/init_array/pt-crti.S: New file.
20340 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20342         [BZ #17967]
20343         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20344         __builtin_fmaf instead of relying on contraction of a * b + c.
20346 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20348         [BZ #17969]
20349         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20350         node.
20352 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20354         [BZ #17964]
20355         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20356         __builtin_fma instead of relying on contraction of a * b + c.
20358 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20360         * Makeconfig (ASFLAGS): Add -Werror=undef.
20361         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20362         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20363         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20365         * Makeconfig (after-link): New variable.
20366         (+link-pie, +link-pie-tests): Use it.
20367         (+link-static, +link-static-tests): Likewise.
20368         (+link, +link-tests): Likewise.
20369         * Makerules (build-module, build-module-asneeded): Likewise.
20370         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20371         Likewise.
20372         * elf/Makefile ($(objpfx)ld.so): Likewise.
20374 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20376         [BZ #17965]
20377         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20378         both struct timeval and struct timespec.
20380 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20382         [BZ #16560]
20383         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20384         and redefine.
20385         (__ieee754_exp2l): Do not multiply small fractional parts by
20386         M_LN2l.
20387         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20388         small argument.
20389         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20390         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20391         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20392         * math/auto-libm-test-in: Add more tests of exp2.
20393         * math/auto-libm-test-out: Regenerated.
20395 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20397         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20398         unaligned path.
20400 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20402         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20403         little endian.
20405 2015-02-12  Andreas Schwab  <schwab@suse.de>
20407         [BZ #15790]
20408         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20409         Filter out elision flags from value returned in kind.
20410         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20411         * nptl/tst-pthread-mutexattr.c: New file.
20413 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20415         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20416         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20417         into gnu-gnu, and update comment to refer to abi-tags.
20419 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20421         [BZ #15467]
20422         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20423         (__sincos): Set errno to EDOM for infinite argument.
20424         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20425         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20426         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20427         (__sincosl): Set errno to EDOM for infinite argument.
20428         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20429         (__sincosl): Set errno to EDOM for infinite argument.
20430         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20431         (__sincosl): Set errno to EDOM for infinite argument.
20432         * math/libm-test.inc (sincos_test_data): Test errno setting.
20434 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20436         * string/strxfrm_l.c: Remove #define STRCMP.
20437         * string/strcoll_l.c: Remove #define STRLEN.
20438         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20439         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20441 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20443         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20444         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20445         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20446         * sysdeps/mips/mips64/Makefile: ... here.
20447         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20448         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20449         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20450         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20451         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20452         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20453         * sysdeps/mips/mips64/n64/Implies: Likewise.
20455 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20457         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20458         <sys/time.h>, <string.h>, and <errno.h>.
20459         (dest_offset, dest_address, value, zero): Remove unused variables.
20460         (ldouble): Remove typedef.
20461         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20462         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20463         1).  Fix code style.
20464         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20465         (check): Function removed.
20466         (CHECK): New macro.
20467         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20468         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20469         Don't call set_sigaction_FP and remove_sigaction_FP here.
20470         (ldouble_test): Just use 'long double' as macro argument, no need for
20471         the 'ldouble' typedef.
20472         (do_test): Set up SIGFPE handler at start, using plain signal rather
20473         than sigaction.  Fix code style.
20475 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20477         [BZ #17949]
20478         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20479         jump label.
20481 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20483         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20484         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20486         * sysdeps/powerpc/configure.ac: Remove file.
20487         * sysdeps/powerpc/configure: Likewise.
20489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20490         [sysdep_routines]: Remove wordcopy-power6 object.
20491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20492         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20493         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20494         (__memmove_ppc32): Likewise.
20495         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20496         file.
20497         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20498         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20499         Remove preprocessor.
20501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20502         [sysdep_routines]: Remove wide chars objects.
20503         [wcsmbs]: New rule for wide char objects.
20505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20506         Remove wordcopy-power6 obejct.
20507         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20508         Use local call for wordcopy and memcpy symbols.
20509         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20510         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20511         implementation for loader.
20512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20515         Remove wordcopy-power7 object.
20516         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20518         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20519         (_wordcopy_fwd_dest_aligned): Likewise.
20520         (_wordcopy_bwd_aligned): Likewise.
20521         (_wordcopy_bwd_dest_aligned): Likewise.
20523         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20524         Rewrite to call __memmove_ppc instead of include default
20525         implementation.
20527         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20528         Remove wide chars objects.
20529         [wcsmbs]: New rule for wide char objects.
20531 2015-02-09  Andreas Schwab  <schwab@suse.de>
20533         [BZ #17912]
20534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20535         in terms of __O_DIRECTORY.
20537 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20539         * time/getdate.c: Include <stdbool.h>.
20540         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20541         call PTR_MANGLE.
20542         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20543         PTR_DEMANGLE.
20545 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20547         Add ersatz _Static_assert on older C hosts
20548         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20549         pre-C11 C platform that is not known to support _Static_assert.
20551 2015-02-07  Richard Braun  <rbraun@sceen.net>
20553         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20554         sigstate.
20555         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20557 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20559         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20560         priority against unexistent AIO_PRIO_DELTA_MAX.
20561         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20562         instead of int.
20563         * misc/fchflags.c (fchflags): Likewise.
20564         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20565         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20566         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20567         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20568         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20569         Declare macros.
20570         [__USE_MISC] (chflags, fchflags): Declare functions.
20571         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20572         EINVAL when nfds is greater than FD_SETSIZE.
20573         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20574         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20575         45.
20576         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20577         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20578         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20579         MACH_RCV_TIMED_OUT.
20580         * hurd/hurd/signal.h (_hurd_self_sigstate,
20581         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20582         Explicit casts from void *.
20583         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20584         * abi-tags: Rename gnu-gnu os into gnu.
20586         [BZ #4719]
20587         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20588         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20589         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20590         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20591         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20592         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20594         [BZ #17944]
20595         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20596         duplicates ADDR->sun_path with sockaddr LEN limitation.
20597         * sysdeps/mach/hurd/connect.c: Include <string.h>
20598         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20599         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20600         * sysdeps/mach/hurd/sendto.c: Likewise.
20601         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20602         implementing it by hand.
20604 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20606         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20607         Use sfi_breg on ldr.
20608         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20609         Likewise.
20611         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20612         it's defined.
20613         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20614         Test SIGSETXID only if it's defined.
20616         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20618         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20619         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20621         * nptl/tst-align2.c: Moved ...
20622         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20623         * nptl/Makefile (tests): Remove tst-align2.
20624         * sysdeps/unix/sysv/linux/Makefile
20625         [$(subdir) = nptl] (tests): Add tst-align-clone.
20626         * nptl/tst-getpid1.c: Moved ...
20627         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20628         * nptl/tst-getpid2.c: Moved ...
20629         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20630         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20631         * sysdeps/unix/sysv/linux/Makefile
20632         [$(subdir) = nptl] (tests): ... here.
20633         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20634         * sysdeps/unix/sysv/linux/Makefile
20635         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20637         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20638         Drop trailing \n from perror argument.  Use return rather than exit.
20640         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20641         on [SA_SIGINFO].
20642         * nptl/tst-cancel21.c (do_test): Likewise.
20643         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20644         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20645         [!SA_SIGINFO]: Make it a stub test.
20647         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20648         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20650         * posix/tst-getlogin.c: Move to ...
20651         * login/tst-getlogin.c: ... here.
20652         * posix/Makefile (tests): Move tst-getlogin to ...
20653         * login/Makefile (tests): ... here.
20655         * libio/tst-atime.c (do_test): Move local variables SV and E
20656         inside [ST_NOATIME] conditional.
20658         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20660         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20662         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20663         (wait_code): New function replaces macro.
20664         Call nanosleep rather than syscall.
20666         * nptl/pt-system.c: Rewritten.  Put everything under
20667         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20668         Use IFUNC to redirect when possible.
20670         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20671         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20672         Use IFUNC to redirect when possible.
20674         * nptl/pt-fork.c: Rewritten.  Put everything under
20675         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20676         Use IFUNC to redirect when possible.
20677         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20680         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20681         unconditionally nowadays.  This included the only reference to
20682         __vdso_clock_gettime that appears outside libc proper.
20683         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20684         Remove version set (containing only __vdso_clock_gettime).
20685         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20686         Add attribute_hidden.
20687         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20688         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20689         libc_hidden_data_def.
20690         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20691         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20693         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20694         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20695         setrpcent, and getrpcport to ...
20696         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20697         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20698         getrpcbynumber_r, and getrpcent_r to ...
20699         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20700         * inet/getrpcbyname.c: Moved ...
20701         * sunrpc/getrpcbyname.c: ... here.
20702         * inet/getrpcbyname_r.c: Moved ...
20703         * sunrpc/getrpcbyname_r.c: ... here.
20704         * inet/getrpcbynumber.c: Moved ...
20705         * sunrpc/getrpcbynumber.c: ... here.
20706         * inet/getrpcbynumber_r.c: Moved ...
20707         * sunrpc/getrpcbynumber_r.c: ... here.
20708         * inet/getrpcent.c: Moved ...
20709         * sunrpc/getrpcent.c: ... here.
20710         * inet/getrpcent_r.c: Moved ...
20711         * sunrpc/getrpcent_r.c: ... here.
20712         * inet/Makefile (routines): Move those to ...
20713         * sunrpc/Makefile (routines): ... here.
20714         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20715         the $(subdirs) list.
20716         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20717         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20718         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20719         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20721         * elf/Makefile (routines): Include $(all-dl-routines), not just
20722         $(dl-routines).
20723         (rtld-routines): Likewise.  Use = rather than :=.
20724         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20725         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20726         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20727         * sysdeps/arm/Makefile: Likewise.
20728         * sysdeps/i386/Makefile: Likewise.
20729         * sysdeps/x86_64/Makefile: Likewise.
20730         * sysdeps/hppa/Makefile [$(subdir) = elf]
20731         (sysdep_routines, sysdep-rtld-routines): Don't add
20732         $(sysdep-dl-routines) to these.
20733         * sysdeps/ia64/Makefile: Likewise.
20734         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20735         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20736         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20737         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20738         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20739         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20740         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20741         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20742         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20743         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20744         these; sysdep-dl-routines alone is enough.
20746 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20748         [BZ #17932]
20749         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20750         where multiplication results in zero and third argument is finite
20751         and nonzero.
20752         * math/auto-libm-test-in: Add more tests of fma.
20753         * math/auto-libm-test-out: Regenerated.
20755         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20756         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20757         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20758         (_FP_CMP_EQ): Likewise.
20759         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20761         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20762         extra argument CHECK_NAN.  Redefine as wrapper around
20763         _FP_EXTEND_CNAN.
20765 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20767         * version.h (RELEASE): Set to "stable".
20768         (VERSION): Set to "2.21"
20769         * include/features.h (__GLIBC_MINOR__): Set to 21.
20771         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20773 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20774             Paul Eggert  <eggert@cs.ucla.edu>
20776         [BZ #16618]
20777         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20778         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20779         size in bytes. Store needed elements in wpmax. Use needed size
20780         in bytes for extend_alloca.
20782 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20784         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20785         binutls 2.25, and texinfo 5.2.
20786         * INSTALL: Regenerate.
20787         * sysdeps/nios2/configure: Regenerate.
20788         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20789         * manual/contrib.texi: Update.
20790         * po/be.po: Update.
20791         * po/bg.po: Update.
20792         * po/ca.po: Update.
20793         * po/cs.po: Update.
20794         * po/da.po: Update.
20795         * po/de.po: Update.
20796         * po/el.po: Update.
20797         * po/eo.po: Update.
20798         * po/es.po: Update.
20799         * po/fi.po: Update.
20800         * po/fr.po: Update.
20801         * po/gl.po: Update.
20802         * po/hr.po: Update.
20803         * po/hu.po: Update.
20804         * po/ia.po: Update.
20805         * po/id.po: Update.
20806         * po/it.po: Update.
20807         * po/ja.po: Update.
20808         * po/ko.po: Update.
20809         * po/lt.po: Update.
20810         * po/nb.po: Update.
20811         * po/nl.po: Update.
20812         * po/pl.po: Update.
20813         * po/pt_BR.po: Update.
20814         * po/ru.po: Update.
20815         * po/rw.po: Update.
20816         * po/sk.po: Update.
20817         * po/sl.po: Update.
20818         * po/sv.po: Update.
20819         * po/tr.po: Update.
20820         * po/uk.po: Update.
20821         * po/vi.po: Update.
20822         * po/zh_CN.po: Update.
20823         * po/zh_TW.po: Update.
20825         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20826         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20827         * sysdeps/hppa/dl-irel.h: Remove #warning.
20828         * sysdeps/hppa/entry.h: Provide prototype for
20829         __canonicalize_funcptr_for_compare and cast argument.
20830         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20831         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20832         * sysdeps/hppa/sotruss-lib.c: New file.
20833         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20834         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20835         (atomic_compare_and_exchange_bool_acq): Likewise.
20836         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20837         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20839         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20840         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20841         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20843 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20845         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20846         called function in non-PIC case.
20848 2015-01-31  David S. Miller  <davem@davemloft.net>
20850         * sysdeps/sparc/sparc32/bits/atomic.h
20851         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20852         unlock not after it.
20853         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20854         volatile register usage warnings from the compiler.
20856         * sysdeps/sparc/nptl/sem_init.c: Delete.
20857         * sysdeps/sparc/nptl/sem_post.c: Delete.
20858         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20859         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20860         * sysdeps/sparc/sparc32/sem_init.c: New file.
20861         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20862         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20863         padding explicitly initialized.
20864         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20865         padding for in-semaphore spinlock.
20866         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20867         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20868         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20869         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20870         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20871         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20872         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20873         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20874         version.
20875         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20876         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20878 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20880         [BZ #17801]
20881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20882         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20883         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20884         New.
20885         (index_AVX_Fast_Unaligned_Load): Likewise.
20886         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20887         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20888         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20889         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20890         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20891         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20892         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20893         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20894         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20896 2015-01-29  Andreas Schwab  <schwab@suse.de>
20898         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20900 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20902         [BZ #17892]
20903         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20905 2015-01-28  Martin Sebor  <msebor@redhat.com>
20907         * math/README.libm-test: Clarify. Add "How to read the test output."
20909 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20911         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20912         Define to 0.
20914 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20916         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20917         (__HAVE_64B_ATOMICS): Define to 0.
20919 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20921         [BZ #17885]
20922         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20923         value to set as new flag.
20925         [BZ #16576]
20926         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20927         and use _ARCH_PPCSQ instead.
20928         (__ieee754_sqrt): Likewise.
20929         (__ieee754_sqrtf): Likewise.
20930         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20931         _ARCH_PPCSQ is defined.
20932         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20933         fsqrt instruction.
20934         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20935         _ARCH_PPCSQ is defined.
20936         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20937         fsqrts instruction.
20938         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20940 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20942         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20943         bug (GCC BZ #64739).
20945 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20947         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20948         Mark _retval as used.
20949         (lll_futex_wake_unlock): Likewise.
20950         (lll_futex_timed_wait_requeue_pi): Likewise.
20952         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20953         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20954         register variables.
20956         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20957         libm_hidden_def.
20959         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20960         (__bswap_64): Mark as __always_inline.
20962 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20964         [BZ #15378]
20965         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20966         when none of the search directories exist.
20968 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20970         [BZ #17869]
20971         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20972         power8 in .machine directive.
20974         [BZ #17868]
20975         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20976         set dependency from opd value.
20978 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20981         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20982         architecture.
20984 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20986         [BZ #17870]
20987         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20988         with uint64_t.
20989         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20990         (uint64_t) 1.
20991         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20992         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20993         Replace 1UL with (uint64_t) 1.
20994         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20995         int with uint64_t.
20997 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20999         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21000         (if_freenameindex): Likewise.
21002         * resource/getrlimit64.c: Add missing libc_hidden_def.
21004 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21006         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21007         __label__.
21008         (_FP_FMA): Likewise.
21009         (_FP_TO_INT_ROUND): Likewise.
21010         (_FP_FROM_INT): Likewise.
21012 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21014         [BZ #16418]
21015         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21016         Make code racy and cancel safe.
21018 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21020         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21021         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21022         attribution.
21024         * pwd/tst-getpw.c: Rewrite.
21026         [BZ #17702]
21027         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21028         (modules-names): Add moddummy1 and moddummy2.
21029         ($(objpfx)tst-rec-dlopen): Define.
21030         * dlfcn/moddummy1.c: New file.
21031         * dlfcn/moddummy2.c: New file.
21032         * dlfcn/tst-rec-dlopen.c: New file.
21033         * elf/dl-cache.c (_dl_load_cache_lookup):
21034         Return char*. Copy result with alloca/strcpy/strdup.
21035         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21036         returns char*. Free cached. If not saving realname
21037         free cached.
21038         * elf/dl-open.c (dl_open_worker): Do not assert that
21039         _r_debug->r_state is RT_CONSISTENT.
21040         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21041         returns char*.
21043 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21044             Carlos O'Donell  <carlos@redhat.com>
21046         [BZ #12674]
21047         * nptl/sem_waitcommon.c: New file.
21048         * nptl/sem_wait.c: Include sem_waitcommon.c.
21049         (__sem_wait_cleanup, do_futex_wait): Remove.
21050         (__new_sem_wait): Adapt.
21051         (__new_sem_trywait): New function.
21052         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21053         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21054         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21055         (sem_timedwait): Adapt.
21056         * nptl/sem_post.c (__new_sem_post): Adapt.
21057         (futex_wake): New function.
21058         (__old_sem_post): Add release MO fence.
21059         * nptl/sem_open.c (sem_open): Adapt.
21060         * nptl/sem_init.c (__new_sem_init): Adapt.
21061         (futex_private_if_supported): New function.
21062         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21063         (__old_sem_getvalue): Add using previous code.
21064         * sysdeps/nptl/internaltypes.h: Adapt.
21065         * nptl/tst-sem13.c (do_test): Adapt.
21066         * nptl/tst-sem11.c (main): Adapt.
21067         * nptl/sem_trywait.c: Remove.
21068         * nptl/DESIGN-sem.txt: Remove.
21069         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21070         (gen-as-const-headers): Remove structsem.sym.
21071         * nptl/structsem.sym: Remove.
21072         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21073         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21074         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21075         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21076         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21077         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21078         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21079         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21080         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21081         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21082         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21083         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21084         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21085         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21086         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21087         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21088         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21089         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21090         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21091         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21092         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21093         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21095 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21097         * INSTALL: Regenerated.
21099         * po/libc.pot: Regenerated.
21101 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21102             Sandra Loosemore  <sandra@codesourcery.com>
21103             Andrew Jenner  <andrew@codesourcery.com>
21104             Joseph Myers  <joseph@codesourcery.com>
21105             Nathan Sidwell  <nathan@codesourcery.com>
21107         * NEWS: Mention new Nios II port.
21108         * sysdeps/nios2/Implies: New file.
21109         * sysdeps/nios2/Makefile: New file.
21110         * sysdeps/nios2/Subdirs: New file.
21111         * sysdeps/nios2/Versions: New file.
21112         * sysdeps/nios2/__longjmp.S: New file.
21113         * sysdeps/nios2/abort-instr.h: New file.
21114         * sysdeps/nios2/backtrace.c: New file.
21115         * sysdeps/nios2/bits/endian.h: New file.
21116         * sysdeps/nios2/bits/fenv.h: New file.
21117         * sysdeps/nios2/bits/link.h: New file.
21118         * sysdeps/nios2/bits/setjmp.h: New file.
21119         * sysdeps/nios2/bsd-_setjmp.S: New file.
21120         * sysdeps/nios2/bsd-setjmp.S: New file.
21121         * sysdeps/nios2/configure: New generated file.
21122         * sysdeps/nios2/configure.ac: New file.
21123         * sysdeps/nios2/crti.S: New file.
21124         * sysdeps/nios2/crtn.S: New file.
21125         * sysdeps/nios2/dl-init.c: New file.
21126         * sysdeps/nios2/dl-machine.h: New file.
21127         * sysdeps/nios2/dl-sysdep.h: New file.
21128         * sysdeps/nios2/dl-tls.h: New file.
21129         * sysdeps/nios2/dl-trampoline.S: New file.
21130         * sysdeps/nios2/gccframe.h: New file.
21131         * sysdeps/nios2/gmp-mparam.h: New file.
21132         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21133         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21134         * sysdeps/nios2/ldsodefs.h: New file.
21135         * sysdeps/nios2/libc-tls.c: New file.
21136         * sysdeps/nios2/libm-test-ulps: New file.
21137         * sysdeps/nios2/machine-gmon.h: New file.
21138         * sysdeps/nios2/math-tests.h: New file.
21139         * sysdeps/nios2/math_private.h: New file.
21140         * sysdeps/nios2/memusage.h: New file.
21141         * sysdeps/nios2/nptl/Makefile: New file.
21142         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21143         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21144         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21145         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21146         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21147         * sysdeps/nios2/nptl/tls.h: New file.
21148         * sysdeps/nios2/preconfigure: New file.
21149         * sysdeps/nios2/s_fma.c: New file.
21150         * sysdeps/nios2/s_fmaf.c: New file.
21151         * sysdeps/nios2/setjmp.S: New file.
21152         * sysdeps/nios2/sfp-machine.h: New file.
21153         * sysdeps/nios2/sotruss-lib.c: New file.
21154         * sysdeps/nios2/stackguard-macros.h: New file.
21155         * sysdeps/nios2/stackinfo.h: New file.
21156         * sysdeps/nios2/start.S: New file.
21157         * sysdeps/nios2/sysdep.h: New file.
21158         * sysdeps/nios2/tls-macros.h: New file.
21159         * sysdeps/nios2/tst-audit.h: New file.
21160         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21161         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21162         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21163         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21164         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21165         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21166         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21167         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21168         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21169         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21170         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21171         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21172         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21173         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21174         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21175         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21176         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21177         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21178         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21179         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21180         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21181         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21182         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21183         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21184         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21185         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21186         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21187         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21188         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21189         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21190         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21191         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21192         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21193         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21194         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21195         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21196         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21197         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21198         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21199         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21200         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21201         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21202         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21203         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21205 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21207         [BZ #17844]
21208         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21209         (getutent): Use weak_alias in non SHARED case
21210         and default_symbol_version in SHARED case.
21211         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21212         (getutent_r, pututline): Likewise.
21213         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21214         (getutid): Likewise.
21215         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21216         (getutid_r): Likewise.
21217         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21218         (getutline): Likewise.
21219         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21220         (getutline_r): Likewise.
21221         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21222         (updwtmp): Likewise.
21224 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21226         [BZ #17848]
21227         * sysdeps/s390/s390-32/memcmp.S
21228         (memcmp_g5): Rename to __memcmp_g5.
21229         * sysdeps/s390/s390-32/memcpy.S
21230         (memcpy_g5): Rename to __memcpy_g5.
21231         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21232         (memcpy_mvcle) Rename to __memcpy_mvcle.
21233         * sysdeps/s390/s390-32/memset.S
21234         (memset_g5): Rename to __memset_g5.
21235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21236         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21237         and use prefixed functions.
21238         * sysdeps/s390/s390-32/multiarch/memcmp.S
21239         (memcmp_z196): Rename to __memcmp_z196.
21240         (memcmp_z10): Rename to __memcmp_z10.
21241         (memcmp): Set alias to __memcmp_g5.
21242         (bcmp): Set alias to __memcmp_g5.
21243         * sysdeps/s390/s390-32/multiarch/memcpy.S
21244         (memcpy_z196): Rename to __memcpy_z196.
21245         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21246         (memcpy_z10): Rename to __memcpy_z10.
21247         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21248         (memcpy): Set alias to __memcpy_g5.
21249         * sysdeps/s390/s390-32/multiarch/memset.S
21250         (memset_z196): Rename to __memset_z196.
21251         Jump to __memset_mvcle instead of memset_mvcle.
21252         (memset_z10): Rename to __memset_z10.
21253         Jump to __memset_mvcle instead of memset_mvcle.
21254         (memset_mvcle) Rename to __memset_mvcle.
21255         (memset): Set alias to __memset_g5.
21256         * sysdeps/s390/s390-64/memcmp.S
21257         (memcmp_z900): Rename to __memcmp_z900.
21258         * sysdeps/s390/s390-64/memcpy.S
21259         (memcpy_z900): Rename to __memcpy_z900.
21260         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21261         (memcpy_mvcle) Rename to __memcpy_mvcle.
21262         * sysdeps/s390/s390-64/memset.S
21263         (memset_z900): Rename to __memset_z900.
21264         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21265         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21266         and use prefixed functions.
21267         * sysdeps/s390/s390-64/multiarch/memcmp.S
21268         (memcmp_z196): Rename to __memcmp_z196.
21269         (memcmp_z10): Rename to __memcmp_z10.
21270         (memcmp): Set alias to __memcmp_z900.
21271         (bcmp): Set alias to __memcmp_z900.
21272         * sysdeps/s390/s390-64/multiarch/memcpy.S
21273         (memcpy_z196): Rename to __memcpy_z196.
21274         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21275         (memcpy_z10): Rename to __memcpy_z10.
21276         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21277         (memcpy): Set alias to __memcpy_z900.
21278         * sysdeps/s390/s390-64/multiarch/memset.S
21279         (memset_z196): Rename to __memset_z196.
21280         Jump to __memset_mvcle instead of memset_mvcle.
21281         (memset_z10): Rename to __memset_z10.
21282         Jump to __memset_mvcle instead of memset_mvcle.
21283         (memset_mvcle) Rename to __memset_mvcle.
21284         (memset): Set alias to __memset_z900.
21286 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21288         [BZ #17748]
21289         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21290         __fesetenv instead of fesetenv.
21292 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21294         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21295         macro.
21297 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21299         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21300         regression on LE.
21302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21303         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21304         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21305         strncmp-power8 object.
21306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21307         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21308         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21309         * NEWS: Update.
21311 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21312             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21314         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21315         trailing byte check.
21317 2015-01-13  David S. Miller  <davem@davemloft.net>
21319         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21321 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21323         * login/logout.c (logout): Use memset rather than bzero.
21324         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21325         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21326         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21327         (_gethtbyaddr): Likewise.
21328         * locale/programs/simple-hash.c (bcopy): Macro removed.
21330 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21333         Add strcmp-power8 object.
21334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21335         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21336         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21337         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21338         __strcmp_power8 implementation.
21339         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21340         * NEWS: Update.
21342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21343         Add strncpy-power8 and stpncpy-power8 objects.
21344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21345         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21346         implementations.
21347         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21348         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21349         __stpncpy_power8 implementation.
21350         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21351         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21352         __strncpy_power8 implementation.
21353         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21354         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21355         * NEWS: Update.
21357         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21358         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21359         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21362         strncat-power8 object.
21363         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21364         __strcat_power8 implementation.
21365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21366         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21367         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21368         optimized strcat for power8.
21370         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21371         strcpy-power8 and stpcpy-power8 objects.
21372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21373         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21374         implementations.
21375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21376         multiarch stpcpy implementation for POWER8.
21377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21378         multiarch strcpy implementation for POWER8.
21379         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21380         __strcpy_power8 function.
21381         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21382         stpcpy for POWER8.
21383         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21384         strcpy for POWER8.
21385         * NEWS: Update.
21387 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21389         [BZ #16009]
21390         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21391         weights and rules. Use do_xfrm_cached if data fits in cache,
21392         do_xfrm otherwise.  Moved former main loop to...
21393         * (do_xfrm_cached): New function.
21394         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21395         find_idx, find_position and stack_push.
21396         * (find_idx): New function.
21397         * (find_position): Likewise.
21398         * localedata/sort-test.sh: Added test run for do_xfrm.
21399         * localedata/xfrm-test.c (main): Added command line option
21400         -nocache to run the test with strings that are too large for
21401         the STRXFRM cache.
21403 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21405         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21406         variable to lll_futex_wake call, not the value itself.
21408 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21410         [BZ #17803]
21411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21412         twom64.  Adjust value to 0x1p-64L.
21413         (__scalblnl): Only return standard underflowing result for K <=
21414         -64 not K <= -63; adjust exponent for underflowing result by 64
21415         not 63.
21416         * math/libm-test.inc (scalbn_test_data): Add more tests.
21417         (scalbln_test_data): Likewise.
21419         [BZ #17834]
21420         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21421         0x1p63L.
21422         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21423         not HX.
21424         * math/libm-test.inc (scalbn_test_data): Add more tests.
21425         (scalbln_test_data): Likewise.
21427 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21428             Stefani Seibold  <stefani@seibold.net>
21430         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21431         (sysdep_routines): Add dl-vdso here, ...
21432         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21433         (sysdep_routines): ... not here.
21434         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21435         fallback when vDSO is not presented.
21436         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21437         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21438         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21439         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21440         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21441         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21442         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21443         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21444         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21445         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21446         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21447         fallback configurable symbol when vDSO is not available.
21448         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21449         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21450         be able to redefine fallback symbol when vDSO is not available.
21451         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21452         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21454 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21456         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21457         (TLS_INIT_TP): Add tm_capable initialization.
21458         (TLS_DEFINE_INIT_TP): Likewise.
21459         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21460         TCB.
21461         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21462         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21463         calculation.
21464         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21465         transactoion is lock elision is built and TCB tm_capable is set.
21466         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21468         (INTERNAL_SYSCALL_NCS): Likewise.
21469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21470         (INTERNAL_SYSCALL_NCS): Likewise.
21471         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21473         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21474         for powerpc.
21475         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21476         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21477         and remove it for 32 bits case.
21478         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21480         initialization.
21481         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21482         Disable lock elision with rdlocks if elision is not available.
21484         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21485         (sysdep_routines): Add lock elision objects.
21486         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21487         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21488         [pthread_mutex_t] (__elision): Add field.
21489         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21490         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21491         elision definitions for powerpc.
21492         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21493         implementation of lock elision for powerpc.
21494         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21495         implementation of timed lock elision for powerpc.
21496         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21497         implementation of trylock with lock elision for powerpc.
21498         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21499         implementaion of unlock for lock elision for powerpc.
21500         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21501         automatic enable lock elision for mutexes.
21502         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21503         transaction execution definitions for powerpc.
21504         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21505         definitions.
21506         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21507         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21508         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21509         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21510         * NEWS: Update.
21512 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21514         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21515         for #include of <shm-directory.h>.
21517 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21519         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21520         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21522 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21524         [BZ #17791]
21525         * NEWS: Mention bug fix.
21526         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21527         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21528         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21530 2015-01-09  Torvald Riegel <triegel@redhat.com>
21532         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21534 2015-01-09  Torvald Riegel <triegel@redhat.com>
21536         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21538 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21540         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21541         pointer and cast to uintptr_t.
21543 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21545         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21546         removed.
21547         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21549 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21551         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21552         of 0.
21554 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21556         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21557         <nptl/pthreadP.h> instead.
21558         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21560         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21561         already defined.
21562         [__SIGRTMIN] (init): Function removed.
21563         [__SIGRTMIN] (initialized): Variable removed.
21564         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21565         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21566         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21567         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21568         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21569         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21570         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21571         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21572         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21573         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21574         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21575         * sysdeps/nptl/allocrtsig.c: New file.
21576         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21577         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21578         * sysdeps/generic/testrtsig.h: File removed.
21580         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21581         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21583         * nptl/nptl-init.c (pthread_functions): Conditionalize
21584         .ptr__nptl_setxid initialization on [SIGSETXID].
21586         * sysdeps/nptl/sys/procfs.h: New file.
21587         * nptl_db/Makefile (headers): Add it.
21588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21590         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21591         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21592         * nptl/pthread_attr_setaffinity.c: Include it.
21593         * nptl/pthread_setattr_default_np.c: Likewise.
21594         * nptl/check-cpuset.h: New file.
21596 2015-01-08  Richard Henderson  <rth@redhat.com>
21598         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21599         (CFLAGS-tst-execstack-prog.c): Likewise.
21600         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21602 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21603             Sandra Loosemore  <sandra@codesourcery.com>
21604             Andrew Jenner  <andrew@codesourcery.com>
21605             Joseph Myers  <joseph@codesourcery.com>
21606             Nathan Sidwell  <nathan@codesourcery.com>
21608         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21609         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21610         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21611         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21612         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21613         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21614         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21615         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21616         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21617         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21618         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21619         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21620         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21621         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21622         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21623         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21624         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21626 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21628         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21629         timespec struct member in syscall macro.
21630         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21631         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21632         first timeval struct member in syscall macro.
21633         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21635 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21637         [BZ #17748]
21638         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21639         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21640         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21641         __feupdateenv and define as weak alias of __feupdateenv.  Use
21642         libm_hidden_weak.
21643         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21644         libm_hidden_def.
21645         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21646         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21647         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21648         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21649         libm_hidden_def.
21650         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21651         __feupdateenv and define as weak alias of __feupdateenv.  Use
21652         libm_hidden_weak.
21653         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21654         libm_hidden_def.
21655         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21656         __feupdateenv and define as weak alias of __feupdateenv.  Use
21657         libm_hidden_weak.
21658         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21659         libm_hidden_def.
21660         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21661         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21662         (__feupdateenv): Likewise.
21663         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21664         __feupdateenv and define as weak alias of __feupdateenv.  Use
21665         libm_hidden_weak.
21666         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21667         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21668         libm_hidden_def.
21669         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21670         function.
21671         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21672         libm_hidden_def.
21673         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21674         __feupdateenv instead of feupdateenv.
21675         (default_libc_feupdateenv_test): Likewise.
21676         (libc_feresetround_ctx): Likewise.
21678 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21680         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21681         prototype.
21683 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21685         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21686         COLL_SYM in a couple of places to avoid uninitialized variable
21687         wanings on tilegx gcc 4.8.2.
21689 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21691         * sysdeps/aarch64/strcpy.S: New file.
21692         * sysdeps/aarch64/stpcpy.S: New file.
21693         * NEWS: Updated.
21695 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21697         * sysdeps/aarch64/strrchr.S: New file.
21698         * NEWS: Updated.
21700 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21702         [BZ #17658]
21703         * stdlib/setenv.c: Fix memory leak when setting large,
21704         duplicate string.
21706 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21708         [BZ #17273]
21709         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21710         and tabs from buffer before parsing fstab entry.
21711         * misc/tst-mntent.c (main): Add test for mount entry with
21712         trailing spaces and tabs.
21714 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21716         [BZ #17748]
21717         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21718         * math/fesetround.c (fesetround): Rename to __fesetround and
21719         define as weak alias of __fesetround.  Use libm_hidden_weak.
21720         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21721         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21722         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21723         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21724         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21725         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21726         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21727         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21728         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21729         __fesetround_inline.
21730         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21731         __fesetround_inline instead of __fesetround.
21732         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21733         __fesetround and define as weak alias of __fesetround.  Use
21734         libm_hidden_weak.  Call __fesetround_inline instead of
21735         __fesetround.
21736         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21737         __fesetround and define as weak alias of __fesetround.  Use
21738         libm_hidden_weak.
21739         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21740         Likewise.
21741         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21742         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21743         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21744         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21745         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21746         __fesetround and define as weak alias of __fesetround.  Use
21747         libm_hidden_weak.
21748         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21749         __fesetround instead of fesetround.
21750         (default_libc_feholdexcept_setround): Likewise.
21751         (libc_feholdsetround_ctx): Likewise.
21752         (libc_feholdsetround_noex_ctx): Likewise.
21754         [BZ #17748]
21755         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21756         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21757         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21758         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21759         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21760         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21761         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21762         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21763         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21764         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21765         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21766         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21767         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21768         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21769         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21770         libm_hidden_def.
21771         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21772         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21773         Likewise.
21774         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21775         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21776         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21777         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21778         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21779         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21780         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21781         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21782         __fesetenv instead of fesetenv.
21783         (libc_feresetround_noex_ctx): Likewise.
21784         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21785         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21786         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21787         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21788         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21789         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21790         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21791         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21792         (__feupdateenv): Likewise.
21793         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21794         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21795         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21796         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21798 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21800         [BZ #17806]
21801         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21802         addresses have been freed.
21804 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21806         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21807         and nservall.
21809 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21811         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21812         Clean up check_pf allocation pattern. addresses
21814 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21816         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21817         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21818         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21819         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21820         * nptl/pthread_join.c (pthread_join): Likewise.
21821         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21822         * sysdeps/posix/waitid.c (__waitid): Likewise.
21823         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21824         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21825         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21826         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21828         Likewise.
21829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21830         (__libc_pread64): Likewise.
21831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21832         (__libc_pwrite): Likewise.
21833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21834         (__libc_pwrite64): Likewsie.
21835         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21836         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21837         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21838         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21839         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21840         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21841         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21843         Likewise.
21844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21845         (__libc_pread64): Likewise.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21847         Likewise.
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21849         (__libc_pwrite64): Likewise.
21850         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21851         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21852         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21853         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21854         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21855         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21856         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21857         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21858         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21859         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21860         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21861         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21862         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21863         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21864         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21865         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21866         Likewise.
21868 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21870         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21871         (CFLAGS-test-double.c): Likewise.
21872         (CFLAGS-test-ldouble.c): Likewise.
21873         (CPPFLAGS-test-ifloat.c): Likewise.
21874         (CPPFLAGS-test-idouble.c): Likewise.
21875         (CPPFLAGS-test-ildoubl.c): Likewise.
21876         (CFLAGS-test-test-fenv.c): Remove variable.
21877         (CFLAGS-test-misc.c): Likewise.
21879 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21881         [BZ #17797]
21882         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21883         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21884         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21885         CLOCKS_PER_SEC == 1000000.
21886         * time/clocktest.c (main): Replace %ld with %jd and cast to
21887         intmax_t.
21889 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21891         * sysdeps/generic/unwind-resume.h: New file.
21892         * sysdeps/gnu/unwind-resume.c: Include it.
21893         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21894         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21895         argument list.
21896         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21897         global rather than static.
21898         (_Unwind_Resume): Update user.
21899         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21900         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21901         rather than static.  Add __attribute__ ((cold)).
21902         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21903         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21904         * sysdeps/arm/arm-unwind-resume.S: New file.
21905         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21906         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21907         * sysdeps/arm/Makefile [$(subdir) = csu]
21908         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21909         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21910         Add rt-arm-unwind-resume.
21911         [$(subdir) = nptl]
21912         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21913         Add pt-arm-unwind-resume.
21914         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21915         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21917 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21919         [BZ #17748]
21920         * include/fenv.h (__feholdexcept): Declare.  Use
21921         libm_hidden_proto.
21922         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21923         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21924         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21925         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21926         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21927         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21928         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21929         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21930         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21931         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21932         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21933         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21934         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21935         (feholdexcept): Likewise.
21936         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21937         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21938         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21939         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21940         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21941         __feholdexcept instead of feholdexcept.
21942         (default_libc_feholdexcept_setround): Likewise.
21944 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21946         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21947         to avoid using stl/str to align destination.
21949 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21951         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21953 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21955         [BZ #17796]
21956         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21957         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21958         Define as weak alias not strong alias.
21960 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21962         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21963         bltzal with addiupc.
21964         (RTLD_START): Ditto.
21966 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21968         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21969         for __vdso_* functions in declarations.
21970         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21971         definitions.
21972         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21973         INTERNAL_VSYSCALL): Use struct return types to check for error.
21975         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21976         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21977         function with cast from llround().
21978         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21979         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21980         Define.
21982 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21984         [BZ #17793]
21985         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21986         Define as weak alias not strong alias.
21988         [BZ #17635]
21989         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21990         ...
21991         * ctype/ctype-extn.c: ... here.
21992         (__isblank_l): Move to ...
21993         * ctype/ctype-c99_l.c: ... here.  New file.
21994         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21995         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21996         Remove variable.
21997         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21998         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21999         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22000         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22001         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22003         [BZ #17777]
22004         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22005         (posix_fadvise64): Define as weak alias not strong alias.
22006         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22007         (posix_fallocate64): Likewise.
22008         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22009         Remove variable.
22010         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22011         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22012         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22013         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22014         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22016 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22018         [BZ #16191]
22019         * NEWS: Mention bug fix.
22020         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22021         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22022         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22023         (HOST_STACK_END_ADDR): Likewise.
22025 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22027         [BZ #17748]
22028         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22029         * math/fegetround.c (fegetround): Rename to __fegetround and
22030         define as weak alias of __fegetround.  Use libm_hidden_weak.
22031         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22032         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22033         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22034         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22035         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22036         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22037         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22038         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22039         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22040         Undefine after rather than before function definition; use
22041         parentheses around function name in definition.
22042         (__fegetround): Also undefine macro after function definition.
22043         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22044         __fegetround and define as weak alias of __fegetround.  Use
22045         libm_hidden_weak.  Do not undefine as macro.
22046         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22047         Likewise.
22048         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22049         __fegetround and define as weak alias of __fegetround.  Use
22050         libm_hidden_weak.
22051         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22052         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22053         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22054         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22055         __fegetround and define as weak alias of __fegetround.  Use
22056         libm_hidden_weak.
22057         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22058         __fegetround instead of fegetround.
22060         [BZ #17782]
22061         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22062         Condition macro definition on [__USE_MISC].
22064         [BZ #17781]
22065         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22066         (struct sigaction): Change type of sa_flags field to int.
22068         [BZ #17780]
22069         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22070         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22071         __glibc_reserved0.
22073         * nptl/version.c (banner): Use single year in copyright notice.
22075         * NEWS: Update copyright dates.
22076         * catgets/gencat.c (print_version): Likewise.
22077         * csu/version.c (banner): Likewise.
22078         * debug/catchsegv.sh: Likewise.
22079         * debug/pcprofiledump.c (print_version): Likewise.
22080         * debug/xtrace.sh (do_version): Likewise.
22081         * elf/ldconfig.c (print_version): Likewise.
22082         * elf/ldd.bash.in: Likewise.
22083         * elf/pldd.c (print_version): Likewise.
22084         * elf/sotruss.sh: Likewise.
22085         * elf/sprof.c (print_version): Likewise.
22086         * iconv/iconv_prog.c (print_version): Likewise.
22087         * iconv/iconvconfig.c (print_version): Likewise.
22088         * locale/programs/locale.c (print_version): Likewise.
22089         * locale/programs/localedef.c (print_version): Likewise.
22090         * login/programs/pt_chown.c (print_version): Likewise.
22091         * malloc/memusage.sh (do_version): Likewise.
22092         * malloc/memusagestat.c (print_version): Likewise.
22093         * malloc/mtrace.pl: Likewise.
22094         * manual/libc.texinfo: Likewise.
22095         * nptl/version.c (banner): Likewise.
22096         * nscd/nscd.c (print_version): Likewise.
22097         * nss/getent.c (print_version): Likewise.
22098         * nss/makedb.c (print_version): Likewise.
22099         * posix/getconf.c (main): Likewise.
22100         * scripts/test-installation.pl: Likewise.
22101         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22103 2015-01-02  Will Newton  <will.newton@linaro.org>
22105         * sysdeps/arm/armv7/configure: Removed.
22106         * sysdeps/arm/armv7/configure.ac: Likewise.
22108 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22110         * All files with FSF copyright notices: Update copyright dates
22111         using scripts/update-copyrights.
22112         * intl/plural.c: Regenerated.
22113         * locale/programs/charmap-kw.h: Likewise.
22114         * locale/programs/locfile-kw.h: Likewise.
22116 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22118         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22120 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22122         [BZ #17748]
22123         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22124         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22125         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22126         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22127         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22128         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22129         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22130         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22131         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22132         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22133         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22134         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22135         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22136         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22137         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22138         libm_hidden_def.
22139         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22141         Likewise.
22142         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22143         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22144         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22145         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22146         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22147         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22148         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22149         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22150         __fegetenv instead of fegetenv.
22151         (libc_feholdsetround_noex_ctx): Likewise.
22153 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22155         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22156         (Elf_MIPS_ABIFlags_v0): New structure.
22157         (EF_MIPS_FP64): Define.
22158         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22159         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22160         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22161         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22162         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22163         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22164         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22165         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22166         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22167         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22168         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22169         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22170         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22171         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22172         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22173         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22174         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22175         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22176         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22177         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22178         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22179         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22180         field.
22181         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22182         EF_MIPS_FP64.
22183         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22184         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22185         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22186         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22187         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22188         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22189         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22190         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22191         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22192         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22193         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22194         record the current FP ABI extension.
22195         (mips-mode-switch): Define to show if kernel headers support mode
22196         switching.
22197         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22198         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22199         supported SYSV ABI version to 3.
22200         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22201         feature.
22203 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22204             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22206         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22207         path.
22208         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22210 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22212         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22213         __fegetround and redefine to call __fegetround.  Remove condition
22214         on [!__NO_MATH_INLINES].
22215         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22216         function.
22217         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22218         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22219         Remove macro.
22220         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22221         instead of <fenv_libc.h>.
22222         (__llrintl): Call fegetround instead of __fegetround.
22223         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22224         instead of <fenv_libc.h>.
22225         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22226         (__lrintl): Call fegetround instead of __fegetround.
22227         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22228         instead of <fenv_libc.h>.
22229         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22230         (__rintl): Call fegetround instead of __fegetround.
22232 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22234         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22235         arrays.
22237 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22239         [BZ #17775]
22240         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22241         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22242         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22244 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22246         * sysdeps/i386/tls-macros.h: Include <features.h>.
22247         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22248         (TLS_IE): Likewise.
22249         (TLS_LD): Likewise.
22250         (TLS_GD): Likewise.
22251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22252         define for GCC >= 5.0.
22254 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22256         * math/test-fenv.c (test_single_exception, set_single_exc,
22257         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22258         feexcp_mask_test, feenable_test, fe_single_test): Add
22259         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22260         case where they are not used.
22261         * math/libm-test.inc: Likewise.
22262         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22263         unused in the absence of FP rounding/exception support.
22264         * stdio-common/tst-printf-round.c: Likewise.
22265         * stdlib/tst-strtod-round.c: Likewise.
22266         * stdlib/tst-strtod-underflow.c: Likewise.
22268 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22270         [BZ #17723]
22271         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22272         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22273         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22274         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22275         libm_hidden_weak.
22276         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22277         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22278         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22279         libm_hidden_def.
22280         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22281         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22282         libm_hidden_weak.
22283         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22284         Likewise.
22285         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22286         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22287         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22288         libm_hidden_weak.
22289         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22290         libm_hidden_def.
22291         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22292         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22293         (__feraiseexcept): Likewise.
22294         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22295         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22296         libm_hidden_weak.
22297         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22298         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22299         libm_hidden_def.
22300         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22301         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22302         Use libm_hidden_def.
22303         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22304         libm_hidden_def.
22305         (feraiseexcept): Define as weak not strong alias.  Use
22306         libm_hidden_weak.
22307         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22308         New inline function.  Factored out of ...
22309         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22310         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22311         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22312         feraiseexcept.
22313         * math/w_acos.c (__acos): Likewise.
22314         * math/w_asin.c (__asin): Likewise.
22315         * math/w_ilogb.c (__ilogb): Likewise.
22316         * math/w_j0.c (y0): Likewise.
22317         * math/w_j1.c (y1): Likewise.
22318         * math/w_jn.c (yn): Likewise.
22319         * math/w_log.c (__log): Likewise.
22320         * math/w_log10.c (__log10): Likewise.
22321         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22322         * sysdeps/aarch64/fpu/math_private.h
22323         (libc_feupdateenv_test_aarch64): Likewise.
22324         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22325         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22326         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22327         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22328         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22329         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22330         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22331         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22332         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22333         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22335 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22337         [BZ #17732]
22338         * io/test-utime.c (main): Replace %ld with %jd and cast to
22339         intmax_t.
22340         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22341         * nptl/tst-mutex5.c: Include <stdint.h>.
22342         (do_test): Replace %ld with %jd and cast to intmax_t.
22343         * posix/tst-regex.c (run_test): Likewise.
22344         (run_test_backwards): Likewise.
22345         * rt/tst-clock.c: Include <stdint.h>.
22346         (clock_test): Replace %ld with %jd and cast to intmax_t.
22347         * rt/tst-cpuclock1.c: Include <stdint.h>.
22348         (do_test): Replace %lu with %ju and cast to uintmax_t.
22349         * rt/tst-cpuclock2.c: Include <stdint.h>.
22350         (do_test): Replace %lu with %ju and cast to uintmax_t.
22351         * rt/tst-mqueue1.c: Include <stdint.h>.
22352         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22353         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22354         intmax_t.
22355         * rt/tst-mqueue4.c (do_test): Likewise.
22356         * rt/tst-timer4.c: Include <stdint.h>.
22357         (check_ts): Replace %ld with %jd and cast to intmax_t.
22358         (do_test): Likewise.
22359         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22360         and cast to intmax_t.
22361         * sysdeps/pthread/tst-timer.c (main): Likewise.
22362         * time/clocktest.c (main): Likewise.
22363         * time/tst-posixtz.c (do_test): Likewise.
22364         * timezone/tst-timezone.c (main): Likewise.
22366 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22367             H.J. Lu  <hongjiu.lu@intel.com>
22369         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22370         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22371         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22372         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22373         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22374         version if bit_Fast_Unaligned_Load is set.
22375         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22376         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22377         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22378         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22379         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22380         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22382         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22383         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22384         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22385         to 4.
22386         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22387         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22388         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22389         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22391 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22393         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22394         instead of #if to avoid a Wundef warning.
22395         * stdlib/tst-limits.c (do_test): Likewise.
22397         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22398         parallel other exception macros.
22399         (fegetenv): Convert from macro to extern inline so that it applies
22400         retroactively to inline functions already seen by the compiler.
22401         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22403         * posix/Makefile (before-compile): Use $(objpfx) for
22404         posix-conf-vars-def.h.
22406 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22408         * posix/getconf.c (main): Use size_t for type of I.
22409         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22410         NSPEC.
22412         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22413         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22414         * posix/posix-envs.def: Likewise.
22415         * sysdeps/posix/sysconf.c: Likewise.
22416         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22417         (specs): Remove array.
22418         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22419         array.
22421         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22422         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22423         (__sysconf): Use CONF_IS_* macros.
22425         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22426         ($(objpfx)posix-conf-vars-def.h): New target.
22427         * posix/posix-conf-vars.list: New file.
22428         * posix/posix-conf-vars.h: New file.
22429         * posix/confstr.c: Include posix-conf-vars.h.
22430         (confstr): Use CONF_IS_* macros.
22431         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22432         CONF_IS_* macros.
22433         * scripts/gen-posix-conf-vars.awk: New file.
22435 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22437         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22438         fegetround): Add no-op macros to avoid linknamespace issues.
22440         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22441         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22443         * sysdeps/unix/sysv/linux/tile/sysdep.h
22444         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22445         assembly-specific section to avoid a redefinition warning.
22447         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22448         long before casting to pointer to avoid a cast warning.
22450 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22452         * sysdeps/tile/tilegx/Implies: New file.
22454 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22456         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22458 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22460         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22462 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22465         not define.
22466         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22467         <kernel-features.h>.
22468         (__utimes) [__NR_utimes]: Make code unconditional.
22469         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22470         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22471         (__ASSUME_UTIMES): Do not undefine.
22472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22473         (__ASSUME_UTIMES): Likewise.
22474         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22475         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22476         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22477         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22479 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22481         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22483 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22485         [BZ #17747]
22486         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22487         alias to weak alias for j0l, y0l.
22488         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22489         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22491         [BZ #17746]
22492         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22493         conversion.
22495 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22497         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22498         to zero if not already defined.
22500 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22502         [BZ #17724]
22503         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22504         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22505         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22506         (char *) casts added.
22507         * sysdeps/ieee754/k_standardf.c: New file.
22508         * sysdeps/ieee754/k_standardl.c: Likewise.
22509         * math/Makefile (libm-support): Remove k_standard.
22510         (libm-calls): Add k_standard.
22512 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22514         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22515         Optimize to avoid an unnecessary FPCR read.
22517 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22519         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22520         Optimize to reduce FPCR/FPSR accesses.
22522 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22524         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22525         Call libc_fetestexcept_aarch64.
22527 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22529         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22530         Call libc_fesetround_aarch64.
22532 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22534         [BZ #17733]
22535         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22536         (__bind): Do not define as weak alias.
22537         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22538         define.
22539         (__getsockname): Do not define as weak alias.
22541 2014-12-22  Will Newton  <will.newton@linaro.org>
22543         * manual/install.texi: Document that we require bison 2.7
22544         or above.
22545         * INSTALL: Regenerate.
22546         * configure.ac: Use AC_CHECK_PROG_VER instead of
22547         AC_PATH_PROG when checking for bison and check for
22548         version 2.7 or above.
22549         * configure: Regenerate.
22551 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22553         [BZ #17745]
22554         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22555         * sysdeps/tile/ffsll.c (ffsll): To here.
22557         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22559 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22561         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22562         if not defined.
22563         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22564         definition.
22565         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22566         hidden ___tls_get_addr.
22567         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22568         hidden __tls_get_addr.
22569         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22570         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22571         Likewise.
22573 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22575         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22576         _dl_init call.
22578 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22580         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22581         from "call _dl_init@PLT".
22582         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22584 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22586         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22587         guarantees.
22589 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22591         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22593 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22595         [BZ #17744]
22596         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22597         strnlen.
22599 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22601         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22602         of multu on MIPSr6.
22603         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22604         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22605         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22606         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22607         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22609 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22611         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22612         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22613         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22614         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22615         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22616         mips32r6/mips64r6.
22617         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22619 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22621         * string/strncat.c (STRNCAT): Simplify implementation.
22623 2014-12-19  David S. Miller  <davem@davemloft.net>
22625         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22626         access the quad as both a long double and as a series of 4 words.
22628         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22629         link_map->l_info array access.
22631 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22633         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22635         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22636         * math/atest-exp2.c (TIMEOUT): Likewise.
22637         * math/atest-sincos.c (TIMEOUT): Likewise.
22639 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22641         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22642         -Wno-error with -fno-builtin-lround.
22644 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22646         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22647         Contains futex constants and functions moved over from ...
22648         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22649         <lowlevellock-futex.h>.
22650         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22651         (lll_timedwait_tid): Add comments and parentheses around macro
22652         arguments.
22654 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22656         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22657         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22658         (__lll_private_flag): Remove.
22659         (lll_futex_wait): Likewise.
22660         (lll_futex_timed_wait): Likewise.
22661         (lll_futex_wake): Likewise.
22662         (lll_futex_requeue): Likewise.
22663         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22664         (__lll_timedwait_tid): Spell out argument names.
22665         (lll_timedwait_tid): Add comments and parentheses around macro
22666         arguments.
22667         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22668         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22670 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22672         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22673         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22674         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22675         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22676         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22677         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22678         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22679         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22680         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22681         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22682         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22683         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22684         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22686         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22687         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22688         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22689         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22690         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22692 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22694         * sysdeps/x86_64/x32/Makefile: New file.
22696 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22698         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22699         1L with (mp_limb_t) 1.
22701 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22703         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22704         * nptl/libc_pthread_init.c: ... here.
22705         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22706         * nptl/register-atfork.c: ... here.
22708         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22709         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22710         Use assert_perror to check its return value.
22711         (__gai_create_helper_thread): Likewise.
22713         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22715         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22717 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22719         [BZ #17725]
22720         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22721         __profil_counter.
22722         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22723         Likewise.
22724         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22725         Likewise.
22726         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22727         Likewise.
22728         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22729         (profil_counter): Likewise.
22730         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22731         (profil_counter): Likewise.
22732         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22733         Likewise.
22734         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22735         Likewise.
22736         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22737         (profil_counter): Likewise.
22738         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22739         Likewise.
22740         [!__profil_counter] (profil_counter): Define as weak alias of
22741         __profil_counter.
22742         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22743         (profil_counter): Rename to __profil_counter.
22744         [!__profil_counter] (profil_counter): Define as weak alias of
22745         __profil_counter.
22746         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22747         (profil_counter): Rename to __profil_counter.
22748         [!__profil_counter] (profil_counter): Define as weak alias of
22749         __profil_counter.
22750         * sysdeps/posix/profil.c: Update comment referring to
22751         profil_counter.
22752         (__profil): Use __profil_counter instead of profil_counter.
22753         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22754         __profil_counter.  Use __profil_counter_ushort and
22755         __profil_counter_uint in definitions.
22756         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22757         instead of profil_counter_uint and profil_counter_ushort.
22759         [BZ #17722]
22760         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22761         define as weak alias of __inet_makeaddr.
22762         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22763         as weak alias of __inet_addr.
22764         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22765         as weak alias of __inet_pton.  Use libc_hidden_weak.
22766         * include/arpa/inet.h (__inet_pton): Declare.  Use
22767         libc_hidden_proto.
22768         (inet_makeaddr): Don't use libc_hidden_proto.
22769         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22770         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22771         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22772         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22773         Remove variable.
22774         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22775         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22777 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22779         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22781 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22783         * stdio-common/bug-vfprintf-nargs.c (do_test):
22784         Cast value to intptr_t to avoid format warning
22785         for usage with PRIdPTR printing macro.
22787 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22789         * libio/tst-widetext.c (do_test):
22790         Use format type %td instead of %Zd for ptrdiff_t
22791         in order to avoid format warning.
22793 2014-12-17  Andreas Schwab  <schwab@suse.de>
22795         * nscd/mem.c (gc): Add size_t cast to match printf format.
22797 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22799         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22800         (init): Apply PTR_MANGLE to pointers before storing them.
22801         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22802         before using them.
22804 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22806         [BZ #17719]
22807         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22808         define as weak alias of __memrchr.
22809         (__memrchr): Do not define as strong alias of memrchr.
22810         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22811         Remove variable.
22812         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22813         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22814         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22816         [BZ #17717]
22817         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22818         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22819         (if_indextoname): Rename to __if_indextoname and define as weak
22820         alias of __if_indextoname.  Use libc_hidden_weak.
22821         (if_freenameindex): Rename to __if_freenameindex and define as
22822         weak alias of __if_freenameindex.
22823         (if_nameindex): Rename to __if_nameindex and define as weak alias
22824         of __if_nameindex.
22825         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22826         __if_nametoindex and define as weak alias of __if_nametoindex.
22827         Use libc_hidden_weak.
22828         (if_freenameindex): Rename to __if_freenameindex and define as
22829         weak alias of __if_freenameindex.
22830         (if_nameindex): Rename to __if_nameindex and define as weak alias
22831         of __if_nameindex.
22832         (if_indextoname): Rename to __if_indextoname and define as weak
22833         alias of __if_indextoname.  Use libc_hidden_weak.
22834         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22835         __if_nametoindex and define as weak alias of __if_nametoindex.
22836         Use libc_hidden_weak.
22837         (if_freenameindex): Rename to __if_freenameindex and define as
22838         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22839         (if_nameindex_netlink): Use __if_freenameindex instead of
22840         if_freenameindex.
22841         (if_nameindex): Rename to __if_nameindex and define as weak alias
22842         of __if_nameindex.  Use libc_hidden_weak.
22843         (if_indextoname): Rename to __if_indextoname and define as weak
22844         alias of __if_indextoname.  Use libc_hidden_weak.
22845         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22846         libc_hidden_proto.
22847         [!_ISOMAC] (__if_freenameindex): Likewise.
22848         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22849         if_nametoindex.
22850         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22851         variable.
22852         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22853         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22854         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22855         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22856         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22857         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22858         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22860         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22861         Remove variable.
22862         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22863         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22865 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22867         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22868         subscript above bounds'
22870         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22871         bounds.
22873 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22875         * libio/tst-fopenloc.c: Use test-skeleton.c.
22877         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22878         (entry): Rename to ITEM.
22879         (do_test, comp): Adjust.
22881         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22883 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22885         * string/tester.c: Include <libc-internal.h>.
22886         (test_memset): Ignore -Wmemset-transposed-args.
22888 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22890         * misc/tst-mntent2.c (do_test): Fix warning.
22892 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22894         * elf/tst-unique4lib.cc(a): Mark as used.
22896 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22898         [BZ #17630]
22899         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22900         names.
22902 2014-12-16  Allan McRae  <allan@archlinux.org>
22904         * stdio-common/Makefile (tests): Re-add bug26.
22906 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22908         [BZ #17657]
22909         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22910         static array.
22912 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22914         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22915         (__lll_lock_wait): Likewise.
22916         (__lll_timedlock_wait): Likewise.
22917         (__lll_timedwait_tid): Likewise.
22918         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22919         (__lll_robust_timedlock_wait): Likewise.
22920         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22921         (lll_cond_trylock): Likewise.
22922         (__lll_lock): Likewise.
22923         (__lll_robust_lock): Likewise.
22924         (__lll_cond_lock): Likewise.
22925         (lll_robust_cond_lock): Likewise.
22926         (__lll_timedlock): Likewise.
22927         (__lll_robust_timedlock): Likewise.
22928         (__lll_unlock): Likewise.
22929         (__lll_robust_unlock): Likewise.
22930         (lll_wait_tid): Likewise.
22931         (lll_timedwait_tid): Likewise.
22933 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22935         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22937 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22939         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22941 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22943         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22944         * stdio-common/tst-sprintf.c: Likewise.
22946 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22948         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22950 2014-12-15  Jeff Law  <law@redhat.com>
22952         [BZ #16617]
22953         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22954         on the heap.  (CVE-2012-3406)
22955         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22956         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22957         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22959 2014-12-15  Will Newton  <will.newton@linaro.org>
22961         * manual/install.texi: Bump required version of texinfo
22962         to 4.7 from 4.5.
22963         * INSTALL: Regenerated.
22964         * configure.ac: Check for makeinfo version 4.7 and above.
22965         * configure: Regenerated.
22967 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22969         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22970         PREFIX, string constant to insert between directory and name.
22971         * sysdeps/posix/shm_open.c: Update caller.
22972         * sysdeps/posix/shm_unlink.c: Likewise.
22973         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22974         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22975         (SEM_SHM_PREFIX): New macro.
22976         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22977         [$(have-thread-library) = no].
22978         * nptl/Makefile (libpthread-routines): Add shm-directory.
22979         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22980         * sysdeps/nptl/shm-directory.h: New file.
22981         * sysdeps/posix/shm-directory.c
22982         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22983         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22984         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22985         INTERNAL_SYSCALL.
22986         (__where_is_shmfs): Function removed.
22987         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22988         Variables removed.
22989         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22990         Use SHM_GET_NAME.
22991         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22993         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22994         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22995         unconditional for use inside libpthread.
22996         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22998 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23000         * nptl/pthread_getaffinity.c: New file.
23001         * nptl/pthread_setaffinity.c: New file.
23002         * nptl/pthread_getname.c: New file.
23003         * nptl/pthread_setname.c: New file.
23005         * nptl/pthread_create.c (START_THREAD_DEFN)
23006         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23008 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23009             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23011         * resolv/res_send.c (send_vc): Disable warning resplen may
23012         be used uninitialized.
23014 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23016         * nptl/tst-mutex6.c
23017         (ATTR_NULL): New define checks ATTR against NULL.
23018         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23019         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23021 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23023         [BZ #17581]
23024         * malloc/hooks.c
23025         (mem2mem_check): Revert my previous change.
23026         (malloc_check_get_size): Revert my previous change.
23027         (mem2chunk_check): Revert my previous change.
23029 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23031         * sysdeps/posix/shm-directory.c: New file.
23032         * sysdeps/posix/shm-directory.h: New file.
23033         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23034         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23035         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23036         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23037         Transmute EPERM to EACCES.
23038         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23039         from ...
23040         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23041         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23043 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23045         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23046         pointer and cast to uintptr_t.
23047         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23048         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23049         Add cast to avoid warning.
23050         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23052 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23054         * nptl/semaphore.h: Move to ...
23055         * sysdeps/pthread/semaphore.h: ... here.
23056         * Makefile (installed-headers): Change nptl/semaphore.h to
23057         sysdeps/pthread/semaphore.h.
23059 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23061         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23062         generated error format strings.
23064         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23065         -Wformat-extra-args warnings for scanf formats.
23066         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23067         test of zero-length format (duh).
23068         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23069         corner-case scanf format test.
23070         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23071         generated fprintf format string.
23072         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23073         corner-case sprintf format tests.
23074         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23075         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23076         -Wformat-extra-args warnings throughout.
23077         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23078         (CFLAGS-scanf4.c): Likewise.
23079         (CFLAGS-scanf7.c): Likewise.
23080         (CFLAGS-tst-sprintf.c): Likewise.
23081         (CFLAGS-tst-printf.c): Likewise.
23082         (CFLAGS-tst-printfsz.c): Likewise.
23084 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23086         * include/cpio.h: New file.
23087         * include/fmtmsg.h: Likewise.
23089         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23090         corresponding format argument to size_t.
23091         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23092         arguments.
23093         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23094         corresponding format argument to size_t.
23095         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23096         arguments.
23097         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23098         corresponding format argument to size_t.
23099         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23100         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23101         (CFLAGS-tst-mbswcs2.c): Likewise.
23102         (CFLAGS-tst-mbswcs3.c): Likewise.
23103         (CFLAGS-tst-mbswcs4.c): Likewise.
23104         (CFLAGS-tst-mbswcs5.c): Likewise.
23105         (CFLAGS-tst-trans.c): Likewise.
23107 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23109         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23110         rather than assuming they won't contain any '%'s.
23112 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23114         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23115         inhibit_loop_to_libcall to avoid recursive calls.
23116         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23117         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23119 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23121         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23122         prototype.
23124 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23126         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23127         integer value instead of boolean.
23129 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23131         * malloc/malloc.c: Fix powerof2 check.
23133 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23135         * locale/programs/locfile.h (maybe_swap_uint32):
23136         Remove inline and add unused attribute.
23138 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23141         Truncating assembler expression to a .long expression.
23143 2014-12-11  Andreas Schwab  <schwab@suse.de>
23145         * elf/rtld.c (struct map_args): Constify str member.
23146         (do_preload): Constify fname argument.
23148 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23151         constants definition.
23153 2014-12-11  Andreas Schwab  <schwab@suse.de>
23155         [BZ #16657]
23156         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23157         FORCE_ELISION instead of DO_ELISION.
23158         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23159         Remove.
23160         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23161         Likewise.
23163         * iconvdata/gconv-modules: Remove duplicate entry.
23165 2014-12-11  Will Newton  <will.newton@linaro.org>
23167         Merge gettext 0.19.3 into intl/.
23169         This involves a number of cosmetic changes to comments
23170         and ANSI function definitions and prototypes throughout
23171         all the files. The gettext copyright header is used but
23172         with the date ranges taken from the glibc copy.
23174         * NEWS: Add gettext merge to 2.21.
23175         * intl/bindtextdom.c: Switch to gettext copyright.
23176         Use ANSI definitions and prototypes.
23177         Use gl_* locking primitives rather than __libc_* ones.
23178         Use __builtin_expect rather than __glibc_likely/unlikely.
23179         * intl/dcgettext.c: Switch to gettext copyright.
23180         Use ANSI definitions and prototypes.
23181         * intl/dcigettext.c: Switch to gettext copyright.
23182         Use ANSI definitions and prototypes.
23183         (INTDIV0_RAISES_SIGFPE): New define.
23184         Use gl_* locking primitives rather than __libc_* ones.
23185         Include eval-plural.h instead of plural-eval.c.
23186         Use __builtin_expect rather than __glibc_likely/unlikely.
23187         * intl/dcngettext.c: Switch to gettext copyright.
23188         Use ANSI definitions and prototypes.
23189         * intl/dgettext.c: Likewise.
23190         * intl/dngettext.c: Likewise.
23191         * intl/plural-eval.c: Renamed to...
23192         * intl/eval-plural.h: ...this.
23193         * intl/explodename.c: Switch to gettext copyright.
23194         Use ANSI definitions and prototypes.
23195         (_nl_explode_name): Use strchr instead of __rawmemchr.
23196         * intl/finddomain.c: Switch to gettext copyright.
23197         Use ANSI definitions and prototypes.
23198         Use gl_* locking primitives rather than __libc_* ones.
23199         (_nl_find_domain): Use malloc rather than alloca for
23200         allocation of temporary locale name.
23201         * intl/gettext.c: Switch to gettext copyright.
23202         Use ANSI definitions and prototypes.
23203         * intl/gettextP.h: Switch to gettext copyright.
23204         Use ANSI definitions and prototypes.
23205         Use gl_* locking primitives rather than __libc_* ones.
23206         * intl/gmo.h: Switch to gettext copyright.
23207         (struct sysdep_string): Move struct segment_pair outside of
23208         struct definition.
23209         * intl/hash-string.c: Use ANSI definitions and prototypes.
23210         * intl/hash-string.h: Switch to gettext copyright.
23211         Use ANSI definitions and prototypes.
23212         * intl/l10nflist.c: Switch to gettext copyright.
23213         Use ANSI definitions and prototypes.
23214         (_nl_normalize_codeset): Avoid integer overflow.
23215         * intl/loadinfo.h: Switch to gettext copyright.
23216         Use ANSI definitions and prototypes.
23217         (LIBINTL_DLL_EXPORTED): New define.
23218         (PATH_SEPARATOR): New define.
23219         * intl/loadmsgcat.c: Switch to gettext copyright.
23220         * intl/localealias.c: Switch to gettext copyright.
23221         Use ANSI definitions and prototypes.
23222         (_nl_expand_alias): Use PATH_SEPARATOR.
23223         * intl/ngettext.c: Switch to gettext copyright.
23224         Use ANSI definitions and prototypes.
23225         * intl/plural-exp.c: Likewise.
23226         * intl/plural-exp.h: Switch to gettext copyright.
23227         Use ANSI definitions and prototypes.
23228         (struct expression): Move definition of enum operator outside
23229         of struct definition.
23230         * intl/plural.c: Regenerate.
23231         * intl/plural.y: Switch to gettext copyright.
23232         Use ANSI definitions and prototypes.
23233         Port to bison 3.0.
23234         * intl/textdomain.c: Switch to gettext copyright.
23235         Use ANSI definitions and prototypes.
23236         Use gl_* locking primitives rather than __libc_* ones.
23238 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23240         * debug/warning-nop.c: Add used atrribute.
23242 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23244         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23246         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23247         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23248         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23250 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23251             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23253         [BZ #17634]
23254         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23255         Undefine after defining function.  Define as weak alias of
23256         __wcschr.  Use libc_hidden_weak.
23257         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23258         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23259         (libc_hidden_def): Also define __GI___wcschr alias.
23260         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23261         __wcschr and define as weak alias of __wcschr.
23262         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23263         __wcschr.
23264         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23265         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23266         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23267         libc_hidden_weak.  Do not use libc_hidden_def.
23268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23269         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23270         __GI___wcschr alias.
23271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23272         [IS_IN (libc)] (wcschr): Define as macro expanding to
23273         __redirect_wcschr.
23274         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23275         [IS_IN (libc)] (__wcschr_power6): Likewise.
23276         [IS_IN (libc)] (__wcschr_power7): Likewise.
23277         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23278         instead of wcschr.
23279         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23280         __libc_wcschr.
23281         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23282         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23283         __wcschr and define as weak alias of __wcschr.  Use
23284         libc_hidden_builtin_def.
23285         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23286         as weak alias of __wcschr.  Use libc_hidden_weak.
23287         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23288         wcschr.
23289         * time/era.c (_nl_init_era_entries): Likewise.
23290         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23291         variable.
23292         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23293         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23295 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23297         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23298         format for long int variable.
23300 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23302         [BZ #10672]
23303         * manual/search.texi: (Array Sort Function): Remove claim how to make
23304         qsort stable.
23306 2014-12-10  Andreas Schwab  <schwab@suse.de>
23308         [BZ #12847]
23309         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23310         user-controlled locks.
23312 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23314         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23315         register.
23317 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23319         * configure.ac (--disable-werror): New configure option.
23320         (enable_werror): New AC_SUBST.
23321         * configure: Regenerated.
23322         * config.make.in (enable-werror): New variable.
23323         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23324         -Wno-error=undef.
23325         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23326         * manual/install.texi (Configuring and compiling): Document
23327         --disable-werror.
23328         * INSTALL: Regenerated.
23329         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23330         (CFLAGS-tst-chk2.c): Likewise.
23331         (CFLAGS-tst-chk3.c): Likewise.
23332         (CFLAGS-tst-chk4.cc): Likewise.
23333         (CFLAGS-tst-chk5.cc): Likewise.
23334         (CFLAGS-tst-chk6.cc): Likewise.
23335         (CFLAGS-tst-lfschk1.c): Likewise.
23336         (CFLAGS-tst-lfschk2.c): Likewise.
23337         (CFLAGS-tst-lfschk3.c): Likewise.
23338         (CFLAGS-tst-lfschk4.cc): Likewise.
23339         (CFLAGS-tst-lfschk5.cc): Likewise.
23340         (CFLAGS-tst-lfschk6.cc): Likewise.
23342         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23343         (main): Disable -Wdeprecated-declarations around calls to
23344         register_printf_function.
23346         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23347         (do_test): Disable -Wdiv-by-zero around some calls to
23348         fwrite_unlocked and fread_unlocked.
23350         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23351         (DIAG_POP_NEEDS_COMMENT): Likewise.
23352         (_DIAG_STR1): Likewise.
23353         (_DIAG_STR): Likewise.
23354         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23355         * stdio-common/bug21.c: Include <libc-internal.h>.
23356         (do_test): Disable -Wformat around call to sscanf.
23357         * stdio-common/scanf14.c: Include <libc-internal.h>.
23358         (main): Disable -Wformat around some calls to scanf functions.
23360 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23362         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23364 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23366         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23367         stack variable alignment.
23369 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23371         [BZ #17682]
23372         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23373         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23374         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23375         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23376         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23377         __getrlimit instead of getrlimit.
23378         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23379         __gettimeofday instead of gettimeofday.
23380         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23381         Likewise.
23382         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23383         Likewise.
23384         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23385         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23386         Remove variable.
23387         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23388         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23390 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23392         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23393         for wide-character tests.
23395 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23397         * io/openat64.c: #include <libc-internal.h>
23398         (__openat64): Prototypify.  Use ignore_value on MODE.
23399         * io/openat.c: Likewise.
23400         * misc/reboot.c: #include <libc-internal.h>
23401         (reboot): Prototypify.  Use ignore_value on HOWTO.
23402         * misc/ptrace.c: #include <libc-internal.h>
23403         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23405 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23407         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23408         XPG4, UNIX98 and XOPEN2K.
23409         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23410         Remove variable.
23411         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23413 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23415         * libio/fileops.c: Use ISO C style for function definitions.
23416         * libio/iofopen.c: Likewise.
23417         * libio/wfileops.c: Likewise.
23419         [BZ #17653]
23420         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23421         offset on EOF.
23422         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23423         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23424         (fgets_func): Function pointer to fgets and fgetws.
23425         (do_ftell_test): Add test to verify ftell value after read
23426         EOF.
23427         (do_test): Set fgets_func.
23429         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23430         O_TRUNC flag for w and w+ modes.
23431         (do_rewind_test): Likewise.
23432         (do_ftell_test): Likewise.
23433         (do_write_test): Likewise.
23435         [BZ #17647]
23436         * libio/fileops.c (do_ftell): Seek only when there are
23437         unflushed writes.
23438         * libio/wfileops.c (do_ftell_wide): Likewise.
23439         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23440         test case.
23441         (do_one_test): Call it.
23443 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23445         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23446         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23447         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23448         Remove variable.
23449         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23450         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23451         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23453 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23455         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23456         Remove variable.
23457         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23459         [BZ #17668]
23460         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23461         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23462         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23463         __freeifaddrs.  Use libc_hidden_weak.
23464         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23465         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23466         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23467         __freeifaddrs.  Use libc_hidden_weak.
23468         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23469         __getifaddrs and define as weak alias of __getifaddrs.  Use
23470         libc_hidden_weak.
23471         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23472         __freeifaddrs.  Use libc_hidden_weak.
23473         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23474         Remove variable.
23475         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23476         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23478 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23480         [BZ #17601]
23481         * sysdeps/mips/start.S (__start): Use indirect jump to call
23482         __libc_start_main.
23484 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23486         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23488         * nptl/tst-mutex1.c: Include <stdbool.h>.
23489         [!ATTR] (ATTR_NULL): New macro.
23490         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23491         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23492         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23494         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23495         to char *.
23497         [BZ #17665]
23498         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23499         Change conditional to [__USE_MISC].
23501         [BZ #17664]
23502         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23503         fgets_unlocked.
23504         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23505         __fgets_unlocked.
23506         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23507         fgets_unlocked.
23508         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23509         Remove variable.
23510         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23511         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23512         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23513         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23514         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23515         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23516         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23517         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23518         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23520         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23522 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23525         Remove strpbrk objects.
23526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23527         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23528         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23529         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23530         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23531         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23534         Remove strcspn objects.
23535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23536         (__libc_ifunc_impl_list): Remove strcspn implementation.
23537         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23538         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23539         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23540         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23543         Remove strspn objetcs.
23544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23545         (__libc_ifunc_impl_list): Remove strspn implementation.
23546         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23547         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23548         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23549         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23551 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23553         [BZ #17581]
23554         * malloc/hooks.c
23555         (mem2mem_check): Add a terminator to the chain of checking blocks.
23556         (malloc_check_get_size): Use it here.
23557         (mem2chunk_check): Ditto.
23559 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23561         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23562         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23564 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23566         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23568         * nptl/nptl-init.c: Include libc-internal.h.
23569         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23571         * elf/ldconfig.c (search_dir): Expand comment.
23573 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23575         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23576         variable.
23577         (linknamespace-symlist-stdlibs-tests): Likewise.
23578         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23579         instead of $(objpfx)symlist-stdlibs.
23580         (linknamespace-libs-isoc): New variable.
23581         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23582         (linknamespace-libs-ISO): New variable.
23583         (linknamespace-libs-ISO99): Likewise.
23584         (linknamespace-libs-ISO11): Likewise.
23585         (linknamespace-libs-XPG3): Likewise.
23586         (linknamespace-libs-XPG4): Likewise.
23587         (linknamespace-libs-POSIX): Likewise.
23588         (linknamespace-libs-UNIX98): Likewise.
23589         (linknamespace-libs-XOPEN2K): Likewise.
23590         (linknamespace-libs-POSIX2008): Likewise.
23591         (linknamespace-libs-XOPEN2K8): Likewise.
23592         ($(objpfx)symlist-stdlibs): Replace by
23593         $(linknamespace-symlist-stdlibs-tests).  Use
23594         $(linknamespace-libs-$*) as set of libraries.
23595         ($(linknamespace-header-tests)): Update dependencies.  Use
23596         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23597         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23598         * conform/linknamespace.pl: Remove comment about considering
23599         definitions of symbols from irrelevant libraries.
23601 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23603         [BZ #13862]
23604         * elf/dl-tls.c: Include <atomic.h>.
23605         (oom): Remove #ifdef SHARED/#endif.
23606         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23607         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23608         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23609         big enough.
23610         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23611         * nptl/Makefile (tests): Add tst-stack4.
23612         (modules-names): Add tst-stack4mod.
23613         ($(objpfx)tst-stack4): New.
23614         (tst-stack4mod.sos): Likewise.
23615         ($(objpfx)tst-stack4.out): Likewise.
23616         ($(tst-stack4mod.sos)): Likewise.
23617         (clean): Likewise.
23618         * nptl/tst-stack4.c: New file.
23619         * nptl/tst-stack4mod.c: Likewise.
23621 2014-11-27  J. Brown  <jb999@gmx.de>
23623         * sysdeps/x86/bits/string.h: Add recent CPUs.
23625 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23627         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23628         sigblock.
23630         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23631         feof.
23633         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23634         variable.
23636 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23638         * nscd/connections.c: Include libc-internal.h because of macro
23639         usage ignore_value.
23641 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23643         * string/bits/string3.h (__warn_memset_zero_len): Don't
23644         declare for gcc newer than 5.0.
23645         (memset): Don't test for zero-length __LEN for gcc newer than
23646         5.0.
23648 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23650         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23651         size_t for %zu format.
23653         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23654         difference, not %ju.
23656 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23658         * include/libc-internal.h (ignore_value): New macro.
23659         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23660         with ignore_value.
23662         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23663         definition.
23665         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23666         pthread_cleanup_push to void *.
23668         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23669         Undefine.
23671         [BZ #16619]
23672         [BZ #16740]
23673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23674         instead of 1L << 52.
23676         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23677         * libio/bug-rewind2.c (do_test): Likewise.
23679         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23680         * debug/test-strcpy_chk-ifunc.c: Likewise.
23681         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23682         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23683         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23684         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23685         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23686         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23687         * Rules [$(multi-arch) = no] (tests): Do not filter out
23688         $(tests-ifunc).
23689         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23690         * debug/Makefile (tests-ifunc): Remove variable.
23691         (tests): Do not add $(tests-ifunc).
23692         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23693         (tests): Do not add $(tests-ifunc).
23694         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23695         [TEST_IFUNC]: Remove conditionals.
23696         * string/test-string.h (TEST_IFUNC): Remove macro.
23697         [TEST_IFUNC]: Remove conditionals.
23699         * string/test-strchr.c [!WIDE] (L): New macro.
23700         [WIDE] (L): Likewise.
23701         (check1): Use CHAR instead of char.  Use L on string and character
23702         constants.
23704 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23706         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23707         tests.
23708         * sysdeps/powerpc/bits/atomic.h
23709         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23710         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23711         (atomic_exchange_and_add_acq): Likewise.
23712         (atomic_exchange_and_add_rel): Likewise.
23713         * sysdeps/powerpc/powerpc32/bits/atomic.h
23714         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23715         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23716         * sysdeps/powerpc/powerpc64/bits/atomic.h
23717         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23718         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23720 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23722         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23723         Change synchronization of __sched_fifo_min_prio and
23724         __sched_fifo_max_prio.
23725         * nptl/pthread_mutexattr_getprioceiling.c
23726         (pthread_mutexattr_getprioceiling): Likewise.
23727         * nptl/pthread_mutexattr_setprioceiling.c
23728         (pthread_mutexattr_setprioceiling): Likewise.
23729         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23730         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23731         Likewise.
23733 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23735         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23736         void.
23738 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23740         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23741         third argument const.
23743 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23745         fnmatch: work around GCC compiler warning bug with uninit var
23746         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23747         This works around a bug with x86-64 GCC 4.9.2 and earlier
23748         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23749         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23750         used uninitialized in this function [-Wmaybe-uninitialized]".
23752 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23754         * posix/bug-regex31.c (main): Return RES not 0.
23756 2014-11-25  Anton Blanchard <anton@samba.org>
23758         * sysdeps/powerpc/bits/atomic.h
23759         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23761 2014-11-24  Sterling Augustine  <saugustine@google.com>
23763         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23765 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23767         [BZ #17608]
23768         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23770 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23772         [BZ #17633]
23773         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23774         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23775         variable.
23776         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23777         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23779 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23781         * string/strncpy.c (strncpy): Improve performance by using memset.
23783 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23785         * string/strcpy.c (strcpy):
23786         Improve performance by using strlen and memcpy.
23788 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23790         * string/strcoll_l.c (get_next_seq): __always_inline.
23791         * string/strcoll_l.c (do_compare): __always_inline.
23793 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23795         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23796         defined.
23797         * include/mqueue.h: Likewise.
23798         * include/stdlib.h: Likewise.
23800         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23801         (get_null_defines): Adjust.
23802         * sunrpc/Makefile: Adjust comment.
23803         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23804         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23805         (CFLAGS-interp.c): Likewise.
23806         (CFLAGS-ldconfig.c): Likewise.
23807         (CPPFLAGS-.os): Likewise.
23808         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23809         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23810         * extra-modules.mk (extra-modules.mk): Likewise.
23811         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23812         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23813         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23814         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23815         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23816         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23817         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23818         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23819         * iconvdata/Makefile (CPPFLAGS): Likewise.
23820         (cpp-srcs-left): Add libof for all iconvdata routines.
23821         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23822         * include/assert.h: Likewise.
23823         * include/ctype.h: Likewise.
23824         * include/errno.h: Likewise.
23825         * include/libc-symbols.h: Likewise.
23826         * include/math.h: Likewise.
23827         * include/netdb.h: Likewise.
23828         * include/resolv.h: Likewise.
23829         * include/stdio.h: Likewise.
23830         * include/stdlib.h: Likewise.
23831         * include/string.h: Likewise.
23832         * include/sys/stat.h: Likewise.
23833         * include/wctype.h: Likewise.
23834         * intl/l10nflist.c: Likewise.
23835         * libidn/idn-stub.c: Likewise.
23836         * libio/libioP.h: Likewise.
23837         * nptl/libc_multiple_threads.c: Likewise.
23838         * nptl/pthreadP.h: Likewise.
23839         * posix/regex_internal.h: Likewise.
23840         * resolv/res_hconf.c: Likewise.
23841         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23842         * sysdeps/arm/memmove.S: Likewise.
23843         * sysdeps/arm/sysdep.h: Likewise.
23844         * sysdeps/generic/_itoa.h: Likewise.
23845         * sysdeps/generic/symbol-hacks.h: Likewise.
23846         * sysdeps/gnu/errlist.awk: Likewise.
23847         * sysdeps/gnu/errlist.c: Likewise.
23848         * sysdeps/i386/i586/memcpy.S: Likewise.
23849         * sysdeps/i386/i586/memset.S: Likewise.
23850         * sysdeps/i386/i686/memcpy.S: Likewise.
23851         * sysdeps/i386/i686/memmove.S: Likewise.
23852         * sysdeps/i386/i686/mempcpy.S: Likewise.
23853         * sysdeps/i386/i686/memset.S: Likewise.
23854         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23855         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23856         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23857         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23858         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23859         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23860         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23861         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23862         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23864         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23865         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23866         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23867         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23868         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23869         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23870         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23871         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23872         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23873         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23874         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23875         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23876         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23877         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23878         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23879         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23880         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23881         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23882         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23883         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23884         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23885         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23887         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23888         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23889         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23890         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23891         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23892         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23893         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23894         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23895         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23896         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23897         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23898         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23899         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23900         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23901         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23902         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23903         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23904         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23905         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23906         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23907         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23908         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23909         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23910         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23911         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23912         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23913         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23914         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23915         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23916         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23917         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23918         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23919         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23920         * sysdeps/posix/closedir.c: Likewise.
23921         * sysdeps/posix/opendir.c: Likewise.
23922         * sysdeps/posix/readdir.c: Likewise.
23923         * sysdeps/posix/rewinddir.c: Likewise.
23924         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23925         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23926         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23927         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23928         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23929         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23930         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23935         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23937         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23939         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23940         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23941         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23942         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23944         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23945         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23946         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23947         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23948         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23949         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23950         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23951         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23952         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23959         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23960         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23961         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23962         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23963         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23964         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23965         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23966         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23967         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23968         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23969         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23970         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23971         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23972         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23973         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23974         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23975         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23978         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23981         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23982         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23983         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23984         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23985         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23986         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23987         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23989         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23990         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23991         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23992         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23993         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23994         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23995         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23996         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23997         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23998         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23999         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24000         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24001         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24002         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24003         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24004         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24005         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24006         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24008         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24009         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24010         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24011         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24012         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24013         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24014         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24015         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24016         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24018         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24019         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24020         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24022         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24023         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24024         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24025         * sysdeps/unix/alpha/sysdep.S: Likewise.
24026         * sysdeps/unix/alpha/sysdep.h: Likewise.
24027         * sysdeps/unix/make-syscalls.sh: Likewise.
24028         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24030         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24031         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24032         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24033         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24034         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24036         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24037         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24039         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24041         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24042         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24043         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24044         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24045         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24046         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24047         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24048         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24049         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24050         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24051         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24052         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24053         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24054         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24057         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24058         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24062         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24066         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24067         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24068         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24069         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24070         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24071         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24072         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24075         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24078         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24079         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24080         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24081         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24083         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24084         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24086         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24087         * sysdeps/x86_64/memcpy.S: Likewise.
24088         * sysdeps/x86_64/memmove.c: Likewise.
24089         * sysdeps/x86_64/memset.S: Likewise.
24090         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24091         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24092         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24093         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24094         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24095         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24096         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24097         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24098         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24099         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24100         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24101         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24102         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24103         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24104         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24105         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24106         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24107         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24109         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24110         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24111         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24112         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24113         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24114         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24115         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24116         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24117         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24118         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24119         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24120         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24121         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24122         * sysdeps/x86_64/strcmp.S: Likewise.
24124         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24126         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24127         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24128         * elf/rtld-Rules: Likewise.
24129         * elf/setup-vdso.h: Likewise.
24130         * include/assert.h: Likewise.
24131         * include/bits/stdlib-float.h: Likewise.
24132         * include/errno.h: Likewise.
24133         * include/sys/stat.h: Likewise.
24134         * include/unistd.h: Likewise.
24135         * sysdeps/aarch64/setjmp.S: Likewise.
24136         * sysdeps/alpha/setjmp.S: Likewise.
24137         * sysdeps/arm/__longjmp.S: Likewise.
24138         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24139         * sysdeps/arm/setjmp.S: Likewise.
24140         * sysdeps/arm/sysdep.h: Likewise.
24141         * sysdeps/generic/_itoa.h: Likewise.
24142         * sysdeps/generic/dl-sysdep.h: Likewise.
24143         * sysdeps/generic/ldsodefs.h: Likewise.
24144         * sysdeps/i386/dl-tls.h: Likewise.
24145         * sysdeps/i386/setjmp.S: Likewise.
24146         * sysdeps/m68k/setjmp.c: Likewise.
24147         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24148         * sysdeps/mach/hurd/opendir.c: Likewise.
24149         * sysdeps/posix/getcwd.c: Likewise.
24150         * sysdeps/posix/opendir.c: Likewise.
24151         * sysdeps/posix/profil.c: Likewise.
24152         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24153         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24154         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24155         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24156         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24157         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24158         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24159         * sysdeps/s390/dl-tls.h: Likewise.
24160         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24161         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24162         * sysdeps/sh/sh3/setjmp.S: Likewise.
24163         * sysdeps/sh/sh4/setjmp.S: Likewise.
24164         * sysdeps/unix/alpha/sysdep.h: Likewise.
24165         * sysdeps/unix/arm/sysdep.S: Likewise.
24166         * sysdeps/unix/i386/sysdep.S: Likewise.
24167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24168         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24169         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24170         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24172         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24173         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24174         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24175         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24176         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24177         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24178         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24179         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24182         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24186         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24187         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24190         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24191         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24192         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24194         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24195         * sysdeps/x86_64/setjmp.S: Likewise.
24197         * include/math.h: Use IS_IN instead of IS_IN_libm.
24198         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24199         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24200         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24203         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24204         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24205         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24207         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24208         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24209         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24210         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24211         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24212         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24213         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24214         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24215         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24216         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24217         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24218         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24219         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24220         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24221         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24222         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24223         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24224         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24225         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24226         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24227         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24228         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24229         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24230         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24232         Likewise.
24233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24234         Likewise.
24235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24236         Likewise.
24237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24238         Likewise.
24239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24240         Likewise.
24241         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24242         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24243         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24244         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24245         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24246         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24252         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24253         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24254         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24255         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24257         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24258         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24259         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24260         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24261         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24262         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24264         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24265         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24267         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24269         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24270         * nptl/pthreadP.h: Likewise.
24271         * nptl_db/structs.def: Likewise.
24272         * sysdeps/arm/sysdep.h: Likewise.
24273         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24274         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24275         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24276         * sysdeps/unix/alpha/sysdep.h: Likewise.
24277         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24279         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24280         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24281         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24282         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24284         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24285         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24286         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24287         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24288         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24289         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24290         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24293         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24294         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24295         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24298         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24299         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24300         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24301         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24302         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24304         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24305         * nptl/pthreadP.h: Likewise.
24306         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24307         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24308         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24309         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24310         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24311         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24312         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24313         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24314         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24315         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24316         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24317         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24319         Likewise.
24320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24321         Likewise.
24322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24324         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24327         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24328         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24329         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24331         * dlfcn/dladdr.c: Use IS_IN.
24332         * dlfcn/dladdr1.c: Likewise.
24333         * dlfcn/dlclose.c: Likewise.
24334         * dlfcn/dlerror.c: Likewise.
24335         * dlfcn/dlinfo.c: Likewise.
24336         * dlfcn/dlmopen.c: Likewise.
24337         * dlfcn/dlopen.c: Likewise.
24338         * dlfcn/dlsym.c: Likewise.
24339         * dlfcn/dlvsym.c: Likewise.
24341         * include/ifaddrs.h: Use IS_IN.
24342         * inet/check_pf.c: Likewise.
24343         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24344         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24346         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24347         IS_IN_ldconfig.
24348         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24349         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24351         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24352         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24353         IS_IN (libc).
24355         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24357         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24358         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24359         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24360         * include/libc-symbols.h (IS_IN_LIB): New macro.
24361         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24362         * include/netdb.h: Likewise.
24363         * include/stap-probe.h: Remove all uses of IN_LIB.
24365         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24366         instead of IN_MODULE.
24367         * include/libc-symbols.h (IN_MODULE): Define using
24368         MODULE_NAME.
24369         (PASTE_NAME, PASTE_NAME1): New macros.
24370         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24371         of IN_LIB.
24372         (STAP_PROBE_ASM): Likewise.
24374 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24376         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24377         __mach_init in dlopened libc.
24379 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24381         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24382         * sysdeps/arm/preconfigure: Regenerate.
24384 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24386         * nptl/pthread_create.c (__pthread_create_2_1): Set
24387         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24388         when copying values from IATTR into PD.
24390 2014-11-21  Will Newton  <will.newton@linaro.org>
24391             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24393         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24394         Refactor inline-asm.  Also add comment.
24396         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24397         ElfW macro instead of hardcoded Elf64 types.
24398         (la_aarch64_gnu_pltenter): Likewise.
24399         * sysdeps/aarch64/dl-machine.h
24400         (elf_machine_runtime_setup): Use ElfW(Addr).
24402         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24403         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24404         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24405         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24406         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24407         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24408         (R_AARCH64_TLS_DTPMOD): This.
24409         (R_AARCH64_TLS_DTPREL64): Rename to ...
24410         (R_AARCH64_TLS_DTPREL): This.
24411         (R_AARCH64_TLS_TPREL64): Rename to ...
24412         (R_AARCH64_TLS_TPREL): This.
24413         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24414         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24415         R_AARCH64_TLS_TPREL64.
24416         (elf_machine_rela): Likewise.
24418 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24420         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24421         by setting it to 0.  64b atomics are not supported currently.
24423 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24425         [BZ #16469]
24426         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24427         search domain names.
24429 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24431         [BZ #16469]
24432         * NEWS: Update.
24433         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24434         trailing dot.
24435         * posix/tst-getaddrinfo5.c: New.
24436         * posix/Makefile (tests): Add it.
24438 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24440         [BZ #14498]
24441         * NEWS: Fixed.
24442         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24443         after parsing line but before break_if_match.
24444         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24445         if there is a protocol mismatch.
24447 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24449         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24450         because the potential race is on the user-supplied stream.
24452 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24454         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24455         string literal if not passed a buffer.
24456         * manual/job.texi (ctermid): Update reasoning, note deviation
24457         from posix, suggest mtasurace when not passed a buffer, for
24458         future non-preliminary safety notes.
24460 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24462         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24463         of not passing it a buffer.
24464         Reported by Peng Haitao.
24466 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24468         * manual/Makefile ($(objpfx)stamp-summary): Require
24469         check-safety.sh to pass.
24470         * manual/check-safety.sh: Wish for verification that every
24471         @deftypefn and @deftypefun is followed by a @safety remark.
24473 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24475         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24477         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24478         PTHREAD_CANCEL_ASYNCHRONOUS.
24479         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24480         send SIGCANCEL.
24482         * nptl/default-sched.h: New file.
24483         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24484         * nptl/pthread_create.c: Include it.
24485         (__pthread_create_2_1): Use collect_default_sched instead of making
24486         Linux syscalls here directly.
24488 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24490         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24491         __pthread_once): Use C11 atomics.
24493 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24495         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24497 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24499         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24500         atomic_thread_fence_acquire, atomic_thread_fence_release,
24501         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24502         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24503         atomic_compare_exchange_weak_relaxed,
24504         atomic_compare_exchange_weak_acquire,
24505         atomic_compare_exchange_weak_release,
24506         atomic_exchange_acquire, atomic_exchange_release,
24507         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24508         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24509         atomic_fetch_and_acquire,
24510         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24512 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24514         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24515         USE_ATOMIC_COMPILER_BUILTINS): Define.
24516         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24518         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24520         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24522         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24524         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24526         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24528         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24530         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24532         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24534         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24536         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24538         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24540         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24542         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24544         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24546         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24548         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24550         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24551         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24552         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24554         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24557 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24559         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24560         the sched_priority value here.  It was already checked when the user
24561         called pthread_attr_setschedparam.
24563         * nptl/tst-bad-schedattr.c: New file.
24564         * nptl/Makefile (tests): Add it.
24566 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24567             Florian Weimer  <fweimer@redhat.com>
24568             Joseph Myers  <joseph@codesourcery.com>
24569             Adam Conrad  <adconrad@0c3.net>
24570             Andreas Schwab  <schwab@suse.de>
24571             Brooks  <bmoses@google.com>
24573         [BZ #17625]
24574         * wordexp-test.c (__dso_handle): Add prototype.
24575         (__register_atfork): Likewise.
24576         (__app_register_atfork): New function.
24577         (registered_forks): New global.
24578         (register_fork): New function.
24579         (test_case): Add 3 new tests for WRDE_CMDSUB.
24580         (main): Call __app_register_atfork.
24581         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24582         fork count is non-zero fail the test.
24583         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24584         is set.
24585         (parse_dollars): Remove check for WRDE_NOCMD.
24586         (parse_dquote): Likewise.
24588 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590         * Makeconfig (built-modules): List non-library modules to be
24591         built.
24592         (module-cppflags): Include libc-modules.h for
24593         everything except shlib-versions.v.i.
24594         (CPPFLAGS): Use it.
24595         (before-compile): Add libc-modules.h.
24596         ($(common-objpfx)libc-modules.h,
24597         $(common-objpfx)libc-modules.stmp): New targets.
24598         (common-generated): Add libc-modules.h and libc-modules.stmp.
24599         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24600         * include/libc-symbols.h: Don't include libc-modules.h.
24601         * include/libc-modules.h: Remove file.
24602         * scripts/gen-libc-modules.awk: New script to generate
24603         libc-modules.h.
24604         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24605         Depend on libc-modules.stmp.
24607         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24609         * Makeconfig (in-module): Get value of libof set for the
24610         translation unit.
24611         (CPPFLAGS): Use $(in-module).
24612         * Makerules: Don't suffix routine names for nonlib.
24613         * include/libc-modules.h: New file.
24614         * include/libc-symbols.h: Include libc-modules.h
24615         (IS_IN): New macro to replace IS_IN_* macros.
24616         * elf/Makefile: Set libof-* for each routine.
24617         * elf/rtld-Rules: Likewise.
24618         * extra-modules.mk: Likewise.
24619         * iconv/Makefile: Likewise.
24620         * iconvdata/Makefile: Likewise.
24621         * locale/Makefile: Likewise.
24622         * malloc/Makefile: Likewise.
24623         * nss/Makefile: Likewise.
24624         * sysdeps/gnu/Makefile: Likewise.
24625         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24626         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24627         * sysdeps/s390/s390-64/Makefile: Likewise.
24628         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24629         CPPFLAGS for nscd instead of nonlib.
24631 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24633         * nptl/createthread.c: New file.
24635         * nptl/createthread.c: Moved ...
24636         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24638         * nptl/createthread.c: Add proper top-line comment.
24639         (do_clone): Folded into ...
24640         (create_thread): ... here.  Take new arguments STOPPED_START and
24641         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24642         increment __nptl_threads, do event-reporting logic, do
24643         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24644         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24645         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24646         just send SIGCANCEL.
24647         * nptl/pthread_create.c: Forward-declare create_thread before
24648         including createthread.c.
24649         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24650         declaration, and new macro START_THREAD_SELF to replace argument.
24651         Remove return statement.
24652         (report_thread_creation): New function.
24653         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24654         synchronization logic, and __nptl_nthreads increment here, around
24655         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24656         PD->parent_cancelhandling here, before create_thread.  When
24657         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24658         __deallocate_stack, and ENOMEM translation here.
24660 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24662         [BZ #17616]
24663         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24664         (mptwo): Rename to __mptwo.
24665         (__inv): Use __mptwo instead of mptwo.
24666         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24667         (mptwo): Rename to __mptwo.
24668         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24669         of mpone and __mptwo instead of mptwo.
24670         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24671         instead of mpone.
24672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24673         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24674         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24675         of mpone and __mptwo instead of mptwo.
24676         (__mpranred): Use __mpone instead of mpone.
24677         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24678         variable.
24679         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24680         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24681         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24682         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24683         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24684         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24685         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24686         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24687         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24688         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24689         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24690         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24691         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24692         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24693         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24694         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24695         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24696         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24697         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24699 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24701         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24702         replace BSD Handler xref with BSD Signal Handling.
24704 2014-11-17  Richard Henderson  <rth@redhat.com>
24706         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24707         (_FP_PACK_RAW_2): Remove.
24708         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24709         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24710         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24711         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24712         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24713         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24714         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24715         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24716         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24717         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24718         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24719         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24720         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24721         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24722         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24723         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24725 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24727         * signal/signal.h [__USE_MISC]
24728         (struct sigvec): Remove type.
24729         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24730         (sigvec): Remove declaration.
24731         * sysdeps/posix/sigvec.c: Moved ...
24732         * signal/sigvec.c: ... here, replacing old file.
24733         (struct sigvec): New type, copied from old signal.h definition.
24734         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24735         (__sigvec): Convert definition to prototype.
24736         (sigvec): Replace weak_alias with compat_symbol.
24737         * signal/Versions (libc: GLIBC_2.21): New version set.
24738         * include/signal.h: Remove __sigvec declaration.
24739         * sysdeps/unix/bsd/sigvec.c: Remove file.
24740         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24741         * manual/signal.texi (BSD Handler): Remove subsection.
24742         Move siginterrupt up to ...
24743         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24744         (Blocking in BSD): Fold subsection into its parent.
24745         * NEWS: Mention sigvec removal.
24747 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24749         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24750         (DLA_FMS): Make definition conditional only on [__FMA4__].
24751         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24752         definition.
24754         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24755         Make definition conditional only on [PROF].
24756         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24757         definition.
24758         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24759         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24761         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24762         !__GNUC__].
24763         * include/signal.h (__sigpause): Move declaration above call to
24764         libc_hidden_proto.
24765         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24766         variable.
24767         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24768         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24770 2014-11-14  David S. Miller  <davem@davemloft.net>
24772         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24773         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24775 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24777         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24778         * configure: Regenerated.
24779         * manual/install.texi (Tools for Compilation): Document a
24780         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24781         compiler verified to work.
24782         * INSTALL: Regenerated.
24784         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24785         redeclare with asm name.
24786         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24787         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24788         including <string.h>.
24789         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24790         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24791         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24792         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24793         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24795         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24797 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24799         * stdlib/strtol.c (__strtol): Use prototype definition.
24801         [BZ #17594]
24802         * stdlib/strtol.c (SYM__): New macro.
24803         (SYM__1): Likewise.
24804         (__strtol): Likewise.
24805         (strtol): Rename to __strtol and define as weak alias of
24806         __strtol.  Use libc_hidden_weak.
24808 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24810         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24811         Use numbered labels in inline assembly.
24813 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24815         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24816         Add setjmp LIBC_PROBE.
24817         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24818         Likewise.
24819         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24820         Add longjmp, longjmp_target LIBC_PROBE.
24821         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24822         Likewise.
24824 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24826         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24827         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24828         to get rid of unused variable warning.
24830 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24832         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24833         Check for unwind_backtrace ==  NULL only in SHARED case.
24834         (__backchain_backtrace): Compile only in SHARED case.
24835         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24836         Likewise.
24837         (__backchain_backtrace): Declare as static.
24839 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24841         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24842         (__libc_multiple_threads_ptr): Variable moved ...
24843         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24845 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24847         * conform/GlibcConform.pm: New file.
24848         * conform/conformtest.pl: Use GlibcConform module.
24849         * conform/linknamespace.pl: New file.
24850         * conform/list-header-symbols.pl: Likewise.
24851         * conform/Makefile (linknamespace-symlists-base): New variable.
24852         (linknamespace-symlists-tests): Likewise.
24853         (linknamespace-header-base): Likewise.
24854         (linknamespace-header-tests): Likewise.
24855         (tests-special): Add new tests.
24856         ($(linknamespace-symlists-tests)): New rule.
24857         (linknamespace-libs): New variable.
24858         ($(objpfx)symlist-stdlibs): New rule.
24859         ($(linknamespace-header-tests)): Likewise.
24860         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24861         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24862         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24863         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24864         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24865         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24866         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24867         (test-xfail-ISO/math.h/linknamespace): Likewise.
24868         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24869         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24870         (test-xfail-ISO/time.h/linknamespace): Likewise.
24871         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24872         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24873         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24874         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24875         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24876         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24877         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24878         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24879         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24880         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24881         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24882         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24883         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24884         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24885         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24886         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24887         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24888         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24889         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24890         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24891         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24892         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24893         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24894         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24895         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24896         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24897         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24898         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24899         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24900         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24901         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24902         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24903         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24904         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24905         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24906         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24907         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24908         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24909         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24910         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24911         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24912         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24913         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24914         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24915         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24916         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24917         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24918         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24919         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24920         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24921         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24922         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24923         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24924         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24925         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24926         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24927         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24928         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24929         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24930         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24931         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24932         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24933         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24934         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24935         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24936         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24937         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24938         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24939         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24940         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24941         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24942         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24943         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24944         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24945         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24946         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24947         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24948         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24949         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24950         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24951         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24952         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24953         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24954         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24955         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24956         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24957         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24958         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24959         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24960         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24961         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24962         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24963         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24964         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24965         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24966         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24967         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24968         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24969         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24970         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24971         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24972         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24973         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24974         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24975         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24976         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24977         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24978         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24979         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24980         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24981         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24982         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24983         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24984         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24985         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24986         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24987         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24988         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24989         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24990         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24991         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24992         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24993         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24994         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24995         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24996         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24997         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24998         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24999         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25000         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25001         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25002         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25003         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25004         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25005         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25006         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25007         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25008         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25009         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25010         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25011         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25012         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25013         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25014         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25015         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25016         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25017         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25018         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25019         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25020         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25022         [BZ #17589]
25023         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25024         of fgets_unlocked.
25026         [BZ #17585]
25027         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25028         (memmem): Rename to __memmem and define as weak alias of
25029         __memmem.  Use libc_hidden_weak.
25030         (__memmem): Use libc_hidden_def.
25031         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25032         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25033         memmem.
25035         [BZ #17582]
25036         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25037         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25038         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25039         and define as weak alias of __fgets_unlocked.  Use
25040         libc_hidden_weak.
25041         (__fgets_unlocked): Use libc_hidden_def.
25042         * include/stdio.h (__fgets_unlocked): Declare.  Use
25043         libc_hidden_proto.
25044         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25045         __fgets_unlocked instead of fgets_unlocked.
25046         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25047         (GET_NPROCS_CONF_PARSER): Likewise.
25048         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25049         (GET_NPROCS_CONF_PARSER): Likewise.
25051         [BZ #17574]
25052         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25053         weak alias of __wmemset.  Use libc_hidden_weak.
25054         (__wmemset): Use libc_hidden_def.
25055         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25056         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25057         of wmemset.
25059         [BZ #17573]
25060         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25061         with asm name __mempcpy.
25062         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25064         [BZ #17572]
25065         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25066         and define as weak alias of __rawmemchr.
25067         (__rawmemchr): Do not define as strong alias of rawmemchr.
25069         [BZ #17571]
25070         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25071         alias of __qsort_r.
25072         (qsort): Call __qsort_r instead of qsort_r.
25073         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25074         (__qsort_r): Declare.  Call libc_hidden_proto.
25075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25076         instead of qsort_r.
25077         * nscd/gai.c (__qsort_r): Define to qsort_r.
25078         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25079         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25080         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25082         [BZ #17570]
25083         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25084         define as weak alias of __malloc_info.
25086         [BZ #17584]
25087         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25088         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25089         (__rewinddir): Use libc_hidden_def.
25090         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25091         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25092         (__rewinddir): Use libc_hidden_def.
25093         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25094         weak alias of __rewinddir.  Don't use libc_hidden_def.
25095         (__rewinddir): Use libc_hidden_def.
25096         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25097         (__rewinddir): Use libc_hidden_proto.
25098         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25099         rewinddir.
25100         (__getcwd): Use __rewinddir instead of rewinddir.
25102         [BZ #17583]
25103         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25104         alias of __fileno.  Use libc_hidden_weak.
25105         (__fileno): Use libc_hidden_def.
25106         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25107         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25108         alias of __ftello.
25109         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25110         __ftello.
25111         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25112         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25113         libc_hidden_def.
25114         (fread_unlocked): Don't use libc_hidden_ver.
25115         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25116         and define as weak alias of __fread_unlocked.  Don't use
25117         libc_hidden_def.
25118         (__fread_unlocked): Use libc_hidden_def.
25119         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25120         (ftello): Don't use libc_hidden_proto.
25121         (__ftello): Declare.  Use libc_hidden_proto.
25122         (fread_unlocked): Don't use libc_hidden_proto.
25123         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25124         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25125         and __ftello instead of fileno, fread_unlocked and ftello.
25127 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25129         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25130         GOT12.
25131         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25132         Likewise.
25133         (_dl_start_user): Likewise.
25134         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25136 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25137             Siddhesh Poyarekar  <siddhesh@redhat.com>
25139         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25140         Move argv and envp down instead of moving argc up.
25141         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25143 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25145         [BZ #17506]
25146         * test-skeleton.c (main): Return successful if one of
25147         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25148         * string/tst-strcoll-overflow.c: Define expected status.
25150 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25152         [BZ #17475]
25153         * locale/iso-639.def: Define Bhili and Tulu language codes.
25155 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25157         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25159 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25161         [BZ #17555]
25162         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25164 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25166         * configure.ac: Updated check of minimal required version to
25167         2.22.
25168         * manual/install.texi (Tools for Compilation): Updated version
25169         number.
25170         * configure: Regenerated.
25171         * INSTALL: Likewise.
25173 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25175         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25176         __tls_get_addr.
25178 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25180         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25181         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25182         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25183         libc_hidden_weak.
25184         (waitpid): Define as alias of __waitpid.
25185         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25186         __waitpid.
25187         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25188         libc_hidden_weak.
25189         (waitpid): Define as alias of __waitpid.
25190         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25191         __libc_waitpid alias.
25192         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25193         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25194         Likewise.
25195         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25196         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25197         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25198         alias.
25199         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25200         __waitpid.
25201         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25202         libc_hidden_weak.
25203         (waitpid): Define as alias of __waitpid.
25205 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25207         * manual/llio.texi: Add comment that write safety has been
25208         fixed in Linux.
25210         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25211         (localplt-build-dso): Add elf/ld.so.
25212         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25213         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25214         and free for ld.so.
25215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25216         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25218         Likewise.
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25220         Likewise.
25221         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25222         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25223         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25224         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25225         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25226         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25227         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25228         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25229         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25230         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25231         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25233 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25235         [BZ #14132]
25236         * include/libc-symbols.h (INTUSE): Remove macro.
25237         (INTDEF): Likewise.
25238         (INTVARDEF): Likewise.
25239         (_INTVARDEF): Likewise.
25240         (INTDEF2): Likewise.
25241         (INTVARDEF2): Likewise.
25242         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25243         rtld_hidden_def instead of INTVARDEF.
25244         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25245         (_dl_starting_up_internal): Remove declaration.
25246         (_dl_starting_up): Use rtld_hidden_proto.
25247         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25248         declaration.
25249         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25250         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25251         _dl_starting_up.
25252         * elf/dl-writev.h (_dl_writev): Likewise.
25253         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25254         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25255         _dl_starting_up_internal.
25257 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25259         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25260         test-skeleton.c.
25262 2014-11-05  Will Newton  <will.newton@linaro.org>
25264         * benchtests/Makefile: (bench-malloc): Add malloc thread
25265         scalability benchmark.
25266         * benchtests/bench-malloc-threads.c: New file.
25268 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25270         * sysdeps/aarch64/strchrnul.S: New file.
25272 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25274         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25275         definition.
25276         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25277         Likwise.
25278         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25279         Likewise.
25280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25281         Likewise.
25282         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25283         Likewise.
25284         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25285         Likewise.
25287 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25289         * catgets/test-gencat.c: Use test-skeleton.c.
25290         * catgets/tst-catgets.c: Likewise.
25291         * csu/tst-empty.c: Likewise.
25292         * elf/tst-audit2.c: Likewise.
25293         * elf/tst-global1.c: Likewise.
25294         * elf/tst-pathopt.c: Likewise.
25295         * elf/tst-piemod1.c: Likewise.
25296         * elf/tst-tls10.c: Likewise.
25297         * elf/tst-tls11.c: Likewise.
25298         * elf/tst-tls12.c: Likewise.
25299         * gnulib/tst-gcc.c: Likewise.
25300         * iconvdata/tst-e2big.c: Likewise.
25301         * iconvdata/tst-loading.c: Likewise.
25302         * iconv/tst-iconv1.c: Likewise.
25303         * iconv/tst-iconv2.c: Likewise.
25304         * inet/test-inet6_opt.c: Likewise.
25305         * inet/tst-gethnm.c: Likewise.
25306         * inet/tst-network.c: Likewise.
25307         * inet/tst-ntoa.c: Likewise.
25308         * intl/tst-codeset.c: Likewise.
25309         * intl/tst-gettext2.c: Likewise.
25310         * intl/tst-gettext3.c: Likewise.
25311         * intl/tst-ngettext.c: Likewise.
25312         * intl/tst-translit.c: Likewise.
25313         * io/test-stat.c: Likewise.
25314         * libio/test-fmemopen.c: Likewise.
25315         * libio/tst-freopen.c: Likewise.
25316         * libio/tst-sscanf.c: Likewise.
25317         * libio/tst-ungetwc1.c: Likewise.
25318         * libio/tst-ungetwc2.c: Likewise.
25319         * libio/tst-widetext.c: Likewise.
25320         * localedata/tst-ctype.c: Likewise.
25321         * localedata/tst-digits.c: Likewise.
25322         * localedata/tst-leaks.c: Likewise.
25323         * localedata/tst-mbswcs1.c: Likewise.
25324         * localedata/tst-mbswcs2.c: Likewise.
25325         * localedata/tst-mbswcs3.c: Likewise.
25326         * localedata/tst-mbswcs4.c: Likewise.
25327         * localedata/tst-mbswcs5.c: Likewise.
25328         * localedata/tst-setlocale.c: Likewise.
25329         * localedata/tst-trans.c: Likewise.
25330         * localedata/tst-wctype.c: Likewise.
25331         * localedata/tst-xlocale1.c: Likewise.
25332         * login/tst-grantpt.c: Likewise.
25333         * malloc/tst-calloc.c: Likewise.
25334         * malloc/tst-malloc.c: Likewise.
25335         * malloc/tst-mallocstate.c: Likewise.
25336         * malloc/tst-mcheck.c: Likewise.
25337         * malloc/tst-mtrace.c: Likewise.
25338         * malloc/tst-obstack.c: Likewise.
25339         * math/atest-exp2.c: Likewise.
25340         * math/atest-exp.c: Likewise.
25341         * math/atest-sincos.c: Likewise.
25342         * math/test-matherr.c: Likewise.
25343         * math/test-misc.c: Likewise.
25344         * math/test-powl.c: Likewise.
25345         * math/tst-definitions.c: Likewise.
25346         * misc/tst-dirname.c: Likewise.
25347         * misc/tst-efgcvt.c: Likewise.
25348         * misc/tst-fdset.c: Likewise.
25349         * misc/tst-hsearch.c: Likewise.
25350         * misc/tst-mntent2.c: Likewise.
25351         * nptl/tst-sem7.c: Likewise.
25352         * nptl/tst-sem8.c: Likewise.
25353         * nptl/tst-sem9.c: Likewise.
25354         * nss/test-netdb.c: Likewise.
25355         * posix/tst-fnmatch.c: Likewise.
25356         * posix/tst-getlogin.c: Likewise.
25357         * posix/tst-gnuglob.c: Likewise.
25358         * posix/tst-mmap.c: Likewise.
25359         * pwd/tst-getpw.c: Likewise.
25360         * resolv/tst-inet_ntop.c: Likewise.
25361         * rt/tst-timer.c: Likewise.
25362         * stdio-common/test-fseek.c: Likewise.
25363         * stdio-common/test-popen.c: Likewise.
25364         * stdio-common/test-vfprintf.c: Likewise.
25365         * stdio-common/tst-cookie.c: Likewise.
25366         * stdio-common/tst-fileno.c: Likewise.
25367         * stdio-common/tst-gets.c: Likewise.
25368         * stdio-common/tst-obprintf.c: Likewise.
25369         * stdio-common/tst-perror.c: Likewise.
25370         * stdio-common/tst-sprintf2.c: Likewise.
25371         * stdio-common/tst-sprintf3.c: Likewise.
25372         * stdio-common/tst-sprintf.c: Likewise.
25373         * stdio-common/tst-swprintf.c: Likewise.
25374         * stdio-common/tst-tmpnam.c: Likewise.
25375         * stdio-common/tst-unbputc.c: Likewise.
25376         * stdio-common/tst-wc-printf.c: Likewise.
25377         * stdlib/tst-environ.c: Likewise.
25378         * stdlib/tst-fmtmsg.c: Likewise.
25379         * stdlib/tst-limits.c: Likewise.
25380         * stdlib/tst-rand48-2.c: Likewise.
25381         * stdlib/tst-rand48.c: Likewise.
25382         * stdlib/tst-random2.c: Likewise.
25383         * stdlib/tst-random.c: Likewise.
25384         * stdlib/tst-strtol.c: Likewise.
25385         * stdlib/tst-strtoll.c: Likewise.
25386         * stdlib/tst-tls-atexit.c: Likewise.
25387         * stdlib/tst-xpg-basename.c: Likewise.
25388         * string/test-ffs.c: Likewise.
25389         * string/tst-bswap.c: Likewise.
25390         * string/tst-inlcall.c: Likewise.
25391         * string/tst-strtok.c: Likewise.
25392         * string/tst-strxfrm.c: Likewise.
25393         * sysdeps/x86_64/tst-audit10.c: Likewise.
25394         * sysdeps/x86_64/tst-audit3.c: Likewise.
25395         * sysdeps/x86_64/tst-audit4.c: Likewise.
25396         * sysdeps/x86_64/tst-audit5.c: Likewise.
25397         * time/tst-ftime_l.c: Likewise.
25398         * time/tst-getdate.c: Likewise.
25399         * time/tst-mktime3.c: Likewise.
25400         * time/tst-mktime.c: Likewise.
25401         * time/tst-posixtz.c: Likewise.
25402         * time/tst-strptime2.c: Likewise.
25403         * time/tst-strptime3.c: Likewise.
25404         * wcsmbs/tst-btowc.c: Likewise.
25405         * wcsmbs/tst-mbrtowc.c: Likewise.
25406         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25407         * wcsmbs/tst-wchar-h.c: Likewise.
25408         * wcsmbs/tst-wcpncpy.c: Likewise.
25409         * wcsmbs/tst-wcrtomb.c: Likewise.
25410         * wcsmbs/tst-wcsnlen.c: Likewise.
25411         * wcsmbs/tst-wcstof.c: Likewise.
25413 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25415         [BZ #14132]
25416         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25417         INTDEF.
25418         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25419         declaration.
25420         (_dl_mcount): Use rtld_hidden_proto.
25421         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25422         _dl_mcount.
25423         * elf/rtld.c (_rtld_global_ro): Likewise.
25425         [BZ #14132]
25426         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25427         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25428         of _dl_init_internal.
25429         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25430         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25431         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25432         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25433         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25434         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25435         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25436         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25437         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25438         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25439         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25440         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25441         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25442         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25443         * sysdeps/tile/dl-start.S (_start): Likewise.
25444         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25445         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25447         [BZ #14132]
25448         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25449         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25450         (rtld_progname): Make macro definition unconditional.
25451         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25452         INTDEF.
25453         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25454         (dl_main): Likewise.
25455         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25456         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25457         instead of _dl_argv_internal.
25458         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25459         __GI__dl_argv instead of INTUSE(_dl_argv).
25460         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25461         __GI__dl_argv instead of _dl_argv_internal.
25463         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25464         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25465         macro.
25466         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25467         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25468         New macro.
25469         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25470         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25471         macro.
25472         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25473         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25475 2014-11-04  Andreas Schwab  <schwab@suse.de>
25477         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25479 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25481         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25482         mtvsrd instruction in binary form.
25484 2014-11-03  Andreas Schwab  <schwab@suse.de>
25486         [BZ #17522]
25487         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25488         for less than MB_LEN_MAX use a local buffer of that size.
25489         * libio/tst-fputws.c: New file.
25490         * libio/Makefile (tests): Add tst-fputws.
25492 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25494         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25495         the size of the fpu_fr.fpu_dregs[] array.
25497 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25499         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25500         (__nanosleep): Do not define as alias.
25501         (nanosleep): Define as alias of __nanosleep.
25502         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25503         __libc_nanosleep name.
25505 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25507         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25508         install.texi in comment.
25510 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25512         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25513         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25514         ... add here and use lwsync or sync ...
25515         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25516         ... and add here using lwsync.
25518 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25520         * elf/dl-machine-reject-phdr.h: New file.
25521         * elf/dl-load.c: #include that.
25522         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25523         if that returned true.
25525 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25527         [BZ #17496]
25528         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25529         gen-as-const-headers chunk.  Add a big scare comment after the last
25530         safe place to touch before-compile.
25532 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25534         * manual/install.texi (Tools for Compilation): Update autoconf
25535         version requirements.
25536         * INSTALL: Regenerated.
25538         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25539         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25540         (__libc_pselect): Likewise.
25542         [BZ #14138]
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25548 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25550         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25551         correct barrier instruction.
25552         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25553         Likewise.
25554         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25555         Likewise.
25557 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25559         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25560         after defining inlines.  Instead, just use parens to defeat macro
25561         expansion of __isctype in its declaration.
25563 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25565         * include/sys/uio.h (__libc_readv): Remove declaration.
25566         (__libc_writev): Likewise.
25567         * misc/readv.c (__libc_readv): Rename to __readv.
25568         (__readv): Do not define as alias.
25569         (readv): Define as alias of __readv.
25570         * misc/writev.c (__libc_writev): Rename to __writev.
25571         (__writev): Do not define as alias.
25572         (writev): Define as alias of __writev.
25573         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25574         (__readv): Do not define as alias.
25575         (readv): Define unconditionally as alias of __readv.
25576         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25577         (__writev): Do not define as alias.
25578         (writev): Define unconditionally as alias of __writev.
25579         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25580         name.
25581         (writev): Do not define __libc_writev name.
25583 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25585         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25586         (convert_charseq): New function, broken out of ...
25587         (use_from_charmap): ... here.  Call it.
25588         (use_to_charmap): Use convert_charseq and free instead of duplicating
25589         its code with a variable-length stack struct.
25591 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25593         * include/fcntl.h (__libc_creat): Remove declaration.
25594         * io/creat.c (__libc_creat): Rename to creat.
25595         (creat): Do not define as alias.
25596         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25597         of creat instead of __libc_creat.
25598         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25599         to creat.
25600         (creat): Do not define as alias.
25601         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25602         __libc_creat.
25603         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25604         __libc_creat name.
25605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25606         Likewise.
25608 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25610         * manual/llio.texi: Add comments discussing why write() may be
25611         considered MT-unsafe on Linux.
25613 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25615         * dl-load.c (local_strdup): Remove.
25616         (expand_dynamic_string_token): Use __strdup.
25617         (decompose_rpath): Likewise.
25618         (_dl_map_object): Likewise.
25620 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25622         [BZ #14132]
25623         * sysdeps/generic/unwind-dw2-fde.c
25624         (__register_frame_info_bases_internal): Do not declare.
25625         (__register_frame_info_table_bases_internal): Likewise.
25626         (__deregister_frame_info_bases_internal): Likewise.
25627         (__register_frame_info_bases): Declare and use hidden_proto before
25628         definition.  Use hidden_def instead of INTDEF.
25629         (__register_frame_info_table_bases): Likewise.
25630         (__deregister_frame_info_bases): Likewise.
25631         (__register_frame_info): Do not use INTUSE.
25632         (__register_frame): Likewise.
25633         (__register_frame_info_table): Likewise.
25634         (__register_frame_table): Likewise.
25635         (__deregister_frame_info): Likewise.
25636         (__deregister_frame): Likewise.
25638 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25641         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25642         not undefine.
25643         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25644         Likewise.
25645         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25646         Likewise.
25648 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25650         [BZ #14138]
25651         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25652         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25653         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25654         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25655         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25656         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25658         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25659         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25660         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25661         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25662         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25663         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25664         syscall.
25665         (setfsuid): Likewise.
25666         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25667         (setfsuid): Likewise.
25668         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25669         (setfsuid): Likewise.
25670         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25671         Likewise.
25672         (setfsuid): Likewise.
25673         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25674         (setfsuid): Likewise.
25675         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25676         Likewise.
25677         (setfsuid): Likewise.
25679 2014-10-27  Andreas Schwab  <schwab@suse.de>
25681         [BZ #17501]
25682         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25683         check for Slow_SSE4_2 feature bit.
25684         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25685         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25686         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25687         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25689 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25691         * configure.ac: Validate compiler version with a empirical test of
25692         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25693         $CC -v output.
25694         * configure: Regenerated.
25696         * inet/htons.c (htons): Prototypify.
25697         * inet/htonl.c (htonl): Likewise.
25699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25701         * string/strncat.c (strncat): Improve performance by using strlen.
25703 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25705         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25707 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25709         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25710         Call libc_fetestexcept_aarch64.
25712 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25714         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25715         Call libc_feholdexcept_aarch64.
25717 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25719         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25720         Call get_rounding_mode.
25722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25724         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25725         Simplify logic.
25727 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25729         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25730         Simplify logic.
25732 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25734         [BZ #14138]
25735         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25736         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25737         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25738         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25739         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25740         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25741         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25742         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25743         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25744         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25745         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25746         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25747         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25748         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25749         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25750         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25751         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25752         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25753         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25754         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25755         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25756         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25757         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25758         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25759         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25760         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25761         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25762         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25763         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25764         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25765         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25766         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25767         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25768         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25769         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25770         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25771         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25772         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25773         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25774         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25775         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25776         syscall.
25777         (geteuid): Likewise.
25778         (getgid): Likewise.
25779         (getuid): Likewise.
25780         (getresgid): Likewise.
25781         (getresuid): Likewise.
25782         (getgroups): Likewise.
25783         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25784         (geteuid): Likewise.
25785         (getgid): Likewise.
25786         (getuid): Likewise.
25787         (getresgid): Likewise.
25788         (getresuid): Likewise.
25789         (getgroups): Likewise.
25790         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25791         (geteuid): Likewise.
25792         (getgid): Likewise.
25793         (getuid): Likewise.
25794         (getresgid): Likewise.
25795         (getresuid): Likewise.
25796         (getgroups): Likewise.
25797         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25798         Likewise.
25799         (geteuid): Likewise.
25800         (getgid): Likewise.
25801         (getuid): Likewise.
25802         (getresgid): Likewise.
25803         (getresuid): Likewise.
25804         (getgroups): Likewise.
25805         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25806         (geteuid): Likewise.
25807         (getgid): Likewise.
25808         (getuid): Likewise.
25809         (getresgid): Likewise.
25810         (getresuid): Likewise.
25811         (getgroups): Likewise.
25812         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25813         Likewise.
25814         (geteuid): Likewise.
25815         (getgid): Likewise.
25816         (getuid): Likewise.
25817         (getgroups): Likewise.
25819         [BZ #14138]
25820         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25821         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25822         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25824         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25825         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25826         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25827         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25828         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25829         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25830         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25831         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25832         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25833         __chown.
25834         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25835         (lchown): Likewise.
25836         (fchown): Likewise.
25837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25838         Likewise.
25839         (lchown): Likewise.
25840         (fchown): Likewise.
25841         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25842         (lchown): Likewise.
25843         (fchown): Likewise.
25844         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25845         Likewise.
25846         (lchown): Likewise.
25847         (fchown): Likewise.
25849 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25851         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25852         Simplify logic.
25854 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25856         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25857         Cleanup logic.
25859 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25861         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25862         Remove unused include.
25864 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25866         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25867         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25868         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25869         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25871 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25872             Helge Deller <deller@gmx.de>
25874         [BZ #17508]
25875         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25876         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25877         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25879 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25881         [BZ #14132]
25882         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25883         Remove macro definition.
25884         (__ashrdi3_v_glibc20): Likewise.
25885         (__lshrdi3_v_glibc20): Likewise.
25886         (__cmpdi2_v_glibc20): Likewise.
25887         (__ucmpdi2_v_glibc20): Likewise.
25888         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25889         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25890         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25891         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25892         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25893         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25895 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25897         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25898         old GNU extension [0] syntax.
25899         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25900         alloca rather than an array member with variable length.
25901         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25902         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25903         (parse_opt): ... here.  Likewise use alloca there.
25904         Validate the -i argument before checking for rootness.
25905         (send_shutdown): New function, broken out of ...
25906         (parse_opt): ... here.
25908 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25910         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25911         macro to get at the _rt_local_ro field.
25912         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25913         ([PIC] case) or _dl_hwcap ([!PIC] case).
25914         * sysdeps/arm/setjmp.S: Likewise.
25916         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25917         * sysdeps/arm/configure.ac: New check to define it.
25918         * sysdeps/arm/configure: Regenerated.
25919         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25920         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25921         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25922         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25923         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25924         Use move/movt pair instead of a load.
25925         (LDST_GLOBAL): Macro removed.
25926         (LDR_GLOBAL): New macro replaces it.
25927         (LDR_HIDDEN): New macro.
25928         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25929         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25931         * setjmp/tst-setjmp-static.c: New file.
25932         * setjmp/Makefile (tests): Add it.
25933         (tests-static): New variable.
25935 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25937         [BZ #17485]
25938         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25940 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25942         [BZ #14132]
25943         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25945 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25947         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25949 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25951         * io/fts.c (dirent_not_directory): New function.
25952         (fts_build): Call it.
25954 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25956         * nptl/version.c (__nptl_main): Use normal __write rather than
25957         INTERNAL_SYSCALL.
25958         (banner): Update copyright years.
25960         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25961         gettimeofday.
25962         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25963         * nptl/pthread_cond_timedwait.c: Likewise.
25964         * nptl/pthread_mutex_timedlock.c: Likewise.
25965         * nptl/sem_timedwait.c: Likewise.
25967         * sysdeps/nptl/bits/libc-lock.h
25968         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25969         (__libc_lock_init_recursive): Return void, not 0.
25970         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25971         (__libc_rwlock_init): Likewise.
25972         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25974 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25976         [BZ #15215]
25977         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25978         (__pthread_once_slow): ... here.
25979         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25980         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25982 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25984         [BZ #15215]
25985         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25986         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25987         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25988         * nptl/pthread_once.c (__pthread_once): Likewise.
25989         Update comments.
25991 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #14138]
25994         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25995         name.
25996         (writev): Use __libc_writev as strong name.
25997         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25998         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26000 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26002         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26004         * sysdeps/i386/nptl/tls.h
26005         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26006         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26007         New macros.
26008         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26009         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26010         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26011         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26012         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26013         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26015         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26016         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26017         on [__NR_futex].
26018         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26019         broken out of ...
26020         (__pthread_mutex_init): ... here.  Call it.
26021         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26022         Conditionalize PI cases on [__NR_futex].
26023         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26024         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26025         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26027         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26028         conditional on [SIGSETXID].
26029         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26030         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26031         is defined.  Likewise for SIGSETXID.
26032         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26033         Conditionalize definitions on [SIGSETXID].
26034         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26035         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26036         unblocking on [SIGCANCEL].
26038         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26039         [__NR_set_robust_list].
26041 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26043         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26044         (do_compare): Likewise.
26046 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26048         [BZ #15884]
26049         * string/strcoll_l.c: Don't include stdio.h.
26050         (coll_seq): Remove members idxarr and rulearr.
26051         (get_next_seq_cached): Remove function.
26052         (get_next_seq): Likewise.
26053         (get_next_seq_nocache): Rename to get_next_seq.
26054         (do_compare): Remove function.
26055         (do_compare_nocache): Rename to do_compare.
26056         (STRCOLL): Remove weight and rules cache.
26058 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26060         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26061         * sysdeps/arm/sfp-machine.h: ... to here.
26062         * sysdeps/arm/Implies: Remove arm/soft-fp.
26064 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26066         * conform/data/sys/utsname.h-data (*_t): Allow.
26067         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26068         [POSIX] (WEXITED): Do not expect constant.
26069         [POSIX] (WSTOPPED): Likewise.
26070         [POSIX] (WNOHANG): Likewise.
26071         [POSIX] (WNOWAIT): Likewise.
26072         [POSIX] (siginfo_t): Do not expect type or elements.
26073         [POSIX] (pid_t): Do not expect type.
26074         [POSIX] (signal.h): Do not allow header.
26075         [POSIX] (sys/resource.h): Likewise.
26076         [POSIX] (si_*): Do not allow pattern.
26077         [POSIX] (W*): Likewise.
26078         [POSIX] (P_*): Likewise.
26079         [POSIX] (BUS_*): Likewise.
26080         [POSIX] (CLD_*): Likewise.
26081         [POSIX] (FPE_*): Likewise.
26082         [POSIX] (ILL_*): Likewise.
26083         [POSIX] (POLL_*): Likewise.
26084         [POSIX] (SEGV_*): Likewise.
26085         [POSIX] (SI_*): Likewise.
26086         [POSIX] (TRAP_*): Likewise.
26087         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26088         variable.
26090 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26092         [BZ #12926]
26093         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26094         infinite loop when __recvmsg returns 0.
26096 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26098         * CANCEL-FCT-WAIVE: Remove file.
26099         * CANCEL-FILE-WAIVE: Likewise.
26101         [BZ #14132]
26102         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26103         instead of INTVARDEF.
26104         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26105         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26106         rtld_hidden_data_def instead of INTVARDEF.
26107         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26108         * elf/dl-deps.c (expand_dst): Likewise.
26109         * elf/dl-load.c (_dl_dst_count): Likewise.
26110         (_dl_dst_substitute): Likewise.
26111         (decompose_rpath): Likewise.
26112         (_dl_init_paths): Likewise.
26113         (open_path): Likewise.
26114         (_dl_map_object): Likewise.
26115         * elf/rtld.c (dl_main): Likewise.
26116         (process_dl_audit): Likewise.
26117         (process_envvars): Likewise.
26118         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26119         Remove declaration.
26120         (__libc_enable_secure): Use rtld_hidden_proto.
26122 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26124         * elf/dl-load.c
26125         (add_path): New function broken out of _dl_rtld_di_serinfo.
26126         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26128 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26130         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26131         parentheses around macro arguments.
26132         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26143         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26146         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26147         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26148         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26156         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26161         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26162         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26163         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26164         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26165         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26166         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26167         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26168         Likewise.
26169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26171         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26176         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26177         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26179         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26180         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26181         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26185         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26187         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26188         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26190         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26191         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26192         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26193         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26194         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26195         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26196         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26197         (_FP_FRAC_SRS_1): Likewise.
26198         (_FP_FRAC_CLZ_1): Likewise.
26199         (_FP_MUL_MEAT_1_imm): Likewise.
26200         (_FP_MUL_MEAT_1_wide): Likewise.
26201         (_FP_MUL_MEAT_1_hard): Likewise.
26202         (_FP_SQRT_MEAT_1): Likewise.
26203         (_FP_FRAC_ASSEMBLE_1): Likewise.
26204         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26205         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26206         (__FP_CLZ_2): Likewise.
26207         (_FP_MUL_MEAT_2_wide): Likewise.
26208         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26209         (_FP_MUL_MEAT_2_gmp): Likewise.
26210         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26211         (_FP_SQRT_MEAT_2): Likewise.
26212         (_FP_FRAC_ASSEMBLE_2): Likewise.
26213         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26214         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26215         (_FP_FRAC_CLZ_4): Likewise.
26216         (_FP_MUL_MEAT_4_wide): Likewise.
26217         (_FP_MUL_MEAT_4_gmp): Likewise.
26218         (_FP_SQRT_MEAT_4): Likewise.
26219         (_FP_FRAC_ASSEMBLE_4): Likewise.
26220         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26221         * soft-fp/op-common.h (_FP_CMP): Likewise.
26222         (_FP_CMP_EQ): Likewise.
26223         (_FP_CMP_UNORD): Likewise.
26224         (_FP_TO_INT): Likewise.
26225         (_FP_FROM_INT): Likewise.
26226         [!__FP_CLZ] (__FP_CLZ): Likewise.
26227         (_FP_DIV_HELP_imm): Likewise.
26228         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26229         Likewise.
26230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26235         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26238         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26241         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26242         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26243         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26244         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26245         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26246         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26247         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26248         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26254         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26257         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26258         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26259         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26261         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26262         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26263         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26264         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26265         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26266         (FP_UNPACK_RAW_SP): Likewise.
26267         (FP_PACK_RAW_S): Likewise.
26268         (FP_PACK_RAW_SP): Likewise.
26269         (FP_UNPACK_S): Likewise.
26270         (FP_UNPACK_SP): Likewise.
26271         (FP_UNPACK_SEMIRAW_S): Likewise.
26272         (FP_UNPACK_SEMIRAW_SP): Likewise.
26273         (FP_PACK_S): Likewise.
26274         (FP_PACK_SP): Likewise.
26275         (FP_PACK_SEMIRAW_S): Likewise.
26276         (FP_PACK_SEMIRAW_SP): Likewise.
26277         (_FP_SQRT_MEAT_S): Likewise.
26278         (FP_CMP_S): Likewise.
26279         (FP_CMP_EQ_S): Likewise.
26280         (FP_CMP_UNORD_S): Likewise.
26281         (FP_TO_INT_S): Likewise.
26282         (FP_FROM_INT_S): Likewise.
26284         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26286         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26287         (FP_EX_INVALID_IMZ): Likewise.
26288         (FP_EX_INVALID_IMZ_FMA): Likewise.
26289         (FP_EX_INVALID_ISI): Likewise.
26290         (FP_EX_INVALID_ZDZ): Likewise.
26291         (FP_EX_INVALID_IDI): Likewise.
26292         (FP_EX_INVALID_SQRT): Likewise.
26293         (FP_EX_INVALID_CVI): Likewise.
26294         (FP_EX_INVALID_VC): Likewise.
26295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26296         "invalid" exceptions.
26297         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26298         (_FP_ADD_INTERNAL): Likewise.
26299         (_FP_MUL): Likewise.
26300         (_FP_FMA): Likewise.
26301         (_FP_DIV): Likewise.
26302         (_FP_CMP_CHECK_NAN): Likewise.
26303         (_FP_SQRT): Likewise.
26304         (_FP_TO_INT): Likewise.
26305         (FP_EXTEND): Likewise.
26307 2014-10-09  Allan McRae  <allan@archlinux.org>
26309         * po/fr.po: Update French translation from translation project.
26311 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26313         [BZ #14132]
26314         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26315         of INTDEF.
26316         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26317         (__cxa_atexit): Use libc_hidden_proto.
26318         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26320         [BZ #14132]
26321         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26322         declaration.
26323         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26324         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26325         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26326         [!_ISOMAC] (__iswctype_internal): Likewise.
26327         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26328         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26329         alias.
26330         (fcntl): Remove __fcntl_internal alias.
26331         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26332         __connect_internal alias.
26333         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26334         Likewise.
26336         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26337         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26338         FP_DENORM_ZERO.
26339         (_FP_CHECK_FLUSH_ZERO): New macro.
26340         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26341         (_FP_CMP): Likewise.
26342         (_FP_CMP_EQ): Likewise.
26343         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26344         FP_DENORM_ZERO.
26345         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26346         (FP_TRUNC): Likewise.
26348         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26349         treated as invalid conversion, not as normal exponent.
26351         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26352         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26353         (_FP_CMP_EQ): Likewise.
26354         (_FP_CMP_UNORD): Likewise.
26355         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26356         (FP_CMP_EQ_D): Likewise.
26357         (FP_CMP_UNORD_D): Likewise.
26358         * soft-fp/extended.h (FP_CMP_E): Likewise.
26359         (FP_CMP_EQ_E): Likewise.
26360         (FP_CMP_UNORD_E): Likewise.
26361         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26362         (FP_CMP_EQ_Q): Likewise.
26363         (FP_CMP_UNORD_Q): Likewise.
26364         * soft-fp/single.h (FP_CMP_S): Likewise.
26365         (FP_CMP_EQ_S): Likewise.
26366         (FP_CMP_UNORD_S): Likewise.
26367         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26368         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26369         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26370         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26371         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26372         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26373         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26374         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26375         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26376         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26377         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26378         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26379         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26380         to FP_CMP_Q.
26381         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26382         FP_CMP_Q.
26383         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26384         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26385         FP_CMP_EQ_Q.
26386         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26387         FP_CMP_Q.
26388         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26389         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26390         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26391         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26392         FP_CMP_EQ_Q.
26393         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26394         FP_CMP_Q.
26395         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26396         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26397         FP_CMP_EQ_Q.
26398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26399         FP_CMP_Q.
26400         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26401         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26402         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26403         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26404         FP_CMP_EQ_Q.
26406         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26407         a subnormal result, set the underflow exception if trapping on
26408         underflow is enabled.
26409         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26410         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26411         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26412         redefine to 0.
26413         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26414         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26415         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26416         * soft-fp/extendxftf2.c (__extendxftf2): Use
26417         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26419         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26420         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26421         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26422         FP_HANDLE_EXCEPTIONS.
26423         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26424         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26425         FP_HANDLE_EXCEPTIONS.
26426         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26427         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26428         FP_HANDLE_EXCEPTIONS.
26429         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26430         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26431         FP_HANDLE_EXCEPTIONS.
26433 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26435         [BZ #14132]
26436         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26437         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26438         use INTUSE.
26439         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26440         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26441         Remove alias.
26442         (__adjtimex): Define using libc_hidden_ver.
26443         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26444         Remove declaration.
26445         (ntp_gettime): Call __adjtimex directly.
26446         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26447         Remove declaration.
26448         (ntp_gettimex): Call __adjtimex directly.
26449         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26450         __adjtimex_internal alias.
26452 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26454         [BZ #17460]
26455         * nscd/nscd.c (more_help): Rewrite list of tables collection
26456         using xstrdup and asprintf.
26458         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26460 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26461             Roland McGrath  <roland@hack.frob.com>
26463         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26464         (do_lookup_unique): ... local function 'enter' here; update callers.
26466 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26468         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26469         compat_symbol calls on [SHARED].
26470         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26471         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26472         Remove.
26473         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26474         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26475         (oldsetrlimit): Remove.
26476         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26478         (lchown): New syscall entry.
26479         (oldsetrlimit): Remove.
26480         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26481         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26482         (oldsetrlimit): Remove.
26483         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26485         [BZ #14138]
26486         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26487         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26488         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26489         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26490         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26491         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26492         (fchown): Likewise.
26493         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26494         (fchown): Likewise.
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26496         Likewise.
26498 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26500         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26501         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26502         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26503         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26504         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26505         Likewise.
26506         (__old_sem_post): Likewise.
26508 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26510         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26511         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26512         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26513         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26514         Use INLINE_VSYSCALL macro.
26515         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26516         __vdso_clock_gettime.
26517         * sysdeps/unix/sysv/linux/tile/init-first.c
26518         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26519         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26520         __vdso_clock_gettime.
26522         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26523         to set up frame more cleanly.
26525         * sysdeps/tile/memcmp.c: New file.
26527         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26529         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26530         * sysdeps/tile/tilegx/strcasestr.c: New file.
26531         * sysdeps/tile/tilegx/strnlen.c: New file.
26532         * sysdeps/tile/tilegx/strstr.c: New file.
26534         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26536 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26538         * nptl/tst-setuid3.c: Write errors to stdout.
26540 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26542         * elf/dl-deps.c
26543         (preload): New functions broken out of _dl_map_object_deps.
26544         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26546 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26548         [BZ #14138]
26549         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26550         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26552 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26554         * sysdeps/mips/strcmp.S: New.
26556 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26558         [BZ #14138]
26559         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26560         (linkat): Likewise.
26561         (mkdirat): Likewise.
26562         (readlinkat): Likewise.
26563         (renameat): Likewise.
26564         (symlinkat): Likewise.
26565         (unlinkat): Likewise.
26566         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26567         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26568         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26569         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26570         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26571         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26572         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26574 2014-09-30  Will Newton  <will.newton@linaro.org>
26576         * math/math.h: Define long double math functions if
26577         _LIBC_TEST is defined.
26578         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26580         * localedata/Makefile: Move assignment to tests-special
26581         into an ifdef testing run-built-tests.
26582         * timezone/Makefile: Likewise.
26584 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26586         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26587         with $(BASH) not $(SHELL).
26589 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26590             Matthew LeGendre  <legendre1@llnl.gov>
26592         [BZ #17411]
26593         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26594         l_reloc_result.
26596 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26598         * stdio-common/printf_fp.c
26599         (hack_digit): New function, broken out of ...
26600         (__printf_fp): ... local function here.  Update call sites.
26601         hack_digit now takes an additional parameter that is a pointer
26602         to a struct of the referenced locals.  Those locals moved inside
26603         the struct and references updated.
26605 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26607         * aclocal.m4: Require autoconf 2.69.
26608         * configure: Regenerated.
26609         * sysdeps/aarch64/configure: Likewise.
26610         * sysdeps/alpha/configure: Likewise.
26611         * sysdeps/arm/armv7/configure: Likewise.
26612         * sysdeps/arm/configure: Likewise.
26613         * sysdeps/ia64/configure: Likewise.
26614         * sysdeps/mach/configure: Likewise.
26615         * sysdeps/mips/configure: Likewise.
26616         * sysdeps/s390/configure: Likewise.
26617         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26620         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26621         file.
26622         * sysdeps/ia64/configure.ac: Likewise.
26624 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26627         specify symbol version for ld.so.  Do not include entry for
26628         libpthread.
26629         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26630         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26631         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26633         [BZ #14171]
26634         * Makeconfig [$(build-shared) = yes]
26635         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26636         makefiles.
26637         [$(build-shared) = yes && $(soversions.mk-done) = t]
26638         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26639         [$(build-shared) = yes && $(soversions.mk-done) = t]
26640         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26641         to Makerules.
26642         [$(build-shared) = yes && $(soversions.mk-done) = t]
26643         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26644         here.
26645         [$(build-shared) = yes && $(soversions.mk-done) = t]
26646         (common-generated): Don't append gnu/lib-names.h and
26647         gnu/lib-names.stmp here.
26648         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26649         (lib-names-h-abi): New variable.
26650         [$(build-shared) = yes && $(soversions.mk-done) = t]
26651         (lib-names-stmp-abi): Likewise.
26652         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26653         abi-variants] (before-compile): Append
26654         $(common-objpfx)$(lib-names-h-abi).
26655         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26656         abi-variants] (common-generated): Append gnu/lib-names.h.
26657         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26658         abi-variants] (install-others-nosubdir): Depend on
26659         $(inst_includedir)/$(lib-names-h-abi).
26660         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26661         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26662         [$(build-shared) = yes && $(soversions.mk-done) = t]
26663         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26664         [$(build-shared) = yes && $(soversions.mk-done) = t]
26665         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26666         [$(build-shared) = yes && $(soversions.mk-done) = t]
26667         (common-generated): Append $(lib-names-h-abi) and
26668         $(lib-names-stmp-abi).
26669         * scripts/lib-names.awk: Do not handle multi being set.
26670         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26671         Remove variable.
26672         (abi-lp64_be-ld-soname): Likewise.
26673         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26674         Likewise.
26675         (abi-hard-ld-soname): Likewise.
26676         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26677         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26678         Remove variable.
26679         (abi-o32_hard-ld-soname): Likewise.
26680         (abi-o32_soft_2008-ld-soname): Likewise.
26681         (abi-o32_hard_2008-ld-soname): Likewise.
26682         (abi-n32_soft-ld-soname): Likewise.
26683         (abi-n32_hard-ld-soname): Likewise.
26684         (abi-n32_soft_2008-ld-soname): Likewise.
26685         (abi-n32_hard_2008-ld-soname): Likewise.
26686         (abi-n64_soft-ld-soname): Likewise.
26687         (abi-n64_hard-ld-soname): Likewise.
26688         (abi-n64_soft_2008-ld-soname): Likewise.
26689         (abi-n64_hard_2008-ld-soname): Likewise.
26690         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26691         Likewise.
26692         (abi-64-v2-ld-soname): Likewise.
26693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26694         ld.so entries.
26695         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26696         variable.
26697         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26698         entry.
26699         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26700         variable.
26701         (abi-64-ld-soname): Likewise.
26702         (abi-x32-ld-soname): Likewise.
26703         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26704         entry.
26705         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26707 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26709         [BZ #14138]
26710         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26711         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26712         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26713         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26714         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26715         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26716         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26717         syscall entry for GLIBC_2.2 symbol version.
26718         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26719         Likewise.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26721         (setrlimit): Likewise.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26723         Likewise.
26725 2014-09-23  Will Newton  <will.newton@linaro.org>
26727         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26728         _LINUX_ARM_SYSDEP_H include guard too.
26729         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26730         define.
26732 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26734         * sysdeps/unix/sysv/linux/eventfd.c:
26735         Make first argument unsigned.
26736         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26737         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26739 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26741         [BZ #16852]
26742         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26743         * socket/sys/socket.h: Likewise.
26744         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26746 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26748         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26750 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26752         * time/tst-ftime.c: New test.
26753         * time/Makefile (tests): Add tst-ftime.
26755 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26757         * soft-fp/extended.h: Fix comment formatting.
26758         * soft-fp/op-1.h: Likewise.
26759         * soft-fp/op-2.h: Likewise.
26760         * soft-fp/op-4.h: Likewise.
26761         * soft-fp/op-8.h: Likewise.
26762         * soft-fp/op-common.h: Likewise.
26763         * soft-fp/soft-fp.h: Likewise.
26765         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26767 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26769         [BZ #6652]
26770         * Makeconfig (soversions-default-setname): Remove variable.
26771         ($(common-objpfx)soversions.i): Don't pass default_setname to
26772         soversions.awk.
26773         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26774         oldest_abi to abi-versions.awk.
26775         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26776         * config.make.in (oldest-abi): Remove variable.
26777         * configure.ac (--enable-oldest-abi): Remove configure option.
26778         * configure: Regenerated.
26779         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26780         text.
26781         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26782         * scripts/soversions.awk: Do not handle default_setname variable.
26783         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26784         variable.
26785         * sysdeps/mach/hurd/configure: Regenerated.
26786         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26787         variable.
26788         * sysdeps/unix/sysv/linux/configure: Regenerated.
26790 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26792         * elf/Makefile (CFLAGS-interp.c): Remove.
26793         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26794         path string.
26795         * elf/interp.c: Include generated runtime-linker.h
26797         * Makerules (lib%.so): Don't include $(+interp) in
26798         prerequisites.
26799         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26800         * dlfcn/eval.c: Remove file.
26802         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26803         macros.
26805         [BZ #17266]
26806         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26807         4.2 and newer.
26809         [BZ #17370]
26810         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26812 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26813             Jakub Jelinek  <jakub@redhat.com>
26815         [BZ #17266]
26816         * libio/stdio.h: Check definition of __fortify_function
26817         instead of __extern_always_inline to include bits/stdio2.h.
26818         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26819         check if __extern_always_inline is defined.
26820         [__USE_MISC || __USE_XOPEN]: Likewise.
26821         [__USE_ISOC99] Likewise.
26822         * misc/sys/cdefs.h (__fortify_function): Define only if
26823         __extern_always_inline is defined.
26824         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26825         __extern_always_inline and __extern_inline only for g++-4.3
26826         and newer or a compatible gcc.
26828 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26830         [BZ #17371]
26831         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26832         last change to handle zero prefix length.
26834 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26836         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26837         _SC_REGEX_VERSION.
26839         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26840         _POSIX_RAW_SOCKETS.
26842 2014-09-13  Allan McRae  <allan@archlinux.org>
26844         * po/ru.po: Update Russian translation from translation project.
26846 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26848         * locale/programs/locale.c (show_locale_vars): Inline local function
26849         into its sole call site.  Clean up some style nits.
26850         (print_item): New function, broken out of ...
26851         (show_info): ... local function here.  Clean up style nits.
26853         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26854         out of ...
26855         (set_class_defaults): ... local function set_default here.
26856         Define set_default as a macro locally to pass constant parameters.
26857         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26858         rather than a shared local.
26860         * stdlib/rpmatch.c (try): New function, broken out of ...
26861         (rpmatch): ... local function here.  Also, prototypify definition.
26863 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26865         * scripts/soversions.awk: Do not handle configuration names.
26866         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26867         vendor and os variables to soversions.awk.
26868         * configure.ac: Do not modify gnu-* host_os.
26869         * configure: Regenerated
26870         * shlib-versions: Remove first column with configuration names.
26871         * nptl/shlib-versions: Likewise.
26872         * nptl_db/shlib-versions: Likewise.
26873         * sysdeps/hppa/shlib-versions: Likewise.
26874         * sysdeps/m68k/shlib-versions: Likewise.
26875         * sysdeps/mach/hurd/shlib-versions: Likewise.
26876         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26877         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26878         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26879         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26880         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26881         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26882         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26883         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26885         Likewise.
26886         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26887         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26888         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26889         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26890         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26891         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26892         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26893         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26896         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26898         Regenerated.
26899         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26901         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26903         * shlib-versions: Remove OS-specific entries.  Moved to files in
26904         sysdeps.
26905         * sysdeps/mach/hurd/shlib-versions: New file.
26906         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26908         * nptl/shlib-versions: Remove architecture-specific entries.
26909         Moved to files in sysdeps.
26910         * shlib-versions: Likewise.
26911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26912         file.
26913         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26914         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26915         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26916         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26918         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26919         (UDP_NO_CHECK6_RX): Likewise.
26921 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26923         * sysdeps/posix/sysconf.c (__sysconf): Spell
26924         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26926 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26928         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26929         loading.
26930         * iconv/Versions (__gconv_transliterate): Export for use from
26931         gconv modules.
26932         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26933         (struct __gconv_trans_data, __gconv_trans_fct,
26934         __gconv_trans_context_fct, __gconv_trans_query_fct,
26935         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26936         definitions.
26937         (struct __gconv_step_data): Remove __trans member.
26938         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26939         longer hidden.  Remove unused trans_data argument.
26940         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26941         (__gconv_translit_find): Remove declaration.
26942         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26943         prototype.
26944         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26945         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26946         trans_data argument.  Add hidden definition.
26947         (__gconv_translit_find): Remove.
26948         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26949         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26950         * iconv/skeleton.c: Remove transliteration initialization.
26951         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26952         __gconv_step_data initialization.
26953         * libio/iofwide.c (__libio_translit_): Remove.
26954         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26955         * wcsmbs/btowc.c (__btowc): Likewise.
26956         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26957         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26958         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26959         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26960         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26961         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26962         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26963         * wcsmbs/wctob.c (wctob): Likewise.
26965 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26967         [BZ #16194]
26968         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26969         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26970         register usage.
26971         * sysdeps/x86/Makefile: Adjust.
26973 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26974             Roland McGrath  <roland@hack.frob.com>
26976         * locale/weight.h: Add include guard.
26977         (findidx): Make static rather than auto; take new parameters
26978         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26979         * locale/weightwc.h: Likewise.
26980         * posix/fnmatch_loop.c
26981         (FCT): Change type of EXTRA from int32_t to wint_t.
26982         Don't include either header inside the function.
26983         Call FINDIDX rather than findidx, and pass new arguments.
26984         #undef FINDIDX at the end of the file.
26985         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26986         FINDIDX before including fnmatch_loop.c for the non-wide version.
26987         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26988         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26989         for the wide version.
26990         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26991         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26992         Pass new arguments to findidx.
26993         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26994         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26995         Don't #include it inside the function.  Pass new arguments to findidx.
26996         * posix/regex_internal.h
26997         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26998         (re_string_elem_size_at): Don't #include it inside the function.
26999         Pass new arguments to findidx.
27000         * string/strcoll_l.c: #include WEIGHT_H at top level.
27001         (get_next_seq): Don't #include it inside the function.
27002         Pass new arguments to findidx.
27003         (get_next_seq_nocache): Likewise.
27004         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27005         (STRXFRM): Don't #include it inside the function.
27006         Pass new arguments to findidx.
27008 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27010         [BZ #17344]
27011         * malloc/malloc.c (unlink): Turn asserts into a call to
27012         malloc_printerr.
27014 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27016         [BZ #17370]
27017         * libio/wfileops (do_ftell_wide): Free OUT.
27019 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27021         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27023 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27025         [BZ #17363]
27026         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27027         group if the current group is empty.
27029 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27031         * benchtests/bench-memset.c (test_main): Add more test from size
27032         from 32 to 512 bytes.
27033         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27034         Add POWER8 memset object.
27035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27036         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27037         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27038         implementation.
27039         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27040         Likewise.
27041         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27042         multiarch POWER8 memset optimization.
27043         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27044         POWER8 memset optimization.
27046         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27047         Remove bzero multiarch objects.
27048         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27049         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27050         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27051         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27052         Remove define.
27053         [__bzero]: Redefine to specific name.
27054         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27055         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27056         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27057         define.
27058         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27059         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27061 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27063         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27064         warnings into errors.
27066         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27067         __cxa_thread_atexit_impl prototype.
27069 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27071         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27072         Fix capitalization of error message.
27074 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27076         * sysdeps/mips/preconfigure: Modify ABI tests.
27078 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27080         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27082 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27083             Carlos O'Donell  <carlos@systemhalted.org>
27085         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27086         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27087         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27088         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27089         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27091         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27092         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27093         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27094         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27095         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27096         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27097         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27098         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27099         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27100         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27101         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27102         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27103         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27104         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27105         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27106         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27107         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27108         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27109         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27110         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27111         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27112         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27113         Deconditionalize the code that was previously under [RESET_PID].
27114         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27115         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27116         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27117         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27118         include sysdep.h.
27120 2014-09-08  Allan McRae  <allan@archlinux.org>
27122         * version.h (RELEASE): Set to "development".
27123         (VERSION): Set to "2.20.90"
27125 2014-09-07  Allan McRae  <allan@archlinux.org
27127         * version.h (RELEASE): Set to "stable".
27128         (VERSION): Set to "2.20"
27129         * include/features.h (__GLIBC_MINOR__): Set to 20.
27131         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27132         Liebler.
27134         * po/ko.po: Update Korean translation from translation project.
27136 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27138         [BZ #17354]
27139         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27140         macro for handling signed relocations.
27142 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27144         [BZ #17325]
27145         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27146         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27147         assert.
27148         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27149         * iconvdata/ibm935.c (BODY): Likewise.
27150         * iconvdata/ibm937.c (BODY): Likewise.
27151         * iconvdata/ibm939.c (BODY): Likewise.
27152         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27153         assert.
27154         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27155         script.
27156         * iconvdata/run-iconv-test.sh: New test loop for checking for
27157         decoder crashers.
27159 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27161         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27162         libm_hidden_ver.
27164 2014-09-01  Allan McRae  <allan@archlinux.org>
27166         * po/eo.po: Update Esperanto translation from translation project.
27168         * po/ca.po: Update Catalan translation from translation project.
27170 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27172         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27173         __proc_dostop call.
27175 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27177         [BZ #17319]
27178         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27179         to call set_thread_area instead of hand written asm.
27180         (__NR_set_thread_area): Removed define.
27181         (TLS_FLAG_WRITABLE): Likewise.
27182         (__ASSUME_SET_THREAD_AREA): Remove check.
27183         (TLS_EBX_ARG): Remove define.
27184         (TLS_LOAD_EBX): Likewise.
27186 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27188         Simplify atomicity of socket creation in bind.
27190         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27191         looking up the name after linking the file.
27193 2014-08-27  Allan McRae  <allan@archlinux.org>
27195         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27197 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27199         [BZ #17187]
27200         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27201         trans_compare, open_translit, __gconv_translit_find):
27202         Remove module loading code.
27204 2014-08-26  Allan McRae  <allan@archlinux.org>
27206         * po/vi.po: Update Vietnamese translation from translation project.
27208         * po/uk.po: Update Ukrainian translation from translation project.
27210         * po/fr.po: Update French translation from translation project.
27212         * po/ru.po: Update Russian translation from translation project.
27214         * po/pl.po: Update Polish translation from translation project.
27216         * po/cs.po: Update Czech translation from translation project.
27218         * po/de.po: Update German translation from translation project.
27220         * po/bg.po: Update Bulgarian translation from translation project.
27222         * po/sv.po: Update Sweedish translation from translation project.
27224         * po/nl.po: Update Dutch translation from translation project.
27226         * po/es.po: Update Spanish translation from translation project.
27228 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27230         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27232         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27233         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27234         (CPPFLAGS-iconvconfig): Likewise.
27235         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27237         * include/libc-symbols.h: Remove unnecessary check for
27238         NOT_IN_libc.
27239         * nptl/pthreadP.h: Likewise.
27240         * sysdeps/aarch64/setjmp.S: Likewise.
27241         * sysdeps/alpha/setjmp.S: Likewise.
27242         * sysdeps/arm/sysdep.h: Likewise.
27243         * sysdeps/i386/setjmp.S: Likewise.
27244         * sysdeps/m68k/setjmp.c: Likewise.
27245         * sysdeps/posix/getcwd.c: Likewise.
27246         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27247         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27248         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27249         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27250         * sysdeps/sh/sh3/setjmp.S: Likewise.
27251         * sysdeps/sh/sh4/setjmp.S: Likewise.
27252         * sysdeps/unix/alpha/sysdep.h: Likewise.
27253         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27255         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27256         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27261         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27264         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27266         * sysdeps/x86_64/setjmp.S: Likewise.
27268 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27270         [BZ #17263]
27271         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27272         <stdint.h>.
27273         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27274         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27276 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27280         [BZ #17262]
27281         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27282         and __x86_64__ when disabling x87 inline functions.
27284 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27286         [BZ #17259]
27287         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27288         asm statement with __cpuid_count.
27290 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27292         * configure.ac: Change __ehdr_start code to dereference the struct.
27293         Run readelf on the output to look for relocations.
27294         * configure: Regenerated.
27296 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #17261]
27299         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27300         value to 0.
27301         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27303 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27305         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27307 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27309         [BZ #16892]
27310         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27311         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27313 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27315         * malloc/malloc.c: Fix typo in comment.
27317 2014-08-09  Allan McRae  <allan@archlinux.org>
27319         * Regenerate libc.po.
27321 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27323         * intl/tst-gettext2.sh: Check every lang file for creation.
27325 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27327         * sysdeps/aarch64/fpu/math_private.h
27328         (libc_feholdsetround_noex_aarch64_ctx): New function.
27330 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27332         * sysdeps/arm/armv6/strcpy.S (strcpy):
27333         Fix performance issue in misaligned cases.
27335 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27337         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27338         Move definition from termios.h.
27339         (struct termio): Likewise.
27340         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27341         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27342         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27343         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27344         Likewise.
27345         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27346         Move definition to ioctl-types.h
27347         (struct termio): Likewise.
27348         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27349         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27350         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27351         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27352         Likewise.
27354 2014-08-05  Richard Henderson  <rth@redhat.com>
27356         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27357         exceptions.
27358         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27359         Add fraiseexcpt.
27360         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27361         Use __feraiseexcept.
27362         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27363         Protect libm symbols with IS_IN_libm.
27365         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27367 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27369         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27371 2014-08-04  Will Newton  <will.newton@linaro.org>
27373         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27374         file.
27376 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27379         variants for each function.
27381 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27383         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27384         appended ...
27385         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27386         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27387         appended ...
27388         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27389         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27390         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27391         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27392         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27393         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27394         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27395         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27396         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27397         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27398         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27399         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27400         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27402         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27403         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27404         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27406         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27408         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27409         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27410         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27411         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27412         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27413         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27414         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27415         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27416         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27417         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27418         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27419         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27420         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27421         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27422         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27423         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27424         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27425         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27426         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27427         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27428         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27430         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27431         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27432         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27433         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27434         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27435         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27436         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27438         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27439         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27440         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27441         Update #include.
27442         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27443         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27445 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27447         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27448         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27449         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27450         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27451         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27452         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27454 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27456         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27457         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27458         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27459         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27461 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27463         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27464         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27465         (__libc_vfork): Define function under this name.
27466         (__vfork): Define as an alias.
27467         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27468         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27470 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27472         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27473         that was previously under [RESET_PID].
27474         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27476 2014-08-04  Andreas Schwab  <schwab@suse.de>
27478         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27480 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27482         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27483         (main): Likewise.
27485 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27487         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27489 2014-08-01  Richard Henderon  <rth@redhat.com>
27491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27492         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27493         typo in exact zero test.
27494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27495         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27498 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27500         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27501         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27502         * sysdeps/arm/sysdep.h: ... here.
27503         [!__ASSEMBLER__]: Include <stdint.h>.
27505 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27507         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27508         (HAVE_WCTYPE_H): Likewise.
27509         (HAVE_ISWCTYPE): Likewise.
27510         (ENABLE_NLS): Likewise.
27511         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27512         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27514         * posix/regex_internal.c: Check if DEBUG is defined and is
27515         set.
27517         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27518         (HAVE_MBSRTOWCS): Likewise.
27519         * posix/fnmatch.c: Include string.h unconditionally.
27521 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27523         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27524         reversal.
27526 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27528         * sysdeps/generic/safe-fatal.h: New file.
27529         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27530         * nptl/forward.c: Include it.
27531         (__pthread_unwind): Use __safe_fatal as default action, rather
27532         than a bogus use of INTERNAL_SYSCALL that could never work.
27534         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27535         * configure.ac (libc_cv_builtin_trap): New test.
27536         * configure: Regenerated.
27537         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27538         (ABORT_INSTRUCTION): Define using __builtin_trap.
27540         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27541         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27542         * sysdeps/nptl/nptl-signals.h: New file.
27543         * nptl/pthreadP.h: Include <nptl-signals.h>.
27545 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27547         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27548         (ONE_DIRECTION): Define.
27549         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27550         (ONE_DIRECTION): Define.
27551         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27552         (ONE_DIRECTION): Define.
27554 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27556         * sysdeps/s390/Makefile: Delete file.
27557         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27558         * sysdeps/s390/__longjmp.c: Delete file.
27559         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27560         Remove fields __flags and __reserved.
27561         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27562         and add versioning.
27563         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27564         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27565         * sysdeps/s390/rtld-setjmp.S: Likewise.
27566         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27567         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27568         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27569         * sysdeps/s390/s390-32/setjmp.S: ... here.
27570         Add versioning.
27571         (__sigsetjmp): Remove setting __flags field.
27572         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27573         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27574         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27575         * sysdeps/s390/s390-64/setjmp.S: ... here.
27576         Add versioning.
27577         (__sigsetjmp): Remove setting __flags field.
27578         * sysdeps/s390/setjmp.S: Delete file.
27579         * sysdeps/s390/sigjmp.c: Likewise.
27580         * sysdeps/s390/v1-longjmp.c: Likewise.
27581         * sysdeps/s390/v1-setjmp.h: Likewise.
27582         * sysdeps/s390/v1-sigjmp.c: Likewise.
27583         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27584         Remove v1-longjmp_chk.
27585         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27586         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27587         Include debug/longjmp_chk.c and add versioning.
27588         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27589         Include nptl/pt-longjmp.c and add versioning.
27590         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27591         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27592         Include __longjmp.c.
27593         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27594         Move to ...
27595         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27596         (__getcontext): Remove setting __flags field.
27597         Add versioning.
27598         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27599         Don't restore upper high grps.
27600         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27601         Likewise.
27602         (__swapcontext): Remove setting uc_flags field.
27603         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27604         Delete file.
27605         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27606         Include __longjmp.c.
27607         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27608         Move to ...
27609         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27610         (__getcontext): Remove setting __flags field.
27611         Add versioning.
27612         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27613         (__swapcontext): Remove setting uc_flags field.
27614         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27615         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27616         Remove fields uc_high_gprs and __reserved.
27617         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27618         New file with reverted content.
27619         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27620         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27621         Regenerated.
27622         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27623         Regenerated.
27625 2014-07-31  Andreas Schwab  <schwab@suse.de>
27627         * config.h.in (HAVE_IFUNC): Define to 0.
27628         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27629         definedness.
27631 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27634         memmove-avx-unaligned, memcpy-avx-unaligned and
27635         mempcpy-avx-unaligned.
27636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27637         Add tests for AVX memcpy functions.
27638         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27639         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27640         memcpy_chk.
27641         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27642         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27643         memmove_chk.
27644         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27645         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27646         mempcpy_chk.
27647         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27648         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27649         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27651 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27653         [BZ #17213]
27654         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27655         powerpc64le.
27657 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27659         [BZ #16839]
27660         * manual/llio.texi: Add section about open file description locks.
27661         * manual/examples/ofdlocks.c: Example of open file description
27662         lock usage.
27663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27664         F_OFD_SETLK, and F_OFD_SETLKW.
27666 2014-07-23  Allan McRae  <allan@archlinux.org>
27668         * po/es.po: Update Spanish translation from translation project.
27670 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27672         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27674 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27676         [BZ #17078]
27677         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27678         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27679         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27681 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27683         [BZ #17088]
27684         * math/fesetenv.c (__fesetenv)
27685         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27686         * math/feupdateenv.c (__feupdateenv)
27687         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27689         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27690         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27691         (__ASSUME_SOCKETCALL): Do not define.
27693         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27694         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27695         (__ASSUME_SOCKETCALL): Do not define.
27696         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27697         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27698         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27699         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27700         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27701         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27703         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27705         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27706         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27707         (__ASSUME_SOCKETCALL): Do not define.
27708         (__ASSUME_IPC64): Define unconditionally.
27709         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27710         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27711         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27712         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27713         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27714         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27715         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27716         Likewise.
27718         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27719         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27720         (__ASSUME_SOCKETCALL): Do not define.
27721         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27722         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27723         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27724         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27725         (__ASSUME_REQUEUE_PI): Define unconditionally.
27726         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27727         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27728         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27729         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27731         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27733         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27734         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27735         (__ASSUME_SOCKETCALL): Do not define.
27736         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27737         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27738         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27739         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27741         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27743         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27744         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27745         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27746         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27747         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27748         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27749         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27750         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27751         (__ASSUME_GETCPU_SYSCALL): Likewise.
27753         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27754         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27755         cases for individual architectures.
27756         * sysdeps/gnu/configure: Regenerated.
27757         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27758         LIBC_SLIBDIR_RTLDDIR.
27759         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27760         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27761         LIBC_SLIBDIR_RTLDDIR.
27762         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27764         LIBC_SLIBDIR_RTLDDIR.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27766         Regenerated.
27767         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27768         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27769         file.
27770         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27771         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27772         file.
27773         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27774         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27775         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27776         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27778         * sysdeps/aarch64/shlib-versions: Move to ...
27779         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27780         * sysdeps/alpha/shlib-versions: Move to ...
27781         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27782         * sysdeps/arm/shlib-versions: Move to ...
27783         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27784         * sysdeps/hppa/shlib-versions: Move all contents except for
27785         libgcc_s entry to ...
27786         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27787         entry from ...
27788         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27789         * sysdeps/ia64/shlib-versions: Move to ...
27790         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27791         entry from ...
27792         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27793         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27794         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27795         * sysdeps/microblaze/shlib-versions: Move to ...
27796         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27797         * sysdeps/mips/shlib-versions: Move to ...
27798         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27799         entry from ...
27800         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27801         * sysdeps/tile/shlib-versions: Move to ...
27802         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27803         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27804         from ...
27805         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27806         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27807         entry from ...
27808         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27810 2014-07-17  Will Newton  <will.newton@linaro.org>
27812         * sysdeps/arm/bits/atomic.h
27813         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27814         (__arch_compare_and_exchange_bool_16_int): Likewise.
27815         (__arch_compare_and_exchange_bool_64_int): Likewise.
27817         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27818         into an #else block.
27820 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27822         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27823         just Linux configurations.  Test empirically that the compiler sets
27824         __ARM_EABI__, rather than using the tuple to decide.
27825         * sysdeps/arm/preconfigure: Regenerated.
27826         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27827         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27828         contents appended ...
27829         * sysdeps/arm/configure.ac: ... here.
27830         * sysdeps/arm/configure: Regenerated.
27832 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27834         * nptl/pthread_kill.c: New file.
27835         * nptl/pthread_sigmask.c: New file.
27836         * nptl/pthread_sigqueue.c: New file.
27838         * sysdeps/nptl/lowlevellock.h: New file.
27839         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27840         * sysdeps/nptl/lowlevellock-futex.h: New file.
27842         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27843         Remove dead declarations.
27845 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27847         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27848         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27849         config-cflags-avx2.
27850         * sysdeps/x86_64/configure.ac: Likewise.
27851         * sysdeps/i386/configure: Regenerated.
27852         * sysdeps/x86_64/configure: Likewise.
27853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27854         memset-avx2 only if config-cflags-avx2 is yes.
27855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27856         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27857         defined.
27858         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27859         only if HAVE_AVX2_SUPPORT is defined.
27860         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27862 2014-07-14  Alan Modra  <amodra@gmail.com>
27864         [BZ #17153]
27865         * elf/elf.h (DT_PPC64_NUM): Correct value.
27866         * NEWS: Add to fixed bug list.
27868 2014-07-13  Jim Meyering  <meyering@fb.com>
27870         [BZ 17150]
27871         regex: don't deref NULL upon heap allocation failure
27872         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27873         failure in one more place.
27874         To trigger the segfault, configure grep -with-included-regex,
27875         build it, and run these commands:
27876         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27878 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27880         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27882 2014-07-11  Richard Henderson  <rth@redhat.com>
27884         * sysdeps/aarch64/libm-test-ulps: Update.
27886 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27888         [BZ #17135]
27889         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27890         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27891         (__nptl_setxid): Initialize error member.  Call
27892         __nptl_setxid_error.
27893         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27894         * nptl/descr.h (struct xid_command): Add error member.
27895         * nptl/tst-setuid3.c: New file.
27896         * nptl/Makefile (tests): Add it.
27898 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27900         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27901         New define.
27902         (__lll_trylock): Use __lll_base_trylock.
27903         (__lll_cond_trylock): Likewise.
27905 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27907         * nptl/pthread_create.c (start_thread): Use atomic_or and
27908         lll_futex_wake directly rather than lll_robust_dead.
27909         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27910         (lll_robust_dead): Macro removed.
27911         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27912         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27914         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27915         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27916         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27917         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27918         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27919         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27920         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27921         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27922         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27923         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27924         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27927         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27928         Use atomic_compare_and_exchange_val_acq directly rather than
27929         lll_robust_trylock.
27930         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27931         (__lll_robust_trylock, lll_robust_trylock): Removed.
27932         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27933         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27934         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27935         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27936         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27937         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27938         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27939         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27940         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27941         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27942         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27943         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27944         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27945         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27947 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27949         * manual/locale.texi (Locale Names): New section documenting
27950         locale name syntax.  Adjust menu and node chaining accordingly.
27951         (Choosing Locale): Reference Locale Names, Locale Categories.
27952         Mention setting LC_ALL=C.  Reflect that name syntax is now
27953         documented.
27954         (Locale Categories): New section title.  Reference Locale Names.
27955         LC_ALL is an environment variable, but not a category.
27956         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27957         description, now in Locale Name.  Reference that section.  Locale
27958         name syntax is now documented.
27960 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27962         [BZ #17137]
27963         * locale/findlocale.c (name_present, valid_locale_name): New
27964         functions.
27965         (_nl_find_locale): Use the loc_name variable to store name
27966         candidates.  Call name_present and valid_locale_name to check and
27967         validate locale names.  Return an error if the locale is invalid.
27969 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27971         * locale/setlocale.c (setlocale): Use strdup for allocating
27972         composite name copy.
27974 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27976         Sync up with gnulib.
27977         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27978         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27979         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27980         and _GL_ARG_NONNULL.
27981         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27982         [!_LIBC]: Include code for Windows and Cygwin.
27983         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27984         Include prototype for int strerror_r.
27985         [!_LIBC] (is_open): New function.
27986         (flush_stdout): New function.
27987         (print_errno_message): Use it.
27988         (error): Likewise.
27989         (error_at_line): Likewise.
27990         (error_tail) Add function attribute macros.  Use
27991         __builtin_expect.
27993         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27995         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27997         * io/ftw.c: Include sys/param.h unconditionally.
27999         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28001         [BZ #17125]
28002         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28003         libc_freeres_ptr.
28004         (freecache): New function to free CACHE on exit.
28006         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28007         initialization.
28009 2014-07-09  David S. Miller  <davem@davemloft.net>
28011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28013         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28014         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28015         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28016         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28017         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28018         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28019         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28020         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28021         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28022         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28023         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28024         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28025         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28027 2014-07-09  Andreas Schwab  <schwab@suse.de>
28029         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28030         output.
28031         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28032         (do_test): Likewise.
28034         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28036 2014-07-09  Will Newton  <will.newton@linaro.org>
28038         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28039         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28040         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28041         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28042         * sysdeps/hppa/start.S (_start): Likewise.
28044 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28046         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28048         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28049         defined.
28051 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28053         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28054         after checking that it is non-NULL.
28056         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28058 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28060         * sysdeps/powerpc/memmove.c: Remove file.
28061         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28062         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28064         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28065         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28066         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28067         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28068         string memmove instead of removed powerpc one.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28071         [weak_alias]: Fix compiler warning due trailing data.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28073         [weak_alias]: Likewise.
28074         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28075         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28078         (__libc_ifunc_impl_list): Add memmove functions.
28080 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28082         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28083         Remove code.
28084         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28085         Likewise.
28086         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28087         Likewise.
28088         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28089         Likewise.
28090         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28091         Likewise.
28092         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28093         Likewise.
28094         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28095         Likewise.
28096         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28097         Likewise.
28098         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28099         Likewise.
28100         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28101         Likewise.
28102         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28103         Likewise.
28104         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28105         Likewise.
28106         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28107         Likewise.
28108         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28109         Likewise.
28110         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28111         Likewise.
28112         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28113         Likewise.
28114         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28115         Likewise.
28117 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28120         to avoid alignment traps in non-cacheable memory.
28121         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28124         multiarch objects.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28126         file: multiarch power7 memmove.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28128         multiarch default memmove.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28130         multiarch memove for powerpc32/power4.
28132         * string/bcopy.c: Use full path to include memmove.c.
28133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28134         multiarch objects.
28135         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28136         bcopy for powerpc64.
28137         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28138         bcopy for powerpc64.
28139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28140         and memmove implementations.
28141         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28142         optimized multiarch memmove for POWER7/powerpc64.
28143         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28144         default multiarch memmove for powerpc64.
28145         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28146         multiarch for powerpc64.
28147         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28148         for POWER7/powerpc64.
28149         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28150         memmove for POWER7/powerpc64.
28152         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28153         glibc default one.
28155         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28156         __ELF_NATIVE_CLASS equal to 64.
28158 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28160         * sysdeps/nptl/lowlevellock.h: File removed.
28162         * NEWS: NPTL is no longer an add-on!
28163         * nptl/internaltypes.h: Moved ...
28164         * sysdeps/nptl/internaltypes.h: ... here.
28165         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28166         * sysdeps/nptl/fork.c: Likewise.
28167         * sysdeps/nptl/gai_misc.h: Likewise.
28168         * sysdeps/nptl/librt-cancellation.c: Likewise.
28169         * sysdeps/nptl/jmp-unwind.c: Likewise.
28170         * sysdeps/nptl/setxid.h: Likewise.
28171         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28172         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28173         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28174         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28175         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28176         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28177         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28178         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28179         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28180         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28181         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28182         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28183         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28184         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28185         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28186         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28187         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28188         * nptl/Makeconfig: Moved ...
28189         * sysdeps/nptl/Makeconfig: ... here.
28190         * nptl/configure: File removed.
28191         * nptl/ANNOUNCE: File removed.
28192         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28193         * sysdeps/unix/sysv/linux/configure: Regenerated.
28195         * nptl/Makefile (routines): Add libc_pthread_init,
28196         libc_multiple_threads, register-atfork and unregister-atfork.
28197         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28198         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28199         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28200         pthread-pi-defines.sym, structsem.sym.
28201         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28202         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28203         [$(subdir) = nptl] (tests): Add tst-setgetname.
28204         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28205         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28206         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28207         [!LIBC_SIGACTION]: Remove aliases.
28208         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28209         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28210         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28211         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28212         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28213         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28214         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28215         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28216         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28217         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28218         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28219         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28220         __libc_allocate_rtsig_private.
28221         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28222         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28223         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28224         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28225         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28226         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28227         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28228         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28229         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28230         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28231         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28232         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28233         * nptl/internaltypes.h: ... here.
28234         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28235         * sysdeps/nptl/jmp-unwind.c: ... here.
28236         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28237         * nptl/libc-lowlevellock.c: ... here.
28238         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28239         * nptl/libc_multiple_threads.c: ... here.
28240         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28241         * nptl/libc_pthread_init.c: ... here.
28242         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28243         * nptl/lowlevelbarrier.sym: ... here.
28244         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28245         * nptl/lowlevelcond.sym: ... here.
28246         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28247         * nptl/lowlevellock.c: ... here.
28248         * nptl/lowlevellock.h: Moved ...
28249         * sysdeps/nptl/lowlevellock.h: ... here.
28250         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28251         * nptl/lowlevelrobustlock.c: ... here.
28252         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28253         * nptl/lowlevelrobustlock.sym: ... here.
28254         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28255         * nptl/lowlevelrwlock.sym: ... here.
28256         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28257         * nptl/pt-fork.c: ... here.
28258         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28259         * nptl/pthread-pi-defines.sym: ... here.
28260         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28261         * nptl/pthread_attr_getaffinity.c: ... here.
28262         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28263         * nptl/pthread_attr_setaffinity.c: ... here.
28264         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28265         * nptl/pthread_mutex_cond_lock.c: ... here.
28266         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28267         Update #include.
28268         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28269         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28270         * nptl/pthread_once.c: ... here, replacing old file.
28271         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28272         * nptl/pthread_yield.c: ... here.
28273         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28274         * nptl/register-atfork.c: ... here.
28275         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28276         * nptl/sem_post.c: ... here.
28277         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28278         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28279         * nptl/sem_timedwait.c: ... here.
28280         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28281         * nptl/sem_trywait.c: ... here.
28282         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28283         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28284         * nptl/sem_wait.c: ... here.
28285         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28286         * nptl/structsem.sym: ... here.
28287         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28288         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28289         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28290         * nptl/unregister-atfork.c: ... here.
28291         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28292         * nptl/unwindbuf.sym: ... here.
28293         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28294         * sysdeps/nptl/fork.c: ... here.
28295         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28296         * sysdeps/nptl/fork.h: ... here.
28297         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28298         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28299         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28300         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28301         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28302         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28303         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28304         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28305         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28306         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28307         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28308         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28309         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28310         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28311         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28312         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28313         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28314         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28315         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28316         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28317         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28319         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28320         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28321         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28322         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28323         * sysdeps/unix/sysv/linux/raise.c: ... here.
28324         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28325         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28326         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28327         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28328         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28329         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28330         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28331         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28332         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28333         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28334         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28335         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28336         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28337         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28338         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28340 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28342         * sysdeps/generic/memcopy.h: Add comment for
28343         MEMCPY_OK_FOR_FWD_MEMMOVE.
28345 2014-07-04  Will Newton  <will.newton@linaro.org>
28347         * string/memchr.c: Merge from gnulib.
28348         [_LIBC]: Remove conditionals.
28349         (__ptr_t): Remove define.
28350         (LONG_MAX_32_BITS): Likewise.
28351         (LONG_MAX): Likewise.
28352         (MEMCHR): Use ANSI prototype and optimize algorithm.
28354         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28356 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28359         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28361         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28362         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28363         in a bare environment with no <stdlib.h> installed.
28364         * sysdeps/nptl/configure: Regenerated.
28366         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28368         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28369         AC_EGREP_CPP for kernel header checks, so they only succeed if
28370         including <linux/version.h> actually works right.
28371         * sysdeps/unix/sysv/linux/configure: Regenerated.
28373         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28374         value so it's not diagnosed as unused.
28376         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28377         thing) with "ifeq ($(subdir),rt)".
28379 2014-07-03  Richard Henderson  <rth@redhat.com>
28381         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28382         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28383         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28385         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28386         (math_force_eval): New.
28388         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28389         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28391         * sysdeps/alpha/fpu/s_round.c: Remove file.
28392         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28394         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28395         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28396         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28397         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28398         (_dl_start, print_statistics): Likewise.
28399         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28400         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28402         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28403         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28404         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28405         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28406         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28407         (HP_SMALL_TIMING_AVAIL): Define.
28408         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28409         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28410         (HP_SMALL_TIMING_AVAIL): Define.
28411         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28412         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28414         * sysdeps/aarch64/hp-timing.h: New file.
28416         * sysdeps/generic/hp-timing.h: Remove dead comment.
28417         * sysdeps/generic/hp-timing-common.h: New file.
28418         * sysdeps/alpha/hp-timing.h: Include it.
28419         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28420         * sysdeps/i386/i686/hp-timing.h: Likewise.
28421         * sysdeps/ia64/hp-timing.h: Likewise.
28422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28423         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28424         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28425         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28426         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28427         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28428         (hp_timing_t): New.
28430         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28431         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28432         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28433         * elf/rtld.c (_dl_start_final): Likewise.
28434         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28435         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28436         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28437         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28438         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28440         (HP_TIMING_DIFF_INIT): Remove.
28441         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28443         (HP_TIMING_DIFF_INIT): Remove.
28444         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28445         * sysdeps/i386/i686/hp-timing.c: Remove file.
28446         * sysdeps/x86_64/hp-timing.c: Remove file.
28447         * sysdeps/ia64/hp-timing.c: Remove file.
28448         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28449         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28451         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28453         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28454         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28455         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28456         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28458         (HP_TIMING_ACCUM): Remove.
28459         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28461         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28463         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28464         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28465         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28466         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28468         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28470         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28472         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28474 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28476         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28478 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28480         Sync up with gettext.
28481         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28482         [_MSC_VER]: Include malloc.h
28483         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28484         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28485         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28486         TEMP_FAILURE_RETRY.  Cast return of alloca.
28487         [!_LIBC] Call gl_rwlock_init.
28488         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28490 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28492         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28493         before checking its value.
28495 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28497         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28499         * debug/memcpy_chk.c: Don't include pagecopy.h.
28500         * debug/mempcpy_chk.c: Likewise.
28501         * string/memcpy.c: Likewise.
28502         * string/memmove.c: Likewise.
28503         * sysdeps/powerpc/memmove.c: Likewise.
28504         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28505         definition of PAGE_COPY_FWD_MAYBE here...
28506         * sysdeps/generic/pagecopy.h: ... from here.
28507         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28509 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28510             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28512         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28514         optimizations.
28515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28516         (__libc_ifunc_impl_list): Likewise.
28517         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28518         multiarch strcat for PPC64.
28519         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28520         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28522 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28524         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28526 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28528         * intl/loadmsgcat.c: Remove declaration of
28529         get_sysdep_segment_value.
28530         (get_sysdep_segment_value): Use ISO C style.
28531         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28532         semicolon.  Fix typo and formatting in comment.
28533         (_nl_unload_domain): Use ISO C style.
28535         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28537 2014-07-02  Will Newton  <will.newton@linaro.org>
28539         * malloc/obstack.c: Merge from gnulib master.
28540         [HAVE_CONFIG_H]: Remove conditional code.
28541         [!_LIBC]: Include config.h.
28542         [!ELIDE_CODE]: Don't include inttypes.h, include
28543         stdint.h unconditionally.
28544         (print_and_abort): Mark as _Noreturn.
28545         (_obstack_allocated_p): Mark as __attribute_pure__.
28546         (obstack_free): Rename to __obstack_free.
28547         [!__attribute__]: Remove conditional code.
28548         * malloc/obstack.h: Merge from gnulib master.
28549         [__cplusplus]: Move conditional down.
28550         [!__attribute_pure__]: Define __attribute_pure__ here
28551         if it is not already defined.
28552         (_obstack_memory_used): Mark as __attribute_pure__.
28553         [!__obstack_free]: Define as obstack_free.
28554         [__GNUC__]: Remove check for ancient NeXT gcc.
28556 2014-07-02  Will Newton  <will.newton@linaro.org>
28557             Paul Eggert  <eggert@cs.ucla.edu>
28559         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28561 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28563         * resolv/gethnamaddr.c: Add comment warning that the file is
28564         not maintained.
28566 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28568         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28569         entries.
28571         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28572         entry for aio_cancel and aio_cancel64.
28573         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28574         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28575         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28576         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28577         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28578         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28579         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28580         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28581         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28582         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28583         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28584         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28585         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28587 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28589         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28590         * nptl/pthread_mutex_lock.c: Likewise.
28591         * nptl/pthread_mutex_timedlock.c: Likewise.
28592         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28594 2014-07-01  Richard henderson  <rth@redhat.com>
28596         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28597         (__isnan, __isnanl): Remove.
28598         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28600         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28602 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28604         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28606 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28608         * resolv/nss_dns/dns-host.c (getanswer_r)
28609         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28611 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28614         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28615         undefine.
28616         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28617         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28619 2014-07-01  Roland McGrath <roland@hack.frob.com>
28621         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28622         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28624         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28625         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28627         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28628         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28629         ... here.
28630         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28631         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28633         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28634         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28635         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28636         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28638         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28639         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28640         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28641         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28642         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28643         Moved ...
28644         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28645         ... here.
28646         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28647         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28648         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28649         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28650         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28651         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28652         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28653         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28654         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28655         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28656         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28657         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28658         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28659         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28660         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28661         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28662         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28663         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28664         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28665         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28666         ... here.
28667         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28668         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28669         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28670         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28671         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28672         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28673         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28674         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28676 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28678         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28679         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28680         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28681         Add sysdep.
28683 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28687 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28689         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28690         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28692         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28694         * sysdeps/arm/libm-test-ulps: Regenerated.
28696 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28697             Roland McGrath <roland@hack.frob.com>
28699         * test-skeleton.c (signal_handler): Kill the whole process group
28700         before killing the child individually.
28701         (main): Report any failure on `setpgid'.
28703 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28705         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28706         from _TLS_H to _ARM_NPTL_TLS_H.
28707         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28708         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28710 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28712         [BZ #16539]
28713         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28714         (__expm1l): Return argument unchanged when small but not
28715         subnormal.
28717         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28718         include macro name.
28719         (_FP_UNPACK_RAW_1_P): Likewise.
28720         (_FP_PACK_RAW_1): Likewise.
28721         (_FP_PACK_RAW_1_P): Likewise.
28722         (_FP_MUL_MEAT_1_wide): Likewise.
28723         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28724         (_FP_MUL_MEAT_1_hard): Likewise.
28725         (_FP_DIV_MEAT_1_imm): Likewise.
28726         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28727         (_FP_DIV_MEAT_1_udiv): Likewise.
28728         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28729         (_FP_UNPACK_RAW_2): Likewise.
28730         (_FP_UNPACK_RAW_2_P): Likewise.
28731         (_FP_PACK_RAW_2): Likewise.
28732         (_FP_PACK_RAW_2_P): Likewise.
28733         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28734         (_FP_MUL_MEAT_2_wide): Likewise.
28735         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28736         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28737         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28738         (_FP_MUL_MEAT_2_gmp): Likewise.
28739         (_FP_DIV_MEAT_2_udiv): Likewise.
28740         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28741         (_FP_FRAC_SRL_4): Likewise.
28742         (_FP_FRAC_SRST_4): Likewise.
28743         (_FP_FRAC_SRS_4): Likewise.
28744         (_FP_UNPACK_RAW_4): Likewise.
28745         (_FP_UNPACK_RAW_4_P): Likewise.
28746         (_FP_PACK_RAW_4): Likewise.
28747         (_FP_PACK_RAW_4_P): Likewise.
28748         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28749         (_FP_MUL_MEAT_4_wide): Likewise.
28750         (_FP_MUL_MEAT_4_gmp): Likewise.
28751         (umul_ppppmnnn): Likewise.
28752         (_FP_DIV_MEAT_4_udiv): Likewise.
28753         (__FP_FRAC_ADD_4): Likewise.
28754         (__FP_FRAC_SUB_3): Likewise.
28755         (__FP_FRAC_SUB_4): Likewise.
28756         (__FP_FRAC_DEC_3): Likewise.
28757         (__FP_FRAC_DEC_4): Likewise.
28758         (__FP_FRAC_ADDI_4): Likewise.
28759         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28760         (_FP_FRAC_SRL_8): Likewise.
28761         (_FP_FRAC_SRS_8): Likewise.
28763         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28764         include macro name.
28765         (FP_UNPACK_RAW_EP): Likewise.
28766         (FP_PACK_RAW_E): Likewise.
28767         (FP_PACK_RAW_EP): Likewise.
28768         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28769         (_FP_ISSIGNAN): Likewise.
28770         (_FP_ADD_INTERNAL): Likewise.
28771         (_FP_FMA): Likewise.
28772         (_FP_CMP): Likewise.
28773         (_FP_SQRT): Likewise.
28774         (_FP_TO_INT): Likewise.
28775         (_FP_FROM_INT): Likewise.
28776         (FP_EXTEND): Likewise.
28777         (_FP_DIV_MEAT_N_loop): Likewise.
28779 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28781         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28782         throughout.
28784 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28786         [BZ #17097]
28787         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28788         result with correct sign in case of exponents that produce
28789         overflow except for X very close to 1.
28791 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28793         mktime: merge #if/#ifdef usage from glibc
28794         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28795         as that works with both Glibc's and Gnulib's style.
28796         See thread starting at Siddhesh Poyarekar's bug report at:
28797         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28799 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28801         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28802         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28803         * sysdeps/tile/tilegx/memmove.c: Remove file.
28805 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28807         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28808         abi-name definition.
28809         * scripts/soversions.awk: Do not handle or generate ABI lines.
28810         * shlib-versions: Remove ABI entries.
28811         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28812         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28814 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28817         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28818         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28819         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28821         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28823         Moved ...
28824         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28825         ... here.
28826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28827         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28829         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28831         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28833         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28835         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28837         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28839         Moved ...
28840         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28846         Moved ...
28847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28849         Moved ...
28850         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28852         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28854         Moved ...
28855         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28857         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28859         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28861         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28863         Moved ...
28864         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28866         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28867         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28868         Moved ...
28869         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28871         Moved ...
28872         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28874         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28875         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28876         Moved ...
28877         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28878         ... here.
28879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28880         Identical file removed.
28881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28882         Moved ...
28883         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28885         Identical file removed.
28886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28887         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28889         Moved ...
28890         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28892         Identical file removed.
28893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28894         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28896         Identical file removed.
28897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28898         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28900         Identical file removed.
28901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28902         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28904         Identical file removed.
28905         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28906         Moved ...
28907         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28909         Identical file removed.
28910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28911         Moved ...
28912         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28914         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28915         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28916         Identical file removed.
28917         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28918         Moved ...
28919         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28920         ... here.
28921         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28922         Identical file removed.
28923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28924         Moved ...
28925         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28926         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28927         Identical file removed.
28928         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28929         Moved ...
28930         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28932         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28936         Moved ...
28937         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28938         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28939         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28941         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28942         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28943         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28944         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28945         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28947 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28949         [BZ #17092]
28950         * nscd/nscd.c (monitor_child): Return exit status of child
28951         instead of return value from wait syscall.
28953 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28955         * configure.ac (libc_commonpagesize): Remove variable.
28956         (libc_relro_required): Likewise.
28957         (libc_cv_z_relro): Remove configure test.
28958         * configure: Regenerated.
28959         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28960         variable.
28961         (libc_relro_required): Likewise.
28962         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28963         (libc_relro_required): Likewise.
28964         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28965         (libc_relro_required): Likewise.
28966         * sysdeps/arm/preconfigure: Regenerated.
28967         * sysdeps/ia64/preconfigure: Remove file.
28968         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28969         variable.
28970         (libc_relro_required): Likewise.
28972         [BZ #16561]
28973         [BZ #16562]
28974         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28975         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28976         recompute overflowing results in original rounding mode.
28977         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28978         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28979         recompute overflowing results in original rounding mode.
28980         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28981         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28982         recompute overflowing results in original rounding mode.
28983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28984         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28985         recompute overflowing results in original rounding mode.
28986         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28987         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28988         recompute overflowing results in original rounding mode.
28989         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28990         (libc_feholdsetround_ctx): New macro.
28991         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28992         * sysdeps/i386/fpu/libm-test-ulps: Update.
28993         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28995 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28997         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28998         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28999         corresponding .cpsetup call.
29001 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29003         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29004         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29005         * sysdeps/arm/Makefile [$(subdir) = csu]
29006         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29007         (static-only-routines): Add aeabi_read_tp here.
29008         (shared-only-routines): Add libc-aeabi_read_tp here.
29009         (CFLAGS-libc-start.c): Add -fexceptions here.
29010         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29011         (sysdep_routines, static-only-routines, shared-only-routines):
29012         Don't add to these here.
29013         (CFLAGS-libc-start.c): Likewise.
29015         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29016         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29017         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29018         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29019         * sysdeps/arm/Makefile [$(subdir) = rt]
29020         (librt-sysdep_routines, librt-shared-only-routines):
29021         Append rt-aeabi_unwind_cpp_pr1 here.
29022         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29023         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29024         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29025         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29026         Append nptl-aeabi_unwind_cpp_pr1 here.
29027         (tests): Filter out tst-cleanupx4 here.
29028         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29029         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29030         Don't do those here.
29032 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29034         * scripts/list-sources.sh: Do not handle ports specially.
29036 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29038         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29039         * sysdeps/arm/feupdateenv.c: Likewise.
29041         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29043 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29045         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29046         trailing whitespace removed.
29047         * scripts/config.guess: Update to version 2014-03-23.
29048         * scripts/config.sub: Update to version 2014-05-01
29049         * scripts/install-sh: Update to version 2013-12-25.23.
29050         * scripts/move-if-change: Update from gnulib.
29052 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29054         * debug/memmove_chk.c: Remove pagecopy.h include.
29056 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29058         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29059         identical to gnulib mktime.
29061 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29063         * configure.ac: Do not test for machine being rs6000.  Do not test
29064         for powerpc*-*soft.
29065         * configure: Regenerated.
29067         [BZ #11505]
29068         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29069         test.
29070         * configure: Regenerated.
29071         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29072         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29073         Remove configure test.
29074         * sysdeps/arm/configure: Regenerated.
29075         * sysdeps/nptl/configure.ac: Do not check
29076         libc_cv_asm_cfi_directives.
29077         * sysdeps/nptl/configure: Regenerated.
29078         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29079         * sysdeps/x86_64/nptl/configure: Remove generated file.
29080         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29081         unconditional.
29082         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29084 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29086         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29087         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29088         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29089         it is defined.
29091         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29092         instead of whether it is defined.
29093         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29094         * sysdeps/hppa/dl-machine.h: Likewise.
29095         * sysdeps/ia64/dl-machine.h: Likewise.
29096         * sysdeps/m68k/dl-machine.h: Likewise.
29097         * sysdeps/microblaze/dl-machine.h: Likewise.
29098         * sysdeps/mips/dl-machine.: Likewise.
29099         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29100         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29101         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29102         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29103         * sysdeps/sh/dl-machine.h: Likewise.
29104         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29105         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29106         * sysdeps/tile/dl-machine.h: Likewise.
29107         * sysdeps/x86_64/dl-machine.h: Likewise.
29109         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29110         code.
29111         (verify_persistent_db): Likewise.
29113 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29116         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29118         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29120         Moved ...
29121         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29122         ... here.
29123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29124         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29126         Identical file removed.
29127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29128         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29130         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29132         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29134         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29136         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29138         Moved ...
29139         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29141         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29143         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29145         Moved ...
29146         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29148         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29150         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29152         Identical file removed.
29153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29154         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29156         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29158         Moved ...
29159         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29160         ... here.
29161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29162         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29164         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29166         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29168         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29170         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29172         Moved ...
29173         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29175         Moved ...
29176         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29178         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29180         Moved ...
29181         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29183         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29185         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29186         folded into ...
29187         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29188         * sysdeps/unix/sysv/linux/s390/Versions
29189         (libpthread: GLIBC_2.19): New version set.
29190         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29191         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29192         (librt: GLIBC_2.3.3): New version set.
29193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29194         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29195         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29196         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29197         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29198         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29199         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29200         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29201         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29202         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29203         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29204         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29205         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29206         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29207         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29208         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29209         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29210         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29211         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29212         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29213         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29215         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29216         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29217         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29218         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29219         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29221         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29223         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29224         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29227         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29229         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29231         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29233         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29235         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29237         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29239         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29240         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29241         (__libc_vfork): Define the function under this name.
29242         [!NOT_IN_libc] (__vfork): Make this an alias.
29243         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29244         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29245         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29246         (__libc_vfork): Define the function under this name.
29247         [!NOT_IN_libc] (__vfork): Make this an alias.
29248         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29249         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29250         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29252         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29253         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29255         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29256         code that was previously under [RESET_PID].
29257         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29258         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29261         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29262         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29263         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29264         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29265         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29266         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29267         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29268         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29269         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29270         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29271         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29272         Moved ...
29273         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29274         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29275         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29276         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29277         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29278         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29279         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29280         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29281         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29282         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29283         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29284         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29285         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29286         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29287         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29288         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29289         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29290         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29291         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29292         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29293         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29294         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29295         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29296         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29297         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29298         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29299         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29300         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29301         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29303 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29305         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29306         that was previously under [RESET_PID].
29307         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29309 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29311         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29312         not undefine and redefine.
29313         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29314         [O_CLOEXEC]: Make code unconditional.
29315         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29316         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29317         <kernel-features.h>.
29318         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29319         conditional variable definition.
29320         (shm_open) [O_CLOEXEC]: Make code unconditional.
29321         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29322         code.
29324         * configure.ac (USE_REGPARMS): Don't define here.
29325         * configure: Regenerated.
29326         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29327         * sysdeps/i386/configure: Regenerated.
29329         * nptl/createthread.c: Don't include kernel-features.h.
29330         * nptl/pthread_cancel.c: Likewise.
29331         * nptl/pthread_condattr_setclock.c: Likewise.
29332         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29333         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29334         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29335         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29336         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29337         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29338         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29341         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29342         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29343         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29344         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29345         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29346         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29347         * nscd/gai.c: Likewise.
29348         * nss/nss_db/db-open.c: Likewise.
29349         * sysdeps/generic/ldsodefs.h: Likewise.
29350         * sysdeps/sh/nptl/tls.h: Likewise.
29351         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29352         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29353         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29354         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29355         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29356         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29357         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29358         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29359         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29360         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29361         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29362         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29363         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29364         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29365         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29366         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29367         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29368         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29369         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29370         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29371         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29373         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29374         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29376         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29377         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29378         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29379         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29380         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29381         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29382         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29383         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29384         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29385         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29386         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29387         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29388         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29389         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29390         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29391         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29392         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29393         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29394         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29395         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29396         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29397         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29398         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29399         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29400         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29401         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29402         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29403         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29404         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29405         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29406         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29407         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29408         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29431         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29432         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29433         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29434         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29435         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29436         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29437         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29438         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29439         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29440         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29441         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29442         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29443         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29444         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29445         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29446         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29447         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29448         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29449         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29450         * sysdeps/unix/sysv/linux/system.c: Likewise.
29451         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29452         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29453         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29454         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29455         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29456         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29457         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29459         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29460         * configure: Regenerated.
29461         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29463         * configure.ac (base_machine): Do not set specially for particular
29464         machines here.
29465         * configure: Regenerated.
29466         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29467         settings from configure.ac.
29468         * sysdeps/i386/preconfigure: New file.
29469         * sysdeps/s390/preconfigure: Likewise.
29470         * sysdeps/sh/preconfigure: Likewise.
29471         * sysdeps/sparc/preconfigure: Likewise.
29473 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29475         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29476         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29477         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29478         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29479         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29480         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29481         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29482         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29483         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29484         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29485         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29486         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29487         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29489         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29490         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29492         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29493         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29495         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29496         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29497         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29498         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29499         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29500         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29501         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29502         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29503         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29504         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29505         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29506         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29507         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29508         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29509         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29510         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29511         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29512         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29513         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29514         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29515         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29516         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29517         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29518         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29519         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29520         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29521         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29522         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29523         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29524         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29525         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29526         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29527         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29528         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29529         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29530         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29531         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29532         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29535         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29537         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29539         Moved ...
29540         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29541         ... here.
29542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29543         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29545         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29547         Moved ...
29548         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29550         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29552         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29554         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29556         Moved ...
29557         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29559         Moved ...
29560         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29562         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29564         Moved ...
29565         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29567         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29569         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29571         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29573         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29575         Moved ...
29576         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29577         ... here.
29578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29579         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29581         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29583         Moved ...
29584         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29590         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29592         Moved ...
29593         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29595         Moved ...
29596         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29598         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29600         Moved ...
29601         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29603         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29605         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29607 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29609         * timezone/checktab.awk: Update from tzcode 2014e.
29610         * timezone/private.h: Likewise.
29611         * timezone/tzfile.h: Likewise.
29612         * timezone/zdump.c: Likewise.
29613         * timezone/zic.c: Likewise.
29615         * sysdeps/unix/sysv/linux/kernel-features.h
29616         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29617         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29618         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29619         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29620         Remove conditional code.
29622 2014-06-25  Will Newton  <will.newton@linaro.org>
29624         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29625         (_dl_arm_cap_flags): Add HWCAP2 values.
29626         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29627         (_DL_HWCAP_COUNT): Increase to 37.
29628         (_DL_HWCAP_LAST): New define.
29629         (_DL_HWCAP2_LAST): New define.
29630         (_dl_procinfo): Add support for printing
29631         AT_HWCAP2 entries.
29632         (_dl_string_hwcap): Use _dl_hwcap_string.
29634 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29638 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29640         * README: Do not mention ports directory.
29642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29643         Remove macro.
29644         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29645         <kernel-features.h>.
29646         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29647         conditional variable definition.
29648         (__futimes): Update comment.
29649         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29650         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29652         [BZ #16560]
29653         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29654         arguments close to 0.
29655         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29656         Likewise.
29657         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29658         Likewise.
29659         * math/auto-libm-test-in: Add more tests of exp10.
29660         * math/auto-libm-test-out: Regenerated.
29661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29663         * sysdeps/unix/sysv/linux/kernel-features.h
29664         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29665         * sysdeps/unix/sysv/linux/readv.c: Do not include
29666         <kernel-features.h>.
29667         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29668         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29669         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29670         unconditional.
29671         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29672         conditional code.
29673         * sysdeps/unix/sysv/linux/writev.c: Do not include
29674         <kernel-features.h>.
29675         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29676         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29677         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29678         unconditional.
29679         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29680         conditional code.
29682 2014-06-25  Will Newton  <will.newton@linaro.org>
29684         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29685         comment changes throughout the file.  Remove checks
29686         for HAVE_*_H definitions that are not required.
29687         (__gen_tempname): Call abort if an unknown kind value is
29688         passed.
29690 2014-06-25  Andreas Schwab  <schwab@suse.de>
29692         [BZ #17086]
29693         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29694         scalbln, scalblnf, scalblnl in libc.
29696 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29698         [BZ #17086]
29699         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29700         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29701         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29703 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29705         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29706         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29707         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29708         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29709         Update #include.
29710         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29711         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29712         Update #include.
29713         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29714         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29715         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29716         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29717         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29718         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29719         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29720         * sysdeps/x86/bits/semaphore.h: ... here.
29721         * sysdeps/x86/nptl/elide.h: Moved ...
29722         * sysdeps/x86/elide.h: ... here.
29723         * sysdeps/x86_64/nptl/Implies: File removed.
29724         * sysdeps/i386/nptl/Implies: File removed.
29726 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29728         [BZ #16539]
29729         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29730         return the argument for normal arguments with exponent below -64.
29731         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29732         Likewise.
29733         * math/auto-libm-test-in: Add another test of expm1.
29734         * math/auto-libm-test-out: Regenerated.
29736         [BZ #16287]
29737         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29738         calling __erfcl for arguments at least 16.
29739         * math/auto-libm-test-in: Add more tests of erf.
29740         * math/auto-libm-test-out: Regenerated.
29742         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29743         individual architectures.
29744         * sysdeps/unix/sysv/linux/configure: Regenerated.
29745         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29746         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29747         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29748         (ldd_rewrite_script): Define variable.
29749         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29751         file.
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29753         generated file.
29754         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29755         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29756         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29757         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29758         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29759         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29760         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29761         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29763 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29765         [BZ #17084]
29766         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29767         Rename member __data.d to __data.__elision_data.
29769 2014-06-24  Wilco  <wdijkstr@arm.com>
29771         * NEWS: Add 16918 to fixed bug list.
29773 2014-06-24  Wilco  <wdijkstr@arm.com>
29775         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29777 2014-06-24  Wilco  <wdijkstr@arm.com>
29779         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29780         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29781         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29782         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29783         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29784         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29785         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29786         Use _FPU_MASK_RM.
29788 2014-06-24  Wilco  <wdijkstr@arm.com>
29790         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29792 2014-06-24  Wilco  <wdijkstr@arm.com>
29794         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29795         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29796         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29797         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29799 2014-06-24  Wilco  <wdijkstr@arm.com>
29801         [BZ #16918]
29802         * sysdeps/arm/feupdateenv.c (feupdateenv):
29803         Rewrite to reduce FPSCR accesses and fix return value.
29805 2014-06-24  Wilco  <wdijkstr@arm.com>
29807         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29808         Optimize to avoid unnecessary FPSCR writes.
29809         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29810         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29811         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29812         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29814 2014-06-24  Wilco  <wdijkstr@arm.com>
29816         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29817         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29818         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29819         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29820         Call libc_fetestexcept_vfp.
29821         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29822         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29823         __SOFTFP__ ifdef so that they can be built for softfp.
29825 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29827         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29828         argument type signed char.
29830         * Makerules (check-abi): Dump diff of symlist if the test
29831         fails.
29833 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29835         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29836         using abort.
29838         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29839         Remove unused variable ST.
29841 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29843         [BZ #16354]
29844         [BZ #17061]
29845         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29846         small arguments before calling __expm1.
29847         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29848         small arguments before calling __expm1f.
29849         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29850         small arguments before calling __expm1l.
29851         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29852         Likewise.
29853         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29854         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29855         spurious underflow for some cosh tests.
29856         * math/auto-libm-test-out: Regenerated.
29857         * sysdeps/i386/fpu/libm-test-ulps: Update.
29859         [BZ #17050]
29860         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29861         (__ieee754_y1): Set errno if return value overflows.
29862         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29863         (__ieee754_y1f): Set errno if return value overflows.
29864         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29865         (__ieee754_y1l): Set errno if return value overflows.
29866         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29867         (__ieee754_y1l): Set errno if return value overflows.
29868         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29869         * math/auto-libm-test-out: Regenerated.
29871         * math/gen-auto-libm-tests.c: Document use of
29872         ignore-zero-inf-sign.
29873         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29874         (input_flags): Add ignore-zero-inf-sign.
29875         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29876         * math/gen-libm-test.pl (generate_testfile): Handle
29877         ignore-zero-inf-sign.
29878         * math/auto-libm-test-in: Mark some cpow tests with
29879         ignore-zero-inf-sign and some with xfail-rounding.
29880         * math/auto-libm-test-out: Regenerated.
29881         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29882         * sysdeps/i386/fpu/libm-test-ulps: Update.
29883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29885         [BZ #16315]
29886         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29887         overflowing or underflowing operations take place with sign of
29888         result.
29889         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29890         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29891         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29892         (__ieee754_pow): Recompute overflowing and underflowing results in
29893         original rounding mode.
29894         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29895         (__powl_helper): Allow negative argument X and scale negated value
29896         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29897         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29898         overflowing or underflowing operations take place with sign of
29899         result.
29900         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29901         Include <math.h>.
29902         * math/auto-libm-test-in: Add more tests of pow.
29903         * math/auto-libm-test-out: Regenerated.
29904         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29905         (pow_tonearest_test_data): Remove.
29906         (pow_test_tonearest): Likewise.
29907         (pow_towardzero_test_data): Likewise.
29908         (pow_test_towardzero): Likewise.
29909         (pow_downward_test_data): Likewise.
29910         (pow_test_downward): Likewise.
29911         (pow_upward_test_data): Likewise.
29912         (pow_test_upward): Likewise.
29913         (main): Don't call removed functions.
29914         * sysdeps/i386/fpu/libm-test-ulps: Update.
29915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29920         Moved ...
29921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29923         Moved ...
29924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29929         Moved ...
29930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29932         File removed.
29933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29934         File removed.
29935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29936         File removed.
29937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29938         File removed.
29939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29940         File removed.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29942         File removed.
29943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29944         File removed.
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29946         File removed.
29947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29948         File removed.
29949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29950         File removed.
29951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29952         File removed.
29953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29954         File removed.
29955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29956         Moved ...
29957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29959         Moved ...
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29961         ... here.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29963         Moved ...
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29966         Moved ...
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29969         Moved ...
29970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29972         Moved ...
29973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29975         Moved ...
29976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29978         Moved ...
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29981         Moved ...
29982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29985         ... here.
29986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29987         Moved ...
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29990         Moved ...
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29992         ... here.
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29994         Moved ...
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29996         ... here.
29997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29998         Moved ...
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30000         ... here.
30001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30002         Moved ...
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30005         Moved ...
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30010         Moved ...
30011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30012         ... here.
30013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30014         Moved ...
30015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30016         ... here.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30018         Moved ...
30019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30021         Moved ...
30022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30024         Moved ...
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30027         Moved ...
30028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30030         Moved ...
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30032         ... here.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30034         Moved ...
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30037         Moved ...
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30040         Moved ...
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30043         Moved ...
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30048         Moved ...
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30051         Moved ...
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30054         Moved ...
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30056         ... here.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30058         Moved ...
30059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30060         ... here.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30062         Moved ...
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30064         ... here.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30066         Moved ...
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30069         Moved ...
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30072         Moved ...
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30075         Moved ...
30076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30077         ... here.
30078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30079         Moved ...
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30081         ... here.
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30083         Moved ...
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30085         ... here.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30087         Moved ...
30088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30090         Moved ...
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30093 2014-06-23  Will Newton  <will.newton@linaro.org>
30094             Wilco  <wdijkstr@arm.com>
30096         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30097         implementation.  Include get-rounding-mode.h.
30098         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30099         [!libc_feholdsetround_noex_ctx]: Define
30100         libc_feholdsetround_noex_ctx.
30101         [!libc_feholdsetround_noexf_ctx]: Define
30102         libc_feholdsetround_noexf_ctx.
30103         [!libc_feholdsetround_noexl_ctx]: Define
30104         libc_feholdsetround_noexl_ctx.
30105         (libc_feholdsetround_ctx): New function.
30106         (libc_feresetround_ctx): New function.
30107         (libc_feholdsetround_noex_ctx): New function.
30108         (libc_feresetround_noex_ctx): New function.
30110 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30112         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30113         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30114         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30115         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30116         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30117         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30119         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30120         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30121         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30122         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30123         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30124         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30126         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30128         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30130         Moved ...
30131         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30132         ... here.
30133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30134         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30136         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30138         Moved ...
30139         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30141         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30143         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30145         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30147         Moved ...
30148         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30150         Moved ...
30151         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30153         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30155         Moved ...
30156         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30158         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30159         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30160         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30161         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30162         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30164         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30166         Moved ...
30167         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30168         ... here.
30169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30170         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30172         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30173         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30174         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30175         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30176         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30177         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30178         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30179         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30180         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30182         Moved ...
30183         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30185         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30187         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30189         Moved ...
30190         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30192         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30193         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30194         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30196         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30197         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30198         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30199         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30200         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30201         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30202         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30203         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30204         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30205         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30206         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30207         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30209         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30210         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30211         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30212         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30213         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30215         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30216         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30217         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30219         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30220         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30221         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30223         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30225 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30228         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30229         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30230         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30231         (IPV6_PMTUDISC_INTERFACE): Likewise.
30232         (IPV6_PMTUDISC_OMIT): Likewise.
30234 2014-06-23  Andreas Schwab  <schwab@suse.de>
30236         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30237         Remove unused errout label.
30239 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30241         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30242         macro: hardware supports Vector Crypto instructions.
30244 2014-06-23  Will Newton  <will.newton@linaro.org>
30246         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30247         rather than __builtin_expect.
30249         * elf/dl-lookup.c (undefined_msg): Remove variable.
30250         (_dl_lookup_symbol_x): Replace undefined_msg with string
30251         literal.
30253         * elf/dl-lookup.c (do_lookup_unique): New function.
30254         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30255         to a separate function.
30257 2014-06-23  Andreas Schwab  <schwab@suse.de>
30259         [BZ #17079]
30260         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30261         before reading the next line.
30263 2014-06-23  Will Newton  <will.newton@linaro.org>
30265         * test-skeleton.c (signal_handler): Use printf and %m
30266         rather than perror.  Use printf rather than fprintf to
30267         stderr.  Use puts rather than fputs to stderr.
30268         (main): Likewise.
30270 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30272         * nscd/nscd.c (thread_info_t): Remove typedef.
30273         (thread_info): Remove variable.
30275 2014-06-21  Allan McRae  <allan@archlinux.org>
30277         * NEWS: Mention CVE-2014-4043.
30279 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30281         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30282         * nptl/smp.h: ... here.
30284         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30286         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30287         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30288         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30289         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30291         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30292         * nptl/stack-aliasing.h: New file.
30293         * sysdeps/i386/i686/stack-aliasing.h: New file.
30294         * sysdeps/i386/i686/nptl/Makefile: File removed.
30295         * sysdeps/x86_64/stack-aliasing.h: New file.
30296         * sysdeps/x86_64/nptl/Makefile
30297         (CFLAGS-pthread_create.c): Variable removed.
30299         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30300         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30301         old file.
30302         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30303         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30304         old file.
30306 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30308         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30309         (__ASSUME_SIGFRAME_V2): Remove macro.
30310         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30311         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30312         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30313         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30314         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30315         Declare as function.  Remove conditional macro definitions.
30316         (__default_rt_sa_restorer): Likewise.
30317         (__default_sa_restorer_v1): Remove declaration.
30318         (__default_sa_restorer_v2): Likewise.
30319         (__default_rt_sa_restorer_v1): Likewise.
30320         (__default_rt_sa_restorer_v2): Likewise.
30321         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30322         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30323         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30325 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30327         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30328         (libpthread-routines): Add sysdep.
30329         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30330         * sysdeps/unix/sysv/linux/sparc/Versions
30331         (libpthread: GLIBC_2.3.3): New version set.
30332         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30333         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30334         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30336         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30337         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30338         Moved ...
30339         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30340         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30341         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30342         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30343         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30344         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30345         * sysdeps/sparc/nptl/sem_init.c: ... here.
30346         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30347         * sysdeps/sparc/nptl/sem_post.c: ... here.
30348         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30349         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30350         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30351         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30352         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30353         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30354         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30355         (libpthread-routines): Add cpu_relax.
30356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30357         File removed.
30358         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30359         (librt: GLIBC_2.3.3): New version set.
30360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30361         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30362         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30363         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30366         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30368         Moved ...
30369         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30371         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30373         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30375         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30377         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30379         Moved ...
30380         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30381         Update #include.
30382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30383         Moved ...
30384         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30385         Update #include.
30386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30387         Moved ...
30388         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30389         Update #include.
30390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30391         Moved ...
30392         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30393         Update #include.
30394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30395         Moved ...
30396         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30397         Update #include.
30398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30399         Moved ...
30400         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30401         Update #include.
30402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30403         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30409         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30411         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30413         Moved ...
30414         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30416         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30418         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30420 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30422         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30423         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30424         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30425         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30426         * nscd/nscd.c: Likewise.
30427         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30428         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30429         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30430         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30432         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30433         <kernel-features.h>.
30434         (init_mq_netlink): Remove conditional have_sock_cloexec
30435         definitions.  Remove code conditional on have_sock_cloexec < 0.
30436         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30437         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30438         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30439         <kernel-features.h>.
30440         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30441         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30443 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30446         Add tests for memset_chk and memset.
30448         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30449         with AVX2_Usable.
30451 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30453         [BZ #16046]
30454         * elf/tst-dl-iter-static.c: New file.
30455         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30457         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30458         error.
30460 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30462         * sysdeps/unix/sysv/linux/kernel-features.h
30463         (__ASSUME_F_GETOWN_EX): Remove macro.
30464         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30465         <kernel-features.h>.
30466         (miss_F_GETOWN_EX): Remove variable or macro.
30467         (do_fcntl): Do not check miss_F_GETOWN_EX.
30468         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30470         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30471         Remove macro.
30472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30473         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30474         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30476         * sysdeps/unix/sysv/linux/kernel-features.h
30477         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30478         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30479         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30480         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30482 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30484         [BZ #17075]
30485         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30486         Fix calculation of the symbol's value.
30487         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30488         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30489         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30490         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30491         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30492         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30493         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30494         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30495         (modules-names): Add `tst-armtlsdescmod',
30496         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30497         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30498         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30499         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30500         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30501         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30502         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30503         ($(objpfx)tst-armtlsdescloc): New dependency.
30504         ($(objpfx)tst-armtlsdescextnow): Likewise.
30505         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30506         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30507         TLS scheme support.
30508         * sysdeps/arm/configure: Regenerate.
30510 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30512         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30513         (__atfct_seterrno_2): Likewise.
30514         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30515         <kernel-features.h>.
30516         (__ASSUME_ATFCTS): Do not undefine and redefine.
30517         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30518         (__have_atfcts): Remove conditional definition.
30519         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30520         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30521         unreachable if [__ASSUME_ATFCTS].
30522         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30523         not undefine and redefine.
30524         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30525         <kernel-features.h>.
30526         (faccessat) [__NR_faccessat]: Make code unconditional.
30527         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30528         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30529         <kernel-features.h>.
30530         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30531         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30532         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30533         <kernel-features.h>.
30534         (fchownat) [__NR_fchownat]: Make code unconditional.
30535         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30536         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30537         <kernel-features.h>.
30538         (futimesat) [__NR_futimesat]: Make code unconditional.
30539         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30540         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30541         <kernel-features.h>.
30542         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30543         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30544         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30545         <kernel-features.h>.
30546         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30547         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30548         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30549         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30550         <kernel-features.h>.
30551         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30552         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30553         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30554         <kernel-features.h>.
30555         (linkat) [__NR_linkat]: Make code unconditional.
30556         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30557         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30558         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30559         <kernel-features.h>.
30560         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30561         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30562         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30563         <kernel-features.h>.
30564         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30565         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30566         * sysdeps/unix/sysv/linux/openat.c: Do not include
30567         <kernel-features.h>.
30568         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30569         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30570         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30571         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30572         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30573         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30574         <kernel-features.h>.
30575         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30576         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30577         result of INLINE_SYSCALL directly, not via int variable.
30578         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30579         <kernel-features.h>.
30580         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30581         (renameat) [__NR_renameat]: Make code unconditional.
30582         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30583         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30584         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30585         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30587         (__ASSUME_ATFCTS): Do not undefine and redefine.
30588         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30589         <kernel-features.h>.
30590         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30591         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30592         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30593         <kernel-features.h>.
30594         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30595         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30596         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30597         (__ASSUME_ATFCTS): Do not undefine and redefine.
30598         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30599         <kernel-features.h>.
30600         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30601         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30602         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30603         <kernel-features.h>.
30604         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30605         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30607 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30609         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30611 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30613         [BZ #17069]
30614         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30615         constructed tree before returning error.
30616         * posix/bug-regexp36.c: Expand test case.
30618 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30620         [BZ #6803]
30621         * math/libm-test.inc (scalbln_test_date):
30622         Add errno expectations.
30623         * math/w_scalblnf.c: New File.
30624         Add wrapper which checks for setting errno to ERANGE.
30625         Add weak_alias for corresponding scalbln function.
30626         * math/w_scalbln.c: Likewise.
30627         * math/w_scalblnl.c: Likewise.
30628         * math/Makefile (libm-calls): Add w_scalbln.
30629         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30630         Remove weak_alias for corresponding scalbln function.
30631         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30632         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30633         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30635         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30636         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30637         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30638         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30639         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30640         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30641         Remove long_double_symbol for scalblnl function in libm, libc.
30642         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30643         Add wrapper which checks for setting errno to ERANGE.
30644         Add long_double_symbol for scalblnl function in libm, libc.
30645         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30646         Remove long_double_symbol for scalblnl in libm.
30647         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30648         Add wrapper which checks for setting errno to ERANGE.
30649         Add long_double_symbol for scalblnl function in libm.
30650         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30651         Do not use wrapper because of own implementation.
30653 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30655         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30656         3 bytes for __pad1 for x32.
30657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30659 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30660             H.J. Lu  <hongjiu.lu@intel.com>
30662         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30663         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30664         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30666         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30668 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30670         [BZ #17069]
30671         * posix/regcomp.c (parse_expression): Deallocate partially
30672         constructed tree before returning error.
30673         * posix/Makefile.c (tests): Add bug-regex36.
30674         (generated): Add bug-regex36.mtrace.
30675         (tests-special): Add $(objpfx)bug-regex36-mem.out
30676         (bug-regex36-ENV): New variable.
30677         ($(objpfx)bug-regex36-mem.out): New rule.
30678         * posix/bug-regex36.c: New file.
30680 2014-06-19  Will Newton  <will.newton@linaro.org>
30682         * malloc/malloc.c (systrim): If extra is zero then return
30683         early.
30685 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30687         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30689 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30691         * sysdeps/aarch64/strchr.S: New file.
30693 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30695         [BZ #17022]
30696         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30697         from arguments -2 or below.
30698         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30699         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30701 2014-06-18  Andreas Schwab  <schwab@suse.de>
30703         [BZ #17062]
30704         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30705         of a bracket expr not to run off the end of the string.
30706         * posix/Makefile (tests): Add tst-fnmatch3.
30707         * posix/tst-fnmatch3.c: New file.
30709 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30711         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30712         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30713         [$(cross-compiling) = no]: Likewise.
30714         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30715         [$(cross-compiling) = no]: Likewise.
30717 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30719         [BZ #17031]
30720         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30721         double, adjusted for any remainder from the high double.
30722         * math/libm-test.inc (nearbyint): Add tests.
30723         (rint): Likewise.
30725 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30727         * nptl/sysdeps/powerpc/Makefile: Moved ...
30728         * sysdeps/powerpc/nptl/Makefile: ... here.
30729         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30730         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30731         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30732         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30733         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30734         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30735         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30736         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30737         * nptl/sysdeps/powerpc/tls.h: Moved ...
30738         * sysdeps/powerpc/nptl/tls.h: ... here.
30740 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30742         [BZ #16681]
30743         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30744         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30745         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30746         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30747         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30748         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30749         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30750         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30751         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30753 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30755         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30757 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30759         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30760         defined operator.
30762         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30763         $TIMEOUTFACTOR.
30765 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30767         [BZ #17058]
30768         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30769         non-executed part of the test.
30771 2014-06-16  Andreas Schwab  <schwab@suse.de>
30773         * string/bits/string2.h (strdup, strndup): Update feature guard.
30775 2014-06-14  David S. Miller  <davem@davemloft.net>
30777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30779 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30781         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30782         that was previously under [RESET_PID].
30783         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30785         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30786         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30787         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30788         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30789         (__libc_vfork): New strong alias.
30790         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30792 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30794         * sysdeps/generic/elide.h: New file.
30796 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30798         * Makefile (installed-headers): Adjust path of pthread.h header.
30800 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30802         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30803         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30805         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30807         * nptl/sysdeps/s390/Makefile: Moved ...
30808         * sysdeps/s390/nptl/Makefile: ... here.
30809         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30810         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30811         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30812         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30813         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30814         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30815         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30816         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30817         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30818         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30819         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30820         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30821         * nptl/sysdeps/s390/tls.h: Moved ...
30822         * sysdeps/s390/nptl/tls.h: ... here.
30824         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30825         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30827 2014-06-13  David S. Miller  <davem@davemloft.net>
30829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30832         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30836         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30837         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30838         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30839         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30840         Remove RESET_PID cpp guards.
30841         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30842         Remove RESET_PID cpp guards.
30843         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30845 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30847         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30848         __sp to uintptr_t.
30850 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30853         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30854         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30857         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30859         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30860         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30861         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30862         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30864         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30865         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30866         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30867         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30869         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30870         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30873         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30874         (pthread_rwlock_rdlock): Add elision.
30875         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30876         (pthread_rwlock_wrlock): Add elision.
30877         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30878         (pthread_rwlock_trywrlock): Add elision.
30879         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30880         (pthread_rwlock_tryrdlock): Add elision.
30881         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30882         (pthread_rwlock_tryrdlock): Add elision unlock.
30883         * nptl/sysdeps/pthread/pthread.h:
30884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30885         (PTHREAD_RWLOCK_INITIALIZER,
30886         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30887         Handle new elision field.
30888         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30889         * sysdeps/arm/nptl/bits/pthreadtypes.h
30890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30891         * sysdeps/sh/nptl/bits/pthreadtypes.h
30892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30893         * sysdeps/tile/nptl/bits/pthreadtypes.h
30894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30895         * sysdeps/a/nptl/bits/pthreadtypes.h
30896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30897         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30899         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30901         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30903         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30904         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30905         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30906         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30907         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30908         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30909         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30910         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30911         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30912         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30913         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30914         (elision_init): Set try_xbegin to zero when no RTM.
30915         * sysdeps/x86/nptl/bits/pthreadtypes.h
30916         (pthread_rwlock_t): Change __pad1 to __rwelision.
30917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30919 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30921         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30922         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30923         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30924         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30926 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30928         [BZ #16996]
30929         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30930         that the cached result has been set before returning it.
30932 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30934         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30935         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30936         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30937         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30938         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30939         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30941         * nptl/sysdeps/sparc/Makefile: Moved ...
30942         * sysdeps/sparc/nptl/Makefile: ... here.
30943         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30944         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30945         * nptl/sysdeps/sparc/tls.h: Moved ...
30946         * sysdeps/sparc/nptl/tls.h: ... here.
30947         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30948         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30949         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30950         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30951         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30952         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30953         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30954         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30955         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30956         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30957         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30958         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30959         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30960         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30961         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30962         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30963         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30965         Update #include.
30966         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30968         Update #include.
30969         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30971         Update #include.
30972         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30973         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30974         Update #include.
30976         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30978         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30979         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30981         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30982         (struct list_links): Type removed.
30983         (struct thread_node, struct timer_node): Replace struct list_links
30984         with struct list_head.
30985         (list_unlink_ip): Likewise.
30986         * sysdeps/pthread/timer_routines.c
30987         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30988         (list_append, list_insbefore): Likewise.
30989         (list_init): Function removed.
30990         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30991         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30992         * sysdeps/pthread/Makefile: ... here, new file.
30994         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30995         * sysdeps/nptl/Implies: ... here.
30996         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30997         * nptl/sysdeps/pthread/list.h: Moved ...
30998         * include/list.h: ... here.
30999         * nptl/sysdeps/pthread/createthread.c: Moved ...
31000         * nptl/createthread.c: ... here.
31001         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31002         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31003         * nptl/pt-longjmp.c: ... here.
31004         * nptl/sysdeps/pthread/Makefile: Moved ...
31005         * sysdeps/nptl/Makefile: ... here.
31006         * nptl/sysdeps/pthread/Subdirs: Moved ...
31007         * sysdeps/nptl/Subdirs: ... here.
31008         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31009         * sysdeps/nptl/aio_misc.h: ... here.
31010         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31011         * sysdeps/nptl/bits/libc-lock.h: ... here.
31012         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31013         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31014         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31015         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31016         * nptl/sysdeps/pthread/configure: Moved ...
31017         * sysdeps/nptl/configure: ... here.
31018         * nptl/sysdeps/pthread/configure.ac: Moved ...
31019         * sysdeps/nptl/configure.ac: ... here.
31020         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31021         * sysdeps/nptl/gai_misc.h: ... here.
31022         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31023         * sysdeps/nptl/librt-cancellation.c: ... here.
31024         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31025         * sysdeps/nptl/malloc-machine.h: ... here.
31026         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31027         * sysdeps/nptl/pthread-functions.h: ... here.
31028         * nptl/sysdeps/pthread/pthread.h: Moved ...
31029         * sysdeps/nptl/pthread.h: ... here.
31030         * nptl/sysdeps/pthread/setxid.h: Moved ...
31031         * sysdeps/nptl/setxid.h: ... here.
31032         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31033         * sysdeps/nptl/sigfillset.c: ... here.
31034         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31035         * sysdeps/nptl/tcb-offsets.h: ... here.
31036         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31037         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31038         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31039         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31040         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31041         * sysdeps/pthread/allocalim.h: ... here.
31042         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31043         * sysdeps/pthread/bits/sigthread.h: ... here.
31044         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31045         * sysdeps/pthread/flockfile.c: ... here.
31046         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31047         * sysdeps/pthread/ftrylockfile.c: ... here.
31048         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31049         * sysdeps/pthread/funlockfile.c: ... here.
31050         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31051         * sysdeps/pthread/posix-timer.h: ... here.
31052         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31053         * sysdeps/pthread/timer_create.c: ... here.
31054         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31055         * sysdeps/pthread/timer_delete.c: ... here.
31056         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31057         * sysdeps/pthread/timer_getoverr.c: ... here.
31058         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31059         * sysdeps/pthread/timer_gettime.c: ... here.
31060         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31061         * sysdeps/pthread/timer_routines.c: ... here.
31062         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31063         * sysdeps/pthread/timer_settime.c: ... here.
31064         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31065         * sysdeps/pthread/tst-timer.c: ... here.
31066         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31067         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31069         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31070         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31072         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31073         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31074         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31075         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31076         Update #include target.
31077         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31078         * sysdeps/i386/i686/nptl/Makefile: ... here.
31079         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31080         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31081         Update #include target.
31082         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31083         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31084         * nptl/sysdeps/i386/Makefile: Moved ...
31085         * sysdeps/i386/nptl/Makefile: ... here.
31086         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31087         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31088         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31089         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31090         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31091         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31092         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31093         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31094         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31095         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31096         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31097         * nptl/sysdeps/i386/tls.h: Moved ...
31098         * sysdeps/i386/nptl/tls.h: ... here.
31100         * sysdeps/sh/Makefile [$(subdir) = csu]
31101         (gen-as-const-headers): Add tcb-offsets.sym.
31102         * nptl/sysdeps/sh/Makefile: File removed.
31103         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31104         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31105         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31106         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31107         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31108         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31109         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31110         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31111         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31112         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31113         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31114         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31115         * nptl/sysdeps/sh/tls.h: Moved ...
31116         * sysdeps/sh/nptl/tls.h: ... here.
31117         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31118         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31119         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31120         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31121         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31122         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31123         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31124         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31125         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31126         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31128         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31130         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31132         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31133         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31134         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31135         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31136         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31137         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31138         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31141         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31142         Moved ...
31143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31145         Moved ...
31146         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31147         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31148         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31149         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31152         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31153         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31154         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31155         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31156         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31157         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31158         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31159         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31160         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31161         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31162         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31163         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31164         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31166 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31168         * posix/spawn_faction_addopen.c: Include string.h.
31170 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31172         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31173         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31174         * nptl/sysdeps/x86_64/Makefile: Moved ...
31175         * sysdeps/x86_64/nptl/Makefile: ... here.
31176         * nptl/sysdeps/x86_64/configure: Moved ...
31177         * sysdeps/x86_64/nptl/configure: ... here.
31178         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31179         * sysdeps/x86_64/nptl/configure.ac: ... here.
31180         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31181         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31182         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31183         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31184         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31185         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31186         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31187         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31188         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31189         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31190         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31191         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31192         * nptl/sysdeps/x86_64/tls.h: Moved ...
31193         * sysdeps/x86_64/nptl/tls.h: ... here.
31194         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31195         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31196         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31197         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31199         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31201 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31205 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31207         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31208         type.
31209         [POSIX] (off_t): Likewise.
31210         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31211         [POSIX] (S_ISBLK): Require macro.
31212         [POSIX] (S_ISCHR): Likewise.
31213         [POSIX] (S_ISDIR): Likewise.
31214         [POSIX] (S_ISFIFO): Likewise.
31215         [POSIX] (S_ISREG): Likewise.
31216         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31217         optional-macro.
31218         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31219         type.
31220         [POSIX] (time_t): Likewise.
31221         [POSIX] (timer_t): Likewise.
31223 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31225         [BZ #17048]
31226         * posix/spawn_int.h (struct __spawn_action): Make the path string
31227         non-const to support deallocation.
31228         * posix/spawn_faction_addopen.c
31229         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31230         * posix/spawn_faction_destroy.c
31231         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31232         path in all spawn_do_open actions.
31233         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31234         posix_spawn_file_actions_addopen.
31236 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31238         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31239         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31240         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31241         conditional code always true.
31242         (__libc_vfork): New alias.
31244 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31246         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31247         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31249         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31251         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31252         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31254         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31255         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31257         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31258         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31260 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31262         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31263         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31264         multiarch strcmp for PPC64.
31265         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31266         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31268         multiarch optimizations.
31269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31270         (__libc_ifunc_impl_list): Likewise.
31272 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31274         * benchtests/scripts/validate_benchout.py: New script.
31275         * benchtests/Makefile (bench-func): Call it.
31276         * benchtests/scripts/benchout.schema.json: New file.
31278 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31280         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31281         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31282         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31283         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31284         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31285         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31286         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31287         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31288         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31289         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31290         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31291         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31292         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31293         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31294         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31295         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31297         Moved ...
31298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31299         ... here.
31300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31301         Moved ...
31302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31304         Moved ...
31305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31306         ... here.
31307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31308         Moved ...
31309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31310         ... here.
31311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31312         Moved ...
31313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31315         Moved ...
31316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31317         ... here.
31318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31319         Moved ...
31320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31321         ... here.
31322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31323         Moved ...
31324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31326         Moved ...
31327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31328         ... here.
31329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31332         ... here.
31333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31334         Moved ...
31335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31336         ... here.
31337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31338         Moved ...
31339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31341         Moved ...
31342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31343         ... here.
31344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31345         Moved ...
31346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31347         ... here.
31348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31349         Moved ...
31350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31351         ... here.
31352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31353         Moved ...
31354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31356         Moved ...
31357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31358         ... here.
31359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31360         Moved ...
31361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31362         ... here.
31363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31364         Moved ...
31365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31367         Moved ...
31368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31369         ... here.
31370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31371         Moved ...
31372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31374         Moved ...
31375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31377         Moved ...
31378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31379         ... here.
31380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31381         Moved ...
31382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31383         ... here.
31384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31385         Moved ...
31386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31387         ... here.
31388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31389         Moved ...
31390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31394         ... here.
31395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31396         Moved ...
31397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31398         ... here.
31399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31400         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31402         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31404         Moved ...
31405         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31406         ... here.
31407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31408         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31410         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31412         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31414         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31415         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31416         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31418         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31420         Moved ...
31421         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31423         Moved ...
31424         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31426         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31433         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31434         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31435         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31437 2014-06-10  Wilco  <wdijkstr@arm.com>
31439         * math/test-fenv-return.c: New file.
31440         * math/Makefile: Add new test test-fenv-return.
31442 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31444         [BZ #17042]
31445         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31446         when x - 1 is zero.
31447         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31448         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31449         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31450         0.0L for an argument of 1.0L.
31451         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31452         Likewise.
31453         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31454         value when x - 1 is zero.
31455         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31456         * sysdeps/i386/fpu/libm-test-ulps: Update.
31457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31459 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31461         [BZ #15119]
31462         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31464 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31466         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31467         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31469 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31471         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31472         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31474         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31475         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31477         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31478         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31480         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31481         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31483         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31484         if not already defined.
31485         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31486         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31487         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31488         (TLS_INIT_TP): Use it.
31489         (TLS_DEFINE_INIT_TP): New macro.
31490         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31492 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31494         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31495         constant.
31496         [POSIX] (IXANY): Likewise.
31497         [POSIX] (OLCUC): Likewise.
31498         [POSIX || POSIX2008] (CBAUD): Do not allow.
31499         [POSIX || POSIX2008] (DEFECHO): Likewise.
31500         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31501         [POSIX || POSIX2008] (ECHOKE): Likewise.
31502         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31503         [POSIX || POSIX2008] (EXTA): Likewise.
31504         [POSIX || POSIX2008] (EXTB): Likewise.
31505         [POSIX || POSIX2008] (FLUSHO): Likewise.
31506         [POSIX || POSIX2008] (LOBLK): Likewise.
31507         [POSIX || POSIX2008] (PENDIN): Likewise.
31508         [POSIX || POSIX2008] (SWTCH): Likewise.
31509         [POSIX || POSIX2008] (VDISCARD): Likewise.
31510         [POSIX || POSIX2008] (VDSUSP): Likewise.
31511         [POSIX || POSIX2008] (VLNEXT): Likewise.
31512         [POSIX || POSIX2008] (VREPRINT): Likewise.
31513         [POSIX || POSIX2008] (VSTATUS): Likewise.
31514         [POSIX || POSIX2008] (VWERASE): Likewise.
31515         (B*): Change to B[0123456789]*.
31516         * conform/data/time.h-data [POSIX || UNIX98]
31517         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31518         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31519         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31520         [POSIX] (tm_*): Do not allow.
31522 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31524         * Makefile (install): Don't set LANGUAGE.
31525         * Makefile.in (install): Likewise.
31526         * assert/Makefile (test-assert-ENV): Remove variable.
31527         (test-assert-perr-ENV): Likewise.
31528         * elf/Makefile (neededtest4-ENV): Likewise.
31529         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31530         [$(cross-compiling) = no]: Don't set LANGUAGE.
31531         * io/ftwtest-sh (LANG): Remove variable.
31532         * libio/Makefile (tst-widetext-ENV): Likewise.
31533         * manual/install.texi (Running make install): Don't refer to
31534         environment settings for make install.
31535         * INSTALL: Regenerated.
31536         * nptl/tst-tls6.sh: Don't set LANG.
31537         * posix/globtest.sh (LANG): Remove variable.
31538         * string/Makefile (tester-ENV): Likewise.
31539         (inl-tester-ENV): Likewise.
31540         (noinl-tester-ENV): Likewise.
31541         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31542         [$(cross-compiling) = no]: Don't set LANGUAGE.
31543         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31544         without explicit environment settings.
31546 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31548         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31549         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31550         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31551         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31553 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31555         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31556         other files in the crypt directory.
31557         * crypt/crypt.c: Remove duplicate includes.
31558         * crypt/crypt-entry.c: Likewise.
31559         * crypt/crypt_util.c: Likewise.
31561 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31563         * Makeconfig (run-program-env): New variable.
31564         (run-program-prefix-before-env): Likewise.
31565         (run-program-prefix-after-env): Likewise.
31566         (run-program-prefix): Define in terms of new variables.
31567         (built-program-cmd-before-env): New variable.
31568         (built-program-cmd-after-env): Likewise.
31569         (built-program-cmd): Define in terms of new variables.
31570         (test-program-prefix-before-env): New variable.
31571         (test-program-prefix-after-env): Likewise.
31572         (test-program-prefix): Define in terms of new variables.
31573         (test-program-cmd-before-env): New variable.
31574         (test-program-cmd-after-env): Likewise.
31575         (test-program-cmd): Define in terms of new variables.
31576         * Rules (make-test-out): Use $(run-program-env).
31577         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31578         (help): Do not mention environment variables.  Mention
31579         --timeoutfactor option.
31580         (timeoutfactor): New variable.
31581         (blacklist_exports): Remove function.
31582         (exports): Remove variable.
31583         (command): Do not include ${exports}.
31584         * manual/install.texi (Configuring and compiling): Do not mention
31585         test wrappers preserving environment variables.  Mention that last
31586         assignment to a variable must take precedence.
31587         * INSTALL: Regenerated.
31588         * benchtests/Makefile (run-bench): Use $(run-program-env).
31589         * catgets/Makefile ($(objpfx)test1.cat): Use
31590         $(built-program-cmd-before-env), $(run-program-env) and
31591         $(built-program-cmd-after-env).
31592         ($(objpfx)test2.cat): Do not specify environment variables
31593         explicitly.
31594         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31595         $(run-program-env) and $(built-program-cmd-after-env).
31596         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31597         $(run-program-env) and $(test-program-cmd-after-env).
31598         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31599         explicitly.
31600         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31601         run_program_env and test_program_cmd_after_env arguments.
31602         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31603         * elf/tst-pathopt.sh: Use run_program_env argument.
31604         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31605         $(test-wrapper-env) and $(run-program-env).
31606         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31607         run_program_env arguments.
31608         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31609         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31610         $(test-program-prefix-before-env), $(run-program-env) and
31611         $(test-program-prefix-after-env).
31612         ($(objpfx)tst-gettext2.out): Likewise.
31613         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31614         run_program_env and test_program_prefix_after_env arguments.
31615         * intl/tst-gettext2.sh: Likewise.
31616         * intl/tst-gettext4.sh: Do not set environment variables
31617         explicitly.
31618         * intl/tst-gettext6.sh: Likewise.
31619         * intl/tst-translit.sh: Likewise.
31620         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31621         $(test-program-prefix-before-env), $(run-program-env) and
31622         $(test-program-prefix-after-env).
31623         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31624         run_program_env and test_program_prefix_after_env arguments.
31625         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31626         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31627         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31628         explicitly with each use of ${test_wrapper_env}.
31629         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31630         $(test-program-prefix-before-env), $(run-program-env) and
31631         $(test-program-prefix-after-env).
31632         * posix/tst-getconf.sh: Do not set environment variables
31633         explicitly.
31634         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31635         run_program_env and test_program_prefix_after_env arguments.
31636         * stdio-common/tst-printf.sh: Do not set environment variables
31637         explicitly.
31638         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31639         $(test-program-prefix-before-env), $(run-program-env) and
31640         $(test-program-prefix-after-env).
31641         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31642         run_program_env and test_program_prefix_after_env arguments.
31643         Split $test calls into $test_pre and $test.
31644         * timezone/Makefile (build-testdata): Use
31645         $(built-program-cmd-before-env), $(run-program-env) and
31646         $(built-program-cmd-after-env).
31648 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31650         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31651         strlen for non SHARED builds.
31653 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31655         * nptl/allocatestack.c (check_list): Inlined function...
31656         (__reclaim_stacks): ... here.
31658 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31660         [BZ #15698]
31661         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31662         memory overrun.
31664 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31666         * Rules (make-test-out): Include
31667         LOCPATH=$(common-objpfx)localedata in default environment.
31668         * debug/Makefile (tst-chk1-ENV): Remove variable.
31669         (tst-chk2-ENV): Likewise.
31670         (tst-chk3-ENV): Likewise.
31671         (tst-chk4-ENV): Likewise.
31672         (tst-chk5-ENV): Likewise.
31673         (tst-chk6-ENV): Likewise.
31674         (tst-lfschk1-ENV): Likewise.
31675         (tst-lfschk2-ENV): Likewise.
31676         (tst-lfschk3-ENV): Likewise.
31677         (tst-lfschk4-ENV): Likewise.
31678         (tst-lfschk5-ENV): Likewise.
31679         (tst-lfschk6-ENV): Likewise.
31680         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31681         (tst-iconv7-ENV): Likewise.
31682         * intl/Makefile (LOCPATH-ENV): Likewise.
31683         (tst-codeset-ENV): Likewise.
31684         (tst-gettext3-ENV): Likewise.
31685         (tst-gettext5-ENV): Likewise.
31686         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31687         (tst-fopenloc-ENV): Likewise.
31688         (tst-fgetws-ENV): Remove variable.
31689         (tst-ungetwc1-ENV): Likewise.
31690         (tst-ungetwc2-ENV): Likewise.
31691         (bug-ungetwc2-ENV): Likewise.
31692         (tst-swscanf-ENV): Likewise.
31693         (bug-ftell-ENV): Likewise.
31694         (tst-fgetwc-ENV): Likewise.
31695         (tst-fseek-ENV): Likewise.
31696         (tst-ftell-partial-wide-ENV): Likewise.
31697         (tst-ftell-active-handler-ENV): Likewise.
31698         (tst-ftell-append-ENV): Likewise.
31699         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31700         (tst-regexloc-ENV): Likewise.
31701         (bug-regex1-ENV): Likewise.
31702         (tst-regex-ENV): Likewise.
31703         (tst-regex2-ENV): Likewise.
31704         (bug-regex5-ENV): Likewise.
31705         (bug-regex6-ENV): Likewise.
31706         (bug-regex17-ENV): Likewise.
31707         (bug-regex18-ENV): Likewise.
31708         (bug-regex19-ENV): Likewise.
31709         (bug-regex20-ENV): Likewise.
31710         (bug-regex22-ENV): Likewise.
31711         (bug-regex23-ENV): Likewise.
31712         (bug-regex25-ENV): Likewise.
31713         (bug-regex26-ENV): Likewise.
31714         (bug-regex30-ENV): Likewise.
31715         (bug-regex32-ENV): Likewise.
31716         (bug-regex33-ENV): Likewise.
31717         (bug-regex34-ENV): Likewise.
31718         (bug-regex35-ENV): Likewise.
31719         (tst-rxspencer-ENV): Likewise.
31720         (tst-rxspencer-no-utf8-ENV): Likewise.
31721         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31722         (tst-sscanf-ENV): Likewise.
31723         (tst-swprintf-ENV): Likewise.
31724         (tst-swscanf-ENV): Likewise.
31725         (test-vfprintf-ENV): Likewise.
31726         (scanf13-ENV): Likewise.
31727         (bug14-ENV): Likewise.
31728         (tst-grouping-ENV): Likewise.
31729         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31730         (tst-strtod3-ENV): Likewise.
31731         (tst-strtod4-ENV): Likewise.
31732         (tst-strtod5-ENV): Likewise.
31733         (testmb2-ENV): Likewise./
31734         * string/Makefile (tst-strxfrm-ENV): Likewise.
31735         (tst-strxfrm2-ENV): Likewise.
31736         (bug-strcoll1-ENV): Likewise.
31737         (test-strcasecmp-ENV): Likewise.
31738         (test-strncasecmp-ENV): Likewise.
31739         * time/Makefile (tst-strptime-ENV): Likewise.
31740         (tst-ftime_l-ENV): Likewise.
31741         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31742         (tst-mbrtowc-ENV): Likewise.
31743         (tst-wcrtomb-ENV): Likewise.
31744         (tst-mbrtowc2-ENV): Likewise.
31745         (tst-c16c32-1-ENV): Likewise.
31746         (tst-mbsnrtowcs-ENV): Likewise.
31748 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31750         * manual/resource.texi (How to get information about the memory
31751         subsystem?): Fix typo.
31752         Reported by Peon de la Parra Ivan <peon@keba.com>
31754 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31756         [BZ #16882]
31757         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31758         (pthread_spin_lock): Branch out of spin loop to proper location.
31759         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31760         (pthread_spin_lock): Likewise.
31762         * nptl/tst-spin4.c: New test.
31763         * nptl/Makefile (tests): Add tst-spin4.
31765 2014-06-03  Andreas Schwab  <schwab@suse.de>
31767         [BZ #15946]
31768         * resolv/res_send.c (send_dg): Reload file descriptor after
31769         calling reopen.
31771 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31773         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31775 2014-06-03  Richard Henderson  <rth@redhat.com>
31777         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31778         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31779         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31780         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31781         in the SAVE_PID block.
31782         (__libc_vfork): New alias.
31783         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31785         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31786         child in registers, not on the stack.  Remove RESET_PID conditionals.
31787         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31789 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31791         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31793 2014-06-03  Wilco  <wdijkstr@arm.com>
31795         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31796         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31797         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31798         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31799         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31800         Likewise.
31802 2014-06-03  Wilco  <wdijkstr@arm.com>
31804         * sysdeps/aarch64/fpu/math_private.h
31805         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31806         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31807         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31808         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31809         Fix declarations.
31811 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31813         * crypt/crypt-private.h: Include ufc-crypt.h.
31814         (__b64_from_24bit): Declare extern.
31815         * crypt/crypt_util.c(__b64_from_24bit): New function.
31816         (b64t): New static const variable.
31817         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31818         (b64t): Remove variable.
31819         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31820         * crypt/sha256-crypt.c: Include crypt-private.h.
31821         (b64t): Remove variable.
31822         (__sha256_crypt_r): Remove b64_from_24bit and replace
31823         with __b64_from_24bit.
31824         * crypt/sha512-crypt.c: Likewise.
31826 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31828         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31829         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31830         Label the code __libc_vfork rather than __vfork.
31831         [!NOT_IN_libc] (vfork): Define as weak alias.
31832         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31833         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31834         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31836 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31838         * malloc/malloc.c (malloc_info): Fix format specifier for
31839         n_mmaps.
31841 2014-06-02  Wilco  <wdijkstr@arm.com>
31843         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31844         FPCR write.
31846 2014-06-02  Wilco  <wdijkstr@arm.com>
31848         [BZ #17009]
31849         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31850         Rewrite to reduce FPCR/FPSR accesses.
31852 2014-06-01  David S. Miller  <davem@davemloft.net>
31854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31856 2014-05-31  David S. Miller  <davem@davemloft.net>
31858         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31859         to occur in round to nearest mode when |x| >= 2.0
31861 2014-05-30  Richard Henderson  <rth@twiddle.net>
31863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31864         (PSEUDO_RET_NOERRNO): Remove.
31865         (ret): Don't redefine.
31866         (ret_NOERRNO): Define in terms of ret.
31867         (ret_ERRVAL): Likewise.
31869         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31870         use of PSEUDO_RET; perform the error check directly.
31872 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31874         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31875         with __int128_t.
31877 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31879         * malloc/malloc (malloc_info): Fix formatting.
31881 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31882             Roland McGrath  <roland@hack.frob.com>
31884         * malloc/malloc (malloc_info): Also print mmapped statistics.
31886 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31888         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31889         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31891 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31893         * malloc/malloc.c (malloc_info): Inline mi_arena.
31895 2014-05-29  Richard Henderson  <rth@twiddle.net>
31897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31898         Remove comma before expanding ASM_ARGS_##nr.
31899         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31900         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31901         of ASM_ARGS_##nr.
31902         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31903         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31904         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31905         (ASM_ARGS_1): Add leading comma.
31907         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31908         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31909         to __errno_location.
31910         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31911         Remove the expected plt for __errno_location.
31913         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31914         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31915         call to __read_tp.
31917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31918         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31919         it and break it down.
31920         (DOCARGS_0, DOCARGS_1): Do nothing.
31921         (DOCARGS_2): Update to store into the new stack frame.
31922         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31923         (UNDOCARGS_1): Update to restore from the new stack frame.
31924         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31925         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31927         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31928         (SINGLE_THREAD_P): New parameter for result regno.
31929         (PSEUDO): Update to match; use cbz instead of beq.
31931         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31932         Use ENTRY to define the _nocancel entry point.  Share the syscall
31933         and syscall error check paths with the cancel path.
31934         (PSEUDO_END): New.
31936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31937         whitespace; tabs before and after asm mnemonics.
31939 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31941         [BZ #15132]
31942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31943         Call fstat64 or stat64 internally, depending on arguments passed.
31944         Replace stat buffer argument with file descriptor argument.
31945         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31946         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31947         Pass fd to __internal_statvfs instead of calling fstat64.
31948         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31949         Pass fd to __internal_statvfs64 instead of calling fstat64.
31950         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31951         Pass -1 to __internal_statvfs instead of calling stat64.
31952         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31953         Pass -1 to __internal_statvfs64 instead of calling stat64.
31955 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31957         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31958         that was previously under [RESET_PID].
31959         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31961         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31962         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31964 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31966         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31968         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31969         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31971 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31973         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31975 2014-05-27  Andreas Schwab  <schwab@suse.de>
31977         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31978         TLS_INIT_TP macro.
31979         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31980         * elf/rtld.c (init_tls, dl_main): Likewise.
31981         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31982         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31983         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31984         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31985         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31986         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31987         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31988         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31989         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31990         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31991         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31992         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31993         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31994         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31995         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31996         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31997         * sysdeps/generic/tls.h: Update description.
31999 2014-05-27  Will Newton  <will.newton@linaro.org>
32001         [BZ #16990]
32002         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32003         and restore r2 rather than just restoring.
32005 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32007         [BZ #16724]
32008         * libio/tst-ftell-append.c: New test case.
32009         * libio/Makefile (tests): Add test case.
32010         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32011         append mode.
32012         * libio/wfileops.c (do_ftell_wide): Likewise.
32014 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32018         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32019         ...
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32022         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32023         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32024         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32025         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32026         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32029         Moved ...
32030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32032         Moved ...
32033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32035         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32037         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32038         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32039         ...
32040         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32041         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32042         Moved ...
32043         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32044         here.
32045         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32046         ...
32047         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32049         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32051         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32052         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32053         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32054         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32057         merge into ...
32058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32060         ...
32061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32063         ...
32064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32066         Moved ...
32067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32068         here.
32069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32070         Moved ...
32071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32073         Moved ...
32074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32077         conditional [RESET_PID].
32078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32080         removed.
32081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32082         removed.
32084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32085         <tcb-offsets.h>.
32086         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32087         (__libc_vfork): New strong alias.
32088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32089         removed.
32090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32091         Removed.
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32094         <tcb-offsets.h>.
32095         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32096         (__libc_vfork): New strong alias.
32097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32098         removed.
32099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32100         removed.
32102 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32104         * malloc/malloc.c (mi_arena): New function.
32105         (malloc_info): Remove nested function mi_arena. Call non-nosted
32106         function mi_arena.
32108 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32110         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32111         by insrwi.
32112         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32113         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32114         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32115         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32116         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32117         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32118         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32120 2014-05-26  Andreas Schwab  <schwab@suse.de>
32122         [BZ #16984]
32123         * locale/programs/repertoire.c (repertoire_read): Add slash
32124         between I18NPATH element and file name.
32125         * locale/programs/locfile.c (locfile_read): Likewise.
32127 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32129         * nptl/pthread_mutexattr_settype.c
32130         (__pthread_mutexattr_settype):
32131         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32133 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32135         * nptl/tst-mutex5 (do_test):
32136         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32138 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32140         * benchtests/README: Document 'init' directive.
32141         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32142         BENCH_INIT.
32143         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32144         (parse_file): Recognize 'init' directive.
32146 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32148         [BZ #16796]
32149         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32150         alignment of struct pthread.
32152 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32154         [BZ #16878]
32155         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32156         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32157         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32158         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32160 2014-05-25  Richard Henderson  <rth@twiddle.net>
32162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32163         (SINGLE_THREAD_P_PIC): Remove.
32164         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32165         (SINGLE_THREAD_P_PIC): Remove.
32167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32168         branch to syscall error ...
32169         (PSEUDO): ... here.
32170         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32171         from __local_syscall_error to .Lsyscall_error.
32172         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32173         (SYSCALL_ERROR): Update label name.
32175         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32176         Do not use DOARGS/UNDOARGS.
32177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32178         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32179         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32180         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32181         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32184         block comment.
32186         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32187         define if !NOT_IN_libc.
32188         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32189         define with non-default symbol versions.
32191 2014-05-23  Richard Henderson  <rth@twiddle.net>
32193         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32194         (vfork, __vfork): Define via compat_symbol.
32196         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32197         [!HAVE_IFUNC] (vfork_compat): Remove.
32198         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32200 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32202         [BZ #16978]
32203         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32204         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32205         variable.
32207 2014-05-23  Richard Henderson  <rth@twiddle.net>
32209         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32210         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32211         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32212         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32214         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32215         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32216         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32217         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32218         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32219         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32220         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32221         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32222         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32223         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32224         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32225         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32226         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32227         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32228         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32229         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32230         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32231         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32232         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32233         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32234         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32235         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32236         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32237         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32238         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32239         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32240         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32241         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32242         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32243         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32245         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32246         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32247         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32248         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32249         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32251         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32252         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32253         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32254         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32255         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32256         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32257         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32258         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32259         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32260         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32261         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32262         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32263         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32264         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32265         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32266         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32267         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32268         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32269         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32271         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32272         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32273         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32274         before exiting on error.
32275         (__libc_vfork): New strong alias.
32276         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32277         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32279         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32280         that was previously under [RESET_PID].
32281         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32283         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32285 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32287         [BZ #16977]
32288         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32289         value when x - 1 is zero.
32290         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32291         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32292         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32293         0.0L for an argument of 1.0L.
32294         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32295         Likewise.
32296         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32297         value when x - 1 is zero.
32298         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32299         * sysdeps/i386/fpu/libm-test-ulps: Update.
32300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32302 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32304         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32305         alphasort and versionsort.
32307 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32309         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32310         macro.
32311         [copysignf]: Likewise.
32313 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32315         * crypt/md5-crypt.c: Fix formatting.
32317 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32319         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32320         (b64_from_24bit): New function.
32322 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32324         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32325         libc_hidden_builtin_def to ifunc.
32326         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32327         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32329 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32331         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32332         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32334 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32336         * nscd/Depend (linuxthreads): Remove.
32337         (nptl): Add.
32338         * resolv/Depend (linuxthreads): Remove.
32339         * rt/Depend (linuxthreads): Remove.
32341         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32342         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32343         $(common-objpfx)elf/.
32344         (link-libc-before-gnulib): Likewise.
32345         (elfobjdir): Remove variable.
32346         * Makefile (install): Use $(elf-objpfx) instead of
32347         $(common-objpfx)elf/.
32348         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32349         $(elfobjdir)/.
32350         (link-libc-deps): Likewise.
32351         ($(common-objpfx)libc.so): Likewise.
32352         ($(common-objpfx)linkobj/libc.so): Likewise.
32353         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32354         instead of $(common-objpfx)elf/.
32355         (symbolic-link-list): Likewise.
32356         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32357         [$(cross-compiling) = no]: Likewise.
32358         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32359         $(elfobjdir)/.
32360         (static-gnulib-arch): Likewise.
32361         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32362         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32363         $(common-objpfx)elf/.
32365 2014-05-21  Richard Henderson  <rth@redhat.com>
32367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32368         (SINGLE_THREAD_P): Use the correct width load.  Fold
32369         into the ldr offset.
32371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32372         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32374 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32376         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32377         (libgcc_s_resume): Use __attribute_used__.
32378         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32379         Likewise.
32381 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32383         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32384         optimization when used with float constants.
32386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32388 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32390         [BZ #16915]
32391         * locale/nl_langinfo_l.c: Make direct reference to every
32392         _nl_current_CATEGORY symbol.
32393         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32394         (tests-static): Add tst-langinfo-static.
32395         (tests-special): Add tst-langinfo-static.out.
32396         ($(objpfx)tst-langinfo.out): Redirect output.
32397         ($(objpfx)tst-langinfo-static.out): New.
32398         * localedata/tst-langinfo.sh: Send output to stdout.
32399         * localedata/tst-langinfo-static.c: New file.
32401         [BZ #16965]
32402         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32403         when the shift amount is modulo the limb size.
32405 2014-05-20  Richard Henderson  <rth@redhat.com>
32407         [BZ #16967]
32408         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32409         Change type of sa_flags from unsigned int to int.
32411         [BZ #16966]
32412         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32414         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32416 2014-05-20  Will Newton  <will.newton@linaro.org>
32418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32419         Test the return value of the system call in the nocancel case.
32421 2014-05-20  Will Newton  <will.newton@linaro.org>
32422             Yvan Roux  <yvan.roux@linaro.org>
32424         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32425         #include of asm/ptrace.h.
32426         (PTRACE_GET_THREAD_AREA): Remove #undef.
32427         (PTRACE_GETHBPREGS): Likewise.
32428         (PTRACE_SETHBPREGS): Likewise.
32429         (struct user_regs_struct): New structure.
32430         (struct user_fpsimd_struct): New structure.
32431         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32432         #include of asm/ptrace.h and second #include of sys/user.h.
32433         (PTRACE_GET_THREAD_AREA): Remove #undef.
32434         (PTRACE_GETHBPREGS): Likewise.
32435         (PTRACE_SETHBPREGS): Likewise.
32436         (ELF_NGREG): Use new struct user_regs_struct.
32437         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32439 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32441         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32442         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32444 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32446         [BZ #16958]
32447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32448         membar to avoid block loads/stores to overlap previous stores.
32450 2014-05-17  Richard Henderson  <rth@redhat.com>
32452         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32453         Create the __##syscall_name##_nocancel entry point.
32454         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32455         Remove; let the sysdep-cancel.h code create it.
32457 2014-05-17  David S. Miller  <davem@davemloft.net>
32459         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32460         Protect with __USE_GNU.
32461         (TIOCSET_TEMPT): Likewise.
32462         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32463         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32464         these are already provided in bits/ioctl-types.h
32466 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32468         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32469         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32471         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32472         Use wait4 regardless of [__NR_waitpid].
32474 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32476         PR libgcc/60166
32477         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32478         (_FP_NANSIGN_Q): Set the quiet bit.
32480 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32482         * benchtests/Makefile
32483         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32484         not $(common-objpfx)math/libm.so.
32485         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32486         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32487         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32488         $(common-objpfx)dlfcn/libdl.so.
32489         ($(objpfx)tst-audit8): Depend on $(libm), not
32490         $(common-objpfx)math/libm.so.
32491         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32492         not $(common-objpfx)dlfcn/libdl.so.
32493         * math/Makefile
32494         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32495         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32496         [$(build-shared) = yes].
32497         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32498         $(common-objpfx)nptl/libpthread.so.
32499         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32500         $(common-objpfx)math/libm.so$(libm.so-version) or
32501         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32502         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32503         $(common-objpfx)dlfcn/libdl.so.
32504         * setjmp/Makefile (link-libm): Remove variable.
32505         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32506         * stdio-common/Makefile (link-libm): Remove variable.
32507         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32508         * stdlib/Makefile (link-libm): Remove variable.
32509         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32510         ($(objpfx)tst-strtod-round): Likewise.
32511         ($(objpfx)tst-tininess): Likewise.
32512         ($(objpfx)tst-strtod-underflow): Likewise.
32513         ($(objpfx)tst-strtod6): Likewise.
32514         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32515         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32516         $(common-objpfx)dlfcn/libdl.so.
32518 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32521         BSD terminal modes definitions.
32523 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32525         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32526         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32528         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32529         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32530         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32531         Don't do #include_next.
32532         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32533         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32534         Don't do #include_next.
32535         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32536         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32537         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32538         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32540 2014-05-16  Allan McRae  <allan@archlinux.org>
32542         * po/sv.po: Update Swedish translation from translation project.
32544         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32545         in sed expression.
32547 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32549         [BZ #16917]
32550         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32551         errno if the TIOCGPTN ioctl fails with an error different than
32552         EINVAL.
32553         * login/tst-ptsname.c: New file.
32554         * login/Makefile (tests): Add tst-ptsname.
32556         [BZ #16943]
32557         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32558         and prlimit64.
32560 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32562         [BZ #16849]
32563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32564         herrno to return EAI_AGAIN.
32566 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32568         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32569         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32570         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32571         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32573         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32575         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32577         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32578         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32579         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32580         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32581         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32582         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32583         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32584         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32585         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32586         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32587         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32588         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32589         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32591         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32592         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32593         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32595         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32597         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32599         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32601         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32603         Moved ...
32604         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32610         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32612         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32614         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32616         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32620         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32622         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32624         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32626         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32628         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32630         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32632         Moved ...
32633         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32635         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32637         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32639         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32641         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32643         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32645         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32647         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32649         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32651         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32653         Moved ...
32654         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32658         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32659         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32660         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32661         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32662         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32663         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32664         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32665         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32666         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32667         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32668         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32669         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32670         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32671         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32672         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32673         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32674         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32675         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32676         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32677         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32678         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32679         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32680         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32681         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32682         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32683         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32684         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32685         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32686         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32687         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32688         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32690         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32691         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32693         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32694         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32695         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32696         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32697         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32699         Moved ...
32700         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32702         Moved ...
32703         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32705         Moved ...
32706         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32708         Moved ...
32709         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32710         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32711         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32713         Moved ...
32714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32715         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32716         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32718         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32719         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32720         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32722         Moved ...
32723         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32725         Moved ...
32726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32727         ... here.
32728         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32729         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32730         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32731         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32732         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32733         Moved ...
32734         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32735         ... here.
32736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32737         Moved ...
32738         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32739         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32740         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32741         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32742         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32744         Moved ...
32745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32747         Moved ...
32748         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32750         Moved ...
32751         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32753         Moved ...
32754         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32755         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32756         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32758         Moved ...
32759         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32760         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32761         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32763         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32764         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32765         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32767         Moved ...
32768         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32770         Moved ...
32771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32772         ... here.
32773         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32774         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32775         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32776         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32777         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32780         ... here.
32781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32784         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32785         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32786         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32787         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32788         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32791         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32793         Moved ...
32794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32795         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32796         Moved ...
32797         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32804         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32805         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32806         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32807         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32809         Moved ...
32810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32811         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32812         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32813         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32815         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32816         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32818         Moved ...
32819         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32821         Moved ...
32822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32823         ... here.
32824         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32825         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32826         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32827         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32828         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32829         Moved ...
32830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32831         ... here.
32832         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32833         Moved ...
32834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32835         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32836         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32837         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32838         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32839         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32840         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32841         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32842         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32844         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32846         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32847         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32849         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32850         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32852         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32853         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32854         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32856         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32857         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32858         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32859         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32860         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32861         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32862         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32863         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32864         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32865         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32866         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32868         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32870         Moved ...
32871         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32875         Moved ...
32876         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32878         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32880         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32884         Moved ...
32885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32887         Moved ...
32888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32890         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32892         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32894         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32895         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32896         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32897         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32898         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32899         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32900         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32901         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32902         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32903         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32904         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32906         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32907         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32908         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32909         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32910         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32912         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32913         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32914         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32915         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32916         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32917         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32918         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32919         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32920         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32921         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32926         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32927         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32928         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32929         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32930         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32931         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32932         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32933         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32934         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32935         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32936         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32937         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32938         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32939         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32940         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32941         Update #include.
32942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32943         Likewise.
32944         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32945         Likewise.
32946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32947         Likewise.
32948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32949         Likewise.
32950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32951         Likewise.
32952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32953         Likewise.
32954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32955         Likewise.
32956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32957         Likewise.
32958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32959         Likewise.
32960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32963         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32965         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32966         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32967         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32968         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32970         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32971         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32972         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32974         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32976         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32977         that was previously under [RESET_PID].
32978         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32979         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32980         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32982         * sysdeps/i386/nptl/Implies: New file.
32983         * sysdeps/x86_64/nptl/Implies: New file.
32984         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32985         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32986         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32987         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32989         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32990         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32991         (__libc_vfork): New strong alias.
32992         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32993         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32995         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32996         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32997         (__libc_vfork): New strong alias.
32998         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32999         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33001         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33002         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33003         (__libc_vfork): New strong alias.
33004         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33005         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33006         * nptl/pt-vfork.c: New file.
33007         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33008         (libpthread: GLIBC_2.20): New version set (empty).
33010 2014-05-14  Will Newton  <will.newton@linaro.org>
33012         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33013         rather than #if.
33015 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #16564]
33018         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33019         arguments with exponent 65 or above.
33020         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33021         arguments 0x1p113L or above.
33022         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33023         to arguments 0x1p107L or above.
33024         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33025         positive arguments with exponent 65 or above.
33026         * math/auto-libm-test-in: Add more tests of log1p.
33027         * math/auto-libm-test-out: Regenerated.
33029         [BZ #16928]
33030         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33031         non-finite arguments is +0.
33032         * math/s_cacosf.c (__cacosf): Likewise.
33033         * math/s_cacosl.c (__cacosl): Likewise.
33034         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33035         * sysdeps/i386/fpu/libm-test-ulps: Update.
33036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038         [BZ #16927]
33039         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33040         value.
33041         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33042         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33043         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33044         for explicit high bit of mantissa when testing for argument equal
33045         to 1.
33046         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33047         * sysdeps/i386/fpu/libm-test-ulps: Update.
33048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33050         [BZ #16516]
33051         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33052         (__erf): Scale by 16 instead of 8 in potentially underflowing
33053         case.  Ensure exception if result actually underflows.
33054         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33055         (__erff): Scale by 16 instead of 8 in potentially underflowing
33056         case.  Ensure exception if result actually underflows.
33057         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33058         (efx8): Remove variable.
33059         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33060         case.  Ensure exception if result actually underflows.
33061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33062         (efx8): Remove variable.
33063         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33064         case.  Ensure exception if result actually underflows.
33065         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33066         (efx8): Remove variable.
33067         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33068         case.  Ensure exception if result actually underflows.
33069         * math/auto-libm-test-in: Add more tests of erf.
33070         * math/auto-libm-test-out: Regenerated.
33072 2014-05-14  Andreas Schwab  <schwab@suse.de>
33074         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33075         Remove code conditionalized on USE___THREAD.
33077         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33078         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33079         not definedness.
33081 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33084         Define unconditionally.
33085         (__ASSUME_O_CLOEXEC): Likewise.
33086         (__ASSUME_SOCK_CLOEXEC): Likewise.
33087         (__ASSUME_IN_NONBLOCK): Likewise.
33088         (__ASSUME_PIPE2): Likewise.
33089         (__ASSUME_EVENTFD2): Likewise.
33090         (__ASSUME_SIGNALFD4): Likewise.
33091         (__ASSUME_DUP3): Likewise.
33092         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33093         (__ASSUME_DUP3): Do not define.
33094         (__ASSUME_EVENTFD2): Likewise.
33095         (__ASSUME_IN_NONBLOCK): Likewise.
33096         (__ASSUME_O_CLOEXEC): Likewise.
33097         (__ASSUME_PIPE2): Likewise.
33098         (__ASSUME_SIGNALFD4): Likewise.
33099         (__ASSUME_SOCK_CLOEXEC): Likewise.
33100         (__ASSUME_UTIMES): Undefine.
33101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33102         (__ASSUME_UTIMES): Do not define.
33103         (__ASSUME_O_CLOEXEC): Likewise.
33104         (__ASSUME_SOCK_CLOEXEC): Likewise.
33105         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33106         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33107         0x020621].
33108         (__ASSUME_PIPE2): Likewise.
33109         (__ASSUME_EVENTFD2): Likewise.
33110         (__ASSUME_SIGNALFD4): Likewise.
33111         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33112         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33113         Do not define.
33114         (__ASSUME_EVENTFD2): Likewise.
33115         (__ASSUME_SIGNALFD4): Likewise.
33116         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33117         (__ASSUME_32BITUIDS): Likewise.
33118         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33119         (__ASSUME_IPC64): Likewise.
33120         (__ASSUME_ST_INO_64_BIT): Likewise.
33121         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33122         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33123         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33124         (__ASSUME_UTIMES): Do not define.
33125         (__ASSUME_PSELECT): Likewise.
33126         (__ASSUME_PPOLL): Likewise.
33127         (__ASSUME_O_CLOEXEC): Likewise.
33128         (__ASSUME_SOCK_CLOEXEC): Likewise.
33129         (__ASSUME_IN_NONBLOCK): Likewise.
33130         (__ASSUME_PIPE2): Likewise.
33131         (__ASSUME_EVENTFD2): Likewise.
33132         (__ASSUME_SIGNALFD4): Likewise.
33133         (__ASSUME_DUP3): Likewise.
33134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33135         (__ASSUME_UTIMES): Likewise.
33136         (__ASSUME_O_CLOEXEC): Likewise.
33137         (__ASSUME_SOCK_CLOEXEC): Likewise.
33138         (__ASSUME_IN_NONBLOCK): Likewise.
33139         (__ASSUME_PIPE2): Likewise.
33140         (__ASSUME_EVENTFD2): Likewise.
33141         (__ASSUME_SIGNALFD4): Likewise.
33142         (__ASSUME_DUP3): Likewise.
33143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33144         (__ASSUME_UTIMES): Likewise.
33145         (__ASSUME_O_CLOEXEC): Likewise.
33146         (__ASSUME_SOCK_CLOEXEC): Likewise.
33147         (__ASSUME_IN_NONBLOCK): Likewise.
33148         (__ASSUME_PIPE2): Likewise.
33149         (__ASSUME_EVENTFD2): Likewise.
33150         (__ASSUME_SIGNALFD4): Likewise.
33151         (__ASSUME_DUP3): Likewise.
33152         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33153         Likewise.
33154         (__ASSUME_UTIMES): Likewise.
33155         (__ASSUME_EVENTFD2): Likewise.
33156         (__ASSUME_SIGNALFD4): Likewise.
33157         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33158         (__ASSUME_O_CLOEXEC): Likewise.
33159         (__ASSUME_SOCK_CLOEXEC): Likewise.
33160         (__ASSUME_IN_NONBLOCK): Likewise.
33161         (__ASSUME_PIPE2): Likewise.
33162         (__ASSUME_EVENTFD2): Likewise.
33163         (__ASSUME_SIGNALFD4): Likewise.
33164         (__ASSUME_DUP3): Likewise.
33165         (__ASSUME_UTIMES): Undefine.
33167         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33168         feclearexcept.  Remove symbol versioning code.
33169         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33170         symbol versioning code.
33171         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33172         symbol versioning code.
33173         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33174         feupdateenv.  Remove symbol versioning code.
33175         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33176         fegetexceptflag.  Remove symbol versioning code.
33177         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33178         fesetexceptflag.  Remove symbol versioning code.
33179         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33180         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33181         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33182         (__posix_fadvise64_l32): Remove prototype.
33183         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33184         code.
33186 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33188         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33189         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33190         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33191         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33193 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33195         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33196         current working directory
33198 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33200         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33201         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33202         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33203         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33204         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33205         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33206         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33207         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33211         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33213         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33215         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33216         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33217         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33218         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33219         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33221         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33227         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33228         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33229         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33231         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33233         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33234         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33235         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33236         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33237         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33238         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33239         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33240         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33241         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33243         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33244         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33246         * sysdeps/unix/sysv/linux/arm/Makefile
33247         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33248         Add rt-aeabi_unwind_cpp_pr1.
33249         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33250         Add nptl-aeabi_unwind_cpp_pr1.
33251         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33252         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33253         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33254         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33255         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33256         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33258         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33259         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33260         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33261         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33263         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33264         Deconditionalize the code that was previously under [RESET_PID].
33265         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33267         * sysdeps/generic/exit-thread.h: New file.
33268         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33269         * include/unistd.h (__exit_thread): Remove declaration.
33270         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33271         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33272         * csu/libc-start.c: Include <exit-thread.h>.
33273         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33274         * nptl/pthread_create.c: Include <exit-thread.h>.
33275         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33276         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33277         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33278         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33279         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33280         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33281         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33282         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33283         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33284         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33285         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33286         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33287         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33288         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33289         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33290         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33291         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33293 2014-05-13  Andreas Schwab  <schwab@suse.de>
33295         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33297 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33299         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33300         (__ASSUME_UTIMES): Do not condition on kernel version.
33301         (__ASSUME_PSELECT): Define unconditionally.
33302         (__ASSUME_PPOLL): Likewise.
33303         (__ASSUME_ATFCTS): Likewise.
33304         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33305         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33306         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33307         (__ASSUME_UTIMENSAT): Define unconditionally.
33308         (__ASSUME_PRIVATE_FUTEX): Likewise.
33309         (__ASSUME_FALLOCATE): Likewise.
33310         (__ASSUME_O_CLOEXEC): Likewise.
33311         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33312         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33313         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33314         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33315         (__ASSUME_IN_NONBLOCK): Likewise.
33316         (__ASSUME_PIPE2): Likewise.
33317         (__ASSUME_EVENTFD2): Likewise.
33318         (__ASSUME_SIGNALFD4): Likewise.
33319         (__ASSUME_DUP3): Likewise.
33320         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33321         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33322         (__ASSUME_AT_RANDOM): Likewise.
33323         (__ASSUME_PREADV): Likewise.
33324         (__ASSUME_PWRITEV): Likewise.
33325         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33326         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33327         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33328         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33329         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33331         (__ASSUME_O_CLOEXEC): Define unconditionally.
33332         (__ASSUME_PSELECT): Do not undefine conditionally.
33333         (__ASSUME_PPOLL): Likewise.
33334         (__ASSUME_ATFCTS): Likewise.
33335         (__ASSUME_SET_ROBUST_LIST): Likewise.
33336         (__ASSUME_UTIMENSAT): Likewise.
33337         (__ASSUME_FDATASYNC): Define unconditionally.
33338         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33339         (__ASSUME_SIGFRAME_V2): Likewise.
33340         )__ASSUME_EVENTFD2): Likewise.
33341         (__ASSUME_SIGNALFD4): Likewise.
33342         (__ASSUME_PSELECT): Do not undefine conditionally.
33343         (__ASSUME_PPOLL): Likewise.
33344         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33345         (__ASSUME_PSELECT): Define unconditionally.
33346         (__ASSUME_PPOLL): Likewise.
33347         (__ASSUME_O_CLOEXEC): Likewise.
33348         (__ASSUME_SOCK_CLOEXEC): Likewise.
33349         (__ASSUME_IN_NONBLOCK): Likewise.
33350         (__ASSUME_PIPE2): Likewise.
33351         (__ASSUME_EVENTFD2): Likewise.
33352         (__ASSUME_SIGNALFD4): Likewise.
33353         (__ASSUME_DUP3): Likewise.
33354         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33355         (__ASSUME_O_CLOEXEC): Likewise.
33356         (__ASSUME_SOCK_CLOEXEC): Likewise.
33357         (__ASSUME_IN_NONBLOCK): Likewise.
33358         (__ASSUME_PIPE2): Likewise.
33359         (__ASSUME_EVENTFD2): Likewise.
33360         (__ASSUME_SIGNALFD4): Likewise.
33361         (__ASSUME_DUP3): Likewise.
33362         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33363         (__ASSUME_EVENTFD2): Likewise.
33364         (__ASSUME_SIGNALFD4): Likewise.
33365         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33367 2014-05-12  Andreas Schwab  <schwab@suse.de>
33369         [BZ #16932]
33370         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33371         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33372         than maximum RPC packet size.
33373         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33374         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33375         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33376         (_nss_nis_getservbyport_r): Likewise.
33378 2014-05-12  Will Newton  <will.newton@linaro.org>
33380         * malloc/Makefile (tests): Add tst-mallopt.
33381         * malloc/tst-mallopt.c: New file.
33383 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33385         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33386         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33388 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33390         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33391         (tst-tlsmod6.so): Likewise.
33393 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33395         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33397 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33399         [BZ #16064]
33400         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33401         and <dl-procinfo.h>.
33402         (__fegetenv): Save SSE state in envp->__eip if supported.
33403         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33404         envp->__eip if supported.
33405         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33406         and <dl-procinfo.h>.
33407         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33408         __data_offset and __data_selector in environment to 0.  Set SSE
33409         state if supported.
33410         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33411         test-fenv-sse.
33412         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33413         -mfpmath=sse.
33414         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33416 2014-05-09  Will Newton  <will.newton@linaro.org>
33418         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33419         and libc_relro_required for ARM.
33420         * sysdeps/arm/preconfigure: Regenerate.
33422 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33423             Stefan Liebler  <stli@linux.vnet.ibm.com>
33425         * config.make.in (enable-lock-elision): New Makefile variable.
33426         * configure.ac: Likewise.
33427         * configure: Regenerate.
33428         * sysdeps/s390/configure.ac:
33429         Add check for gcc transactions support.
33430         * sysdeps/s390/configure: Regenerate.
33431         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33432         Build elision files if enabled.
33433         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33434         Add lock elision support for s390.
33435         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33436         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33437         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33438         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33439         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33440         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33441         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33442         Likewise.
33443         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33444         Likewise.
33445         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33446         Likewise.
33447         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33448         Likewise.
33449         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33450         (__lll_timedlock_elision, __lll_lock_elision)
33451         (__lll_unlock_elision, __lll_trylock_elision)
33452         (lll_timedlock_elision, lll_lock_elision)
33453         (lll_unlock_elision, lll_trylock_elision): Add.
33454         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33455         (pthread_mutex_t): Add lock elision support for s390.
33457 2014-05-14  Wilco  <wdijkstr@arm.com>
33459         * sysdeps/arm/fclrexcpt.c: Cleanup.
33460         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33461         * sysdeps/arm/feenablxcpt.c: Cleanup.
33462         * sysdeps/arm/fegetenv.c: Cleanup.
33463         * sysdeps/arm/fegetexcept.c: Cleanup.
33464         * sysdeps/arm/fegetround.c: Cleanup.
33465         * sysdeps/arm/feholdexcpt.c: Cleanup.
33466         * sysdeps/arm/fesetenv.c: Cleanup.
33467         * sysdeps/arm/fesetround.c: Cleanup.
33468         * sysdeps/arm/feupdateenv.c: Cleanup.
33469         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33470         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33471         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33472         * sysdeps/arm/ftestexcept.c: Cleanup.
33473         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33474         * sysdeps/arm/setfpucw.c: Cleanup.
33476 2014-05-09  Will Newton  <will.newton@linaro.org>
33478         * sysdeps/arm/armv7/strcmp.S: New file.
33479         * NEWS: Mention addition of ARMv7 optimized strcmp.
33481 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33483         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33484         look for %.ac rather than %.in.
33486         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33487         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33488         * sysdeps/mach/hurd/configure: Regenerated.
33489         * sysdeps/unix/sysv/linux/configure: Regenerated.
33491         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33493 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33495         [BZ# 16922]
33496         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33497         (LONG_SUB): Ditto.
33498         (PTR_SUB): Ditto.
33500 2014-05-07  Andreas Schwab  <schwab@suse.de>
33502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33503         when skipping over non-matching result from nscd.
33505 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33507         [BZ #16876]
33508         * nptl/sockperf.c (client): Check socket return value.
33510         [BZ #16877]
33511         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33512         nscd security class.
33514 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33516         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33517         * sysdeps/arm/unwind.h: ... here.
33519 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33521         [BZ# 16916]
33522         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33523         Define.
33525 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33527         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33528         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33529         multiarch strncpy for PPC64.
33530         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33531         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33533         multiarch optimizations.
33534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33535         (__libc_ifunc_impl_list): Likewise.
33536         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33537         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33538         multiarch stpncpy for PPC64.
33539         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33540         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33542 2014-05-06  Andreas Schwab  <schwab@suse.de>
33544         [BZ #16912]
33545         * gmon/mcount.c (_MCOUNT_DECL): Use
33546         atomic_compare_and_exchange_bool_acq instead of
33547         catomic_compare_and_exchange_bool_acq.
33549 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33551         * elf/Makefile (others, install-bin): Remove pldd.
33552         (pldd-modules): Variable removed.
33553         ($(objpfx)pldd): Target removed.
33554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33555         (others, install-bin): Append pldd here.
33556         ($(objpfx)pldd): New target.
33558         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33559         to 0, so the first #if test emitted later doesn't see it undefined.
33560         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33561         * sysdeps/gnu/errlist.c: Regenerated.
33563 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33565         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33566         [libc_hidden_builtin_def]: Define to empty value.
33567         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33568         [libc_hidden_builtin_def]: Likewise.
33569         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33570         [libc_hidden_builtin_def]: Likewise.
33571         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33572         [libc_hidden_builtin_def]: Likewise.
33573         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33574         __redirect_memcpy and define ifunc as default hidden symbol.
33575         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33576         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33578 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33580         * locale/iso-4217.def: Reintroduce XDR currency.
33582 2014-05-04  Allan McRae  <allan@archlinux.org>
33584         * po/eo.po: Update Esperanto translation from translation project.
33586 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33588         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33589         and FEATURE_INDEX_MAX to 1.
33590         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33592 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33594         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33595         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33596         * iconvdata/big5.c (ONE_DIRECTION): Define.
33597         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33598         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33599         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33600         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33601         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33602         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33603         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33604         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33605         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33606         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33607         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33608         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33609         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33610         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33611         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33612         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33613         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33614         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33615         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33616         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33617         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33618         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33619         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33620         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33621         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33622         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33623         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33624         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33625         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33626         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33627         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33628         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33629         * iconvdata/johab.c (ONE_DIRECTION): Define.
33630         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33631         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33632         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33633         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33634         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33635         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33636         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33637         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33638         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33639         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33641 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33643         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33644         (_IO_JUMPS_OFFSET): Define to 0.
33646         * nptl/sysdeps/pthread/bits/libc-lock.h
33647         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33648         (__libc_lock_define_initialized_recursive): Always define using
33649         initializer.  Modern compilers treat uninitialized (implicit zero) and
33650         explicit zero initializers the same (i.e. put the datum in bss).
33652 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33654         * nscd/nscd-client.h: Include <string.h>.
33656 2014-05-01  David S. Miller  <davem@davemloft.net>
33658         [BZ #16885]
33659         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33660         multiple zero bytes exist at the end of a string.
33661         Reported by Aurelien Jarno <aurelien@aurel32.net>
33663         * string/test-strcmp.c (check): Add explicit test for situations where
33664         there are multiple zero bytes after the first.
33666 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33668         [BZ #16890]
33669         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33670         when compiling wprintf.
33671         * stdio-common/tstdiomisc.c (t3): New function.
33672         (main): Call it.
33674 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33676         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33677         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33678         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33679         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33681 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33683         * stdlib/longlong.h: Updated from GCC.
33685 2014-05-01  Will Newton  <will.newton@linaro.org>
33686             Bernard Ogden  <bernie.ogden@linaro.org>
33688         * NEWS: Update fixed bug list.
33690         [BZ #15119]
33691         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33693 2014-04-30  David S. Miller  <davem@davemloft.net>
33695         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33696         (libc_feholdexcept_setround_sparc_ctx): New function.
33697         (libc_fesetenv_sparc_ctx): Likewise.
33698         (libc_feupdateenv_sparc_ctx): Likewise.
33699         (libc_feholdsetround_sparc_ctx): Likewise.
33700         (libc_feholdexcept_setround_ctx): Define.
33701         (libc_feholdexcept_setroundf_ctx): Likewise.
33702         (libc_feholdexcept_setroundl_ctx): Likewise.
33703         (libc_fesetenv_ctx): Likewise.
33704         (libc_fesetenvf_ctx): Likewise.
33705         (libc_fesetenvl_ctx): Likewise.
33706         (libc_feupdateenv_ctx): Likewise.
33707         (libc_feupdateenvf_ctx): Likewise.
33708         (libc_feupdateenvl_ctx): Likewise.
33709         (libc_feresetround_ctx): Likewise.
33710         (libc_feresetroundf_ctx): Likewise.
33711         (libc_feresetroundl_ctx): Likewise.
33712         (libc_feholdsetround_ctx): Likewise.
33713         (libc_feholdsetroundf_ctx): Likewise.
33714         (libc_feholdsetroundl_ctx): Likewise.
33716         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33717         with __USE_GNU instead of XOPEN cpp guards.
33719         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33720         0.
33722         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33723         with XOPEN cpp guards.
33725 2014-04-30  Julian Brown  <julian@codesourcery.com>
33727         [BZ #16888]
33728         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33729         handling.
33731 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33733         [BZ #9894]
33734         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33735         Change to 2.6.32.
33736         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33737         * sysdeps/unix/sysv/linux/configure: Regenerated.
33738         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33739         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33740         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33741         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33742         * README: Update reference to required Linux kernel version.
33743         * manual/install.texi (Linux): Update reference to required Linux
33744         kernel headers version.
33745         * INSTALL: Regenerated.
33747         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33748         header inclusion.
33749         [POSIX] (limits.h): Likewise.
33750         [POSIX] (math.h): Likewise.
33751         [POSIX] (sys/wait.h): Likewise.
33752         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33753         function.
33754         [POSIX] (stddef.h): Do not allow header inclusion.
33756 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33758         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33760 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33762         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33763         Return immediately after lll_futex_wake.
33765 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33767         [BZ #16791]
33768         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33769         structure.
33770         (datahead_init_pos): Call datahead_init_common early.
33771         (datahead_init_neg): Likewise.
33773         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33774         datahead_init_neg): New functions.
33775         * nscd/aicache.c (addhstaiX): Use them.
33776         * nscd/grpcache.c (cache_addgr): Likewise.
33777         * nscd/hstcache.c (cache_addhst): Likewise.
33778         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33779         * nscd/netgroupcache.c (do_notfound): Likewise.
33780         (addgetnetgrentX): Likewise.
33781         (addinnetgrX): Likewise.
33782         * nscd/pwdcache.c (cache_addpw): Likewise.
33783         * nscd/servicescache.c (cache_addserv): Likewise.
33785 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33786             Atsushi Onoe  <atsushi@onoe.org>
33788         [BZ #14308]
33789         [BZ #12994]
33790         [BZ #13651]
33791         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33792         one response is valid.
33793         * resolv/res_send.c (send_dg): Check for validity of other
33794         response if the current response is a referral.
33796 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33798         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33800 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33802         [BZ #16823]
33803         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33804         Always divide by positive zero when computing -Inf result.
33805         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33806         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33808 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33810         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33811         FPSCR if value do not change.
33812         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33813         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33814         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33815         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33816         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33817         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33818         function.
33820 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33822         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33823         * sysdeps/unix/sysv/linux/hppa: Move directory from
33824         ports/systeps/unix/sysv/linux/hppa.
33825         * README: Update listing for hppa-*-linux-gnu.
33827 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33829         [BZ #16754]
33830         * manual/stdio.texi (Hook functions): Fix types of stream hook
33831         functions.
33832         [BZ #16854]
33833         * socket/sys/socket.h: Fix typo in comment.
33835 2014-04-28  Wilco  <wdijkstr@arm.com>
33837         * sysdeps/arm/fenv_private.h: New file.
33838         * sysdeps/arm/math_private.h: New file.
33839         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33841 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33843         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33844         with __int128_t.
33845         (La_x86_64_retval): Likewise.
33847 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33849         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33850         fpsr if value didn't change.
33851         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33852         to fpcr if value didn't change.
33853         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33854         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33855         fpsr or fpcr if value didn't change.
33856         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33857         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33858         fpcr if value didn't change.
33859         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33860         to fpsr if value didn't change.
33862 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33864         * nptl/tst-sem3.c: Use test-skeleton.c
33865         (main): Rename to do_test.  Use return instead of
33866         exit.
33867         * nptl/tst-sem4.c: Use test-skeleton.c
33868         (main): Rename to do_test.
33870 2014-04-22  David S. Miller  <davem@davemloft.net>
33872         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33873         (struct sigaction): New struct member __glibc_reserved0, change
33874         type of sa_flags to int.
33876 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33878         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33879         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33881 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33883         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33884         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33886 2014-04-22  Will Newton  <will.newton@linaro.org>
33887             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33889         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33890         (__longjmp): Add longjmp and longjmp_target SystemTap
33891         probes.
33892         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33893         (__sigsetjmp): Add setjmp SystemTap probe.
33895 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33897         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33898         match manual order.
33900 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33902         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33904         * sysdeps/powerpc/fpu/fenv_private.h
33905         (libc_feholdexcept_setroundl_ctx): Define to
33906         libc_feholdexcept_setround_ppc_ctx.
33907         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33908         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33909         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33910         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33912 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33914         * sysdeps/aarch64/math-tests.h: New file.
33916 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33918         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33919         New.
33920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33921         Check and set bit_AVX2_Usable.
33922         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33923         macro.
33924         (bit_AVX2): Likewise.
33925         (index_AVX2_Usable): Likewise.
33926         (CPUID_AVX2): Likewise.
33927         (HAS_AVX2): Likewise.
33929 2014-04-17  Will Newton  <will.newton@linaro.org>
33931         * manual/setjmp.texi (System V contexts): Add note that
33932         calling setcontext on a context created by a call to a
33933         signal handler is undefined.  Update text to note that
33934         setcontext from a signal handler is possible but not
33935         recommended.
33937         [BZ #16629]
33938         * stdlib/tst-setcontext.c: Include signal.h.
33939         (main): Check that the signal stack before and
33940         after swapcontext is the same.
33942         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33943         Re-implement to restore registers in user code and avoid
33944         rt_sigreturn system call.
33946 2014-04-17  Wilco  <wdijkstr@arm.com>
33948         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33949         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33950         * math/test-fenv.c: Skip exception trap tests on targets which only
33951         support non-stop mode.
33953 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33954             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33956         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33957         (libc_feholdsetround_aarch64_ctx)
33958         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33959         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33960         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33961         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33962         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33963         (libc_feresetround_noexl_ctx): Define.
33965 2014-04-16  Richard Henderson  <rth@redhat.com>
33967         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33969         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33970         unwind tables.
33972         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33973         const from the non-libc, non-ldso copy.
33975         * sysdeps/alpha/libm-test-ulps: Regenerate.
33977 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33978             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33980         * sysdeps/aarch64/fpu/math_private.h: New file.
33982 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33984         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33986 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33988         [BZ #16275]
33989         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33990         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33992         Intel MPX bound registers before _dl_profile_fixup.
33993         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33994         registers after _dl_profile_fixup.  Save and restore bound
33995         registers bnd0/bnd1 when calling _dl_call_pltexit.
33996         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33997         (LR_BND_OFFSET): Likewise.
33998         (LRV_BND0_OFFSET): Likewise.
33999         (LRV_BND1_OFFSET): Likewise.
34001 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34003         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34004         to...
34005         * sysdeps/mach/hurd/i386/tls.h: ... here.
34006         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34007         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34008         fields.
34010 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34012         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34014 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34016         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34018 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34020         [BZ #14770]
34021         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34022         * sysdeps/s390/configure: Regenerate.
34024         [BZ #16824]
34025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34026         Set round-to-nearest internally to reduce error accumulation.
34028 2014-04-16  Alan Modra  <amodra@gmail.com>
34030         [BZ #16740]
34031         [BZ #16619]
34032         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34033         * math/libm-test.inc (frexp_test_data): Add tests.
34034         * NEWS: Update fixed bug list.
34036 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34038         * benchtests/Makefile: Depend on libraries in build directory.
34039         (bench-math): Separate out math tests.
34040         (bench-pthread): Separate out pthread tests.
34041         (bench): Include math and pthread tests.
34043 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34045         [BZ #16831]
34046         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34047         _dl_debug_initialize.
34049         * configure.ac: Remove SELinux header check.
34050         * configure: Regenerate.
34051         * nscd/selinux.c (perms): Array of const char* to permission names.
34052         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34053         default policy. Call string_to_security_class and string_to_av_perm to
34054         translate strings. Enforce default policy and call avs_has_perm with
34055         results of translated strings.
34057 2014-04-13  David S. Miller  <davem@davemloft.net>
34059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34061 2014-04-12  Allan McRae  <allan@archlinux.org>
34063         [BZ #16838]
34064         * manual/string.texi (Collation Functions): Fix qsort argument
34065         order in example.
34066         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34068 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34070         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34071         Make the test a no-op if there are no exceptions defined.
34073 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34075         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34076         enable-hardcoded-path-in-tests
34078 2014-04-11  Will Newton  <will.newton@linaro.org>
34080         * benchtests/Makefile (extra-objs): Add json-lib.o.
34081         (bench-func): Tidy up JSON output.
34082         * benchtests/bench-skeleton.c: Include json-lib.h.
34083         (main): Use JSON library functions to do output of
34084         benchmark results.
34085         * benchtests/bench-timing-type.c (main): Output the
34086         timing type simply, leaving formatting to the user.
34087         * benchtests/json-lib.c: New file.
34088         * benchtests/json-lib.h: Likewise.
34090 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34092         [BZ #15215]
34093         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34094         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34095         memory barriers.  Add comments.
34096         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34097         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34098         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34099         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34100         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34101         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34103 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34105         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34106         * sysdeps/s390/s390-64/configure.ac: ... this ...
34107         * sysdeps/s390/configure.ac: ... to here.
34108         * sysdeps/s390/s390-32/configure: Delete file.
34109         * sysdeps/s390/s390-64/configure: Delete file.
34110         * sysdeps/s390/configure: Regenerate.
34112 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34114         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34116 2014-04-11  Will Newton  <will.newton@linaro.org>
34118         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34119         to zero if it is not defined elsewhere.  (mtrim): Test
34120         the value of MALLOC_DEBUG with #if rather than #ifdef.
34122 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34124         * benchtests/pthread_once-inputs: New file.
34125         * benchtests/pthread_once-source.c: New file.
34126         * benchtests/README: Update documentation.
34128 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34129             H.J. Lu  <hongjiu.lu@intel.com>
34131         [BZ #16275]
34132         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34133         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34134         * sysdeps/x86_64/configure: Regenerated.
34135         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34136         macro.
34137         (REGISTER_SAVE_RAX): Likewise.
34138         (REGISTER_SAVE_RCX): Likewise.
34139         (REGISTER_SAVE_RDX): Likewise.
34140         (REGISTER_SAVE_RSI): Likewise.
34141         (REGISTER_SAVE_RDI): Likewise.
34142         (REGISTER_SAVE_R8): Likewise.
34143         (REGISTER_SAVE_R9): Likewise.
34144         (REGISTER_SAVE_BND0): Likewise.
34145         (REGISTER_SAVE_BND1): Likewise.
34146         (REGISTER_SAVE_BND2): Likewise.
34147         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34148         bound registers when calling _dl_fixup.
34150 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34152         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34153         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34154         of its definition.
34155         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34156         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34157         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34158         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34159         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34160         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34161         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34163 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34165         [BZ #15514]
34166         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34167         pathconf(_PC_NAME_MAX).
34169 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34171         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34172         Remove macro usage.
34173         (__PTHREAD_SPINS): Move definition to ...
34174         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34175         (__PTHREAD_SPINS): ... here.
34176         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34177         (__PTHREAD_SPIN): Likewise.
34178         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34179         (__PTHREAD_SPIN): Likewise.
34180         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34181         (__PTHREAD_SPIN): Likewise.
34182         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34183         (__PTHREAD_SPIN): Likewise.
34184         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34185         (__PTHREAD_SPIN): Likewise.
34186         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34187         (__PTHREAD_SPIN): Likewise.
34188         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34189         (__PTHREAD_SPIN): Likewise.
34190         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34191         (__PTHREAD_SPIN): Likewise.
34192         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34193         (__PTHREAD_SPIN): Likewise.
34194         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34195         (__PTHREAD_SPIN): Likewise.
34196         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34197         (__PTHREAD_SPIN): Likewise.
34198         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34199         (__PTHREAD_SPIN): Likewise.
34201         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34202         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34203         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34204         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34205         imply folder.
34206         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34207         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34208         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34209         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34210         correct imply path.
34211         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34212         strlen symbol for non multi-arch builds.
34213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34214         missing hidden_def and weak_alias.
34216 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34218         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34220 2014-04-07  Will Newton  <will.newton@linaro.org>
34222         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34223         and contents.  [!_LIBC] Remove #ifndef and contents.
34224         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34225         * string/memccpy.c (__memccpy): Use ANSI prototype.
34226         * string/memfrob.c (memfrob): Likewise.
34227         * string/strcoll.c (STRCOLL): Likewise.
34228         * string/strlen.c (strlen): Likewise.
34229         * string/strtok.c (STRTOK): Likewise.
34230         * string/strcat.c: Remove unused #include of memcopy.h.
34231         (strcat): Use ANSI prototype.
34232         * string/strchr.c: Remove unused #include of memcopy.h.
34233         (strchr): Use ANSI prototype.
34234         * string/strcmp.c: Remove unused #include of memcopy.h.
34235         (strcmp): Use ANSI prototype.
34236         * string/strcpy.c: Remove unused #include of memcopy.h.
34237         (strcpy): Use ANSI prototype.
34239 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34241         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34242         * config.make.in (config-extra-cppflags): Set it from
34243         libc_extra_cppflags.
34244         * configure.ac (libc_extra_cflags): Make it accumulate over
34245         configure fragments.
34246         (libc_extra_cppflags): New flag.
34247         * configure. Regenerate.
34248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34249         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34250         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34253         [BZ #16815]
34254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34255         result for FE_DOWNWARD rounding mode.
34256         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34257         Likewise.
34258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34260 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34262         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34263         in function argument name.
34265 2014-04-03  David Svoboda  <svoboda@cert.org>
34267         [BZ #5666]
34268         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34269         explicitly.
34271 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34273         * elf/dl-unmap-segments.h: New file.
34274         * sysdeps/generic/ldsodefs.h
34275         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34276         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34277         * elf/dl-fptr.c: Likewise.
34278         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34279         * sysdeps/aarch64/tlsdesc.c: Likewise.
34280         * sysdeps/arm/tlsdesc.c: Likewise.
34281         * sysdeps/i386/tlsdesc.c: Likewise.
34282         * sysdeps/tile/dl-runtime.c: Likewise.
34283         * sysdeps/x86_64/tlsdesc.c: Likewise.
34284         * elf/dl-load.h: New file.
34285         * elf/dl-load.c: Include it.
34286         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34287         Macros moved to dl-load.h.
34288         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34289         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34290         Use _dl_unmap_segments in place of __munmap.
34291         Break out segment-mapping loop into ...
34292         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34294 2014-04-03  Will Newton  <will.newton@linaro.org>
34296         * elf/dl-lookup.c (do_lookup_x): Remove comment
34297         referring to nested function and move variable
34298         declarations down to before first use.
34300 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #16799]
34303         [BZ #16800]
34304         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34305         with 0 numerator.
34306         * math/s_catanf.c (__catanf): Likewise.
34307         * math/s_catanh.c (__catanh): Likewise.
34308         * math/s_catanhf.c (__catanhf): Likewise.
34309         * math/s_catanhl.c (__catanhl): Likewise.
34310         * math/s_catanl.c (__catanl): Likewise.
34311         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34312         by positive zero when computing -Inf result.
34313         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34314         (catanh_test): Likewise.
34315         * sysdeps/i386/fpu/libm-test-ulps: Update.
34316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318         [BZ #16789]
34319         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34320         instead of using underflowing value in computing result.
34321         * math/s_clog10.c (__clog10): Likewise.
34322         * math/s_clog10f.c (__clog10f): Likewise.
34323         * math/s_clog10l.c (__clog10l): Likewise.
34324         * math/s_clogf.c (__clogf): Likewise.
34325         * math/s_clogl.c (__clogl): Likewise.
34326         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34327         (clog10_test): Likewise.
34328         * sysdeps/i386/fpu/libm-test-ulps: Update.
34329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34331 2014-04-02  Alan Modra  <amodra@gmail.com>
34333         [BZ #16739]
34334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34335         output when value is near a power of two.  Use int64_t for lx and
34336         remove casts.  Use decimal rather than hex exponent constants.
34337         Don't use long double multiplication when double will suffice.
34338         * math/libm-test.inc (nextafter_test_data): Add tests.
34339         * NEWS: Add 16739 and 16786 to bug list.
34341         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34343         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34345 2014-04-01  Will Newton  <will.newton@linaro.org>
34347         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34348         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34350 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34352         [BZ #13347]
34353         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34354         * nptl/tst-setuid2.c: New file.
34355         * nptl/Makefile (xtests): Add tst-setuid2.
34357 2014-04-01  Alan Modra  <amodra@gmail.com>
34359         [BZ #16786]
34360         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34362 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34364         [BZ #6803]
34365         [BZ #6804]
34366         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34367         set errno as appropriate.
34368         * math/w_scalbf.c (__scalbf): Likewise.
34369         * math/w_scalbl.c (__scalbl): Likewise.
34370         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34371         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34372         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34373         Add more NaN tests.
34375         [BZ #16349]
34376         * math/w_atan2.c: Include <errno.h>.
34377         (__atan2): Set errno for result underflowing to zero.
34378         * math/w_atan2f.c: Include <errno.h>.
34379         (__atan2f): Set errno for result underflowing to zero.
34380         * math/w_atan2l.c: Include <errno.h>.
34381         (__atan2l): Set errno for result underflowing to zero.
34382         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34383         tests.
34384         * math/auto-libm-test-out: Regenerated.
34386 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34388         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34389         Encode instruction correctly in little endian.
34390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34391         Likewise.
34392         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34393         Likewise.
34394         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34395         Likewise.
34396         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34397         Likewise.
34399 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34401         [BZ #9894]
34402         * sysdeps/unix/sysv/linux/kernel-features.h
34403         [__sparc__ && !__arch64__ && !__sparc_v9__]
34404         (__ASSUME_SET_ROBUST_LIST): Do not define.
34405         [__sparc__ && !__arch64__ && !__sparc_v9__]
34406         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34407         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34408         Likewise.
34409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34410         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34411         (__ASSUME_REQUEUE_PI): Likewise.
34412         (__ASSUME_SET_ROBUST_LIST): Likewise.
34413         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34414         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34415         Undefine.
34416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34417         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34418         Likewise.
34419         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34420         Likewise.
34421         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34422         Likewise.
34423         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34424         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34425         Undefine.
34426         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34427         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34428         Likewise.
34430         [BZ #16648]
34431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34433         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34435 2014-03-31  Will Newton  <will.newton@linaro.org>
34437         * benchtests/Makefile (bench): Add ffs and ffsll to list
34438         of tests.
34439         * benchtests/ffs-inputs: New file.
34440         * benchtests/ffsll-inputs: Likewise.
34442 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34444         [BZ #16770]
34445         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34446         too large before casting to int.
34447         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34448         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34449         * math/libm-test.inc (scalb_test_data): Add more tests.
34451 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34453         * benchtests/Makefile (DETAILED_OPT): New make option.
34454         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34455         set.
34456         * benchtests/bench-skeleton.c: Include stdbool.h.
34457         (main): Store and print timings per input.
34458         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34459         member to each argument value.
34460         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34461         (_print_arg_data): Initialize per-input timing to 0.
34463         * benchtests/Makefile (timing-type): New binary.
34464         (bench-clean): Also remove bench-timing-type.
34465         (bench): New target for timing-type.
34466         (bench-func): Print output in JSON format.
34467         * benchtests/bench-skeleton.c (main): Print output in JSON
34468         format.
34469         * benchtests/bench-timing-type.c: New file.
34470         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34471         (TIMING_PRINT_STATS): Remove.
34472         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34473         name separately.
34475         * benchtests/bench-modf.c: Remove.
34476         * benchtests/modf-inputs: New inputs file.
34478 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34480         [BZ #16362]
34481         * math/s_clog10.c (M_PI_LOG10E): New macro.
34482         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34483         imaginary parts are 0.
34484         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34485         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34486         imaginary parts are 0.
34487         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34488         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34489         imaginary parts are 0.
34490         * math/libm-test.inc (clog10_test_data): Update expected results
34491         for when real and imaginary parts are 0.
34493 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34495         * elf/dl-load.c: Finish conversion of __builtin_expect into
34496         __glibc_{un}likely.
34498 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34500         [BZ #16348]
34501         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34502         1+x for argument with exponent below -67.
34503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34504         Likewise.
34505         * math/auto-libm-test-in: Add more tests of exp.
34506         * math/auto-libm-test-out: Regenerated.
34508 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34510         [BZ #16759]
34511         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34512         (nscd_getnetgrent): Use it.
34514         [BZ #16760]
34515         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34516         of stpcpy.
34518 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34520         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34521         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34522         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34523         (lll_robust_unlock): Remove out of line section. Use cfi
34524         intrinsics.
34525         (LLL_STUB_UNWIND_INFO*): Remove.
34526         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34527         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34528         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34529         (lll_robust_unlock): Remove out of line section. Use cfi
34530         intrinsics.
34531         (LLL_STUB_UNWIND_INFO*): Remove.
34533 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34535         [BZ #16758]
34536         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34537         blank values.
34539 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34541         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34543 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34545         [BZ #16198]
34546         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34547         fnstenv.
34548         * math/test-fenv-preserve.c: New file.
34549         * math/Makefile (tests): Add test-fenv-preserve.
34551 2014-03-26  Will Newton <will.newton@linaro.org>
34553         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34555 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34557         * scripts/versionlist.awk: Partition the version sets and emit all
34558         GLIBC_* (sorted) before all others (sorted).
34560 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34562         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34563         GLIBC_2.2.5 version.
34565 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34567         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34568         calls.
34570         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34571         previous change.
34573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34575 2014-03-25  Andreas Schwab  <schwab@suse.de>
34577         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34578         label to be used after in6ailist is initialized.
34580 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34582         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34583         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34585 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34587         [BZ #16357]
34588         [BZ #16599]
34589         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34590         min_plus_half.
34591         (fp_formats): Update initializers.
34592         (init_fp_formats): Initialize new field.
34593         (output_for_one_input_case): Allow underflow for results up to
34594         min_plus_half.
34595         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34596         * math/auto-libm-test-in: Don't mark some underflows from asin and
34597         atanh as spurious.
34598         * math/auto-libm-test-out: Regenerated.
34599         * sysdeps/i386/fpu/libm-test-ulps: Update.
34600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34602 2014-03-25  Andreas Schwab  <schwab@suse.de>
34604         * libio/Makefile (tst-ftell-partial-wide-ENV)
34605         (tst-ftell-active-handler-ENV): Define.
34607 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34609         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34611 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34613         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34615 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34617         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34618         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34619         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34621 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34623         [BZ #16634]
34624         * elf/dl-load.c (open_verify): Add mode parameter.
34625         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34626         (open_path): Change from boolean 'secure' to complete flag 'mode'
34627         (_dl_map_object): Adjust.
34628         * elf/Makefile (tests): Add tst-dlopen-aout.
34629         * elf/tst-dlopen-aout.c: New test.
34631 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34633         [BZ #16714]
34634         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34635         (struct stat): Rename member pad0 to __glibc_reserved0.
34637         [BZ #16712]
34638         * sysdeps/s390/s390-32/bits/wordsize.h
34639         (__WORDSIZE32_SIZE_ULONG): New define.
34640         * sysdeps/s390/s390-64/bits/wordsize.h
34641         (__WORDSIZE32_SIZE_ULONG): Likewise.
34642         * sysdeps/generic/stdint.h (SIZE_MAX):
34643         Define as UL if __WORDSIZE32_SIZE_ULONG.
34645         [BZ #16713]
34646         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34647         (__glibc_reserved0): New variable.
34648         (sa_flags): Change type to int.
34650         * posix/Makefile (before-compile): Use += before-compile instead
34651         of a :=.
34653         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34654         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34656 2014-03-20  Andreas Schwab  <schwab@suse.de>
34658         [BZ #16743]
34659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34660         non-matching result from nscd.
34662 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34664         * scripts/bench.py: Moved to ...
34665         * benchtests/scripts/bench.py: ... here.
34666         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34668 2014-03-24  Andreas Schwab  <schwab@suse.de>
34670         [BZ #16002]
34671         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34672         alloca_account and account alloca use for struct in6ailist.
34674 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34676         [BZ #16284]
34677         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34678         rounding mode to recompute results that overflow to infinity or
34679         underflow to zero.
34680         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34681         bug 16284.
34682         * math/auto-libm-test-out: Regenerated.
34683         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34684         (ccosh_test): Likewise.
34685         (csin_test_data): Use plus_oflow.
34686         (csin_test): Use ALL_RM_TEST.
34687         (csinh_test_data): Use plus_oflow.
34688         (csinh_test): Use ALL_RM_TEST.
34689         * sysdeps/i386/fpu/libm-test-ulps: Update.
34690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34692 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34694         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34695         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34696         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34698         [BZ #16731]
34699         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34700         when x - 1 is zero.
34701         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34702         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34703         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34704         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34705         argument is 1.
34706         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34707         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34708         zero.
34709         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34710         * sysdeps/i386/fpu/libm-test-ulps: Update.
34711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34715         * scripts/bench.pl: Remove file.
34716         * scripts/bench.py: New benchmark script.
34717         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34718         * benchtests/README: Mention python dependency.
34719         * scripts/pylintrc: New file.
34720         * scripts/pylint: New file.
34722         * bits/mathdef.h: Use #ifdef instead of #if.
34723         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34724         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34725         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34726         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34727         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34728         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34730 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34731             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34733         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34735         and strpbrk-ppc64 objects.
34736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34737         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34738         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34739         multiarch strpbrk for POWER7.
34740         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34741         multiarch strpbrk for PPC64.
34742         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34743         ifunc selector.
34744         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34745         strpbrk for POWER7.
34747 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34749         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34750         (atan_test): Likewise.
34751         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34752         (atanh_test): Use ALL_RM_TEST.
34753         (atan2_test_data): Likewise.
34754         (cabs_test): Likewise.
34755         (cacosh_test): Likewise.
34756         (carg_test): Likewise.
34757         (casin_test): Likewise.
34758         (casinh_test): Likewise.
34759         (cbrt_test): Likewise.
34760         (csqrt_test): Likewise.
34761         (erf_test): Likewise.
34762         (erfc_test): Likewise.
34763         (pow10_test): Likewise.
34764         (exp2_test): Likewise.
34765         (hypot_test): Likewise.
34766         (j0_test): Likewise.
34767         (j1_test): Likewise.
34768         (lgamma_test): Likewise.
34769         (gamma_test): Likewise.
34770         (sincos_test): Likewise.
34771         (tanh_test): Likewise.
34772         (y0_test): Likewise.
34773         (y1_test): Likewise.
34774         * sysdeps/i386/fpu/libm-test-ulps: Update.
34775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34777 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34779         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34781         and strcspn-ppc64 objects.
34782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34783         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34784         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34785         multiarch strcspn for POWER7.
34786         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34787         multiarch strcspn for PPC64.
34788         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34789         ifunc selector.
34790         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34791         strcspn for POWER7.
34793 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34795         * math/gen-libm-test.pl (generate_testfile): Expect only function
34796         name as argument to AUTO_TESTS_* and pass results for all rounding
34797         modes to parse_args.
34798         (parse_auto_input): Separate inputs of automatic tests from
34799         outputs before storing in %auto_tests.
34800         * math/libm-test.inc (acos_test_data): Update call to
34801         AUTO_TESTS_f_f.
34802         (acos_test): Use ALL_RM_TEST.
34803         (acos_tonearest_test_data): Remove.
34804         (acos_test_tonearest): Likewise.
34805         (acos_towardzero_test_data): Likewise.
34806         (acos_test_towardzero): Likewise.
34807         (acos_downward_test_data): Likewise.
34808         (acos_test_downward): Likewise.
34809         (acos_upward_test_data): Likewise.
34810         (acos_test_upward): Likewise.
34811         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34812         (asin_test_data): Likewise.
34813         (asin_test): Use ALL_RM_TEST.
34814         (asin_tonearest_test_data): Remove.
34815         (asin_test_tonearest): Likewise.
34816         (asin_towardzero_test_data): Likewise.
34817         (asin_test_towardzero): Likewise.
34818         (asin_downward_test_data): Likewise.
34819         (asin_test_downward): Likewise.
34820         (asin_upward_test_data): Likewise.
34821         (asin_test_upward): Likewise.
34822         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34823         (atan_test_data): Likewise.
34824         (atanh_test_data): Likewise.
34825         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34826         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34827         (carg_test_data): Likewise.
34828         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34829         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34830         (ccosh_test_data): Likewise.
34831         (cexp_test_data): Likewise.
34832         (clog_test_data): Likewise.
34833         (clog10_test_data): Likewise.
34834         (cos_test_data): Update call to AUTO_TESTS_f_f.
34835         (cos_test): Use ALL_RM_TEST.
34836         (cos_tonearest_test_data): Remove.
34837         (cos_test_tonearest): Likewise.
34838         (cos_towardzero_test_data): Likewise.
34839         (cos_test_towardzero): Likewise.
34840         (cos_downward_test_data): Likewise.
34841         (cos_test_downward): Likewise.
34842         (cos_upward_test_data): Likewise.
34843         (cos_test_upward): Likewise.
34844         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34845         (cosh_test): Use ALL_RM_TEST.
34846         (cosh_tonearest_test_data): Remove.
34847         (cosh_test_tonearest): Likewise.
34848         (cosh_towardzero_test_data): Likewise.
34849         (cosh_test_towardzero): Likewise.
34850         (cosh_downward_test_data): Likewise.
34851         (cosh_test_downward): Likewise.
34852         (cosh_upward_test_data): Likewise.
34853         (cosh_test_upward): Likewise.
34854         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34855         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34856         (ctan_test_data): Likewise.
34857         (ctan_test): Use ALL_RM_TEST.
34858         (ctan_tonearest_test_data): Remove.
34859         (ctan_test_tonearest): Likewise.
34860         (ctan_towardzero_test_data): Likewise.
34861         (ctan_test_towardzero): Likewise.
34862         (ctan_downward_test_data): Likewise.
34863         (ctan_test_downward): Likewise.
34864         (ctan_upward_test_data): Likewise.
34865         (ctan_test_upward): Likewise.
34866         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34867         (ctanh_test): Use ALL_RM_TEST.
34868         (ctanh_tonearest_test_data): Remove.
34869         (ctanh_test_tonearest): Likewise.
34870         (ctanh_towardzero_test_data): Likewise.
34871         (ctanh_test_towardzero): Likewise.
34872         (ctanh_downward_test_data): Likewise.
34873         (ctanh_test_downward): Likewise.
34874         (ctanh_upward_test_data): Likewise.
34875         (ctanh_test_upward): Likewise.
34876         (erf_test_data): Update call to AUTO_TESTS_f_f.
34877         (erfc_test_data): Likewise.
34878         (exp_test_data): Likewise.
34879         (exp_test): Use ALL_RM_TEST.
34880         (exp_tonearest_test_data): Remove.
34881         (exp_test_tonearest): Likewise.
34882         (exp_towardzero_test_data): Likewise.
34883         (exp_test_towardzero): Likewise.
34884         (exp_downward_test_data): Likewise.
34885         (exp_test_downward): Likewise.
34886         (exp_upward_test_data): Likewise.
34887         (exp_test_upward): Likewise.
34888         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34889         (exp10_test): Use ALL_RM_TEST.
34890         (exp10_tonearest_test_data): Remove.
34891         (exp10_test_tonearest): Likewise.
34892         (exp10_towardzero_test_data): Likewise.
34893         (exp10_test_towardzero): Likewise.
34894         (exp10_downward_test_data): Likewise.
34895         (exp10_test_downward): Likewise.
34896         (exp10_upward_test_data): Likewise.
34897         (exp10_test_upward): Likewise.
34898         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34899         (expm1_test_data): Likewise.
34900         (expm1_test): Use ALL_RM_TEST.
34901         (expm1_tonearest_test_data): Remove.
34902         (expm1_test_tonearest): Likewise.
34903         (expm1_towardzero_test_data): Likewise.
34904         (expm1_test_towardzero): Likewise.
34905         (expm1_downward_test_data): Likewise.
34906         (expm1_test_downward): Likewise.
34907         (expm1_upward_test_data): Likewise.
34908         (expm1_test_upward): Likewise.
34909         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34910         (fma_test): Use ALL_RM_TEST.
34911         (fma_towardzero_test_data): Remove.
34912         (fma_test_towardzero): Likewise.
34913         (fma_downward_test_data): Likewise.
34914         (fma_test_downward): Likewise.
34915         (fma_upward_test_data): Likewise.
34916         (fma_test_upward): Likewise.
34917         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34918         (j0_test_data): Update call to AUTO_TESTS_f_f.
34919         (j1_test_data): Likewise.
34920         (jn_test_data): Update call to AUTO_TESTS_if_f.
34921         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34922         (log_test_data): Update call to AUTO_TESTS_f_f.
34923         (log10_test_data): Likewise.
34924         (log1p_test_data): Likewise.
34925         (log2_test_data): Likewise.
34926         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34927         (pow_tonearest_test_data): Likewise.
34928         (sin_test_data): Update call to AUTO_TESTS_f_f.
34929         (sin_test): Use ALL_RM_TEST.
34930         (sin_tonearest_test_data): Remove.
34931         (sin_test_tonearest): Likewise.
34932         (sin_towardzero_test_data): Likewise.
34933         (sin_test_towardzero): Likewise.
34934         (sin_downward_test_data): Likewise.
34935         (sin_test_downward): Likewise.
34936         (sin_upward_test_data): Likewise.
34937         (sin_test_upward): Likewise.
34938         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34939         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34940         (sinh_test): Use ALL_RM_TEST.
34941         (sinh_tonearest_test_data): Remove.
34942         (sinh_test_tonearest): Likewise.
34943         (sinh_towardzero_test_data): Likewise.
34944         (sinh_test_towardzero): Likewise.
34945         (sinh_downward_test_data): Likewise.
34946         (sinh_test_downward): Likewise.
34947         (sinh_upward_test_data): Likewise.
34948         (sinh_test_upward): Likewise.
34949         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34950         (sqrt_test): Use ALL_RM_TEST.
34951         (sqrt_tonearest_test_data): Remove.
34952         (sqrt_test_tonearest): Likewise.
34953         (sqrt_towardzero_test_data): Likewise.
34954         (sqrt_test_towardzero): Likewise.
34955         (sqrt_downward_test_data): Likewise.
34956         (sqrt_test_downward): Likewise.
34957         (sqrt_upward_test_data): Likewise.
34958         (sqrt_test_upward): Likewise.
34959         (tan_test_data): Update call to AUTO_TESTS_f_f.
34960         (tan_test): Use ALL_RM_TEST.
34961         (tan_tonearest_test_data): Remove.
34962         (tan_test_tonearest): Likewise.
34963         (tan_towardzero_test_data): Likewise.
34964         (tan_test_towardzero): Likewise.
34965         (tan_downward_test_data): Likewise.
34966         (tan_test_downward): Likewise.
34967         (tan_upward_test_data): Likewise.
34968         (tan_test_upward): Likewise.
34969         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34970         (tgamma_test_data): Likewise.
34971         (y0_test_data): Likewise.
34972         (y1_test_data): Likewise.
34973         (yn_test_data): Update call to AUTO_TESTS_if_f.
34974         (main): Do not call removed functions.
34976 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34978         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34979         (ldexp_test_data): Remove.
34980         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34981         scalbn_test_data.
34982         (scalb_test): Use ALL_RM_TEST.
34984 2014-03-19  Andreas Schwab  <schwab@suse.de>
34986         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34988 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34990         [BZ #16649]
34991         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34992         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34993         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34995         (__ASSUME_PREADV): Undefine.
34996         (__ASSUME_PWRITEV): Likewise.
34998 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35000         * bits/mman-linux.h: Add comment about non-Linux use.
35001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35002         bits/mman-linux.h resting place.
35004         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35005         * bits/mman-linux.h: ... here.
35007 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35009         * conform/conformtest.pl: Add standard definition when calling C
35010         preprocessor on data files.
35011         (checknamespace): Remove unused variable.
35013 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35015         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35016         minus_oflow, plus_uflow and minus_uflow in expected results.
35017         * math/libm-test.inc (scalbn_test_data): Add more tests of
35018         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35019         minus_uflow.
35020         (scalbn_test): Use ALL_RM_TEST.
35021         (scalbln_test_data): Add more tests of negative arguments.  Use
35022         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35023         (scalbln_test): Use ALL_RM_TEST.
35025 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35027         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35029 2014-03-18  Will Newton  <will.newton@linaro.org>
35031         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35032         inaccurate comment.
35034 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35036         * Makerules [!subdir] (check-abi): Exit with error status if a
35037         test failed.
35039 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35041         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35042         for rint.  Include results for all rounding modes.
35043         (nearbyint_test): Use ALL_RM_TEST.
35044         (rint_test_data): Include all tests used for nearbyint.
35046 2014-03-17  Will Newton  <will.newton@linaro.org>
35048         * nptl/sysdeps/pthread/pthread.h: Revert previous
35049         change.
35051         * sysdeps/generic/ldsodefs.h: Revert previous
35052         change.
35054         * libio/genops.c: Revert previous change.
35055         * libio/libioP.h: Likewise.
35056         * stdio-common/vfprintf.c: Likewise.
35058         * sysdeps/generic/math_private.h: Revert previous
35059         change.
35061         * sysdeps/generic/math_private.h: Check whether
35062         HAVE_RM_CTX is defined with #ifdef rather
35063         than #if.
35065         * argp/argp-fmtstream.h: Check whether
35066         __STRICT_ANSI__ is defined with #ifdef rather
35067         than #if.
35068         * argp/argp.h: Likewise.
35070         * libio/genops.c: Check whether
35071         _IO_JUMPS_OFFSET is defined with #ifdef rather
35072         than #if.
35073         * libio/libioP.h: Likewise.
35074         * stdio-common/vfprintf.c: Likewise.
35076         * sysdeps/generic/ldsodefs.h: Check whether
35077         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35078         than #if.
35080         * nptl/sysdeps/pthread/pthread.h: Check
35081         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35082         its value.
35084 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35086         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35087         setting O_APPEND.
35088         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35089         test case.
35091         [BZ #16680]
35092         * libio/fileops.c (_IO_file_open): Seek to end of file but
35093         don't cache the offset.
35094         (get_file_offset): Remove function.
35095         (do_ftell): Use cached offset when available.
35096         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35097         don't cache the offset.
35098         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35099         case.
35100         (do_one_test): Call it.
35101         (do_ftell_test): Fix up expected old offset for a+ mode.
35102         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35103         available.
35105         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35106         up test status with function return status.
35107         (do_write_test): Likewise.
35108         (do_append_test): Likewise.
35110         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35111         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35112         Remove.
35114 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35116         * math/gen-libm-test.pl (parse_args): Handle results specified for
35117         each rounding mode separately.
35118         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35119         tests and results from lrint_tonearest_test_data,
35120         lrint_towardzero_test_data, lrint_downward_test_data and
35121         lrint_upward_test_data.
35122         (lrint_test): Use ALL_RM_TEST.
35123         (lrint_tonearest_test_data): Remove.
35124         (lrint_test_tonearest): Likewise.
35125         (lrint_towardzero_test_data): Likewise.
35126         (lrint_test_towardzero): Likewise.
35127         (lrint_downward_test_data): Likewise.
35128         (lrint_test_downward): Likewise.
35129         (lrint_upward_test_data): Likewise.
35130         (lrint_test_upward): Likewise.
35131         (llrint_test_data): Merge in per-rounding-mode tests and results
35132         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35133         llrint_downward_test_data and llrint_upward_test_data.
35134         (llrint_test): Use ALL_RM_TEST.
35135         (llrint_tonearest_test_data): Remove.
35136         (llrint_test_tonearest): Likewise.
35137         (llrint_towardzero_test_data): Likewise.
35138         (llrint_test_towardzero): Likewise.
35139         (llrint_downward_test_data): Likewise.
35140         (llrint_test_downward): Likewise.
35141         (llrint_upward_test_data): Likewise.
35142         (llrint_test_upward): Likewise.
35143         (rint_test_data): Merge in per-rounding-mode tests and results
35144         from rint_tonearest_test_data, rint_towardzero_test_data,
35145         rint_downward_test_data and rint_upward_test_data.  Add
35146         per-rounding-mode results for tests not in those arrays.
35147         (rint_test): Use ALL_RM_TEST.
35148         (rint_tonearest_test_data): Remove.
35149         (rint_test_tonearest): Likewise.
35150         (rint_towardzero_test_data): Likewise.
35151         (rint_test_towardzero): Likewise.
35152         (rint_downward_test_data): Likewise.
35153         (rint_test_downward): Likewise.
35154         (rint_upward_test_data): Likewise.
35155         (rint_test_upward): Likewise.
35156         (main): Don't call removed functions.
35158 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35160         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35161         "Compiled on ..." crapola.  It is anti-useful.
35163 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35165         * scripts/evaluate-test.sh: Handle fourth argument to determine
35166         whether test run should stop on failure.
35167         * Makeconfig (stop-on-test-failure): New variable.
35168         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35169         $(stop-on-test-failure).
35170         * Makefile (tests): Give a summary of results from testing and
35171         exit with failure status if they include an ERROR or FAIL.
35172         (xtests): Likewise.
35173         * manual/install.texi (Configuring and compiling): Mention
35174         stop-on-test-failure=y.
35175         * INSTALL: Regenerated.
35177 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35179         * scripts/versionlist.awk: New file.
35180         * Makerules [$(build-shared) = yes]
35181         (postclean-generated): Add Versions.def, not Versions.def.v and
35182         Versions.def.v.i.
35183         ($(common-objpfx)Versions.def.v.i): Target removed.
35184         ($(common-objpfx)Versions.def): New target.
35185         ($(common-objpfx)Versions.all): Depend on that rather that
35186         $(common-objpfx)Versions.def.v.
35187         * Versions.def: File removed.
35189         * Makeconfig (+gccwarn): Add -Wundef.
35190         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35191         a dl-sysdep.h breaking its contract.
35192         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35193         * include/stackinfo.h: New file.
35194         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35195         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35196         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35197         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35198         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35199         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35200         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35201         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35202         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35203         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35204         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35205         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35206         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35207         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35208         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35210 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35212         [BZ #16707]
35213         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35214         implementation.
35215         * math/libm-test.inc (round_test_data): Add more tests.
35217         [BZ #16706]
35218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35219         implementation.
35220         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35222         [BZ #16701]
35223         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35224         implementation.
35225         * math/libm-test.inc (ceil_test_data): Add more tests.
35227         * math/libm-test.inc (trunc_test_data): Add more tests related to
35228         BZ#16414.
35230 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35232         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35233         with #if rather than #ifdef.
35234         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35236 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35238         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35239         first.  Disable AVX-512 GCC support if assembler doesn't support
35240         it.
35241         * sysdeps/x86_64/configure: Regenerated.
35243 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35245         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35246         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35247         (__old_pthread_attr_setstack): Likewise.
35248         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35249         [!_STACK_GROWS_DOWN]: Likewise.
35251 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35253         * config.make.in (have-bash2): Delete.
35254         * configure.ac (libc_cv_have_bash2): Delete.
35255         * configure: Regenerate.
35256         * elf/Makefile (common-ldd-rewrite): Rename to ...
35257         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35258         (sh-ldd-rewrite): Delete.
35259         (bash-ldd-rewrite): Delete.
35260         (have-bash2): Delete checks.
35261         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35262         ldd-rewrite.
35264         * config.make.in (have-ksh): Delete.
35265         (KSH): Delete.
35266         * configure.ac (libc_cv_have_ksh): Delete.
35267         * configure: Regenerate.
35269         * elf/Makefile: Delete $(have-ksh) check.
35270         ($(objpfx)sotruss): Change KSH to BASH.
35271         * elf/sotruss.ksh: Rename to ...
35272         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35273         function style to match POSIX.  Drop ksh vim mode setting.
35275         * manual/time.texi (Specifying the Time Zone with TZ): Change
35276         Tuesday to Thursday.
35278         * debug/tst-longjmp_chk2.c: Update header comment.
35279         (stackoverflow_handler): Add comment.  Call assert on pass value.
35281 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35283         [BZ #16194]
35284         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35285         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35286         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35287         (La_x86_64_vector): Add zmm.
35288         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35289         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35290         ($(objpfx)tst-audit10): New target.
35291         ($(objpfx)tst-audit10.out): Likewise.
35292         (tst-audit10-ENV): New.
35293         (AVX512-CFLAGS): Likewise.
35294         (CFLAGS-tst-audit10.c): Likewise.
35295         (CFLAGS-tst-auditmod10a.c): Likewise.
35296         (CFLAGS-tst-auditmod10b.c): Likewise.
35297         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35298         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35299         * sysdeps/x86_64/configure: Regenerated.
35300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35301         AVX-512 zmm register support.
35302         (_dl_x86_64_save_sse): Likewise.
35303         (_dl_x86_64_restore_sse): Likewise.
35304         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35305         size vector registers.
35306         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35307         (ZMM_SIZE): Likewise.
35308         * sysdeps/x86_64/tst-audit10.c: New file.
35309         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35310         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35312 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35314         * configure.ac (HAVE_EHDR_START): New check.
35315         * configure: Regenerated.
35316         * config.h.in (HAVE_EHDR_START): New #undef.
35317         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35318         assuming the lowest-addressed segment maps the start of the file.
35320 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35322         * INSTALL: Regenerated.
35324 2014-03-13  Will Newton  <will.newton@linaro.org>
35326         * manual/setjmp.texi (System V contexts): Improve
35327         clarity and grammar of documentation.
35329 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35331         [BZ #16381]
35332         * elf/Makefile (tests): Add tst-pie2.
35333         (tests-pie): Add tst-pie2.
35334         * elf/tst-pie2.c: New file.
35335         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35336         for ET_EXEC.
35337         * elf/rtld.c (map_doit): Load executable as lt_executable.
35338         (dl_main): Likewise.
35340 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35342         [BZ #16642]
35343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35344         (__ASSUME_PSELECT): Undefine.
35346 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35348         [BZ #16689]
35349         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35350         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35351         static build.
35352         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35353         selector for static builds.
35355 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35357         [BZ #16695]
35358         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35359         key in the buffer.
35361 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35363         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35364         IFUNC selector for static builds.
35366 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35368         * sysdeps/mips/math_private.h [__mips_hard_float]
35369         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35370         libc_feresetround_mips_ctx.
35371         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35372         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35373         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35375         [BZ #16677]
35376         * math/s_nextafter.c (__nextafter): Do not return value from
35377         overflowing computation.
35378         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35379         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35380         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35381         Likewise.
35382         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35383         Likewise.
35384         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35385         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35387 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35389         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35390         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35391         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35392         the new mov targetting sp.
35394 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35396         [BZ #16683]
35397         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35398         Define it for static builds as well.
35399         (NO_BZERO_IMPL): Likewise.
35401 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35403         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35404         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35405         multiarch strspn for PPC64.
35406         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35407         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35409         (__libc_ifunc_impl_list): Likewise.
35410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35411         multiarch optimizations
35412         * string/strspn.c (strspn): Using macro to redefine symbol name.
35414 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35415             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35417         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35418         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35419         multiarch strncat for PPC64.
35420         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35421         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35423         (__libc_ifunc_impl_list): Likewise.
35424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35425         multiarch optimizations
35427 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35429         [BZ #16639]
35430         * nscd/nscd.service: Make service type forking.
35432 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35434         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35435         sign in non default rounding modes.
35436         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35438 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35440         * math/libm-test.inc (ALL_RM_TEST): New macro.
35441         (ceil_test): Use ALL_RM_TEST.
35442         (cimag_test): Likewise.
35443         (conj_test): Likewise.
35444         (copysign_test): Likewise.
35445         (cproj_test): Likewise.
35446         (creal_test): Likewise.
35447         (fabs_test): Likewise.
35448         (floor_test): Likewise.
35449         (fmax_test): Likewise.
35450         (fmin_test): Likewise.
35451         (fmod_test): Likewise.
35452         (fpclassify_test): Likewise.
35453         (frexp_test): Likewise.
35454         (ilogb_test): Likewise.
35455         (isfinite_test): Likewise.
35456         (finite_test): Likewise.
35457         (isgreater_test): Likewise.
35458         (isgreaterequal_test): Likewise.
35459         (isinf_test): Likewise.
35460         (isless_test): Likewise.
35461         (islessequal_test): Likewise.
35462         (islessgreater_test): Likewise.
35463         (isnan_test): Likewise.
35464         (isnormal_test): Likewise.
35465         (issignaling_test): Likewise.
35466         (isunordered_test): Likewise.
35467         (logb_test): Likewise.
35468         (logb_downward_test_data): Remove.
35469         (logb_test_downward): Likewise.
35470         (lround_test): Use ALL_RM_TEST.
35471         (llround_test): Likewise.
35472         (modf_test): Likewise.
35473         (nexttoward_test): Likewise.
35474         (remainder_test): Likewise.
35475         (drem_test): Likewise.
35476         (remainder_tonearest_test_data): Likewise.
35477         (remainder_test_tonearest): Likewise.
35478         (drem_test_tonearest): Likewise.
35479         (remainder_towardzero_test_data): Likewise.
35480         (remainder_test_towardzero): Likewise.
35481         (drem_test_towardzero): Likewise.
35482         (remainder_downward_test_data): Likewise.
35483         (remainder_test_downward): Likewise.
35484         (drem_test_downward): Likewise.
35485         (remainder_upward_test_data): Likewise.
35486         (remainder_test_upward): Likewise.
35487         (drem_test_upward): Likewise.
35488         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35489         (round_test): Use ALL_RM_TEST.
35490         (signbit_test): Likewise.
35491         (trunc_test): Likewise.
35492         (significand_test): Likewise.
35493         (main): Don't call removed functions.
35495 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35497         [BZ #16674]
35498         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35499         || __USE_XOPEN2K8].
35500         (ILL_ILLOPN): Likewise.
35501         (ILL_ILLADR): Likewise.
35502         (ILL_ILLTRP): Likewise.
35503         (ILL_PRVOPC): Likewise.
35504         (ILL_PRVREG): Likewise.
35505         (ILL_COPROC): Likewise.
35506         (ILL_BADSTK): Likewise.
35507         (FPE_INTDIV): Likewise.
35508         (FPE_INTOVF): Likewise.
35509         (FPE_FLTDIV): Likewise.
35510         (FPE_FLTOVF): Likewise.
35511         (FPE_FLTUND): Likewise.
35512         (FPE_FLTRES): Likewise.
35513         (FPE_FLTINV): Likewise.
35514         (FPE_FLTSUB): Likewise.
35515         (SEGV_MAPERR): Likewise.
35516         (SEGV_ACCERR): Likewise.
35517         (BUS_ADRALN): Likewise.
35518         (BUS_ADRERR): Likewise.
35519         (BUS_OBJERR): Likewise.
35520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35521         (TRAP_TRACE): Likewise.
35522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35523         __USE_XOPEN2K8].
35524         (CLD_KILLED): Likewise.
35525         (CLD_DUMPED): Likewise.
35526         (CLD_TRAPPED): Likewise.
35527         (CLD_STOPPED): Likewise.
35528         (CLD_CONTINUED): Likewise.
35529         (POLL_IN): Likewise.
35530         (POLL_OUT): Likewise.
35531         (POLL_MSG): Likewise.
35532         (POLL_ERR): Likewise.
35533         (POLL_PRI): Likewise.
35534         (POLL_HUP): Likewise.
35535         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35536         Likewise.
35537         (ILL_ILLOPN): Likewise.
35538         (ILL_ILLADR): Likewise.
35539         (ILL_ILLTRP): Likewise.
35540         (ILL_PRVOPC): Likewise.
35541         (ILL_PRVREG): Likewise.
35542         (ILL_COPROC): Likewise.
35543         (ILL_BADSTK): Likewise.
35544         (FPE_INTDIV): Likewise.
35545         (FPE_INTOVF): Likewise.
35546         (FPE_FLTDIV): Likewise.
35547         (FPE_FLTOVF): Likewise.
35548         (FPE_FLTUND): Likewise.
35549         (FPE_FLTRES): Likewise.
35550         (FPE_FLTINV): Likewise.
35551         (FPE_FLTSUB): Likewise.
35552         (SEGV_MAPERR): Likewise.
35553         (SEGV_ACCERR): Likewise.
35554         (BUS_ADRALN): Likewise.
35555         (BUS_ADRERR): Likewise.
35556         (BUS_OBJERR): Likewise.
35557         (BUS_MCEERR_AR): Likewise.
35558         (BUS_MCEERR_AO): Likewise.
35559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35560         (TRAP_TRACE): Likewise.
35561         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35562         __USE_XOPEN2K8].
35563         (CLD_KILLED): Likewise.
35564         (CLD_DUMPED): Likewise.
35565         (CLD_TRAPPED): Likewise.
35566         (CLD_STOPPED): Likewise.
35567         (CLD_CONTINUED): Likewise.
35568         (POLL_IN): Likewise.
35569         (POLL_OUT): Likewise.
35570         (POLL_MSG): Likewise.
35571         (POLL_ERR): Likewise.
35572         (POLL_PRI): Likewise.
35573         (POLL_HUP): Likewise.
35574         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35575         (ILL_ILLOPN): Likewise.
35576         (ILL_ILLADR): Likewise.
35577         (ILL_ILLTRP): Likewise.
35578         (ILL_PRVOPC): Likewise.
35579         (ILL_PRVREG): Likewise.
35580         (ILL_COPROC): Likewise.
35581         (ILL_BADSTK): Likewise.
35582         (FPE_INTDIV): Likewise.
35583         (FPE_INTOVF): Likewise.
35584         (FPE_FLTDIV): Likewise.
35585         (FPE_FLTOVF): Likewise.
35586         (FPE_FLTUND): Likewise.
35587         (FPE_FLTRES): Likewise.
35588         (FPE_FLTINV): Likewise.
35589         (FPE_FLTSUB): Likewise.
35590         (SEGV_MAPERR): Likewise.
35591         (SEGV_ACCERR): Likewise.
35592         (BUS_ADRALN): Likewise.
35593         (BUS_ADRERR): Likewise.
35594         (BUS_OBJERR): Likewise.
35595         (BUS_MCEERR_AR): Likewise.
35596         (BUS_MCEERR_AO): Likewise.
35597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35598         (TRAP_TRACE): Likewise.
35599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35600         __USE_XOPEN2K8].
35601         (CLD_KILLED): Likewise.
35602         (CLD_DUMPED): Likewise.
35603         (CLD_TRAPPED): Likewise.
35604         (CLD_STOPPED): Likewise.
35605         (CLD_CONTINUED): Likewise.
35606         (POLL_IN): Likewise.
35607         (POLL_OUT): Likewise.
35608         (POLL_MSG): Likewise.
35609         (POLL_ERR): Likewise.
35610         (POLL_PRI): Likewise.
35611         (POLL_HUP): Likewise.
35612         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35613         Likewise.
35614         (ILL_ILLOPN): Likewise.
35615         (ILL_ILLADR): Likewise.
35616         (ILL_ILLTRP): Likewise.
35617         (ILL_PRVOPC): Likewise.
35618         (ILL_PRVREG): Likewise.
35619         (ILL_COPROC): Likewise.
35620         (ILL_BADSTK): Likewise.
35621         (ILL_BADIADDR): Likewise.
35622         (ILL_BREAK): Likewise.
35623         (FPE_INTDIV): Likewise.
35624         (FPE_INTOVF): Likewise.
35625         (FPE_FLTDIV): Likewise.
35626         (FPE_FLTOVF): Likewise.
35627         (FPE_FLTUND): Likewise.
35628         (FPE_FLTRES): Likewise.
35629         (FPE_FLTINV): Likewise.
35630         (FPE_FLTSUB): Likewise.
35631         (FPE_DECOVF): Likewise.
35632         (FPE_DECDIV): Likewise.
35633         (FPE_DECERR): Likewise.
35634         (FPE_INVASC): Likewise.
35635         (FPE_INVDEC): Likewise.
35636         (SEGV_MAPERR): Likewise.
35637         (SEGV_ACCERR): Likewise.
35638         (SEGV_PSTKOVF): Likewise.
35639         (BUS_ADRALN): Likewise.
35640         (BUS_ADRERR): Likewise.
35641         (BUS_OBJERR): Likewise.
35642         (BUS_MCEERR_AR): Likewise.
35643         (BUS_MCEERR_AO): Likewise.
35644         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35645         (TRAP_TRACE): Likewise.
35646         (TRAP_BRANCH): Likewise.
35647         (TRAP_HWBKPT): Likewise.
35648         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35649         __USE_XOPEN2K8].
35650         (CLD_KILLED): Likewise.
35651         (CLD_DUMPED): Likewise.
35652         (CLD_TRAPPED): Likewise.
35653         (CLD_STOPPED): Likewise.
35654         (CLD_CONTINUED): Likewise.
35655         (POLL_IN): Likewise.
35656         (POLL_OUT): Likewise.
35657         (POLL_MSG): Likewise.
35658         (POLL_ERR): Likewise.
35659         (POLL_PRI): Likewise.
35660         (POLL_HUP): Likewise.
35661         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35662         (ILL_ILLOPN): Likewise.
35663         (ILL_ILLADR): Likewise.
35664         (ILL_ILLTRP): Likewise.
35665         (ILL_PRVOPC): Likewise.
35666         (ILL_PRVREG): Likewise.
35667         (ILL_COPROC): Likewise.
35668         (ILL_BADSTK): Likewise.
35669         (FPE_INTDIV): Likewise.
35670         (FPE_INTOVF): Likewise.
35671         (FPE_FLTDIV): Likewise.
35672         (FPE_FLTOVF): Likewise.
35673         (FPE_FLTUND): Likewise.
35674         (FPE_FLTRES): Likewise.
35675         (FPE_FLTINV): Likewise.
35676         (FPE_FLTSUB): Likewise.
35677         (SEGV_MAPERR): Likewise.
35678         (SEGV_ACCERR): Likewise.
35679         (BUS_ADRALN): Likewise.
35680         (BUS_ADRERR): Likewise.
35681         (BUS_OBJERR): Likewise.
35682         (BUS_MCEERR_AR): Likewise.
35683         (BUS_MCEERR_AO): Likewise.
35684         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35685         (TRAP_TRACE): Likewise.
35686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35687         __USE_XOPEN2K8].
35688         (CLD_KILLED): Likewise.
35689         (CLD_DUMPED): Likewise.
35690         (CLD_TRAPPED): Likewise.
35691         (CLD_STOPPED): Likewise.
35692         (CLD_CONTINUED): Likewise.
35693         (POLL_IN): Likewise.
35694         (POLL_OUT): Likewise.
35695         (POLL_MSG): Likewise.
35696         (POLL_ERR): Likewise.
35697         (POLL_PRI): Likewise.
35698         (POLL_HUP): Likewise.
35699         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35700         (ILL_ILLOPN): Likewise.
35701         (ILL_ILLADR): Likewise.
35702         (ILL_ILLTRP): Likewise.
35703         (ILL_PRVOPC): Likewise.
35704         (ILL_PRVREG): Likewise.
35705         (ILL_COPROC): Likewise.
35706         (ILL_BADSTK): Likewise.
35707         (FPE_INTDIV): Likewise.
35708         (FPE_INTOVF): Likewise.
35709         (FPE_FLTDIV): Likewise.
35710         (FPE_FLTOVF): Likewise.
35711         (FPE_FLTUND): Likewise.
35712         (FPE_FLTRES): Likewise.
35713         (FPE_FLTINV): Likewise.
35714         (FPE_FLTSUB): Likewise.
35715         (SEGV_MAPERR): Likewise.
35716         (SEGV_ACCERR): Likewise.
35717         (BUS_ADRALN): Likewise.
35718         (BUS_ADRERR): Likewise.
35719         (BUS_OBJERR): Likewise.
35720         (BUS_MCEERR_AR): Likewise.
35721         (BUS_MCEERR_AO): Likewise.
35722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35723         (TRAP_TRACE): Likewise.
35724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35725         __USE_XOPEN2K8].
35726         (CLD_KILLED): Likewise.
35727         (CLD_DUMPED): Likewise.
35728         (CLD_TRAPPED): Likewise.
35729         (CLD_STOPPED): Likewise.
35730         (CLD_CONTINUED): Likewise.
35731         (POLL_IN): Likewise.
35732         (POLL_OUT): Likewise.
35733         (POLL_MSG): Likewise.
35734         (POLL_ERR): Likewise.
35735         (POLL_PRI): Likewise.
35736         (POLL_HUP): Likewise.
35737         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35738         (ILL_ILLOPN): Likewise.
35739         (ILL_ILLADR): Likewise.
35740         (ILL_ILLTRP): Likewise.
35741         (ILL_PRVOPC): Likewise.
35742         (ILL_PRVREG): Likewise.
35743         (ILL_COPROC): Likewise.
35744         (ILL_BADSTK): Likewise.
35745         (FPE_INTDIV): Likewise.
35746         (FPE_INTOVF): Likewise.
35747         (FPE_FLTDIV): Likewise.
35748         (FPE_FLTOVF): Likewise.
35749         (FPE_FLTUND): Likewise.
35750         (FPE_FLTRES): Likewise.
35751         (FPE_FLTINV): Likewise.
35752         (FPE_FLTSUB): Likewise.
35753         (SEGV_MAPERR): Likewise.
35754         (SEGV_ACCERR): Likewise.
35755         (BUS_ADRALN): Likewise.
35756         (BUS_ADRERR): Likewise.
35757         (BUS_OBJERR): Likewise.
35758         (BUS_MCEERR_AR): Likewise.
35759         (BUS_MCEERR_AO): Likewise.
35760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35761         (TRAP_TRACE): Likewise.
35762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35763         __USE_XOPEN2K8].
35764         (CLD_KILLED): Likewise.
35765         (CLD_DUMPED): Likewise.
35766         (CLD_TRAPPED): Likewise.
35767         (CLD_STOPPED): Likewise.
35768         (CLD_CONTINUED): Likewise.
35769         (POLL_IN): Likewise.
35770         (POLL_OUT): Likewise.
35771         (POLL_MSG): Likewise.
35772         (POLL_ERR): Likewise.
35773         (POLL_PRI): Likewise.
35774         (POLL_HUP): Likewise.
35775         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35776         (ILL_ILLOPN): Likewise.
35777         (ILL_ILLADR): Likewise.
35778         (ILL_ILLTRP): Likewise.
35779         (ILL_PRVOPC): Likewise.
35780         (ILL_PRVREG): Likewise.
35781         (ILL_COPROC): Likewise.
35782         (ILL_BADSTK): Likewise.
35783         (ILL_DBLFLT): Likewise.
35784         (ILL_HARDWALL): Likewise.
35785         (FPE_INTDIV): Likewise.
35786         (FPE_INTOVF): Likewise.
35787         (FPE_FLTDIV): Likewise.
35788         (FPE_FLTOVF): Likewise.
35789         (FPE_FLTUND): Likewise.
35790         (FPE_FLTRES): Likewise.
35791         (FPE_FLTINV): Likewise.
35792         (FPE_FLTSUB): Likewise.
35793         (SEGV_MAPERR): Likewise.
35794         (SEGV_ACCERR): Likewise.
35795         (BUS_ADRALN): Likewise.
35796         (BUS_ADRERR): Likewise.
35797         (BUS_OBJERR): Likewise.
35798         (BUS_MCEERR_AR): Likewise.
35799         (BUS_MCEERR_AO): Likewise.
35800         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35801         (TRAP_TRACE): Likewise.
35802         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35803         __USE_XOPEN2K8].
35804         (CLD_KILLED): Likewise.
35805         (CLD_DUMPED): Likewise.
35806         (CLD_TRAPPED): Likewise.
35807         (CLD_STOPPED): Likewise.
35808         (CLD_CONTINUED): Likewise.
35809         (POLL_IN): Likewise.
35810         (POLL_OUT): Likewise.
35811         (POLL_MSG): Likewise.
35812         (POLL_ERR): Likewise.
35813         (POLL_PRI): Likewise.
35814         (POLL_HUP): Likewise.
35815         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35816         (ILL_ILLOPN): Likewise.
35817         (ILL_ILLADR): Likewise.
35818         (ILL_ILLTRP): Likewise.
35819         (ILL_PRVOPC): Likewise.
35820         (ILL_PRVREG): Likewise.
35821         (ILL_COPROC): Likewise.
35822         (ILL_BADSTK): Likewise.
35823         (FPE_INTDIV): Likewise.
35824         (FPE_INTOVF): Likewise.
35825         (FPE_FLTDIV): Likewise.
35826         (FPE_FLTOVF): Likewise.
35827         (FPE_FLTUND): Likewise.
35828         (FPE_FLTRES): Likewise.
35829         (FPE_FLTINV): Likewise.
35830         (FPE_FLTSUB): Likewise.
35831         (SEGV_MAPERR): Likewise.
35832         (SEGV_ACCERR): Likewise.
35833         (BUS_ADRALN): Likewise.
35834         (BUS_ADRERR): Likewise.
35835         (BUS_OBJERR): Likewise.
35836         (BUS_MCEERR_AR): Likewise.
35837         (BUS_MCEERR_AO): Likewise.
35838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35839         (TRAP_TRACE): Likewise.
35840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35841         __USE_XOPEN2K8].
35842         (CLD_KILLED): Likewise.
35843         (CLD_DUMPED): Likewise.
35844         (CLD_TRAPPED): Likewise.
35845         (CLD_STOPPED): Likewise.
35846         (CLD_CONTINUED): Likewise.
35847         (POLL_IN): Likewise.
35848         (POLL_OUT): Likewise.
35849         (POLL_MSG): Likewise.
35850         (POLL_ERR): Likewise.
35851         (POLL_PRI): Likewise.
35852         (POLL_HUP): Likewise.
35853         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35854         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35856         [BZ #16670]
35857         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35858         before #include of <time.h>.
35859         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35860         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35861         (test-xfail-UNIX98/sched.h/conform): Likewise.
35863 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35865         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35866         error absence of trapping exception support.
35867         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35869 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35871         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35872         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35873         * timezone/Makefile (testdata): Move definition above include of
35874         Rules.
35875         (test-zones): New variable.
35876         (tests-special): Add zone files.
35877         (build-testdata): Use $(evaluate-test).
35879         * elf/Makefile (tests-special): Rename tests to end with .out.
35880         ($(objpfx)noload-mem): Likewise.
35881         ($(objpfx)tst-leaks1-mem): Likewise.
35882         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35883         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35884         $(objpfx)test-iconvconfig.out.
35885         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35886         set -e inside subshell and redirect output to file.
35887         * iconvdata/Makefile (generated): Rename tests to end with .out.
35888         Correct type.
35889         (tests-special): Rename tests to end with .out.
35890         ($(objpfx)mtrace-tst-loading): Likewise.
35891         * intl/Makefile (generated): Likewise.
35892         (tests-special): Likewise.
35893         ($(objpfx)mtrace-tst-gettext): Likewise.
35894         * misc/Makefile (generated): Likewise.
35895         (tests-special): Likewise.
35896         ($(objpfx)tst-error1-mem): Likewise.
35897         * nptl/Makefile (tests-special): Likewise.
35898         ($(objpfx)tst-stack3-mem): Likewise.
35899         (generated): Likewise.
35900         * posix/Makefile (generated): Likewise.
35901         (tests-special): Likewise.
35902         (xtests-special): Likewise.
35903         ($(objpfx)tst-fnmatch-mem): Likewise.
35904         ($(objpfx)bug-regex2-mem): Likewise.
35905         ($(objpfx)bug-regex14-mem): Likewise.
35906         ($(objpfx)bug-regex21-mem): Likewise.
35907         ($(objpfx)bug-regex31-mem): Likewise.
35908         ($(objpfx)tst-vfork3-mem): Likewise.
35909         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35910         ($(objpfx)tst-pcre-mem): Likewise.
35911         ($(objpfx)tst-boost-mem): Likewise.
35912         ($(objpfx)bug-ga2-mem): Likewise.
35913         ($(objpfx)bug-glob2-mem): Likewise.
35914         * resolv/Makefile (generate): Likewise.
35915         (tests-special): Likewise.
35916         (xtests-special): Likewise.
35917         (generated): Likewise.
35918         ($(objpfx)mtrace-tst-leaks): Likewise.
35919         ($(objpfx)mtrace-tst-leaks2): Likewise.
35921         * scripts/merge-test-results.sh: New file.
35922         * Makefile (tests-special-notdir): New variable.
35923         (tests): Run merge-test-results.sh.
35924         (xtests): Likewise.
35925         * Rules (tests-special-notdir): New variable.
35926         (xtests-special-notdir): Likewise.
35927         (tests): Run merge-test-results.sh
35928         (xtests): Likewise.
35930         * Makeconfig (test-xfail-name): New variable.
35931         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35932         compute variable name for expected failures.
35933         * conform/Makefile (conformtest-headers-data): New variable.
35934         (conformtest-standards): Likewise.
35935         (conformtest-headers-ISO): Likewise.
35936         (conformtest-headers-ISO99): Likewise.
35937         (conformtest-headers-ISO11): Likewise.
35938         (conformtest-headers-POSIX): Likewise.
35939         (conformtest-headers-XPG3): Likewise.
35940         (conformtest-headers-XPG4): Likewise.
35941         (conformtest-headers-UNIX98): Likewise.
35942         (conformtest-headers-XOPEN2K): Likewise.
35943         (conformtest-headers-POSIX2008): Likewise.
35944         (conformtest-headers-XOPEN2K8): Likewise.
35945         (conformtest-header-list-base): Likewise.
35946         (conformtest-header-list-tests): Likewise.
35947         (conformtest-header-base): Likewise.
35948         (conformtest-header-tests): Likewise.
35949         (tests-special): Add $(conformtest-header-list-tests).  If
35950         [$(fast-check) && !$(cross-compiling)], add
35951         $(conformtest-header-tests) instead of
35952         $(objpfx)run-conformtest.out.
35953         (generated): Add $(conformtest-header-list-base).  If
35954         [$(fast-check) && !$(cross-compiling)], add
35955         $(conformtest-header-base).  Remove previous setting.
35956         ($(conformtest-header-list-tests)): New target.
35957         (test-xfail-run-conformtest): Remove variable.
35958         ($(objpfx)run-conformtest.out): Remove target.
35959         (test-xfail-ISO11/complex.h/conform): New variable.
35960         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35961         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35962         (test-xfail-XPG3/varargs.h/conform): Likewise.
35963         (test-xfail-XPG4/varargs.h/conform): Likewise.
35964         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35965         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35966         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35967         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35968         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35969         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35970         (test-xfail-XPG3/ftw.h/conform): Likewise.
35971         (test-xfail-XPG3/grp.h/conform): Likewise.
35972         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35973         (test-xfail-XPG3/limits.h/conform): Likewise.
35974         (test-xfail-XPG3/pwd.h/conform): Likewise.
35975         (test-xfail-XPG3/search.h/conform): Likewise.
35976         (test-xfail-XPG3/signal.h/conform): Likewise.
35977         (test-xfail-XPG3/stdio.h/conform): Likewise.
35978         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35979         (test-xfail-XPG3/string.h/conform): Likewise.
35980         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35981         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35982         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35983         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35984         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35985         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35986         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35987         (test-xfail-XPG3/termios.h/conform): Likewise.
35988         (test-xfail-XPG3/time.h/conform): Likewise.
35989         (test-xfail-XPG3/unistd.h/conform): Likewise.
35990         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35991         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35992         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35993         (test-xfail-XPG4/netdb.h/conform): Likewise.
35994         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35995         (test-xfail-XPG4/signal.h/conform): Likewise.
35996         (test-xfail-XPG4/stdio.h/conform): Likewise.
35997         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35998         (test-xfail-XPG4/stropts.h/conform): Likewise.
35999         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36000         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36001         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36002         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36003         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36004         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36005         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36006         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36007         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36008         (test-xfail-XPG4/termios.h/conform): Likewise.
36009         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36010         (test-xfail-XPG4/unistd.h/conform): Likewise.
36011         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36012         (test-xfail-POSIX/sched.h/conform): Likewise.
36013         (test-xfail-POSIX/signal.h/conform): Likewise.
36014         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36015         (test-xfail-POSIX/tar.h/conform): Likewise.
36016         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36017         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36018         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36019         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36020         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36021         (test-xfail-UNIX98/sched.h/conform): Likewise.
36022         (test-xfail-UNIX98/signal.h/conform): Likewise.
36023         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36024         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36025         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36026         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36027         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36028         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36029         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36030         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36031         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36032         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36033         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36034         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36035         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36036         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36037         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36038         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36039         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36040         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36041         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36042         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36043         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36044         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36045         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36046         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36047         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36048         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36049         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36050         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36051         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36052         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36053         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36054         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36055         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36056         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36057         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36058         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36059         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36060         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36061         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36062         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36063         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36064         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36065         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36066         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36067         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36068         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36069         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36070         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36071         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36072         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36073         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36074         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36075         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36076         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36077         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36078         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36079         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36080         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36081         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36082         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36083         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36084         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36085         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36086         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36087         (conformtest-cc-flags): Likewise.
36088         ($(conformtest-header-tests): New target.
36089         * conform/check-header-lists.sh: New file.
36090         * conform/run-conformtest.sh: Remove.
36092         * conform/conformtest.pl: Allow ' and \ in values given for
36093         constants.
36094         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36095         inclusion.
36096         [POSIX] (sys/types.h): Likewise.
36097         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36098         inclusion.
36099         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36100         inclusion.
36101         * conform/data/signal.h-data (SIGIO): Remove expectation.
36102         [XPG3] (SIGBUS): Do not expect.
36103         [POSIX || XPG3] (SIGPOLL): Likewise.
36104         [POSIX || XPG3] (SIGPROF): Likewise.
36105         [POSIX || XPG3] (SIGSYS): Likewise.
36106         [XPG3] (SIGTRAP): Likewise.
36107         [POSIX || XPG3] (SIGURG): Likewise.
36108         [POSIX || XPG3] (SIGVTALRM): Likewise.
36109         [POSIX || XPG3] (SIGXCPU): Likewise.
36110         [POSIX || XPG3] (SIGXFSZ): Likewise.
36111         [POSIX] (SA_SIGINFO): Expect.
36112         [XPG3] (siginfo_t): Do not expect type or contents.
36113         [POSIX] (si_pid): Do not expect element.
36114         [POSIX] (si_uid): Likewise.
36115         [POSIX] (si_addr): Likewise.
36116         [POSIX] (si_status): Likewise.
36117         [POSIX] (si_band): Likewise.
36118         [XPG4] (si_value): Likewise.
36119         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36120         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36121         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36122         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36123         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36124         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36125         [POSIX || XPG3] (ILL_COPROC): Likewise.
36126         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36127         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36128         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36129         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36130         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36131         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36132         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36133         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36134         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36135         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36136         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36137         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36138         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36139         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36140         [POSIX || XPG3] (CLD_EXITED): Likewise.
36141         [POSIX || XPG3] (CLD_KILLED): Likewise.
36142         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36143         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36144         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36145         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36146         [POSIX || XPG3] (POLL_IN): Likewise.
36147         [POSIX || XPG3] (POLL_OUT): Likewise.
36148         [POSIX || XPG3] (POLL_MSG): Likewise.
36149         [POSIX || XPG3] (POLL_ERR): Likewise.
36150         [POSIX || XPG3] (POLL_PRI): Likewise.
36151         [POSIX || XPG3] (POLL_HUP): Likewise.
36152         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36153         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36154         (SIG*): Do not allow.
36155         [XPG3] (si_*): Likewise.
36156         [XPG3] (SI_*): Likewise.
36157         [XPG3 || XPG4] (sigev_*): Likewise.
36158         [XPG3 || XPG4] (SIGEV_*): Likewise.
36159         [XPG3 || XPG4] (sival_*): Likewise.
36160         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36161         [POSIX || XPG3] (BUS_*): Likewise.
36162         [POSIX || XPG3] (CLD_*): Likewise.
36163         [POSIX || XPG3] (FPE_*): Likewise.
36164         [POSIX || XPG3] (ILL_*): Likewise.
36165         [POSIX || XPG3] (POLL_*): Likewise.
36166         [POSIX || XPG3] (SEGV_*): Likewise.
36167         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36168         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36169         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36170         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36171         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36172         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36173         Specify type and value.
36174         (TVERSLEN): Likewise.
36175         (REGTYPE): Likewise.
36176         (AREGTYPE): Likewise.
36177         (LNKTYPE): Likewise.
36178         (SYMTYPE): Likewise.
36179         (CHRTYPE): Likewise.
36180         (BLKTYPE): Likewise.
36181         (DIRTYPE): Likewise.
36182         (FIFOTYPE): Likewise.
36183         (CONTTYPE): Likewise.
36184         (TSUID): Likewise.
36185         (TSGID): Likewise.
36186         (TSVTX): Likewise.
36187         (TUREAD): Likewise.
36188         (TUWRITE): Likewise.
36189         (TUEXEC): Likewise.
36190         (TGREAD): Likewise.
36191         (TGWRITE): Likewise.
36192         (TGEXEC): Likewise.
36193         (TOREAD): Likewise.
36194         (TOWRITE): Likewise.
36195         (TOEXEC): Likewise.
36196         [POSIX] (TSVTX): Expect constant.
36198 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36200         * Makefile (tests): Change dependencies to ....
36201         (tests-special): ... additions to this variable.
36202         (tests): Depend on $(tests-special).
36203         * Makerules (check-abi-list): New variable.
36204         (check-abi): Depend on $(check-abi-list).
36205         [$(subdir) = elf] (tests-special): Add
36206         $(objpfx)check-abi-libc.out.
36207         [$(build-shared) = yes && subdir] (tests-special): Add
36208         $(check-abi-list).
36209         [$(build-shared) = yes && subdir] (tests): Do not depend on
36210         check-abi.
36211         * Rules (tests): Depend on $(tests-special).
36212         (xtests): Depend on $(xtests-special).
36213         * catgets/Makefile (tests): Change dependencies to ....
36214         (tests-special): ... additions to this variable.
36215         * conform/Makefile (tests): Change dependencies to ....
36216         (tests-special): ... additions to this variable.
36217         * elf/Makefile (tests): Change dependencies to ....
36218         (tests-special): ... additions to this variable.
36219         * grp/Makefile (tests): Change dependencies to ....
36220         (tests-special): ... additions to this variable.
36221         * iconv/Makefile (xtests): Change dependencies to ....
36222         (xtests-special): ... additions to this variable.
36223         * iconvdata/Makefile (tests): Change dependencies to ....
36224         (tests-special): ... additions to this variable.
36225         * intl/Makefile (tests): Change dependencies to ....
36226         (tests-special): ... additions to this variable.  Also add
36227         $(objpfx)tst-gettext.out.
36228         * io/Makefile (tests): Change dependencies to ....
36229         (tests-special): ... additions to this variable.
36230         * libio/Makefile (tests): Change dependencies to ....
36231         (tests-special): ... additions to this variable.
36232         * malloc/Makefile (tests): Change dependencies to ....
36233         (tests-special): ... additions to this variable.
36234         * misc/Makefile (tests): Change dependencies to ....
36235         (tests-special): ... additions to this variable.
36236         * nptl/Makefile (tests): Change dependencies to ....
36237         (tests-special): ... additions to this variable.
36238         * nptl_db/Makefile (tests): Change dependencies to ....
36239         (tests-special): ... additions to this variable.
36240         * posix/Makefile (tests): Change dependencies to ....
36241         (tests-special): ... additions to this variable.
36242         (xtests): Change dependencies to ....
36243         (xtests-special): ... additions to this variable.
36244         * resolv/Makefile (tests): Change dependencies to ....
36245         (tests-special): ... additions to this variable.
36246         (xtests): Change dependencies to ....
36247         (xtests-special): ... additions to this variable.
36248         * stdio-common/Makefile (tests): Change dependencies to ....
36249         (tests-special): ... additions to this variable.
36250         (do-tst-unbputc): Remove target.
36251         (do-tst-printf): Likewise.
36252         * stdlib/Makefile (tests): Change dependencies to ....
36253         (tests-special): ... additions to this variable.
36254         * string/Makefile (tests): Change dependencies to ....
36255         (tests-special): ... additions to this variable.
36256         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36257         (tests-special): ... additions to this variable.
36259         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36260         whole file.
36261         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36262         whole file.
36263         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36264         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36266         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36267         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36268         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36269         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36270         * conform/data/libgen.h-data [XPG3]: Likewise.
36271         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36272         * conform/data/ndbm.h-data [XPG3]: Likewise.
36273         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36274         * conform/data/netdb.h-data [XPG3]: Likewise.
36275         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36276         * conform/data/poll.h-data [XPG3]: Likewise.
36277         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36278         * conform/data/strings.h-data [XPG3]: Likewise.
36279         * conform/data/stropts.h-data [XPG3]: Likewise.
36280         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36281         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36282         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36283         Likewise.
36284         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36285         * conform/data/sys/time.h-data [XPG3]: Likewise.
36286         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36287         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36288         * conform/data/sys/un.h-data [XPG3]: Likewise.
36289         * conform/data/syslog.h-data [XPG3]: Likewise.
36290         * conform/data/ucontext.h-data [XPG3]: Likewise.
36291         * conform/data/utmpx.h-data [XPG3]: Likewise.
36292         * conform/data/varargs.h-data [UNIX98]: Enable file.
36294         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36296         * math/libm-test.inc (struct test_f_f_data): Move expected results
36297         into structure for each rounding mode.
36298         (struct test_ff_f_data): Likewise.
36299         (struct test_ff_f_data_nexttoward): Likewise.
36300         (struct test_fi_f_data): Likewise.
36301         (struct test_fl_f_data): Likewise.
36302         (struct test_if_f_data): Likewise.
36303         (struct test_fff_f_data): Likewise.
36304         (struct test_c_f_data): Likewise.
36305         (struct test_f_f1_data): Likewise.
36306         (struct test_fF_f1_data): Likewise.
36307         (struct test_ffI_f1_data): Likewise.
36308         (struct test_c_c_data): Likewise.
36309         (struct test_cc_c_data): Likewise.
36310         (struct test_f_i_data): Likewise.
36311         (struct test_ff_i_data): Likewise.
36312         (struct test_f_l_data): Likewise.
36313         (struct test_f_L_data): Likewise.
36314         (struct test_fFF_11_data): Likewise.
36315         (RM_): New macro.
36316         (RM_FE_DOWNWARD): Likewise.
36317         (RM_FE_TONEAREST): Likewise.
36318         (RM_FE_TOWARDZERO): Likewise.
36319         (RM_FE_UPWARD): Likewise.
36320         (RUN_TEST_LOOP_f_f): Update references to expected results.
36321         (RUN_TEST_LOOP_2_f): Likewise.
36322         (RUN_TEST_LOOP_fff_f): Likewise.
36323         (RUN_TEST_LOOP_c_f): Likewise.
36324         (RUN_TEST_LOOP_f_f1): Likewise.
36325         (RUN_TEST_LOOP_fF_f1): Likewise.
36326         (RUN_TEST_LOOP_fI_f1): Likewise.
36327         (RUN_TEST_LOOP_ffI_f1): Likewise.
36328         (RUN_TEST_LOOP_c_c): Likewise.
36329         (RUN_TEST_LOOP_cc_c): Likewise.
36330         (RUN_TEST_LOOP_f_i): Likewise.
36331         (RUN_TEST_LOOP_f_i_tg): Likewise.
36332         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36333         (RUN_TEST_LOOP_f_b): Likewise.
36334         (RUN_TEST_LOOP_f_b_tg): Likewise.
36335         (RUN_TEST_LOOP_f_l): Likewise.
36336         (RUN_TEST_LOOP_f_L): Likewise.
36337         (RUN_TEST_LOOP_fFF_11): Likewise.
36338         * math/gen-libm-test.pl (parse_args): Output four copies of
36339         expected results for each test.
36341         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36342         (__ASSUME_UTIMES): Remove.
36343         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36344         (__ASSUME_UTIMES): Likewise.
36346         * math/gen-auto-libm-tests.c: Update comment on output format.
36347         (output_for_one_input_case): Generate before-rounding and
36348         after-rounding information as conditions on output flags not
36349         floating-point format.
36350         * math/auto-libm-test-out: Regenerated.
36351         * math/gen-libm-test.pl (cond_value): New function.
36352         (or_cond_value): Use cond_value.
36353         (generate_testfile): Handle conditional exceptions.
36355 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36357         * math/libm-test.inc (max_valid_error): New variable.
36358         (init_max_error): Take new argument specifying whether function
36359         results are exactly determined.  Set max_valid_error and bound
36360         other variables for errors based on this argument.
36361         (set_max_error): Do not record results above max_valid_error.
36362         (check_float_internal): Only accept errors of up to 0.5ulps if
36363         also at most max_valid_error.
36364         (START): Take new argument EXACT and pass it to init_max_error.
36365         (acos_test): Update call to START.
36366         (acos_test_tonearest): Likewise.
36367         (acos_test_towardzero): Likewise.
36368         (acos_test_downward): Likewise.
36369         (acos_test_upward): Likewise.
36370         (acosh_test): Likewise.
36371         (asin_test): Likewise.
36372         (asin_test_tonearest): Likewise.
36373         (asin_test_towardzero): Likewise.
36374         (asin_test_downward): Likewise.
36375         (asin_test_upward): Likewise.
36376         (asinh_test): Likewise.
36377         (atan_test): Likewise.
36378         (atanh_test): Likewise.
36379         (atan2_test): Likewise.
36380         (cabs_test): Likewise.
36381         (cacos_test): Likewise.
36382         (cacosh_test): Likewise.
36383         (carg_test): Likewise.
36384         (casin_test): Likewise.
36385         (casinh_test): Likewise.
36386         (catan_test): Likewise.
36387         (catanh_test): Likewise.
36388         (cbrt_test): Likewise.
36389         (ccos_test): Likewise.
36390         (ccosh_test): Likewise.
36391         (ceil_test): Likewise.
36392         (cexp_test): Likewise.
36393         (cimag_test): Likewise.
36394         (clog_test): Likewise.
36395         (clog10_test): Likewise.
36396         (conj_test): Likewise.
36397         (copysign_test): Likewise.
36398         (cos_test): Likewise.
36399         (cos_test_tonearest): Likewise.
36400         (cos_test_towardzero): Likewise.
36401         (cos_test_downward): Likewise.
36402         (cos_test_upward): Likewise.
36403         (cosh_test): Likewise.
36404         (cosh_test_tonearest): Likewise.
36405         (cosh_test_towardzero): Likewise.
36406         (cosh_test_downward): Likewise.
36407         (cosh_test_upward): Likewise.
36408         (cpow_test): Likewise.
36409         (cproj_test): Likewise.
36410         (creal_test): Likewise.
36411         (csin_test): Likewise.
36412         (csinh_test): Likewise.
36413         (csqrt_test): Likewise.
36414         (ctan_test): Likewise.
36415         (ctan_test_tonearest): Likewise.
36416         (ctan_test_towardzero): Likewise.
36417         (ctan_test_downward): Likewise.
36418         (ctan_test_upward): Likewise.
36419         (ctanh_test): Likewise.
36420         (ctanh_test_tonearest): Likewise.
36421         (ctanh_test_towardzero): Likewise.
36422         (ctanh_test_downward): Likewise.
36423         (ctanh_test_upward): Likewise.
36424         (erf_test): Likewise.
36425         (erfc_test): Likewise.
36426         (exp_test): Likewise.
36427         (exp_test_tonearest): Likewise.
36428         (exp_test_towardzero): Likewise.
36429         (exp_test_downward): Likewise.
36430         (exp_test_upward): Likewise.
36431         (exp10_test): Likewise.
36432         (exp10_test_tonearest): Likewise.
36433         (exp10_test_towardzero): Likewise.
36434         (exp10_test_downward): Likewise.
36435         (exp10_test_upward): Likewise.
36436         (pow10_test): Likewise.
36437         (exp2_test): Likewise.
36438         (expm1_test): Likewise.
36439         (expm1_test_tonearest): Likewise.
36440         (expm1_test_towardzero): Likewise.
36441         (expm1_test_downward): Likewise.
36442         (expm1_test_upward): Likewise.
36443         (fabs_test): Likewise.
36444         (fdim_test): Likewise.
36445         (floor_test): Likewise.
36446         (fma_test): Likewise.
36447         (fma_test_towardzero): Likewise.
36448         (fma_test_downward): Likewise.
36449         (fma_test_upward): Likewise.
36450         (fmax_test): Likewise.
36451         (fmin_test): Likewise.
36452         (fmod_test): Likewise.
36453         (fpclassify_test): Likewise.
36454         (frexp_test): Likewise.
36455         (hypot_test): Likewise.
36456         (ilogb_test): Likewise.
36457         (isfinite_test): Likewise.
36458         (finite_test): Likewise.
36459         (isgreater_test): Likewise.
36460         (isgreaterequal_test): Likewise.
36461         (isinf_test): Likewise.
36462         (isless_test): Likewise.
36463         (islessequal_test): Likewise.
36464         (islessgreater_test): Likewise.
36465         (isnan_test): Likewise.
36466         (isnormal_test): Likewise.
36467         (issignaling_test): Likewise.
36468         (isunordered_test): Likewise.
36469         (j0_test): Likewise.
36470         (j1_test): Likewise.
36471         (jn_test): Likewise.
36472         (ldexp_test): Likewise.
36473         (lgamma_test): Likewise.
36474         (gamma_test): Likewise.
36475         (lrint_test): Likewise.
36476         (lrint_test_tonearest): Likewise.
36477         (lrint_test_towardzero): Likewise.
36478         (lrint_test_downward): Likewise.
36479         (lrint_test_upward): Likewise.
36480         (llrint_test): Likewise.
36481         (llrint_test_tonearest): Likewise.
36482         (llrint_test_towardzero): Likewise.
36483         (llrint_test_downward): Likewise.
36484         (llrint_test_upward): Likewise.
36485         (log_test): Likewise.
36486         (log10_test): Likewise.
36487         (log1p_test): Likewise.
36488         (log2_test): Likewise.
36489         (logb_test): Likewise.
36490         (logb_test_downward): Likewise.
36491         (lround_test): Likewise.
36492         (llround_test): Likewise.
36493         (modf_test): Likewise.
36494         (nearbyint_test): Likewise.
36495         (nextafter_test): Likewise.
36496         (nexttoward_test): Likewise.
36497         (pow_test): Likewise.
36498         (pow_test_tonearest): Likewise.
36499         (pow_test_towardzero): Likewise.
36500         (pow_test_downward): Likewise.
36501         (pow_test_upward): Likewise.
36502         (remainder_test): Likewise.
36503         (drem_test): Likewise.
36504         (remainder_test_tonearest): Likewise.
36505         (drem_test_tonearest): Likewise.
36506         (remainder_test_towardzero): Likewise.
36507         (drem_test_towardzero): Likewise.
36508         (remainder_test_downward): Likewise.
36509         (drem_test_downward): Likewise.
36510         (remainder_test_upward): Likewise.
36511         (drem_test_upward): Likewise.
36512         (remquo_test): Likewise.
36513         (rint_test): Likewise.
36514         (rint_test_tonearest): Likewise.
36515         (rint_test_towardzero): Likewise.
36516         (rint_test_downward): Likewise.
36517         (rint_test_upward): Likewise.
36518         (round_test): Likewise.
36519         (scalb_test): Likewise.
36520         (scalbn_test): Likewise.
36521         (scalbln_test): Likewise.
36522         (signbit_test): Likewise.
36523         (sin_test): Likewise.
36524         (sin_test_tonearest): Likewise.
36525         (sin_test_towardzero): Likewise.
36526         (sin_test_downward): Likewise.
36527         (sin_test_upward): Likewise.
36528         (sincos_test): Likewise.
36529         (sinh_test): Likewise.
36530         (sinh_test_tonearest): Likewise.
36531         (sinh_test_towardzero): Likewise.
36532         (sinh_test_downward): Likewise.
36533         (sinh_test_upward): Likewise.
36534         (sqrt_test): Likewise.
36535         (sqrt_test_tonearest): Likewise.
36536         (sqrt_test_towardzero): Likewise.
36537         (sqrt_test_downward): Likewise.
36538         (sqrt_test_upward): Likewise.
36539         (tan_test): Likewise.
36540         (tan_test_tonearest): Likewise.
36541         (tan_test_towardzero): Likewise.
36542         (tan_test_downward): Likewise.
36543         (tan_test_upward): Likewise.
36544         (tanh_test): Likewise.
36545         (tgamma_test): Likewise.
36546         (trunc_test): Likewise.
36547         (y0_test): Likewise.
36548         (y1_test): Likewise.
36549         (yn_test): Likewise.
36550         (significand_test): Likewise.
36552         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36553         individual tests in comment.
36554         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36555         (prev_max_error): New variable.
36556         (prev_real_max_error): Likewise.
36557         (prev_imag_max_error): Likewise.
36558         (compare_ulp_data): Don't refer to test names in comment.
36559         (find_test_ulps): Remove function.
36560         (find_function_ulps): Likewise.
36561         (find_complex_function_ulps): Likewise.
36562         (init_max_error): Take function name as argument.  Look up ulps
36563         for that function.
36564         (print_ulps): Remove function.
36565         (print_max_error): Use prev_max_error instead of calling
36566         find_function_ulps.
36567         (print_complex_max_error): Use prev_real_max_error and
36568         prev_imag_max_error instead of calling find_complex_function_ulps.
36569         (check_float_internal): Take max_ulp parameter instead of calling
36570         find_test_ulps.  Don't call print_ulps.
36571         (check_float): Update call to check_float_internal.
36572         (check_complex): Update calls to check_float_internal.
36573         (START): Pass argument to init_max_error.
36574         * math/gen-libm-test.pl (%results): Don't include "kind"
36575         information.
36576         (parse_ulps): Don't handle ulps of individual tests.
36577         (print_ulps_file): Likewise.
36578         (output_ulps): Likewise.
36579         * math/README.libm-test: Update.
36580         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36581         individual tests.
36582         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36583         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36584         * sysdeps/arm/libm-test-ulps: Likewise.
36585         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36586         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36587         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36588         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36589         * sysdeps/microblaze/libm-test-ulps: Likewise.
36590         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36591         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36592         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36593         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36594         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36595         * sysdeps/sh/libm-test-ulps: Likewise.
36596         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36597         * sysdeps/tile/libm-test-ulps: Likewise.
36598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36600 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36602         * math/libm-test.inc (print_complex_max_error): Check separately
36603         whether real and imaginary errors are within allowed range and
36604         pass 0 to print_complex_function_ulps instead of value within
36605         allowed range.
36607 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36609         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36610         formatting.
36611         (get_handles_fopen): Likewise.
36612         (do_write_test): Likewise.
36614         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36616         * libio/fileops.c (do_ftell): Use cached offset when
36617         available.
36618         * libio/iofwide.c (do_ftell_wide): Likewise.
36619         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36620         _IO_file_attach.
36621         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36623         [BZ #16532]
36624         * libio/libioP.h (get_file_offset): New function.
36625         * libio/fileops.c (get_file_offset): Likewise.
36626         (do_ftell): Likewise.
36627         (_IO_new_file_seekoff): Split out ftell logic.
36628         * libio/wfileops.c (do_ftell_wide): Likewise.
36629         (_IO_wfile_seekoff): Split out ftell logic.
36630         * libio/tst-ftell-active-handler.c: New test case.
36631         * libio/Makefile (tests): Add it.
36633 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36635         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36636         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36638 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36640         [BZ #16639]
36641         * nscd/connections.c (nscd_init): Call do_exit.
36642         (start_threads): Call do_exit and notify_parent.
36643         (begin_drop_privileges): Call do_exit.
36644         (finish_drop_privileges): Likewise.
36645         * nscd/selinux.c (preserve_capabilities): Likewise.
36646         (install_real_capabilities): Likewise.
36647         (nscd_selinux_enabled): Likewise.
36648         (avc_create_thread): Likewise.
36649         (avc_alloc_lock): Likewise.
36650         (nscd_avc_init): Likewise.
36651         * nscd/nscd.c (parent_fd): New static variable.
36652         (main): Create a pipe between parent and child processes.
36653         Skip closing parent_fd.
36654         (monitor_child): New function.
36655         (do_exit): Likewise.
36656         (notify_parent): Likewise.
36657         * nscd/nscd.h (notify_parent): Likewise.
36658         (do_exit): Likewise.
36660 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36662         * malloc/malloc.c (__libc_calloc): Revert last change.
36664 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36668 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36670         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36672         implementation.
36673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36674         (__libc_ifunc_impl_list): Likewise.
36675         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36676         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36677         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36678         * string/strrchr.c: Define STRRCHR.
36680 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36682         * benchtest/bench-strtok.c (simple_strtok): Delete.
36683         (strtok_string): Use as benchmark.
36684         * string/strtok (STRTOK): New macro.
36686 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36688         * manual/threads.texi: Add header and standard comments to all
36689         functions.
36691         * elf/dl-lookup.c (check_match): New function.
36692         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36693         (do_lookup_x): Remove nested function check_match. Use non-nested
36694         function check_match.
36696 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36698         * csu/Makefile (generated, before-compile): Use += rather than =.
36699         * catgets/Makefile (generated, generated-dirs): Likewise.
36700         * debug/Makefile (generated): Likewise.
36701         * dlfcn/Makefile (generated): Likewise.
36702         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36703         * iconvdata/Makefile (before-compile, generated): Likewise.
36704         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36705         * libio/Makefile (generated): Likewise.
36706         * malloc/Makefile (generated): Likewise.
36707         * manual/Makefile (generated, generated-dirs): Likewise.
36708         * misc/Makefile (generated): Likewise.
36709         * posix/Makefile (generated): Likewise.
36710         * resolv/Makefile (generated): Likewise.
36711         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36712         * timezone/Makefile (generated, generated-dirs): Likewise.
36714         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36716 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36719         power8 implementation.
36720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36721         file: POWER8 llround ifunc implementation.
36722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36723         (__lllround): Add POWER8 implementation.
36724         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36725         POWER8 llround implementation.
36727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36728         power8 implementation.
36729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36730         file: POWER8 llrint ifunc implementation.
36731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36732         Add POWER8 implementation.
36733         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36734         POWER8 llrint implementation.
36736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36737         power8 implementation.
36738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36739         file: POWER8 finite ifunc implementation.
36740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36741         Add POWER8 implementation.
36742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36743         Likewise.
36744         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36745         POWER8 finite implementation.
36746         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36749         power8 implementation.
36750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36751         file: POWER8 isinf ifunc implementation.
36752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36753         POWER8 implementation.
36754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36755         Likewise.
36756         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36757         isinf implementation.
36758         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36760         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36761         (INIT_ARCH): Add hwcap2 initialization.
36762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36763         power8 implementation.
36764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36765         file: POWER8 isnan ifunc implementation.
36766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36767         POWER8 implementation.
36768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36769         Likewise.
36770         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36771         isnan implementation.
36772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36774 2014-02-27  Joey Ye  <joey.ye@arm.com>
36776         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36777         (_FP_NANFRAC_Q): Set to zero.
36779 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36781         [BZ #16623]
36782         * math/auto-libm-test-in: New test inputs.
36783         * math/auto-libm-test-out: Regenerate.
36784         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36785         and DA.
36786         (__cos): Likewise.
36787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36789 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36791         * scripts/evaluate-test.sh: Take new argument indicating whether
36792         failure is expected.
36793         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36794         indicating whether failure is expected.
36795         * conform/Makefile (test-xfail-run-conformtest): New variable.
36796         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36797         level.
36798         * posix/Makefile (test-xfail-annexc): New variable.
36799         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36801 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36803         * argp/Makefile: Include Makeconfig immediately after defining
36804         subdir.
36805         * assert/Makefile: Likewise.
36806         * benchtests/Makefile: Likewise.
36807         * catgets/Makefile: Likewise.
36808         * conform/Makefile: Likewise.
36809         * crypt/Makefile: Likewise.
36810         * csu/Makefile: Likewise.
36811         (all): Remove target.
36812         * ctype/Makefile: Include Makeconfig immediately after defining
36813         subdir.
36814         * debug/Makefile: Likewise.
36815         * dirent/Makefile: Likewise.
36816         * dlfcn/Makefile: Likewise.
36817         * gmon/Makefile: Likewise.
36818         * gnulib/Makefile: Likewise.
36819         * grp/Makefile: Likewise.
36820         * gshadow/Makefile: Likewise.
36821         * hesiod/Makefile: Likewise.
36822         * hurd/Makefile: Likewise.
36823         (all): Remove target.
36824         * iconvdata/Makefile: Include Makeconfig immediately after
36825         defining subdir.
36826         * inet/Makefile: Likewise.
36827         * intl/Makefile: Likewise.
36828         * io/Makefile: Likewise.
36829         * libio/Makefile: Likewise.
36830         (all): Remove target.
36831         * locale/Makefile: Include Makeconfig immediately after defining
36832         subdir.
36833         * login/Makefile: Likewise.
36834         * mach/Makefile: Likewise.
36835         (all): Remove target.
36836         * malloc/Makefile: Include Makeconfig immediately after defining
36837         subdir.
36838         (all): Remove target.
36839         * manual/Makefile: Include Makeconfig immediately after defining
36840         subdir.
36841         * math/Makefile: Likewise.
36842         * misc/Makefile: Likewise.
36843         * nis/Makefile: Likewise.
36844         * nss/Makefile: Likewise.
36845         * po/Makefile: Likewise.
36846         (all): Remove target.
36847         * posix/Makefile: Include Makeconfig immediately after defining
36848         subdir.
36849         * pwd/Makefile: Likewise.
36850         * resolv/Makefile: Likewise.
36851         * resource/Makefile: Likewise.
36852         * rt/Makefile: Likewise.
36853         * setjmp/Makefile: Likewise.
36854         * shadow/Makefile: Likewise.
36855         * signal/Makefile: Likewise.
36856         * socket/Makefile: Likewise.
36857         * soft-fp/Makefile: Likewise.
36858         * stdio-common/Makefile: Likewise.
36859         * stdlib/Makefile: Likewise.
36860         * streams/Makefile: Likewise.
36861         * string/Makefile: Likewise.
36862         * sunrpc/Makefile: Likewise.
36863         (all): Remove target.
36864         * sysvipc/Makefile: Include Makeconfig immediately after defining
36865         subdir.
36866         * termios/Makefile: Likewise.
36867         * time/Makefile: Likewise.
36868         * timezone/Makefile: Likewise.
36869         (all): Remove target.
36870         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36871         subdir.
36872         * wctype/Makefile: Likewise.
36874 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36876         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36877         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36878         (libc_feholdexcept_setround_mips): Ditto.
36879         (libc_feholdsetround): New.
36880         (libc_feholdsetroundf): New.
36881         (libc_feholdsetroundl): New.
36882         (libc_feupdateenv_test_mips): New.
36883         (libc_feupdateenv_test): New.
36884         (libc_feupdateenv_testf): New.
36885         (libc_feupdateenv_testl): New.
36886         (libc_feresetround): New.
36887         (libc_feresetroundf): New.
36888         (libc_feresetroundl): New.
36889         (libc_fetestexcept_mips): New.
36890         (libc_fetestexcept): New.
36891         (libc_fetestexceptf): New.
36892         (libc_fetestexceptl): New.
36893         (HAVE_RM_CTX): New.
36894         (libc_feholdexcept_setround_mips_ctx): New.
36895         (libc_feholdexcept_setround_ctx): New.
36896         (libc_feholdexcept_setroundf_ctx): New.
36897         (libc_feholdexcept_setroundl_ctx): New.
36898         (libc_fesetenv_mips_ctx): New.
36899         (libc_fesetenv_ctx): New.
36900         (libc_fesetenv_ctxf): New.
36901         (libc_fesetenv_ctxl): New.
36902         (libc_feupdateenv_mips_ctx): New.
36903         (libc_feupdateenv_ctx): New.
36904         (libc_feupdateenvf_ctx): New.
36905         (libc_feupdateenvl_ctx): New.
36906         (libc_feholdsetround_mips_ctx): New.
36907         (libc_feholdsetround_ctx): New.
36908         (libc_feholdsetroundf_ctx): New.
36909         (libc_feholdsetroundl_ctx): New.
36910         (libc_feresetround_mips_ctx): New.
36911         (libc_feresetround_ctx): New.
36912         (libc_feresetroundf_ctx): New.
36913         (libc_feresetroundl_ctx): New.
36915 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36917         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36919         * manual/ipc.texi: New file.
36920         * manual/Makefile (chapters): Add ipc.
36921         * manual/job.texi: Add "Inter-Process Communication" to next.
36922         * manual/process.texi: Add "Inter-Process Communication" to prev.
36924 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36928 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36930         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36932         * manual/arith.texi: Fix spaces after sentences.
36933         * manual/charset.texi: Likewise.
36934         * manual/errno.texi: Likewise.
36935         * manual/install.texi: Likewise.
36936         * manual/llio.texi: Likewise.
36937         * manual/locale.texi: Likewise.
36938         * manual/maint.texi: Likewise.
36939         * manual/math.texi: Likewise.
36940         * manual/memory.texi: Likewise.
36941         * manual/message.texi: Likewise.
36942         * manual/probes.texi: Likewise.
36943         * manual/resource.texi: Likewise.
36944         * manual/signal.texi: Likewise.
36945         * manual/socket.texi: Likewise.
36946         * manual/stdio.texi: Likewise.
36947         * manual/string.texi: Likewise.
36948         * manual/time.texi: Likewise.
36949         * manual/users.texi: Likewise.
36951 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36953         [BZ #16632]
36954         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36955         _DEFAULT_SOURCE is defined.
36957 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36958             Carlos O'Donell  <carlos@redhat.com>
36960         [BZ #16613]
36961         * elf/dl-tls.c (_dl_count_modids): New function.
36962         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36963         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36964         audit library and increment generation counter.
36965         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36966         * elf/tst-audit9.c: New file.
36967         * elf/tst-auditmod9a.c: New file.
36968         * elf/tst-auditmod9b.c: New file.
36969         * elf/Makefile: Add rules to build and run tst-audit9.
36971 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36973         [BZ #15347]
36974         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36976 2014-02-25  Will Newton  <will.newton@linaro.org>
36978         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36979         (__longjmp): Restore sp and lr before restoring callee
36980         saved registers.  Add longjmp and longjmp_target
36981         SystemTap probe point.
36982         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36983         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36984         Define to zero to match jmpbuf layout.
36985         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36986         (__sigsetjmp): Save sp and lr before saving callee
36987         saved registers.  Add setjmp SystemTap probe point.
36989 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36991         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36993 2014-02-24  Andreas Schwab  <schwab@suse.de>
36995         [BZ #15804]
36996         * elf/pldd.c (wait_for_ptrace_stop): New function.
36997         (main): Call it after attaching.
36999 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37001         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37002         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37003         Versions files is now verboten.
37004         * hurd/Versions (libc: GLIBC_2.0):
37005         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37006         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37007         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37008         * mach/Versions: Likewise.
37010         * csu/Versions: Remove unused %include.
37011         * resolv/Versions: Likewise.
37013 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37015         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37016         ($(objpfx)check-local-headers.out): Likewise.
37017         ($(objpfx)begin-end-check.out): Likewise.
37018         * Makerules (check-abi-%.out): Likewise.
37019         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37020         ($(objpfx)test2.cat): Likewise.
37021         ($(objpfx)de/libc.cat): Likewise.
37022         ($(objpfx)test-gencat.out): Likewise.
37023         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37024         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37025         ($(objpfx)noload-mem): Likewise.
37026         ($(objpfx)tst-pathopt.out): Likewise.
37027         ($(objpfx)tst-rtld-load-self.out): Likewise.
37028         ($(objpfx)tst-array1-cmp.out): Likewise.
37029         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37030         ($(objpfx)tst-array2-cmp.out): Likewise.
37031         ($(objpfx)tst-array3-cmp.out): Likewise.
37032         ($(objpfx)tst-array4-cmp.out): Likewise.
37033         ($(objpfx)tst-array5-cmp.out): Likewise.
37034         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37035         ($(objpfx)check-textrel.out): Likewise.
37036         ($(objpfx)check-execstack.out): Likewise.
37037         ($(objpfx)check-localplt.out): Likewise.
37038         ($(objpfx)order2-cmp.out): Likewise.
37039         ($(objpfx)tst-leaks1-mem): Likewise.
37040         ($(objpfx)tst-leaks1-static-mem): Likewise.
37041         ($(objpfx)tst-initorder-cmp.out): Likewise.
37042         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37043         ($(objpfx)tst-unused-dep.out): Likewise.
37044         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37045         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37046         * iconv/Makefile (test-iconvconfig): Likewise.
37047         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37048         ($(objpfx)iconv-test.out): Likewise.
37049         ($(objpfx)tst-tables.out): Likewise.
37050         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37051         ($(objpfx)tst-gettext.out): Likewise.
37052         ($(objpfx)tst-translit.out): Likewise.
37053         ($(objpfx)tst-gettext2.out): Likewise.
37054         ($(objpfx)tst-gettext4.out): Likewise.
37055         ($(objpfx)tst-gettext6.out): Likewise.
37056         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37057         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37058         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37059         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37060         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37061         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37062         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37063         ($(objpfx)wordexp-tst.out): Likewise.
37064         ($(objpfx)annexc.out): Likewise.
37065         ($(objpfx)tst-fnmatch-mem): Likewise.
37066         ($(objpfx)bug-regex2-mem): Likewise.
37067         ($(objpfx)bug-regex14-mem): Likewise.
37068         ($(objpfx)bug-regex21-mem): Likewise.
37069         ($(objpfx)bug-regex31-mem): Likewise.
37070         ($(objpfx)tst-vfork3-mem): Likewise.
37071         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37072         ($(objpfx)tst-pcre-mem): Likewise.
37073         ($(objpfx)tst-boost-mem): Likewise.
37074         ($(objpfx)tst-getconf.out): Likewise.
37075         ($(objpfx)bug-ga2-mem): Likewise.
37076         ($(objpfx)bug-glob2-mem): Likewise.
37077         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37078         ($(objpfx)mtrace-tst-leaks2): Likewise.
37079         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37080         ($(objpfx)tst-printf.out): Likewise.
37081         ($(objpfx)tst-setvbuf1.out): Likewise.
37082         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37083         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37084         ($(objpfx)tst-fmtmsg.out): Likewise.
37085         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37086         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37088         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37089         * bits/sigaction.h [__USE_MISC]: Likewise.
37090         * bits/waitstatus.h: Update #endif comments.
37091         * ctype/ctype.h: Likewise.
37092         * dirent/dirent.h: Likewise.
37093         [__USE_MISC]: Remove redundant conditionals.
37094         * grp/grp.h: Update #endif comments.
37095         [__USE_GNU]: Remove redundant conditionals.
37096         [__USE_MISC]: Likewise.
37097         * inet/netinet/in.h [__USE_GNU]: Likewise.
37098         * io/sys/stat.h [__USE_MISC]: Likewise.
37099         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37100         * libio/bits/stdio.h: Update #endif comments.
37101         [__USE_MISC]: Remove redundant conditionals.
37102         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37103         * libio/stdio.h: Update #endif comments.
37104         [__USE_MISC]: Remove redundant conditionals.
37105         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37106         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37107         * math/math.h: Update #else and #endif comments.
37108         [__USE_MISC]: Remove redundant conditionals.
37109         * misc/sys/uio.h: Update #endif comments.
37110         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37111         * posix/glob.h [__USE_MISC]: Likewise.
37112         * posix/sys/types.h: Update #endif comments.
37113         [__USE_MISC]: Remove redundant conditionals.
37114         * posix/sys/wait.h: Update #endif comments.
37115         [__USE_MISC]: Remove redundant conditionals.
37116         * posix/unistd.h: Update #endif comments.
37117         [__USE_MISC]: Remove redundant conditionals.
37118         * pwd/pwd.h [__USE_GNU]: Likewise.
37119         [__USE_MISC]: Likewise.
37120         * resolv/netdb.h [__USE_GNU]: Likewise.
37121         * signal/signal.h: Update #endif comments.
37122         [__USE_MISC]: Remove redundant conditionals.
37123         * stdlib/stdlib.h: Update #else and #endif comments.
37124         [__USE_MISC]: Remove redundant conditionals.
37125         [__USE_GNU]: Likewise.
37126         * string/bits/string2.h [__USE_MISC]: Likewise.
37127         * string/string.h: Update #endif comments.
37128         [__USE_MISC]: Remove redundant conditionals.
37129         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37130         Likewise.
37131         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37132         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37133         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37134         Likewise.
37135         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37136         Likewise.
37137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37138         comments.
37139         [__USE_MISC]: Remove redundant conditionals.
37140         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37141         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37142         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37143         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37144         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37145         Likewise.
37146         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37147         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37148         Likewise.
37149         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37150         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37151         Likewise.
37152         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37153         Likewise.
37154         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37155         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37156         Likewise.
37157         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37158         Likewise.
37159         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37160         * sysdeps/x86/bits/string.h: Update #endif comments.
37161         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37162         conditionals.
37163         * time/sys/time.h: Update #endif comments.
37164         * time/time.h: Likewise.
37165         [__USE_MISC]: Remove redundant conditionals.
37167 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37169         [BZ #16600]
37170         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37172 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37174         * Versions.def (librt): Add GLIBC_2.17.
37176 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37178         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37179         synonym for _SYS_AUXV_H to allow direct inclusion.
37180         * sysdeps/sparc/bits/hwcap.h: Likewise.
37181         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37182         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37183         * sysdeps/sparc/sysdep.h: Likewise.
37185 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37187         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37189 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37191         * benchtests/bench-strrchr.c: Print length instead of position.
37193 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37195         [BZ #16611]
37196         * sysdeps/unix/sysv/linux/kernel-features.h
37197         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37198         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37199         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37200         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37201         Likewise.
37202         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37203         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37204         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37205         (__ASSUME_SENDMMSG): Define instead of using previous
37206         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37207         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37208         (__ASSUME_SENDMMSG_SYSCALL): Define.
37209         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37210         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37211         Likewise.
37212         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37213         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37214         Likewise.
37215         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37216         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37217         Likewise.
37218         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37219         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37220         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37221         [__ASSUME_SENDMMSG]: Change conditionals to
37222         [__ASSUME_SENDMMSG_SOCKETCALL].
37223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37224         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37225         Define.
37226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37227         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37228         Likewise.
37229         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37230         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37231         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37232         [!__ASSUME_SENDMMSG]: Change conditional to
37233         [!__ASSUME_SENDMMSG_SOCKETCALL].
37234         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37235         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37236         Define.
37238         [BZ #16610]
37239         * sysdeps/unix/sysv/linux/kernel-features.h
37240         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37241         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37242         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37243         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37244         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37245         [__i386__ || __sparc__]
37246         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37247         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37248         (__ASSUME_RECVMMSG): Define instead of using previous
37249         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37250         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37251         (__ASSUME_RECVMMSG_SYSCALL): Define.
37252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37254         Likewise.
37255         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37256         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37257         Likewise.
37258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37259         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37260         Likewise.
37261         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37262         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37263         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37264         [__ASSUME_RECVMMSG]: Change condition to
37265         [__ASSUME_RECVMMSG_SOCKETCALL].
37266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37267         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37268         Define.
37269         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37270         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37271         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37272         Likewise.
37273         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37274         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37275         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37276         [!__ASSUME_RECVMMSG]: Change condition to
37277         [!__ASSUME_RECVMMSG_SOCKETCALL].
37278         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37279         (__ASSUME_RECVMMSG_SYSCALL): Define.
37281         [BZ #16609]
37282         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37283         __powerpc__ || __s390__ || __sh__ || __sparc__]
37284         (__ASSUME_SOCKETCALL): Define.
37285         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37286         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37287         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37288         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37289         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37290         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37291         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37292         (__ASSUME_ACCEPT4): Define instead of using previous
37293         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37294         __powerpc__ || __sparc__ || __s390__)] condition.
37295         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37296         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37297         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37298         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37299         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37300         [!__ASSUME_ACCEPT4]: Change condition to
37301         [!__ASSUME_ACCEPT4_SOCKETCALL].
37302         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37303         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37304         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37306         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37307         __ASSUME_ACCEPT4_SYSCALL.
37308         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37309         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37310         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37311         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37312         __ASSUME_ACCEPT4_SYSCALL.
37313         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37314         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37315         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37316         [__ASSUME_ACCEPT4]: Change condition to
37317         [__ASSUME_ACCEPT4_SOCKETCALL].
37318         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37319         (__ASSUME_SOCKETCALL): Define.
37320         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37321         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37322         (__ASSUME_SOCKETCALL): Define.
37323         (__ASSUME_ACCEPT4): Remove.
37324         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37325         Define.
37326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37327         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37328         Likewise.
37329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37330         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37332         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37333         macro.
37334         (HWCAP_ARM_LPAE): Likewise.
37335         (HWCAP_ARM_EVTSTRM): Likewise.
37336         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37337         Add vpfd32, lpae and evtstrm.
37338         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37339         Increase to 22.
37341 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37343         * math/auto-libm-test-in: Add tests of clog10.
37344         * math/auto-libm-test-out: Regenerated.
37345         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37346         * sysdeps/i386/fpu/libm-test-ulps: Update.
37347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37349 2014-02-18  Andreas Schwab  <schwab@suse.de>
37351         [BZ #16574]
37352         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37353         Store non-zero if the second buffer was newly allocated.
37354         (send_dg): Likewise.
37355         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37356         to send_vc and send_dg.
37357         (res_nsend): Pass NULL for ansp2_malloced.
37358         * resolv/res_query.c (__libc_res_nquery): Add parameter
37359         answerp2_malloced and pass it down to __libc_res_nsend.
37360         (res_nquery): Pass additional NULL to __libc_res_nquery.
37361         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37362         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37363         second answer buffer if answerp2_malloced was set.
37364         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37365         (__libc_res_nquerydomain): Add parameter
37366         answerp2_malloced and pass it down to __libc_res_nquery.
37367         (res_nquerydomain): Pass additional NULL to
37368         __libc_res_nquerydomain.
37369         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37370         additional NULL to __libc_res_nsend and __libc_res_nquery.
37371         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37372         additional NULL to __libc_res_nsearch.
37373         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37374         parameter of __libc_res_nsearch to check for separately allocated
37375         second buffer.
37376         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37377         __libc_res_nquery.
37378         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37379         additional NULL to __libc_res_nquery.
37380         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37381         __libc_res_nsearch.
37382         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37383         * include/resolv.h: Update prototypes of __libc_res_nquery,
37384         __libc_res_nsearch, __libc_res_nsend.
37386 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37388         * math/auto-libm-test-in: Add tests of fma.
37389         * math/auto-libm-test-out: Regenerated.
37390         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37391         (fma_towardzero_test_data): Likewise.
37392         (fma_downward_test_data): Likewise.
37393         (fma_upward_test_data): Likewise.
37394         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37395         mpc_mode.
37396         (rounding_modes): Add values for new field.
37397         (func_calc_method): Add value mpfr_fff_f.
37398         (func_calc_desc): Add mpfr_fff_f union field.
37399         (test_function): Add field exact_args.
37400         (FUNC): Add macro argument EXACT_ARGS.
37401         (FUNC_mpfr_f_f): Update call to FUNC.
37402         (FUNC_mpfr_f_f): Likewise.
37403         (FUNC_mpfr_ff_f): Likewise.
37404         (FUNC_mpfr_if_f): Likewise.
37405         (FUNC_mpc_c_f): Likewise.
37406         (FUNC_mpc_c_c): Likewise.
37407         (test_functions): Add fma.  Update calls to FUNC.
37408         (handle_input_arg): Add argument exact_args.
37409         (add_test): Update call to handle_input_arg.
37410         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37411         (output_for_one_input_case): Update call to calc_generic_results.
37412         Recalculate exact zero results in each rounding mode.
37414         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37415         non-negative before setting low bit.
37416         * math/auto-libm-test-in: Mark one asin test possibly having
37417         spurious underflow.
37418         * math/auto-libm-test-out: Regenerated.
37419         * sysdeps/i386/fpu/libm-test-ulps: Update.
37420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37422 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37424         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37425         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37426         ports/sysdeps/unix/sysv/linux/microblaze.
37427         * README: Add missing listing for microblaze*-*-linux-gnu.
37429 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37431         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37432         duplicate code
37434 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37436         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37437         * sysdeps/unix/sysv/linux/ia64: Move directory from
37438         ports/sysdeps/unix/sysv/linux/ia64.
37439         * README: Update listing for ia64-*-linux-gnu.
37441 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37442             Joseph Myers  <joseph@codesourcery.com>
37444         * Makeconfig (test-name): New variable.
37445         (evaluate-test): Likewise.
37446         * Makerules (do-test-clean): Remove .test-result files.
37447         (common-mostlyclean): Likewise.
37448         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37449         * scripts/evaluate-test.sh: New file.
37451 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37453         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37454         separate $(objpfx)tst-fopenloc-cmp.out and
37455         $(objpfx)tst-fopenloc-mem.out targets.
37456         (tests): Update dependencies.
37457         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37458         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37459         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37460         (tst-rxspencer-no-utf8-ARGS): New variable.
37461         (tst-rxspencer-no-utf8-ENV): Likewise.
37462         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37463         instead of $(objpfx)tst-rxspencer-mem.
37464         ($(objpfx)tst-rxspencer-mem): Change target to
37465         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37466         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37467         * posix/tst-rxspencer-no-utf8.c: New file.
37469         * elf/Makefile ($(objpfx)order.out): Remove rule.
37470         [$(run-built-tests) = yes] (tests): Depend on
37471         $(objpfx)order-cmp.out.
37472         ($(objpfx)order-cmp.out): New rule.
37473         [$(run-built-tests) = yes] (tests): Depend on
37474         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37475         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37476         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37477         $(objpfx)tst-array5-static-cmp.out.
37478         ($(objpfx)tst-array1.out): Remove rule.
37479         ($(objpfx)tst-array1-cmp.out): New rule.
37480         ($(objpfx)tst-array1-static.out): Remove rule.
37481         ($(objpfx)tst-array1-static-cmp.out): New rule.
37482         ($(objpfx)tst-array2.out): Remove rule.
37483         ($(objpfx)tst-array2-cmp.out): New rule.
37484         ($(objpfx)tst-array3.out): Remove rule.
37485         ($(objpfx)tst-array3-cmp.out): New rule.
37486         ($(objpfx)tst-array4.out): Remove rule.
37487         ($(objpfx)tst-array4-cmp.out): New rule.
37488         ($(objpfx)tst-array5.out): Remove rule.
37489         ($(objpfx)tst-array5-cmp.out): New rule.
37490         ($(objpfx)tst-array5-static.out): Remove rule.
37491         ($(objpfx)tst-array5-static-cmp.out): New rule.
37492         [$(run-built-tests) = yes] (tests): Depend on
37493         $(objpfx)order2-cmp.out.
37494         ($(objpfx)order2.out): Remove rule.
37495         ($(objpfx)order2-cmp.out): New rule.
37496         ($(objpfx)tst-initorder.out): Remove rule.
37497         [$(run-built-tests) = yes] (tests): Depend on
37498         $(objpfx)tst-initorder-cmp.out.
37499         ($(objpfx)tst-initorder-cmp.out): New rule.
37500         ($(objpfx)tst-initorder2.out): Remove rule.
37501         [$(run-built-tests) = yes] (tests): Depend on
37502         $(objpfx)tst-initorder2-cmp.out.
37503         ($(objpfx)tst-initorder2-cmp.out): New rule.
37504         [$(run-built-tests) = yes] (tests): Depend on
37505         $(objpfx)tst-unused-dep-cmp.out.
37506         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37507         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37508         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37509         on $(objpfx)tst-setvbuf1-cmp.out.
37510         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37511         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37512         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37513         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37514         ($(objpfx)tst-svc.out): Remove rule.
37515         ($(objpfx)tst-svc-cmp.out): New rule.
37517 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37519         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37520         * ctype/ctype.h [__USE_MISC]: Likewise.
37521         * dirent/dirent.h [__USE_MISC]: Likewise.
37522         * grp/grp.h [__USE_MISC]: Likewise.
37523         * io/fcntl.h [__USE_MISC]: Likewise.
37524         * io/sys/stat.h [__USE_MISC]: Likewise.
37525         * libio/stdio.h [__USE_MISC]: Likewise.
37526         * posix/unistd.h [__USE_MISC]: Likewise.
37527         * pwd/pwd.h [__USE_MISC]: Likewise.
37528         * stdlib.h [__USE_MISC]: Likewise.
37529         * string/bits/string2.h [__USE_MISC]: Likewise.
37530         * string/string.h [__USE_MISC]: Likewise.
37531         * time/time.h [__USE_MISC]: Likewise.
37533 2014-02-13  Andreas Schwab  <schwab@suse.de>
37535         [BZ #16574]
37536         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37537         second answer buffer if it was separately allocated.
37539 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37541         * sysdeps/mips/math-tests.h: Include <features.h>.
37542         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37543         (ROUNDING_TESTS_long_double): Do not define.
37544         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37545         (EXCEPTION_TESTS_long_double): Likewise.
37546         * sysdeps/mips/mips64/libm-test-ulps: Update.
37548         * include/features.h (__USE_BSD): Remove macro definitions.
37549         (__USE_SVID): Likewise.
37550         (_BSD_SOURCE): Likewise.
37551         (_SVID_SOURCE): Likewise.
37552         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37553         from definition of _DEFAULT_SOURCE.
37554         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37555         [_DEFAULT_SOURCE].
37556         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37557         * bits/mman.h [__USE_BSD]: Likewise.
37558         * bits/termios.h [__USE_BSD]: Likewise.
37559         * bits/waitstatus.h [__USE_BSD]: Likewise.
37560         * ctype/ctype.h [__USE_SVID]: Likewise.
37561         * dirent/dirent.h [__USE_BSD]: Likewise.
37562         * grp/grp.h [__USE_SVID]: Likewise.
37563         [__USE_BSD]: Likewise.
37564         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37565         * io/fcntl.h [__USE_BSD]: Likewise.
37566         * io/ftw.h [__USE_BSD]: Likewise.
37567         * io/sys/stat.h [__USE_BSD]: Likewise.
37568         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37569         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37570         * libio/stdio.h [__USE_SVID]: Likewise.
37571         [__USE_BSD]: Likewise.
37572         * math/math.h [__USE_SVID]: Likewise.
37573         [__USE_BSD]: Likewise.
37574         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37575         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37576         * misc/search.h [__USE_SVID]: Likewise.
37577         * misc/sys/mman.h [__USE_BSD]: Likewise.
37578         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37579         * misc/sys/uio.h [__USE_BSD]: Likewise.
37580         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37581         * posix/glob.h [__USE_BSD]: Likewise.
37582         * posix/regex.h [__USE_BSD]: Likewise.
37583         * posix/sys/types.h [__USE_BSD]: Likewise.
37584         [__USE_SVID]: Likewise.
37585         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37586         * posix/sys/wait.h [__USE_BSD]: Likewise.
37587         [__USE_SVID]: Likewise.
37588         * posix/unistd.h [__USE_BSD]: Likewise.
37589         [__USE_SVID]: Likewise.
37590         * pwd/pwd.h [__USE_SVID]: Likewise.
37591         * resolv/netdb.h [__USE_BSD]: Likewise.
37592         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37593         * signal/signal.h [__USE_BSD]: Likewise.
37594         [__USE_SVID]: Likewise.
37595         * socket/sys/socket.h [__USE_BSD]: Likewise.
37596         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37597         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37598         [__USE_SVID]: Likewise.
37599         * string/bits/string2.h [__USE_BSD]: Likewise.
37600         [__USE_SVID]: Likewise.
37601         * string/bits/string3.h [__USE_BSD]: Likewise.
37602         * string/endian.h [__USE_BSD]: Likewise.
37603         * string/string.h [__USE_SVID]: Likewise.
37604         [__USE_BSD]: Likewise.
37605         * string/strings.h [__USE_BSD]: Likewise.
37606         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37607         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37608         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37609         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37610         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37611         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37612         Likewise.
37613         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37614         Likewise.
37615         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37616         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37617         Likewise.
37618         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37619         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37620         Likewise.
37621         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37622         Likewise.
37623         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37624         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37625         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37626         Likewise.
37627         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37628         Likewise.
37629         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37630         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37631         * termios/termios.h [__USE_BSD]: Likewise.
37632         * time/sys/time.h [__USE_BSD]: Likewise.
37633         * time/time.h [__USE_BSD]: Likewise.
37634         [__USE_SVID]: Likewise.
37636         * Makefile (subdir_targets): Remove subdir_lint.out.
37638         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37639         (do-tst-printf): Likewise.
37640         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37641         $(objpfx)tst-printf.out.
37643         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37645         * Makerules (check-abi-%): Change target to
37646         $(objpfx)check-abi-%.out.
37647         (check-abi target): Update dependencies.
37648         (check-abi-pattern variable): Redirect output of diff to $@.
37649         (check-abi variable): Likewise.
37650         * elf/Makefile (check-abi): Update dependencies.
37652         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37653         unused.
37654         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37655         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37656         subnormal range.
37657         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37658         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37659         value has largest subnormal exponent.
37660         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37661         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37662         * sysdeps/aarch64/soft-fp/sfp-machine.h
37663         (_FP_TININESS_AFTER_ROUNDING): New macro.
37664         * sysdeps/alpha/soft-fp/sfp-machine.h
37665         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37666         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37667         Likewise.
37668         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37669         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37670         * sysdeps/mips/soft-fp/sfp-machine.h
37671         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37672         * sysdeps/powerpc/soft-fp/sfp-machine.h
37673         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37674         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37675         Likewise.
37676         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37677         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37678         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37679         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37680         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37681         Likewise.
37683 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37685         [BZ #16545]
37686         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37687         model 1.
37689 2014-02-12  Richard Henderson  <rth@redhat.com>
37691         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37692         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37693         * sysdeps/unix/sysv/linux/alpha: Move directory from
37694         ports/sysdeps/unix/sysv/linux/alpha.
37695         * README: Update listing for alpha-*-linux-gnu.
37697 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37699         * include/features.h: Update comment documenting feature test
37700         macros.
37701         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37702         _DEFAULT_SOURCE.
37703         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37704         (_SVID_SOURCE): Likewise.
37705         (_DEFAULT_SOURCE): Update description of default features.
37706         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37707         with _GNU_SOURCE.
37708         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37709         (S_ISVTX): Likewise.
37710         * manual/math.texi (Mathematical Constants): Likewise.
37711         * manual/signal.texi (Interrupted Primitives): Likewise.
37712         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37713         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37714         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37715         Don't refer to _SVID_SOURCE in warning text.
37717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37719         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37720         already defined.
37721         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37722         * sysdeps/mips/dl-lookup.c: Remove.
37723         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37725 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37727         [BZ #16447]
37728         * math/auto-libm-test-in: Add testcase for expl.
37729         * math/auto-libm-test-out: Regenerate.
37730         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37731         calculation of unsafe.
37732         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37734 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37736         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37737         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37738         ports/sysdeps/unix/sysv/linux/aarch64.
37739         * README: Update listing for aarch64*-*-linux-gnu.
37741 2014-02-11  Will Newton  <will.newton@linaro.org>
37743         * manual/probes.texi (Mathematical Function Probes): Use
37744         "triggered" instead of "hit".
37746         * manual/probes.texi (Internal Probes): Add documentation
37747         of setjmp, longjmp and longjmp_target probes.
37749         * include/stap-probe.h: Add comment about probe argument
37750         format.
37752         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37753         definition.  (tr_where, tr_freehook, tr_mallochook,
37754         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37756 2014-02-11  David S. Miller  <davem@davemloft.net>
37758         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37759         processing int_tests.
37761 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37763         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37764         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37765         * sysdeps/unix/sysv/linux/mips: Move directory from
37766         ports/sysdeps/unix/sysv/linux/mips.
37767         * README: Update listing for mips-*-linux-gnu and
37768         mips64-*-linux-gnu.
37770 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37772         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37773         * sysdeps/unix/sysv/linux/m68k: Move directory from
37774         ports/sysdeps/unix/sysv/linux/m68k.
37775         * README: Update listing for m68k-*-linux-gnu.
37777 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37779         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37780         * sysdeps/unix/sysv/linux/generic: Move directory from
37781         ports/sysdeps/unix/sysv/linux/generic.
37782         * sysdeps/unix/sysv/linux/tile: Move directory from
37783         ports/sysdeps/unix/sysv/linux/tile.
37784         * README: Update listing for tile*-*-linux-gnu.
37786 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37788         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37789         __builtin_expect.
37790         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37791         * catgets/open_catalog.c (__open_catalog): Likewise.
37792         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37793         * debug/confstr_chk.c: Likewise.
37794         * debug/fread_chk.c (__fread_chk): Likewise.
37795         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37796         * debug/getgroups_chk.c: Likewise.
37797         * debug/mbsnrtowcs_chk.c: Likewise.
37798         * debug/mbsrtowcs_chk.c: Likewise.
37799         * debug/mbstowcs_chk.c: Likewise.
37800         * debug/memcpy_chk.c: Likewise.
37801         * debug/memmove_chk.c: Likewise.
37802         * debug/mempcpy_chk.c: Likewise.
37803         * debug/memset_chk.c: Likewise.
37804         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37805         * debug/strcat_chk.c (__strcat_chk): Likewise.
37806         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37807         * debug/strncat_chk.c (__strncat_chk): Likewise.
37808         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37809         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37810         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37811         * debug/wcpncpy_chk.c: Likewise.
37812         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37813         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37814         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37815         * debug/wcsncpy_chk.c: Likewise.
37816         * debug/wcsnrtombs_chk.c: Likewise.
37817         * debug/wcsrtombs_chk.c: Likewise.
37818         * debug/wcstombs_chk.c: Likewise.
37819         * debug/wmemcpy_chk.c: Likewise.
37820         * debug/wmemmove_chk.c: Likewise.
37821         * debug/wmempcpy_chk.c: Likewise.
37822         * debug/wmemset_chk.c: Likewise.
37823         * dirent/scandirat.c (SCANDIRAT): Likewise.
37824         * dlfcn/dladdr1.c (dladdr1): Likewise.
37825         * dlfcn/dladdr.c (dladdr): Likewise.
37826         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37827         * dlfcn/dlerror.c (__dlerror): Likewise.
37828         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37829         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37830         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37831         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37832         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37833         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37834         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37835         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37836         Likewise.
37837         * elf/dl-conflict.c: Likewise.
37838         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37839         * elf/dl-dst.h: Likewise.
37840         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37841         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37842         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37843         * elf/dl-init.c (call_init, _dl_init): Likewise.
37844         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37845         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37846         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37847         Likewise.
37848         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37849         Likewise.
37850         * elf/dl-minimal.c (__libc_memalign): Likewise.
37851         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37852         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37853         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37854         * elf/dl-sym.c (do_sym): Likewise.
37855         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37856         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37857         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37858         * elf/dl-writev.h (_dl_writev): Likewise.
37859         * elf/ldconfig.c (search_dir): Likewise.
37860         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37861         (dl_main): Likewise.
37862         * elf/setup-vdso.h (setup_vdso): Likewise.
37863         * grp/compat-initgroups.c (compat_call): Likewise.
37864         * grp/fgetgrent.c (fgetgrent): Likewise.
37865         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37866         * grp/putgrent.c (putgrent): Likewise.
37867         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37868         Likewise.
37869         * hurd/hurdinit.c: Likewise.
37870         * iconvdata/8bit-gap.c (struct): Likewise.
37871         * iconvdata/ansi_x3.110.c : Likewise.
37872         * iconvdata/big5.c : Likewise.
37873         * iconvdata/big5hkscs.c : Likewise.
37874         * iconvdata/cp1255.c: Likewise.
37875         * iconvdata/cp1258.c : Likewise.
37876         * iconvdata/cp932.c : Likewise.
37877         * iconvdata/euc-cn.c: Likewise.
37878         * iconvdata/euc-jisx0213.c : Likewise.
37879         * iconvdata/euc-jp.c: Likewise.
37880         * iconvdata/euc-jp-ms.c : Likewise.
37881         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37882         * iconvdata/gb18030.c : Likewise.
37883         * iconvdata/gbbig5.c (const): Likewise.
37884         * iconvdata/gbgbk.c: Likewise.
37885         * iconvdata/gbk.c : Likewise.
37886         * iconvdata/ibm1364.c : Likewise.
37887         * iconvdata/ibm930.c : Likewise.
37888         * iconvdata/ibm932.c: Likewise.
37889         * iconvdata/ibm933.c : Likewise.
37890         * iconvdata/ibm935.c : Likewise.
37891         * iconvdata/ibm937.c : Likewise.
37892         * iconvdata/ibm939.c : Likewise.
37893         * iconvdata/ibm943.c: Likewise.
37894         * iconvdata/iso_11548-1.c: Likewise.
37895         * iconvdata/iso-2022-cn.c : Likewise.
37896         * iconvdata/iso-2022-cn-ext.c : Likewise.
37897         * iconvdata/iso-2022-jp-3.c: Likewise.
37898         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37899         * iconvdata/iso-2022-kr.c : Likewise.
37900         * iconvdata/iso646.c (gconv_end): Likewise.
37901         * iconvdata/iso_6937-2.c : Likewise.
37902         * iconvdata/iso_6937.c : Likewise.
37903         * iconvdata/iso8859-1.c: Likewise.
37904         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37905         * iconvdata/shift_jisx0213.c : Likewise.
37906         * iconvdata/sjis.c : Likewise.
37907         * iconvdata/t.61.c : Likewise.
37908         * iconvdata/tcvn5712-1.c : Likewise.
37909         * iconvdata/tscii.c: Likewise.
37910         * iconvdata/uhc.c : Likewise.
37911         * iconvdata/unicode.c (gconv_end): Likewise.
37912         * iconvdata/utf-16.c (gconv_end): Likewise.
37913         * iconvdata/utf-32.c (gconv_end): Likewise.
37914         * iconvdata/utf-7.c (base64): Likewise.
37915         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37916         * iconv/gconv_close.c (__gconv_close): Likewise.
37917         * iconv/gconv_open.c (__gconv_open): Likewise.
37918         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37919         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37920         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37921         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37922         (ucs4le_internal_loop_single): Likewise.
37923         * iconv/iconv.c (iconv): Likewise.
37924         * iconv/iconv_close.c: Likewise.
37925         * iconv/loop.c (SINGLE): Likewise.
37926         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37927         * include/atomic.h: Likewise.
37928         * inet/inet6_option.c (option_alloc): Likewise.
37929         * intl/bindtextdom.c (set_binding_values): Likewise.
37930         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37931         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37932         * intl/localealias.c (read_alias_file): Likewise.
37933         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37934         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37935         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37936         * libio/fmemopen.c (fmemopen): Likewise.
37937         * libio/iofgets.c (_IO_fgets): Likewise.
37938         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37939         * libio/iofgetws.c (fgetws): Likewise.
37940         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37941         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37942         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37943         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37944         * locale/findlocale.c (_nl_find_locale): Likewise.
37945         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37946         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37947         Likewise.
37948         * locale/setlocale.c (setlocale): Likewise.
37949         * login/programs/pt_chown.c (main): Likewise.
37950         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37951         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37952         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37953         (mmap, mmap64, mremap, munmap): Likewise.
37954         * math/e_exp2l.c: Likewise.
37955         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37956         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37957         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37958         * math/s_catan.c (__catan): Likewise.
37959         * math/s_catanf.c (__catanf): Likewise.
37960         * math/s_catanh.c (__catanh): Likewise.
37961         * math/s_catanhf.c (__catanhf): Likewise.
37962         * math/s_catanhl.c (__catanhl): Likewise.
37963         * math/s_catanl.c (__catanl): Likewise.
37964         * math/s_ccosh.c (__ccosh): Likewise.
37965         * math/s_ccoshf.c (__ccoshf): Likewise.
37966         * math/s_ccoshl.c (__ccoshl): Likewise.
37967         * math/s_cexp.c (__cexp): Likewise.
37968         * math/s_cexpf.c (__cexpf): Likewise.
37969         * math/s_cexpl.c (__cexpl): Likewise.
37970         * math/s_clog10.c (__clog10): Likewise.
37971         * math/s_clog10f.c (__clog10f): Likewise.
37972         * math/s_clog10l.c (__clog10l): Likewise.
37973         * math/s_clog.c (__clog): Likewise.
37974         * math/s_clogf.c (__clogf): Likewise.
37975         * math/s_clogl.c (__clogl): Likewise.
37976         * math/s_csin.c (__csin): Likewise.
37977         * math/s_csinf.c (__csinf): Likewise.
37978         * math/s_csinh.c (__csinh): Likewise.
37979         * math/s_csinhf.c (__csinhf): Likewise.
37980         * math/s_csinhl.c (__csinhl): Likewise.
37981         * math/s_csinl.c (__csinl): Likewise.
37982         * math/s_csqrt.c (__csqrt): Likewise.
37983         * math/s_csqrtf.c (__csqrtf): Likewise.
37984         * math/s_csqrtl.c (__csqrtl): Likewise.
37985         * math/s_ctan.c (__ctan): Likewise.
37986         * math/s_ctanf.c (__ctanf): Likewise.
37987         * math/s_ctanh.c (__ctanh): Likewise.
37988         * math/s_ctanhf.c (__ctanhf): Likewise.
37989         * math/s_ctanhl.c (__ctanhl): Likewise.
37990         * math/s_ctanl.c (__ctanl): Likewise.
37991         * math/w_pow.c: Likewise.
37992         * math/w_powf.c: Likewise.
37993         * math/w_powl.c: Likewise.
37994         * math/w_scalb.c (sysv_scalb): Likewise.
37995         * math/w_scalbf.c (sysv_scalbf): Likewise.
37996         * math/w_scalbl.c (sysv_scalbl): Likewise.
37997         * misc/error.c (error_tail): Likewise.
37998         * misc/pselect.c (__pselect): Likewise.
37999         * nis/nis_callback.c (__nis_create_callback): Likewise.
38000         * nis/nis_call.c (__nisfind_server): Likewise.
38001         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38002         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38003         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38004         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38005         * nis/nis_lookup.c (nis_lookup): Likewise.
38006         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38007         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38008         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38009         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38010         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38011         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38012         * nis/nss_compat/compat-initgroups.c (add_group)
38013         (internal_getgrent_r): Likewise.
38014         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38015         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38016         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38017         (internal_getspnam_r): Likewise.
38018         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38019         (_nss_nis_getaliasbyname_r): Likewise.
38020         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38021         (_nss_nis_getntohost_r): Likewise.
38022         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38023         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38024         (_nss_nis_getgrgid_r): Likewise.
38025         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38026         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38027         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38028         (_nss_nis_gethostbyname4_r): Likewise.
38029         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38030         (initgroups_netid): Likewise.
38031         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38032         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38033         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38034         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38035         (_nss_nis_getprotobynumber_r): Likewise.
38036         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38037         (_nss_nis_getsecretkey): Likewise.
38038         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38039         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38040         (_nss_nis_getpwuid_r): Likewise.
38041         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38042         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38043         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38044         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38045         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38046         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38047         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38048         Likewise.
38049         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38050         (_nss_nisplus_getntohost_r): Likewise.
38051         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38052         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38053         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38054         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38055         Likewise.
38056         * nis/nss_nisplus/nisplus-initgroups.c
38057         (_nss_nisplus_initgroups_dyn): Likewise.
38058         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38059         (_nss_nisplus_getnetbyaddr_r): Likewise.
38060         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38061         (_nss_nisplus_getprotobynumber_r): Likewise.
38062         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38063         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38064         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38065         Likewise.
38066         * nis/nss_nisplus/nisplus-service.c
38067         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38068         (_nss_nisplus_getservbyport_r): Likewise.
38069         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38070         (_nss_nisplus_getspnam_r): Likewise.
38071         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38072         Likewise.
38073         * nscd/aicache.c (addhstaiX): Likewise.
38074         * nscd/cache.c (cache_search, prune_cache): Likewise.
38075         * nscd/connections.c (register_traced_file, send_ro_fd)
38076         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38077         (main_loop_epoll): Likewise.
38078         * nscd/grpcache.c (addgrbyX): Likewise.
38079         * nscd/hstcache.c (addhstbyX): Likewise.
38080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38081         * nscd/mem.c (gc, mempool_alloc): Likewise.
38082         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38083         (addinnetgrX): Likewise.
38084         * nscd/nscd-client.h (__nscd_acquire_maplock)
38085         (__nscd_drop_map_ref): Likewise.
38086         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38087         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38088         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38089         Likewise.
38090         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38091         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38092         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38093         (__nscd_get_map_ref): Likewise.
38094         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38095         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38096         Likewise.
38097         * nscd/pwdcache.c (addpwbyX): Likewise.
38098         * nscd/selinux.c (preserve_capabilities): Likewise.
38099         * nscd/servicescache.c (addservbyX): Likewise.
38100         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38101         * posix/fnmatch.c (fnmatch): Likewise.
38102         * posix/getopt.c (_getopt_internal_r): Likewise.
38103         * posix/glob.c (glob, glob_in_dir): Likewise.
38104         * posix/wordexp.c (exec_comm_child): Likewise.
38105         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38106         (getanswer_r, gaih_getanswer_slice): Likewise.
38107         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38108         * resolv/res_init.c: Likewise.
38109         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38110         * resolv/res_query.c (__libc_res_nquery): Likewise.
38111         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38112         Likewise.
38113         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38114         * stdio-common/perror.c (perror): Likewise.
38115         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38116         * stdio-common/tmpnam.c (tmpnam): Likewise.
38117         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38118         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38119         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38120         Likewise.
38121         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38122         * stdlib/putenv.c (putenv): Likewise.
38123         * stdlib/setenv.c (__add_to_environ): Likewise.
38124         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38125         * stdlib/strtol_l.c (INTERNAL): Likewise.
38126         * string/memmem.c (memmem): Likewise.
38127         * string/strerror.c (strerror): Likewise.
38128         * string/strnlen.c (__strnlen): Likewise.
38129         * string/test-memmem.c (simple_memmem): Likewise.
38130         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38131         * sunrpc/pm_getport.c (__get_socket): Likewise.
38132         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38133         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38134         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38135         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38136         Likewise.
38137         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38138         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38139         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38140         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38141         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38142         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38143         Likewise.
38144         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38145         Likewise.
38146         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38147         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38148         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38149         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38150         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38152         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38153         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38154         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38155         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38156         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38157         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38158         Likewise.
38159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38160         Likewise.
38161         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38162         Likewise.
38163         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38164         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38165         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38166         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38167         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38168         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38169         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38171         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38172         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38173         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38175         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38176         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38178         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38179         Likewise.
38180         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38181         Likewise.
38182         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38183         Likewise.
38184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38185         Likewise.
38186         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38188         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38189         Likewise.
38190         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38191         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38192         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38193         * sysdeps/posix/sleep.c: Likewise.
38194         * sysdeps/posix/tempname.c: Likewise.
38195         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38196         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38197         Likewise.
38198         * sysdeps/powerpc/powerpc32/dl-machine.h
38199         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38200         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38202         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38203         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38204         Likewise.
38205         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38206         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38207         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38208         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38209         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38210         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38211         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38212         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38213         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38214         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38215         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38216         (elf_machine_lazy_rel): Likewise.
38217         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38218         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38219         (elf_machine_lazy_rel): Likewise.
38220         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38221         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38222         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38223         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38224         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38225         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38226         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38227         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38228         Likewise.
38229         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38230         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38231         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38232         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38233         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38234         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38235         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38236         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38237         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38239         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38240         Likewise.
38241         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38242         (__posix_fallocate64_l64): Likewise.
38243         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38244         (posix_fallocate): Likewise.
38245         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38246         Likewise.
38247         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38248         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38249         (getifaddrs_internal): Likewise.
38250         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38251         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38252         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38253         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38254         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38255         (__posix_fallocate64_l64): Likewise.
38256         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38257         Likewise.
38258         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38259         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38260         (__get_clockfreq): Likewise.
38261         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38262         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38263         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38266         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38267         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38268         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38269         Likewise.
38270         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38271         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38272         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38275         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38276         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38277         Likewise.
38278         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38279         (posix_fallocate): Likewise.
38280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38281         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38282         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38283         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38284         (elf_machine_rela, elf_machine_rela_relative)
38285         (elf_machine_lazy_rel): Likewise.
38286         * time/asctime.c (asctime_internal): Likewise.
38287         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38288         * time/tzset.c (__tzset_parse_tz): Likewise.
38289         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38290         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38291         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38292         * wcsmbs/wcsmbsload.h: Likewise.
38294         [BZ #15894]
38295         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38297         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38298         (arena_get2): Remove THREAD_STATS conditionals.
38299         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38300         (__malloc_stats, int): Likewise.
38302 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38304         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38305         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38307         * manual/setjmp.texi: Fix typos/grammar errors.
38309         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38310         Only return early when n is <= 0.  Delete unused return statement.
38312         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38313         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38314         * debug/tst-longjmp_chk3.c: New file.
38316         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38317         (test_main): Replace code with set_fortify_handler call.
38318         * debug/test-strcpy_chk.c: Likewise.
38319         * debug/tst-chk1.c: Likewise.
38320         * debug/tst-longjmp_chk.c: Likewise.
38321         * test-skeleton.c: Include fcntl.h & paths.h
38322         (set_fortify_handler): Define.
38324         * debug/tst-longjmp_chk.c: Add header comment and include
38325         ../test-skeleton.c.
38326         (do_test): Mark static.
38327         (TEST_FUNCTION): Define.
38329         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38330         (IP_PMTUDISC_INTERFACE): Likewise.
38331         (IP_MULTICAST_IF): Likewise.
38332         (IP_MULTICAST_TTL): Likewise.
38333         (IP_MULTICAST_LOOP): Likewise.
38334         (IP_ADD_MEMBERSHIP): Likewise.
38335         (IP_DROP_MEMBERSHIP): Likewise.
38336         (IP_UNBLOCK_SOURCE): Likewise.
38337         (IP_BLOCK_SOURCE): Likewise.
38338         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38339         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38340         (IP_MSFILTER): Likewise.
38341         (MCAST_JOIN_GROUP): Likewise.
38342         (MCAST_BLOCK_SOURCE): Likewise.
38343         (MCAST_UNBLOCK_SOURCE): Likewise.
38344         (MCAST_LEAVE_GROUP): Likewise.
38345         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38346         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38347         (MCAST_MSFILTER): Likewise.
38348         (IP_MULTICAST_ALL): Likewise.
38349         (IP_UNICAST_IF): Likewise.
38351         * timezone/Makefile: Delete $(have-ksh) check.
38352         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38353         * timezone/tzselect.ksh: Add +x mode bits.
38355         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38356         (ANON_INODE_FS_MAGIC): Likewise.
38357         (BDEVFS_MAGIC): Likewise.
38358         (BINFMTFS_MAGIC): Likewise.
38359         (BTRFS_TEST_MAGIC): Likewise.
38360         (CRAMFS_MAGIC_WEND): Likewise.
38361         (DEBUGFS_MAGIC): Likewise.
38362         (ECRYPTFS_SUPER_MAGIC): Likewise.
38363         (EXT3_SUPER_MAGIC): Likewise.
38364         (EXT4_SUPER_MAGIC): Likewise.
38365         (FUTEXFS_SUPER_MAGIC): Likewise.
38366         (HOSTFS_SUPER_MAGIC): Likewise.
38367         (HUGETLBFS_MAGIC): Likewise.
38368         (MINIX3_SUPER_MAGIC): Likewise.
38369         (MTD_INODE_FS_MAGIC): Likewise.
38370         (NILFS_SUPER_MAGIC): Likewise.
38371         (OPENPROM_SUPER_MAGIC): Likewise.
38372         (PIPEFS_MAGIC): Likewise.
38373         (PSTOREFS_MAGIC): Likewise.
38374         (QNX6_SUPER_MAGIC): Likewise.
38375         (RAMFS_MAGIC): Likewise.
38376         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38377         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38378         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38379         (SECURITYFS_MAGIC): Likewise.
38380         (SELINUX_MAGIC): Likewise.
38381         (SMACK_MAGIC): Likewise.
38382         (SOCKFS_MAGIC): Likewise.
38383         (SQUASHFS_MAGIC): Likewise.
38384         (STACK_END_MAGIC): Likewise.
38385         (TMPFS_MAGIC): Likewise.
38386         (USBDEVICE_SUPER_MAGIC): Likewise.
38387         (V9FS_MAGIC): Likewise.
38388         (XENFS_SUPER_MAGIC): Likewise.
38389         (CRAMFS_MAGIC): Fix typo in comment.
38390         (EXT2_SUPER_MAGIC): Update comment.
38391         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38393 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38395         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38396         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38397         * sysdeps/unix/sysv/linux/arm: Move directory from
38398         ports/sysdeps/unix/sysv/linux/arm.
38399         * README: Update listing for arm-*-linux-gnueabi.
38401         * README: Remove mention of am33.
38403 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38405         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38406         than the comma operator, to avoid "rhs of comma has no effect"
38407         compiler warnings.
38408         (__sigfillset, __sigandset, __sigorset): Likewise.
38409         * include/signal.h (__sigemptyset): Likewise.
38410         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38412 2014-02-07  Allan McRae  <allan@archlinux.org>
38414         * version.h (RELEASE): Set to "development".
38415         (VERSION): Set to "2.19.90"
38416         * NEWS: Add 2.20 section.
38418 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38420         [BZ #16529]
38421         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38423 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38425         * manual/contrib.texi: Update entry for Carlos O'Donell,
38426         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38428 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38430         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38432         * sysdeps/unix/sysv/linux/kernel-features.h
38433         [__LINUX_KERNEL_VERSION >= 0x020621]
38434         (__ASSUME_PROC_PID_TASK_COMM): Define.
38436 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38438         [BZ #16398]
38439         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38440         conversion when destination buffer does not have enough space.
38441         * libio/tst-ftell-partial-wide.c: New test case.
38442         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38444         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38445         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38446         Leonard and Allan McRae.
38448 2014-02-04  David S. Miller  <davem@davemloft.net>
38450         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38451         32-bit.
38453 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38456         New file
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38458         New file
38459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38460         New file.
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38462         New file.
38463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38464         New file.
38465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38466         New file.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38468         New file.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38470         New file.
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38472         New file.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38474         New file.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38476         New file.
38477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38478         New file.
38479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38480         New file.
38482 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38484         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38485         * shlib-versions: Likewise.
38487 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38488             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38490         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38491         (abilist-pattern): New variable, set to %-le.abilist.
38493         * Makerules (abilist-pattern): New variable.
38494         (vpath): Use $(abilist-pattern) in place of %.abilist.
38495         (check-abi-% pattern rule): Likewise.
38496         (check-abi, update-abi): Likewise.
38498 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38502 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38504         * manual/startup.texi: Add next, previous, and top entries for
38505         the `Program Arguments' and `Environment Variables' nodes.
38507 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38509         * manual/macros.texi: Add comments before MTASC-safety macros.
38511         * manual/users.texi: Document MTASC-safety properties.
38513         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38514         (pthread_getspecific, pthread_setspecific): Format with
38515         @deftypefun, and add @safety note.
38516         * manual/signal.texi: Move comments that analyze the above
38517         functions to their home place.
38519 2014-02-03  Allan McRae  <allan@archlinux.org>
38521         * po/sl.po: Update Slovenian translation from translation project.
38523 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38525         * manual/time.texi (timegm): Add missing blank after @c.
38526         Reported by Joseph Myers <joseph@codesourcery.com>.
38528 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38530         * manual/check-safety.sh: New.
38531         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38533         * manual/terminal.texi: Document MTASC-safety properties.
38535         * manual/filesys.texi: Document MTASC-safety properties.
38537         * manual/errno.texi: Document MTASC-safety properties.
38539         * manual/intro.texi: Document safety identifiers and
38540         conditionals.
38542         * manual/string.texi (wcstok): Fix prototype.
38543         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38545         * manual/time.texi: Document MTASC-safety properties.
38547         * manual/string.texi: Document MTASC-safety properties.
38549         * manual/threads.texi: Document MTASC-safety properties.
38551         * manual/stdio.texi: Document MTASC-safety properties.
38553         * manual/syslog.texi: Document MTASC-safety properties.
38555         * manual/sysinfo.texi: Document MTASC-safety properties.
38557         * manual/startup.texi: Document MTASC-safety properties.
38559         * manual/socket.texi: Document MTASC-safety properties.
38561         * manual/signal.texi: Document MTASC-safety properties.
38563 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38565         * manual/setjmp.texi: Document MTASC-safety properties.
38567         * manual/search.texi: Document MTASC-safety properties.
38569         * manual/resource.texi: Document MTASC-safety properties.
38571         * manual/process.texi: Document MTASC-safety properties.
38573         * manual/platform.texi: Document MTASC-safety properties.
38575         * manual/pipe.texi: Document MTASC-safety properties.
38577         * manual/pattern.texi: Document MTASC-safety properties.
38579         * manual/message.texi: Document MTASC-safety properties.
38581         [BZ #12751]
38582         * manual/memory.texi: Document MTASC-safety properties.
38584         * manual/math.texi: Document MTASC-safety properties.
38586         * manual/locale.texi: Document MTASC-safety properties.
38588         * manual/llio.texi: Document MTASC-safety properties.
38590         * manual/libdl.texi: New.
38592         * manual/lang.texi: Document MTASC-safety properties.
38594         * manual/job.texi: Document MTASC-safety properties.
38596         * manual/getopt.texi: Document MTASC-safety properties.
38598         * manual/ctype.texi: Document MTASC-safety properties.
38600 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38602         [BZ #16046]
38603         * csu/libc-tls.c (static_map): Remove variable.
38604         (__libc_setup_tls): Use main executable's link map for TLS data.
38605         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38606         casing for LM_ID_BASE and GL(dl_nns).
38607         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38608         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38609         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38610         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38611         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38612         member.
38613         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38614         l_phnum members.
38616 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38618         * manual/debug.texi: Document MTASC-safety properties.
38620 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38622         [BZ #16510]
38623         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38624         of __x86_64__ when disabling x87 inline functions.
38626 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38628         * manual/charset.texi: Document MTASC-safety properties.
38630         * manual/crypt.texi: Document MTASC-safety properties.
38632         * manual/conf.texi: Document MTASC-safety properties.
38634         * manual/arith.texi: Document MTASC-safety properties.
38636         * manual/argp.texi: Document MTASC-safety properties.
38638         * manual/macros.texi: Introduce macros to document multi
38639         thread, asynchronous signal and asynchronous cancellation
38640         safety properties.
38641         * manual/intro.texi: Introduce the properties themselves.
38643 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38645         * sysdeps/sh/sh4/Makefile: New file.
38647 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38649         * math/gen-libm-test.pl ($srcdir): New variable.
38650         ($auto_input): Use it.
38652 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38654         [BZ #16506]
38655         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38656         access beyond array bounds when parsing netgroups file.
38658         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38659         the old buffer before realloc.
38661 2014-01-27  Allan McRae  <allan@archlinux.org>
38663         * po/fr.po: Update French translation from translation project.
38665 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38667         * sysdeps/sh/libm-test-ulps: Regenerate.
38669 2014-01-24  David S. Miller  <davem@davemloft.net>
38671         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38673 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38675         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38676         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38678 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38680         [BZ #16474]
38681         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38682         string pointers after reallocation.
38684 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38686         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38687         __SH4A__ instead of __SH_FPU_ANY__.
38689 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38691         * sysdeps/sh/fpu_control.h: New file.
38692         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38693         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38694         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38695         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38696         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38697         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38698         * sysdeps/sh/sys/ucontext.h: Remove.
38699         * sysdeps/sh/sys: Remove directory.
38701 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38703         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38704         s390/sys/ucontext.h.
38705         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38706         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38708 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38710         [BZ #15605]
38711         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38713 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38715         [BZ#16431]
38716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38717         Adjust the vDSO correctly for internal calls.
38718         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38720 2014-01-20  Allan McRae  <allan@archlinux.org>
38722         * po/ca.po: Update Catalan translation from translation project.
38724 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38726         * sysdeps/s390/sotruss-lib.c: New file.
38728 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38730         [BZ#16430]
38731         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38732         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38733         local calls issues by not having a PLT stub required for IFUNC calls.
38734         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38736 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38738         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38739         * math/test-fpucw-static.c: Likewise.
38741 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38743         [BZ #16453]
38744         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38746 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38748         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38749         implementation for powerpc.
38751 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38753         [BZ #14782]
38754         * sysdeps/posix/system.c (__libc_system): Do not enable
38755         asynchronous cancellation.
38757 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38759         [BZ #16427]
38760         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38761         handling only for numbers special also in the IEEE case.
38763 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38765         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38767 2014-01-11  Allan McRae  <allan@archlinux.org>
38769         * po/bg.po: Update Bulgarian translation from translation project.
38771         * po/de.po: Update German translation from translation project.
38773 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38775         * sysdeps/generic/gcc-compat.h: New file.
38777 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38779         * benchtests/asin-inputs: Correct slow inputs.
38780         * benchtests/acos-inputs: Likewise.
38782 2014-01-10  Allan McRae  <allan@archlinux.org>
38784         * po:sv.po: Update Swedish translation from translation project.
38786         * po/vi.po: Update Vietnamese translation from translation project.
38788         * po/eo.po: Update Esperanto translation from translation project.
38790         * po/cs.po: Update Czech translation from translation project.
38792         * po/nl.po: Update Dutch translation from translation project.
38794         * po/pl.po: Update Polish translation from translation project.
38796         * po/ru.po: Update Russian translation from translation project.
38798         * po/uk.po: Update Ukrainian translation from translation project.
38800 2014-01-08  Brooks Moses  <bmoses@google.com>
38802         * elf/dl-load.c: Fix comment typo.
38804 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38806         * po/header.pot: Rename to...
38807         * po/pot.header: ... this.
38808         * po/Makefile: Use pot.header.
38810 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38811             Maxim Kuvyrkov  <maxim@kugelworks.com>
38813         [BZ #16394]
38814         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38815         SRC and DEST against LEN.
38817 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38819         [BZ #16414]
38820         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38821         implementation.
38822         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38824 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38828 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38830         [BZ #16408]
38831         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38832         for large positive arguments.
38834 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38836         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38838         * math/auto-libm-test-in: Mark various tests with
38839         xfail-rounding:ldbl-128ibm.
38840         * math/auto-libm-test-out: Regenerated.
38842         [BZ #16407]
38843         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38844         Increase overflow threshold.
38846 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38848         [BZ #14286]
38849         * stdio-common/vfprintf.c: Check for integer overflow.
38851 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38853         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38854         the first argument and return value of __tls_get_addr_internal.
38856 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38858         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38859         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38861 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38863         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38864         * sysdeps/s390/rtld-global-offsets.sym: New file.
38865         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38866         GLIBC_2.19 symbol.
38867         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38868         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38870         ... this.
38871         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38872         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38873         ... this.
38874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38875         Regenerate.
38876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38877         Regenerate.
38878         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38879         halfs of GPRs for high_gprs contexts.
38880         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38881         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38882         field.
38883         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38884         uc_flags field.
38885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38886         64 bit versions:
38887         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38888         for high GPRs (uc_high_gprs) and for future extensions
38889         (__reserved).
38890         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38891         for future extensions (__reserved).
38892         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38893         64 bit versions:
38894         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38895         SC_HIGHGPRS offset definition.
38896         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38897         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38899         * Versions.def: Add GLIBC_2.19 for libpthread.
38900         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38901         siglongjmp for libpthread with GLIBC_2.19 symver.
38902         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38903         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38904         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38905         * sysdeps/s390/__longjmp.c: New file.
38906         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38907         * sysdeps/s390/longjmp.c: New file.
38908         * sysdeps/s390/setjmp.S: New file.
38909         * sysdeps/s390/sigjmp.S: New file.
38910         * sysdeps/s390/v1-longjmp.c: New file.
38911         * sysdeps/s390/v1-setjmp.h: New file.
38912         * sysdeps/s390/v1-sigjmp.c: New file.
38913         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38914         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38915         GLIBC_2.19 version.
38916         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38917         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38918         versioned symbols for ____longjmp_chk.
38919         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38920         Likewise.
38921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38922         Regenerate.
38923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38924         Regenerate.
38925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38926         Regenerate.
38927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38928         Regenerate.
38929         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38930         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38931         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38932         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38933         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38934         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38935         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38936         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38937         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38938         * sysdeps/s390/rtld-__longjmp.c: New file.
38939         * sysdeps/s390/rtld-setjmp.S: New file.
38941 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38943         [BZ #16400]
38944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38945         Return -__logl (x) for small positive arguments without evaluating
38946         a polynomial.
38948 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38950         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38951         Rename to ...
38952         (__ptrace_peeksiginfo_args): ... this.
38953         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38954         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38955         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38957 2014-01-06  Allan McRae  <allan@archlinux.org>
38959         * inet/netinet/in.h: Fix typo in comment.
38961 2014-01-05  Andreas Jaeger  <aj@suse.de>
38963         * sysdeps/i386/fpu/libm-test-ulps: Update.
38965 2014-01-05  Allan McRae  <allan@archlinux.org>
38967         * po/libc.pot: Regenerated.
38969         * malloc/memusagestat.c: Fix gettext call formatting.
38971 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38973         * nscd/nscd.c: Improve usage() output.
38975 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38977         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38978         * sysdeps/unix/sysv/linux/configure: Regenerated.
38979         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38980         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38982 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38984         [BZ #16390]
38985         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38986         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38988 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38991         extra tokens at end of #undef directive.
38992         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38993         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38994         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38996 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38998         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39000         * math/auto-libm-test-in: Mark various tests with
39001         xfail-rounding:ldbl-128ibm.
39002         * math/auto-libm-test-out: Regenerated.
39004 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39006         [BZ #16386]
39007         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39008         numbers with subnormal high part when calculating exponent.
39010         [BZ #16385]
39011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39012         fabs.
39014         [BZ #16384]
39015         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39016         M_LN2l.
39017         (__ieee754_acoshl): Use __log1pl not __log1p.
39019 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39021         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39022         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39023         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39024         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39025         (reused_arena, arena_get2): Convert to GNU style.
39026         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39027         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39028         (memalign_check, __malloc_set_state): Likewise.
39029         * malloc/mallocbug.c (main): Likewise.
39030         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39031         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39032         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39033         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39034         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39035         (__posix_memalign, malloc_info): Likewise.
39036         * malloc/malloc.h: Likewise.
39037         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39038         (mallochook, memalignhook, reallochook, mabort): Likewise.
39039         * malloc/mcheck.h: Likewise.
39040         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39041         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39042         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39043         * malloc/morecore.c (__default_morecore): Likewise.
39044         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39045         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39046         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39047         (print_and_abort): Likewise.
39048         * malloc/obstack.h: Likewise.
39049         * malloc/set-freeres.c (__libc_freeres): Likewise.
39050         * malloc/tst-mallocstate.c (main): Likewise.
39051         * malloc/tst-mtrace.c (main): Likewise.
39052         * malloc/tst-realloc.c (do_test): Likewise.
39054 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39056         [BZ #16366]
39057         * nscd/netgroupcache.c (do_notfound): New function.
39058         (addgetnetgrentX): Use it.
39060         [BZ # 16365]
39061         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39062         NSS_STATUS_NOTFOUND.
39064 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39066         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39069 2014-01-01  Allan McRae  <allan@archlinux.org>
39071         * scripts/update-copyrights: Update configure input file suffix.
39073         * NEWS: Update copyright year.
39074         * catgets/gencat.c: Likewise.
39075         * csu/version.c: Likewise.
39076         * debug/catchsegv.sh: Likewise.
39077         * debug/pcprofiledump.c: Likewise.
39078         * debug/xtrace.sh: Likewise.
39079         * elf/ldconfig.c: Likewise.
39080         * elf/ldd.bash.in: Likewise.
39081         * elf/pldd.c: Likewise.
39082         * elf/sotruss.ksh: Likewise.
39083         * elf/sprof.c: Likewise.
39084         * iconv/iconv_prog.c: Likewise.
39085         * iconv/iconvconfig.c: Likewise.
39086         * locale/programs/locale.c: Likewise.
39087         * locale/programs/localedef.c: Likewise.
39088         * login/programs/pt_chown.c: Likewise.
39089         * malloc/memusage.sh: Likewise.
39090         * malloc/memusagestat.c: Likewise.
39091         * malloc/mtrace.pl: Likewise.
39092         * manual/libc.texinfo: Likewise.
39093         * nscd/nscd.c: Likewise.
39094         * nss/getent.c: Likewise.
39095         * nss/makedb.c: Likewise.
39096         * posix/getconf.c: Likewise.
39097         * scripts/test-installation.pl: Likewise.
39099         * All files with FSF copyright notices: Update copyright dates
39100         using scripts/update-copyrights.
39101         * intl/plural.c: Regenerated.
39102         * locale/programs/charmap-kw.h: Likewise.
39103         * locale/programs/locfile-kw.h: Likewise.
39105 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39107         * sysdeps/unix/sysv/linux/configure: Regenerated.
39108         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39109         the linux/fanotify.h header.
39110         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39111         HAVE_LINUX_FANOTIFY_H is defined.
39113 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39115         * benchtests/cos-inputs: New inputs.
39116         * benchtests/sin-inputs: Likewise.
39118         * benchtests/atan-inputs: New inputs. Fix name of multiple
39119         precision fallback inputs.
39121         * benchtests/atanh-inputs: New inputs.
39122         * benchtests/tanh-inputs: Likewise.
39124         * benchtests/acosh-inputs: New inputs.
39125         * benchtests/asinh-inputs: Likewise.
39127         * benchtests/cosh-inputs: New inputs.
39128         * benchtests/sinh-inputs: Likewise.
39130         * benchtests/acos-inputs: Add more inputs.
39131         * benchtests/asin-inputs: Likewise.
39133 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39135         [BZ #16375]
39136         * manual/arith.texi: Fix spelling.
39137         * manual/charset.texi: Likewise.
39138         * manual/errno.texi: Likewise.
39139         * manual/filesys.texi: Likewise.
39140         * manual/lang.texi: Likewise.
39141         * manual/llio.texi: Likewise.
39142         * manual/locale.texi: Likewise.
39143         * manual/message.texi: Likewise.
39144         * manual/resource.texi: Likewise.
39145         * manual/search.texi: Likewise.
39146         * manual/setjmp.texi: Likewise.
39147         * manual/stdio.texi: Likewise.
39148         * manual/string.texi: Likewise.
39149         * manual/sysinfo.texi: Likewise.
39150         * manual/time.texi: Likewise.
39152 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39154         * po/sl.po: New file.
39156 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39158         * .gitignore: Add core/.gdbinit/.gdb_history.
39160 2013-12-27  Allan McRae  <allan@archlinux.org>
39162         [BZ #16369]
39163         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39164         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39166 2013-12-24  Brooks Moses  <bmoses@google.com>
39168         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39169         all compilers that claim C++98 compliance, not just GCC.
39170         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39171         Likewise.
39173 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39175         * NEWS: Restore accidentally deleted bug-fix entries.
39177 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39178             Ondřej Bílka  <neleai@seznam.cz>
39180         [BZ #15073]
39181         * malloc/malloc.c (_int_free): Perform sanity check only if we
39182         have_lock.
39184 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39186         [BZ #12986]
39187         * manual/stdio.texi (String Input Conversions): Clarify that character
39188         classes are not supported.
39190 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39194 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39196         [BZ #16337]
39197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39198         Calculate results for small negative arguments directly rather
39199         than using reflection formula with special underflow handling.
39201         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39202         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39203         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39204         (fchflags): Likewise.
39205         (revoke): Likewise.
39206         (setlogin): Likewise.
39207         (sigaltstack): Likewise.
39208         (wait4): Likewise.
39209         (sigblock): Remove.
39210         (sigsetmask): Likewise.
39211         (wait3): Likewise.
39212         (waitpid): Likewise.
39213         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39214         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39215         file.
39216         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39217         * sysdeps/unix/bsd/Makefile: ... here.
39218         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39219         * sysdeps/unix/bsd/Versions: ... here.
39220         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39221         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39222         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39223         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39224         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39225         * sysdeps/unix/bsd/sigblock.c: ... here.
39226         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39227         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39228         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39229         * sysdeps/unix/bsd/sigvec.c: ... here.
39230         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39231         * sysdeps/unix/bsd/tcdrain.c: ... here.
39232         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39233         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39234         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39235         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39236         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39237         * sysdeps/unix/bsd/wait.c: ... here.
39238         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39239         * sysdeps/unix/bsd/wait3.c: ... here.
39240         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39241         * sysdeps/unix/bsd/waitpid.c: ... here.
39243 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39245         [BZ #16356]
39246         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39247         round-to-nearest for [!USE_AS_EXPM1L].
39248         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39249         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39250         more tests of exp and exp10.  Expect some exp10 tests to miss
39251         exceptions or fail in directed rounding modes.
39252         * math/auto-libm-test-out: Regenerated.
39253         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39254         (exp10_test_tonearest): New function.
39255         (exp10_towardzero_test_data): New array.
39256         (exp10_test_towardzero): New function.
39257         (exp10_downward_test_data): New array.
39258         (exp10_test_downward): New function.
39259         (exp10_upward_test_data): New array.
39260         (exp10_test_upward): New function.
39261         (main): Call the new functions.
39262         * sysdeps/i386/fpu/libm-test-ulps: Update.
39263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39265 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39267         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39268         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39269         * math/auto-libm-test-out: Regenerated.
39270         * math/libm-test.inc (acosh_test_data): Add more tests.
39271         (atanh_test_data): Likewise.
39272         (ceil_test_data): Likewise.
39273         (copysign_test_data): Likewise.
39274         * sysdeps/i386/fpu/libm-test-ulps: Update.
39275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39277         * timezone/checktab.awk: Update from tzcode 2013i.
39278         * timezone/private.h: Likewise.
39279         * timezone/scheck.c: Likewise.
39280         * timezone/tzfile.h: Likewise.
39281         * timezone/tzselect.ksh: Likewise.
39282         * timezone/zdump.c: Likewise.
39283         * timezone/zic.c: Likewise.
39285         * math/auto-libm-test-in: Add tests of cpow.
39286         * math/auto-libm-test-out: Regenerated.
39287         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39288         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39289         mpc_cc_c.
39290         (func_calc_desc): Add mpc_cc_c union field.
39291         (test_functions): Add cpow.
39292         (special_fill_2pi): New function.
39293         (special_real_inputs): Add 2pi.
39294         (calc_generic_results): Handle mpc_cc_c.
39295         * sysdeps/i386/fpu/libm-test-ulps: Update.
39296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39298         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39299         csqrt, ctan and ctanh.
39300         * math/auto-libm-test-out: Regenerated.
39301         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39302         (TEST_COND_x86): Likewise.
39303         (ccos_test_data): Use AUTO_TESTS_c_c.
39304         (ccosh_test_data): Likewise.
39305         (cexp_test_data): Likewise.
39306         (clog_test_data): Likewise.
39307         (csqrt_test_data): Likewise.
39308         (ctan_test_data): Likewise.
39309         (ctan_tonearest_test_data): Likewise.
39310         (ctan_towardzero_test_data): Likewise.
39311         (ctan_downward_test_data): Likewise.
39312         (ctan_upward_test_data): Likewise.
39313         (ctanh_test_data): Likewise.
39314         (ctanh_tonearest_test_data): Likewise.
39315         (ctanh_towardzero_test_data): Likewise.
39316         (ctanh_downward_test_data): Likewise.
39317         (ctanh_upward_test_data): Likewise.
39318         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39319         mpc_c_c.
39320         (func_calc_desc): Add mpc_c_c union field.
39321         (FUNC_mpc_c_c): New macro.
39322         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39323         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39324         ctanh.
39325         (special_fill_min_subnorm_p120): New function.
39326         (special_real_inputs): Add min_subnorm_p120.
39327         (calc_generic_results): Handle mpc_c_c.
39328         * sysdeps/i386/fpu/libm-test-ulps: Update.
39329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39331 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39333         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39334         (do_sin_slow): New functions.
39335         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39336         (cslow2, csloww1, csloww2): Use the new functions.
39338         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39339         Use M to change sign of result instead of X.  Assume X is
39340         positive.
39341         (csloww1): Likewise.
39342         (__sin): Adjust.
39343         (__cos): Adjust.
39345         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39346         arguments A and DA.
39347         (__sin): Adjust.
39348         (__cos): Likewise.
39350         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39351         (__cos): Likewise.
39352         (sloww1): Don't adjust sign of DX.
39353         (csloww1): Likewise.
39354         (sloww2): Use X directly and don't adjust sign of DX.
39355         (csloww2): Likewise.
39357 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39359         * math/auto-libm-test-in: Add tests of cabs and carg.
39360         * math/auto-libm-test-out: Regenerated.
39361         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39362         (carg_test_data): Likewise.
39363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39364         mpc_c_f.
39365         (func_calc_desc): Add mpc_c_f union field.
39366         (test_functions): Add cabs and carg.
39367         (calc_generic_results): Handle mpc_c_f.
39369         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39370         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39371         as a macro and a compat symbol.
39372         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39373         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39374         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39375         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39376         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39378         not use .hidden.
39379         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39380         Likewise.
39381         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39382         Likewise.
39383         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39384         Likewise.
39385         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39386         Likewise.
39387         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39388         Likewise.
39389         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39390         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39391         from GLIBC_2.3.2.
39393 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39397 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39399         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39400         trailing whitespace removed.
39401         * scripts/config.guess: Update to version 2013-11-29.
39402         * scripts/config.sub: Update to version 2013-10-01.
39404         * math/auto-libm-test-in: Add tests of sincos.
39405         * math/auto-libm-test-out: Regenerated.
39406         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39407         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39408         mpfr_f_11.
39409         (func_calc_desc): Add mpfr_f_11 union field.
39410         (test_functions): Add sincos.
39411         (calc_generic_results): Handle mpfr_f_11.
39412         * sysdeps/i386/fpu/libm-test-ulps: Update.
39413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39415 2013-12-19  Andreas Schwab  <schwab@suse.de>
39417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39418         CALL_MCOUNT.
39419         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39420         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39421         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39423 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39425         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39426         * sysdeps/i386/fpu/libm-test-ulps: Update.
39427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39429         [BZ #16293]
39430         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39431         round-to-nearest mode when using frndint.
39432         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39433         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39435         Likewise.
39436         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39437         sinh test to fail.
39438         * math/auto-libm-test-out: Regenerated.
39439         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39440         (TEST_COND_x86): Likewise.
39441         (expm1_tonearest_test_data): New array.
39442         (expm1_test_tonearest): New function.
39443         (expm1_towardzero_test_data): New array.
39444         (expm1_test_towardzero): New function.
39445         (expm1_downward_test_data): New array.
39446         (expm1_test_downward): New function.
39447         (expm1_upward_test_data): New array.
39448         (expm1_test_upward): New function.
39449         (main): Run the new test functions.
39450         * sysdeps/i386/fpu/libm-test-ulps: Update.
39451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39453         * include/features.h: Update comment documenting feature test
39454         macros.  Mention _DEFAULT_SOURCE in comment.
39455         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39456         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39457         _BSD_SOURCE and _SVID_SOURCE.
39458         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39459         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39460         !_SVID_SOURCE]: Likewise.
39461         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39462         (__USE_POSIX_IMPLICITLY): Define.
39463         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39464         (_POSIX_SOURCE): Undefine and redefine.
39465         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39466         (_POSIX_C_SOURCE): Likewise.
39467         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39468         (Feature Test Macros): Update documentation of default features.
39470 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39472         * benchtests/Makefile: Add bench-strtok.
39473         * benchtests/bench-strtok.c: New file: strtok benchtest.
39475 2013-12-19  Allan McRae  <allan@archlinux.org>
39477         * manual/install.texi: Suppress menu for plain text output.
39478         * INSTALL: Regenerated.
39480 2013-12-18  Brooks Moses  <bmoses@google.com>
39482         [BZ #15846]
39483         * misc/getauxval.c: Include errno.h.
39484         (__getauxval): Set errno to ENOENT if the requested type is not
39485         found.
39486         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39487         don't declare with __attribute_const__.
39488         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39489         * manual/startup.texi: Document that getauxval sets errno.
39491 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39493         * math/auto-libm-test-in: Add tests of jn and yn.
39494         * math/auto-libm-test-out: Regenerated.
39495         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39496         (yn_test_data): Likewise.
39497         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39498         mpfr_if_f.
39499         (func_calc_desc): Add mpfr_if_f union field.
39500         (FUNC_mpfr_if_f): New macro.
39501         (test_functions): Add jn and yn.
39502         (calc_generic_results): Assert type of second input for
39503         mpfr_ff_f.  Handle mpfr_if_f.
39504         (output_for_one_input_case): Disable all checking for arguments
39505         fitting floating-point types in case of an integer argument.
39506         * sysdeps/i386/fpu/libm-test-ulps: Update.
39507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39510         Don't expect fegetround reference in libm.so.
39512 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39514         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39515         $(config-cflags-nofma).
39517 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39519         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39520         * math/auto-libm-test-out: Regenerated.
39522         [BZ #16338]
39523         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39524         to determine exponent and adjust argument to have exponent of -1.
39525         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39526         log2.
39527         * math/auto-libm-test-out: Regenerated.
39528         * sysdeps/i386/fpu/libm-test-ulps: Update.
39529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39531 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39533         * manual/probes.texi: Remove cases when per-thread arenas are
39534         disabled.
39536 2013-12-18  Andreas Schwab  <schwab@suse.de>
39538         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39539         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39540         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39541         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39542         * sysdeps/i386/i686/multiarch/Makefile: Update.
39543         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39545 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39547         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39548         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39550 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39552         [BZ #15968]
39553         Support TZ transition times < 00:00:00.
39554         This is needed for version-3 tz-format files; it supports time
39555         stamps past 2037 for America/Godthab (the only entry in the tz
39556         database for which this change is relevant).
39557         * manual/time.texi (TZ Variable): Document transition times
39558         from -167:59:59 through -00:00:01.
39559         * time/tzset.c (tz_rule): Time of day is now signed.
39560         (__tzset_parse_tz): Parse negative time of day.
39562         Document TZ transition times >= 25:00:00.
39563         * manual/time.texi (TZ Variable): Document transition times from
39564         25:00:00 through 167:59:59.  These are already supported, and this
39565         support will help with version-3 tz-format files.
39567         * manual/time.texi (TZ Variable): Modernize North America example
39568         to reflect current (i.e., 2007-and-later) daylight saving rules.
39570         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39572 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39574         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39575         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39576         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39577         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39578         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39579         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39580         * sysdeps/unix/bsd/clock.c: Likewise.
39581         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39582         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39583         * sysdeps/unix/bsd/init-posix.c: Likewise.
39584         * sysdeps/unix/bsd/poll.c: Likewise.
39585         * sysdeps/unix/bsd/ptsname.c: Likewise.
39586         * sysdeps/unix/bsd/seekdir.c: Likewise.
39587         * sysdeps/unix/bsd/setegid.c: Likewise.
39588         * sysdeps/unix/bsd/seteuid.c: Likewise.
39589         * sysdeps/unix/bsd/setgid.c: Likewise.
39590         * sysdeps/unix/bsd/setrgid.c: Likewise.
39591         * sysdeps/unix/bsd/setruid.c: Likewise.
39592         * sysdeps/unix/bsd/setsid.c: Likewise.
39593         * sysdeps/unix/bsd/setuid.c: Likewise.
39594         * sysdeps/unix/bsd/sigaction.c: Likewise.
39595         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39596         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39597         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39598         * sysdeps/unix/bsd/telldir.c: Likewise.
39599         * sysdeps/unix/bsd/times.c: Likewise.
39600         * sysdeps/unix/bsd/usleep.c: Likewise.
39602         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39603         ($(objpfx)libbsd-compat.a): Remove rule.
39605         * include/features.h (__FAVOR_BSD): Do not define.
39606         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39607         features conflicting with POSIX.
39608         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39609         (_BSD_SOURCE): Remove description of not being a subset of other
39610         feature test macros.
39611         * manual/job.texi (getpgrp): Do not document BSD version.
39612         (getpgid): Do not document by reference to BSD getpgrp.
39613         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39614         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39615         * signal/signal.h [__FAVOR_BSD]: Likewise.
39616         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39617         instead of making contents conditional on [__FAVOR_BSD].
39618         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39620 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39624 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39626         [BZ #16314]
39627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39628         values below 2**-450, not 2**-500.
39629         * math/auto-libm-test-in: Don't allow spurious underflow from
39630         hypot.
39631         * math/auto-libm-test-out: Regenerated.
39633         [BZ #16316]
39634         [BZ #16330]
39635         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39636         values of ha and hb and sort them after adjusting subnormal
39637         arguments.
39638         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39639         Likewise.
39640         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39641         values of ea and eb and sort them after adjusting subnormal
39642         arguments.
39643         * math/auto-libm-test-in: Do not expect some hypot tests of
39644         subnormals to fail.  Add more hypot tests.
39645         * math/auto-libm-test-out: Regenerated.
39647 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39649         [BZ #13304]
39650         * sysdeps/sh/s_fma.c: New file.
39651         * sysdeps/sh/s_fmaf.c: New file.
39652         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39653         version.
39654         * sysdeps/sh/Implies: Add sh/soft-fp.
39656 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39658         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39659         level of indirection to members `objname', `errstring', `malloced'.
39660         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39661         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39662         it as the __longjmp argument (just pass 1 instead).
39663         (_dl_catch_error): Initialize C with argument pointers and address of
39664         volatile local ERRCODE rather than copying values out of C at return.
39666 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39668         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39669         * math/auto-libm-test-out: Regenerated.
39670         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39671         (hypot_test_data): Likewise.
39672         (pow_test_data): Likewise.
39673         (pow_tonearest_test_data): Likewise.
39674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39675         mpfr_ff_f.
39676         (func_calc_desc): Add mpfr_ff_f union field.
39677         (FUNC_mpfr_ff_f): New macro.
39678         (test_functions): Add atan2, hypot and pow.
39679         (special_fill_min): New function.
39680         (special_fill_minus_min): Likewise.
39681         (special_fill_min_subnorm): Likewise.
39682         (special_fill_minus_min_subnorm): Likewise.
39683         (special_real_inputs): Add min, -min, min_subnorm and
39684         -min_subnorm.
39685         (calc_generic_results): Handle mpfr_ff_f.
39686         * sysdeps/i386/fpu/libm-test-ulps: Update.
39687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39689 2013-12-16  Will Newton  <will.newton@linaro.org>
39691         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39692         (Aligned Memory Blocks): Add documentation for aligned_alloc
39693         and suggest it as an alternative to posix_memalign.
39694         (Hooks for Malloc): Document __memalign_hook is also called
39695         for aligned_alloc.  (Summary of Malloc): Add summary for
39696         aligned alloc.  Document __memalign_hook is also called
39697         for aligned_alloc.
39699 2013-12-16  Will Newton  <will.newton@linaro.org>
39701         * manual/memory.texi (Malloc Examples): Clarify default
39702         alignment documentation.  Suggest posix_memalign rather
39703         than memalign or valloc.
39704         (Aligned Memory Blocks): Remove suggestion to use memalign
39705         or valloc.  Remove obsolete comment about BSD.
39706         Document memalign errno values and mark the function obsolete.
39707         Document posix_memalign returned error codes.  Mark valloc
39708         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39709         called for posix_memalign and valloc.
39710         (Summary of Malloc): Add posix_memalign to function summary.
39711         __memalign_hook is also called for posix_memalign and valloc.
39713 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39715         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39716         TAYLOR_SIN.
39717         (__sin): Adjust.
39718         (__cos): Likewise.
39719         (sloww): Use mynumber union.  Expand ternary operator into
39720         if-else statements.
39721         (cslow): use mynumber union.
39723 2013-12-16  Allan McRae  <allan@archlinux.org>
39725         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39726         * configure: Regenerated.
39728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39730         [BZ #14120]
39731         * configure.ac: Added --enable-maintainer-mode. Check for
39732         autoconf when enabled.
39733         * configure: Regenerated.
39735         * nscd/nscd.service: New file.
39736         * nscd/nscd.tmpfiles: New file.
39738 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39740         [BZ #12100]
39741         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39742         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39743         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39744         (strstr): Add __strstr_sse2_unaligned ifunc.
39745         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39746         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39747         (strcasestr): Remove __strcasestr_sse42 ifunc.
39748         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39752 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39754         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39755         * sysdeps/sh/bits/fenv.h: ... here.
39756         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39758 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39760         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39763         hypotf multiarch implementations.
39764         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39765         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39766         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39767         multiarch hypot for PPC64.
39768         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39770         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39771         multiarch hypotf for PPC64.
39773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39774         modff multiarch implementations.
39775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39778         multiarch modf for PPC64.
39779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39782         multiarch modff for PPC64.
39784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39785         and logl multiarch implementations.
39786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39789         multiarch logb for PPC64.
39790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39793         multiarch logb for PPC64.
39794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39797         multiarch logb for PPC64.
39799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39800         isinff multiarch implementation.
39801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39802         file.
39803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39805         multiarch isinf for PPC64.
39806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39807         file.
39808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39809         multiarch isinff for PPC64.
39811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39812         finitef multiarch implementation.
39813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39814         file.
39815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39817         multiarch finite for PPC64.
39818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39819         file.
39820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39821         multiarch finitef for PPC64.
39823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39824         lrint multiarch implementation.
39825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39826         file.
39827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39829         multiarch llrint for PPC64.
39830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39831         multiarch lrint for PPC64.
39833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39834         copysignf multiarch implementation.
39835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39836         file.
39837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39838         file.
39839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39840         multiarch copysign for PPC64.
39841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39842         multiarch copysignf for PPC64.
39844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39845         multiarch implementation.
39846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39847         file.
39848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39849         file.
39850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39851         file.
39852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39853         file.
39854         multiarch llround for PPC64.
39855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39856         multiarch trunc for PPC64.
39857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39858         multiarch truncf for PPC64.
39860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39861         multiarch implementation.
39862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39863         file.
39864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39865         file.
39866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39867         file.
39868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39869         file.
39870         multiarch llround for PPC64.
39871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39872         multiarch round for PPC64.
39873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39874         multiarch roundf for PPC64.
39876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39877         multiarch implementation.
39878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39879         file.
39880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39881         file.
39882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39883         file.
39884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39885         file.
39886         multiarch llround for PPC64.
39887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39888         multiarch floor for PPC64.
39889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39890         multiarch floorf for PPC64.
39892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39893         multiarch implementation.
39894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39895         file.
39896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39897         file.
39898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39899         file.
39900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39901         file.
39902         multiarch llround for PPC64.
39903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39904         multiarch ceil for PPC64.
39905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39906         multiarch ceilf for PPC64.
39908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39909         multiarch implementation.
39910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39911         file.
39912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39913         file.
39914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39915         file.
39916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39917         multiarch llround for PPC64.
39918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39919         multiarch lround for PPC64.
39921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39922         multiarch implementation.
39923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39926         file.
39927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39930         multiarch isnan for PPC64.
39931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39932         multiarch isnanf for PPC64.
39934         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39935         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39936         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39937         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39938         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39941         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39942         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39947         multiarch implementations.
39948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39949         (__libc_ifunc_impl_list): Likewise.
39950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39951         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39952         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39953         multiarch stpcpy for PPC64.
39955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39956         multiarch implementations.
39957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39958         (__libc_ifunc_impl_list): Likewise.
39959         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39961         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39962         multiarch strcpy for PPC64.
39964         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39965         redefine function name.
39966         (_wordcopy_fwd_dest_aligned): Likewise.
39967         (_wordcopy_bwd_aligned): Likewise.
39968         (_wordcopy_bwd_dest_aligned): Likewise.
39969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39970         multiarch implementations.
39971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39972         (__libc_ifunc_impl_list): Likewise.
39973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39974         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39975         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39976         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39977         multiarch wcscpy for PPC64.
39979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39980         multiarch implementations.
39981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39982         (__libc_ifunc_impl_list): Likewise.
39983         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39984         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39985         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39986         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39987         multiarch wcscpy for PPC64.
39989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39990         multiarch implementations.
39991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39992         (__libc_ifunc_impl_list): Likewise.
39993         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39994         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39995         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39996         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39997         multiarch wcsrchr for PPC64.
39999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40000         multiarch implementations.
40001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40002         (__libc_ifunc_impl_list): Likewise.
40003         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40004         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40005         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40006         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40007         multiarch wcschr for PPC64.
40009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40010         multiarch implementations.
40011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40012         (__libc_ifunc_impl_list): Likewise.
40013         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40014         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40015         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40016         multiarch strchrnul for PPC64.
40018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40019         implementations.
40020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40021         (__libc_ifunc_impl_list): Likewise.
40022         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40023         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40024         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40025         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40026         strchr for PPC64.
40028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40029         implementations.
40030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40031         (__libc_ifunc_impl_list): Likewise.
40032         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40033         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40034         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40035         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40036         strncmp for PPC64.
40038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40039         multiarch implementations.
40040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40041         (__libc_ifunc_impl_list): Likewise.
40042         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40043         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40044         strncasecmp for PPC64.
40045         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40046         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40047         multiarch strncasecmp_l for PPC64.
40049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40050         multiarch implementations.
40051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40052         (__libc_ifunc_impl_list): Likewise.
40053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40054         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40055         multiarch strcasecmp for PPC64.
40056         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40057         file.
40058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40059         multiarch strcasecmp_l for PPC64.
40061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40062         implementations.
40063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40064         (__libc_ifunc_impl_list): Likewise.
40065         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40066         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40067         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40068         strnlen for PPC64.
40070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40071         implementations.
40072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40073         (__libc_ifunc_impl_list): Likewise.
40074         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40075         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40076         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40077         strlen for PPC64.
40079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40080         implementations.
40081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40082         (__libc_ifunc_impl_list): Likewise.
40083         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40084         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40085         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40086         rawmemrchr for PPC64.
40088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40089         implementation.
40090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40091         (__libc_ifunc_impl_list): Likewise.
40092         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40093         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40094         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40095         memrchr for PPC64.
40097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40098         implementation.
40099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40100         (__libc_ifunc_impl_list): Likewise.
40101         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40102         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40103         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40104         memchr for PPC64.
40106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40107         implementation.
40108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40109         (__libc_ifunc_impl_list): Likewise.
40110         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40111         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40112         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40113         mempcpy for PPC64.
40115         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40116         avoid cretion of __bzero symbol.
40117         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40118         Likewise.
40119         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40120         Likewise.
40121         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40122         Likewise.
40123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40124         multiarch implementations.
40125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40126         (__libc_ifunc_impl_list): Likewise.
40127         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40128         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40129         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40130         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40131         bzero for PPC32.
40132         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40133         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40134         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40135         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40136         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40137         memset for PPC64.
40138         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40140         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40142         implementations.
40143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40144         (__libc_ifunc_impl_list): Likewise.
40145         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40146         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40147         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40148         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40149         memcmp for PPC64.
40151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40152         multiarch for POWER/PPC64.
40153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40154         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40155         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40156         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40157         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40158         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40159         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40160         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40161         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40162         memcpy for PPC64.
40164         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40165         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40166         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40167         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40168         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40169         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40170         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40171         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40172         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40173         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40174         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40175         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40176         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40177         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40178         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40187 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40189         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40191 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40193         * benchtests/Makefile (bench): Add exp2 and log2.
40194         (LDLIBS-bench-exp2): Add -lm.
40195         (LDLIBS-bench-log2): Likewise.
40196         * benchtests/exp2-inputs: New inputs file.
40197         * benchtests/log2-inputs: New inputs file.
40198         * benchtests/log-inputs: Add new inputs.
40199         * benchtests/tan-inputs: Likewise.
40201 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40203         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40204         definition...
40205         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40206         (csloww2): ... from here.
40208         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40209         instead of structures.
40210         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40211         (POLYNOMIAL): Likewise.
40212         (TAYLOR_SLOW): Likewise.
40213         (__sin): Likewise.
40214         (__cos): Likewise.
40215         (slow1): Likewise.
40216         (slow2): Likewise.
40217         (sloww): Likewise.
40218         (sloww1); Likewise.
40219         (sloww2): Likewise.
40220         (bsloww1): Likewise.
40221         (bsloww2): Likewise.
40222         (cslow2): Likewise.
40223         (csloww): Likewise.
40224         (csloww1): Likewise.
40225         (csloww2): Likewise.
40227 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40229         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40230         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40231         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40232         * malloc/hooks.c (realloc_check): Likewise.
40234         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40235         * malloc/arena.c: Remove PER_THREAD conditional.
40236         [!PER_THREAD]: Remove code.
40237         (ptmalloc_unlock_all2): Likewise.
40238         (ptmalloc_init): Likewise.
40239         (_int_new_arena): Likewise.
40240         (arena_get2): Likewise.
40241         * malloc/hooks.c (__malloc_get_state): Likewise.
40242         (__malloc_set_state): Likewise.
40243         * malloc/malloc.c: Likewise.
40244         (struct malloc_state): Likewise.
40245         (struct malloc_par): Likewise.
40246         (__libc_realloc): Likewise.
40247         (__libc_mallopt): Likewise.
40249 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40251         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40253 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40255         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40256         macro to a function.  Check for zero perturb_byte.
40257         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40259         * malloc/malloc.c: (force_reg): Remove.
40260         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40261         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40262         force_reg by atomic_forced_read.
40263         * malloc/arena.c (ptmalloc_init): Likewise.
40264         * malloc/hooks.c (top_check): Likewise.
40266 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40270 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40274 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40276         * math/auto-libm-test-in: Add tests of lgamma.
40277         * math/auto-libm-test-out: Regenerated.
40278         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40279         (M_LOG_2_SQRT_PIl): Likewise.
40280         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40281         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40282         mpfr_f_f1.
40283         (func_calc_desc): Add mpfr_f_f1 union field.
40284         (ARGS1): New macro.
40285         (ARGS2): Likewise.
40286         (ARGS3): Likewise.
40287         (ARGS4): Likewise.
40288         (RET1): Likewise.
40289         (RET2): Likewise.
40290         (CALC): Likewise.
40291         (FUNC): Likewise.
40292         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40293         (test_functions): Add lgamma.
40294         (calc_generic_results): Handle mpfr_f_f1.
40295         * sysdeps/i386/fpu/libm-test-ulps: Update.
40296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40300         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40301         __mpn_add_n for PowerPC64/POWER7.
40302         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40303         __mpn_sub_n for PowerPC64/POWER7.
40305         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40306         __mpn_addmul_1 for PowerPC64.
40307         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40308         __mpn_submul_1 for PowerPC64.
40309         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40310         for PowerPC64.
40311         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40312         for PowerPC64.
40314 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40316         [BZ #15089]
40317         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40319 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40321         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40323         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40324         add multiarch folders.
40325         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40326         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40327         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40328         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40329         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40330         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40331         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40332         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40333         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40334         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40335         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40344         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40346         New file.
40347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40348         New file.
40349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40350         multiarch __ieee754_hypot for PowerPC32.
40351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40352         New file.
40353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40354         New file.
40355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40356         multiarch __ieee754_hypotf for PowerPC32.
40358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40359         long_double_symbol only if __logbl is defined.
40360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40361         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40363         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40364         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40365         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40367         path for implementation.
40368         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40369         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40371         logb, and logbl multiarch implementations for PowerPC32.
40372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40373         file.
40374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40375         file.
40376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40377         multiarch logb for PowerPC32.
40378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40379         file.
40380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40381         file.
40382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40383         multiarch logbf for PowerPC32.
40384         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40386         file.
40387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40388         multiarch logbl implementation for PowerPC32.
40390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40391         and modff multiarch implementations.
40392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40393         New file.
40394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40395         New file.
40396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40397         multiarch modf for PowerPC32.
40398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40399         New file.
40400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40401         New file.
40402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40403         multiarch modff for PowerPC32.
40405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40406         and lrintf multiarch implementations.
40407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40408         New file.
40409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40410         New file.
40411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40412         multiarch lrint for PowerPC32.
40413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40414         file: multiarch lrintf for PowerPC32.
40416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40417         and lroundf multiarch implementations.
40418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40419         New file.
40420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40421         New file.
40422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40423         New file.
40424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40425         multiarch lround for PowerPC32.
40426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40427         file: multiarch lroundf for PowerPC32.
40429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40430         copysign and copysignf multiarch implementations.
40431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40432         New file.
40433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40434         New file.
40435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40436         file: multiarch copysign for PowerPC32.
40437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40438         file: multiarch copysignf for PowerPC32.
40440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40441         and truncf multiarch implementations.
40442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40443         New file.
40444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40445         file.
40446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40447         multiarch trunc for PowerPC32.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40449         New file.
40450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40451         New file.
40452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40453         multiarch truncf for PowerPC32.
40455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40456         and roundf multiarch implementations.
40457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40458         New file.
40459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40460         file.
40461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40462         multiarch round for PowerPC32.
40463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40464         New file.
40465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40466         New file.
40467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40468         multiarch roundf for PowerPC32.
40470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40471         and floorf multiarch implementations.
40472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40473         New file.
40474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40475         file.
40476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40477         multiarch floor for PowerPC32.
40478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40479         New file.
40480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40481         New file.
40482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40483         multiarch floorf for PowerPC32.
40485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40486         and ceilf multiarch implementations.
40487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40488         New file.
40489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40490         file.
40491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40492         multiarch ceil for PowerPC32.
40493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40494         New file.
40495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40496         file.
40497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40498         multiarch ceilf for PowerPC32.
40500         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40501         is defined.
40502         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40503         FINITEF is defined.
40504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40505         and finitef multiarch implementations.
40506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40507         New file.
40508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40509         file.
40510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40511         multiarch finite for PowerPC32.
40512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40513         New file.
40514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40515         file: multiarch finitef for PowerPC32.
40517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40518         and isinff multiarch implementations.
40519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40520         file.
40521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40522         file.
40523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40524         multiarch isinf for PowerPC32.
40525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40526         New file.
40527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40528         multiarch isinff for PowerPC32.
40530         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40531         alias when __isnan is defined.
40532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40533         and isnanf multiarch implementations.
40534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40535         file.
40536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40537         file.
40538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40539         file.
40540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40541         file.
40542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40543         multiarch isnan for PowerPC32.
40544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40545         New file.
40546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40547         New file.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40549         multiarch isnanf for PowerPC32.
40551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40552         and sqrtf multiarch implementations.
40553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40554         file.
40555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40556         file.
40557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40558         multiarch sqrt for PowerPC32.
40559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40560         file.
40561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40562         file.
40563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40564         multiarch sqrtf for PowerPC32.
40566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40567         and llroundf multiarch implementations.
40568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40569         New file.
40570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40571         New file.
40572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40573         New file.
40574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40575         file: multiarch llround for PowerPC32.
40576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40577         file: multiarch llroundf for PowerPC32.
40579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40580         multiarch PowerPC32 fpu implementations.
40581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40582         New file.
40583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40584         New file.
40585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40586         multiarch llrint for PowerPC32.
40587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40588         New file.
40589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40590         New file.
40591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40592         file.
40594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40596         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40597         file.
40598         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40599         file.
40600         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40601         file.
40602         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40603         multiarch wordcopy for PPC32.
40604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40605         wordcopy objects.
40606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40607         (__libc_ifunc_impl_list): Likewise.
40608         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40609         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40610         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40611         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40613         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40615         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40617         file.
40618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40619         file.
40620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40621         file.
40622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40623         multiarch wcscpy for PPC32.
40624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40625         multiarch objects.
40626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40627         (__libc_ifunc_impl_list): Likewise.
40628         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40629         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40630         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40631         sysdeps/powerpc/power6/wcscpy.c.
40633         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40635         file.
40636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40637         file.
40638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40639         file.
40640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40641         multiarch wcsrchr for PPC32.
40642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40643         multiarch objects.
40644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40645         (__libc_ifunc_impl_list): Likewise.
40646         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40647         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40648         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40649         sysdeps/powerpc/power6/wcsrchr.c.
40651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40652         file.
40653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40654         file.
40655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40657         multiarch wcschr for PPc32.
40658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40659         multiarch objects.
40660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40661         (__libc_ifunc_impl_list): Likewise.
40662         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40663         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40664         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40665         sysdeps/powerpc/power6/wcschr.c.
40667         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40668         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40669         file.
40670         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40671         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40672         file: multiarch strchr for PPC32.
40673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40674         multiarch objects.
40675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40676         (__libc_ifunc_impl_list): Likewise.
40678         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40679         name.
40680         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40681         file.
40682         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40683         file.
40684         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40685         multiarch strchrnul for PPC32.
40686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40687         multiarch objects.
40688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40689         (__libc_ifunc_impl_list): Likewise.
40691         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40692         file.
40693         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40694         multiarch strncasecmp for PPC32.
40695         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40696         file.
40697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40698         multiarch strncasecmp_l for PPC32.
40699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40700         strncasecmp multiarch objects.
40701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40702         (__libc_ifunc_impl_list): Likewise.
40704         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40705         file.
40706         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40707         multiarch strncasecmp for PPC32.
40708         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40709         New file.
40710         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40711         multiarch strcasecmp_l for PPC32.
40712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40713         multiarch objects.
40714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40715         (__libc_ifunc_impl_list): Likewise.
40717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40718         file.
40719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40720         file.
40721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40722         multiarch strncmp for PPC32.
40723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40724         multiarch objects.
40725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40726         (__libc_ifunc_impl_list): Likewise.
40728         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40729         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40730         file.
40731         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40732         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40734         multiarch objects.
40735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40736         (__libc_ifunc_impl_list): Likewise.
40738         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40739         file.
40740         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40741         file.
40742         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40744         multiarch objects.
40745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40746         (__libc_ifunc_impl_list): Likewise.
40748         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40749         file.
40750         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40751         file.
40752         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40753         multiarch rawmemchr for PPC32.
40754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40755         multiarch objects.
40756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40757         (__libc_ifunc_impl_list): Likewise.
40759         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40760         file.
40761         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40762         file.
40763         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40764         file: memrchr multiarch for PPC32.
40765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40766         multiarch objects.
40767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40768         (__libc_ifunc_impl_list): Likewise.
40770         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40771         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40772         file.
40773         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40774         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40775         multiarch memchr for PPC32.
40776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40777         multiarch objects.
40778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40779         (__libc_ifunc_impl_list): Likewise.
40781         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40782         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40783         file.
40784         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40785         file.
40786         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40787         file: multiarch mempcpy for PPC32.
40788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40789         multiarch objects.
40790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40791         (__libc_ifunc_impl_list): Likewise.
40793         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40794         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40795         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40796         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40797         multiarch bzero for PPC32.
40798         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40799         file.
40800         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40801         file.
40802         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40803         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40804         file: multiarch memset for PPC32.
40805         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40807         memset multiarch objects.
40808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40809         (__libc_ifunc_impl_list): Likewise.
40811         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40812         file.
40813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40815         memcmp for PPC32.
40816         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40818         multiarch objects.
40819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40820         (__libc_ifunc_impl_list): Likewise.
40822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40824         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40825         file.
40826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40827         file.
40828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40829         file.
40830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40831         multiarch memcpy for PPC32.
40832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40833         multiarch objects.
40834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40835         (__libc_ifunc_impl_list): Likewise.
40837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40838         support multiarch for POWER/PPC32.
40839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40840         Likewise.
40841         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40843         Implies file to make multiarch folder appers before the fpu and
40844         default folder for power4 configuration.
40846 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40848         * scripts/bench.pl: Append volatile keyword to type.
40850 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40852         * sysdeps/sh/sotruss-lib.c: New file.
40853         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40855 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40859 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40861         [BZ #6810]
40862         * math/w_tgamma.c: Include <errno.h>.
40863         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40864         * math/w_tgammaf.c: Include <errno.h>.
40865         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40866         * math/w_tgammal.c: Include <errno.h>.
40867         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40868         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40869         underflow.  Add more tgamma tests.
40870         * math/auto-libm-test-out: Regenerated.
40871         * sysdeps/i386/fpu/libm-test-ulps: Update.
40872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40874         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40875         sin, sinh, tan, tanh, tgamma, y0 and y1.
40876         * math/auto-libm-test-out: Regenerated.
40877         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40878         (TEST_COND_x86): Likewise.
40879         (M_E2l): Remove macro.
40880         (M_E3l): Likewise.
40881         (M_2_SQRT_PIl): Likewise.
40882         (M_SQRT_PIl): Likewise.
40883         (M_1_DIV_El): Likewise.
40884         (log_test_data): Use AUTO_TESTS_f_f.
40885         (log10_test_data): Likewise.
40886         (log1p_test_data): Likewise.
40887         (log2_test_data): Likewise.
40888         (sin_test_data): Likewise.
40889         (sin_tonearest_test_data): Likewise.
40890         (sin_towardzero_test_data): Likewise.
40891         (sin_downward_test_data): Likewise.
40892         (sin_upward_test_data): Likewise.
40893         (sinh_test_data): Likewise.
40894         (sinh_tonearest_test_data): Likewise.
40895         (sinh_towardzero_test_data): Likewise.
40896         (sinh_downward_test_data): Likewise.
40897         (sinh_upward_test_data): Likewise.
40898         (tan_test_data): Likewise.
40899         (tan_tonearest_test_data): Likewise.
40900         (tan_towardzero_test_data): Likewise.
40901         (tan_downward_test_data): Likewise.
40902         (tan_upward_test_data): Likewise.
40903         (tanh_test_data): Likewise.
40904         (tgamma_test_data): Likewise.
40905         (y0_test_data): Likewise.
40906         (y1_test_data): Likewise.
40907         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40908         (special_real_inputs): Add pi/4.
40909         * sysdeps/i386/fpu/libm-test-ulps: Update.
40910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40912 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40914         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40915         "longjmp_target" static probes.
40916         (__longjmp): Rename to __longjmp_symbol.
40917         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40918         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40919         on which longjmp to generate.
40920         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40921         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40922         probe.
40923         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40924         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40925         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40926         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40927         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40928         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40930         __longjmp_symbol based on which __longjmp to generate.
40931         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40932         probe.
40933         (setjmp): Rename to setjmp_symbol.
40934         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40935         (_setjmp): Rename to _setjmp_symbol.
40936         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40937         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40938         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40939         which setjmp to generate.
40940         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40941         "longjmp_target" static probes.
40943 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40945         * benchtests/README: Add note about output arguments.
40946         * benchtests/bench-sincos.c: Remove file.
40947         * benchtests/sincos-inputs: New file.
40948         * scripts/bench.pl: Identify output arguments and define
40949         static variables for them.
40951         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40953         [BZ #15941]
40954         * Makefile (INSTALL): Add install-plain.texi as the primary
40955         dependency.
40956         * manual/install-plain.texi: New file.
40957         * manual/install.texi: Include node directive only for
40958         non-plaintext output.
40960 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40962         * stdlib/longlong.h: Update from GCC.
40964         [BZ #6807]
40965         [BZ #15901]
40966         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40967         * math/w_j0f.c (y0f): Likewise.
40968         * math/w_j0l.c (__y0l): Likewise.
40969         * math/w_j1.c (y1): Likewise.
40970         * math/w_j1f.c (y1f): Likewise.
40971         * math/w_j1l.c (__y1l): Likewise.
40972         * math/w_jn.c (yn): Likewise.
40973         * math/w_jnf.c (ynf): Likewise.
40974         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40975         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40976         value for Bessel function domain errors outside _SVID_ mode.
40977         Adjust sign of return value for yn (negative integer, 0).
40978         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40979         by zero in return for negative x and set sign appropriately for
40980         negative n.
40981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40982         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40983         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40984         expectations in error cases.
40985         (y1_test_data): Likewise.
40986         (yn_test_data): Likewise.
40987         * sysdeps/i386/fpu/libm-test-ulps: Update.
40988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40990 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40992         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40993         "64" to "64-v1".  Add "64-v2".
40994         (abi-64-options): Rename to ...
40995         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40996         (abi-64-condition): Rename to ...
40997         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40998         (abi-64-ld-soname): Rename to ...
40999         (abi-64-v1-ld-soname): ... this.
41000         (abi-64-v2-options): Define.
41001         (abi-64-v2-condition): Likewise.
41002         (abi-64-v2-ld-soname): Likewise.
41003         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41004         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41009 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41010             Alan Modra  <amodra@gmail.com>
41012         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41013         New versions for use with the ELFv2 ABI.
41014         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41015         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41016         declaration.
41017         (struct La_ppc64v2_retval): Likewise.
41018         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41019         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41020         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41021         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41022         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41023         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41024         Do not save or restore CR.
41025         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41026         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41027         return values for ELFv2 ABI.  Fix location of FPR return registers.
41028         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41029         updated values for _CALL_ELF == 2.
41030         (La_regs, La_retval, int_retval): Likewise.
41032 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41034         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41035         (FRAME_MIN_SIZE_PARM): Likewise.
41036         (FRAME_BACKCHAIN): Likewise.
41037         (FRAME_CR_SAVE): Likewise.
41038         (FRAME_LR_SAVE): Likewise.
41039         (FRAME_TOC_SAVE): Likewise.
41040         (FRAME_PARM_SAVE): Likewise.
41041         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41042         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41043         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41044         (call_mcount_parm_offset): New macro.
41045         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41046         (PROF): Use symbolic stack frame offsets.
41047         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41048         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41049         Redefine in terms of FRAME_MIN_SIZE.
41050         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41051         (_dl_profile_resolve): Likewise.  Update comment.
41052         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41053         symbols stack frame offsets.
41054         (__sigsetjmp): Likewise.
41055         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41056         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41057         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41058         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41061         (FRAME_BACKCHAIN): Remove.
41062         (FRAME_CR_SAVE): Likewise.
41063         (FRAME_LR_SAVE): Likewise.
41064         (FRAME_COMPILER_DW): Likewise.
41065         (FRAME_LINKER_DW): Likewise.
41066         (FRAME_TOC_SAVE): Likewise.
41067         (FRAME_PARM_SAVE): Likewise.
41068         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41069         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41070         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41072         (CHECK_SP): Use symbolic stack frame offsets.
41073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41074         zone" instead of caller's parameter save area for temp storage.
41075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41076         Likewise.  Also, use symbolic stack frame offsets.
41077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41078         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41079         our own stack frame instead of the caller's.
41080         (__socket): Use symbolic stack frame offsets.
41082 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41083             Alan Modra  <amodra@gmail.com>
41085         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41086         Define.
41087         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41088         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41089         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41090         New function.
41091         (elf_machine_fixup_plt): Call it.
41092         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41093         reloc arguments.
41094         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41095         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41096         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41097         r2 before calling target.
41099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41100             Alan Modra  <amodra@gmail.com>
41102         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41103         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41104         versions of macros to support ELFv2 ABI.
41105         (LOCALENTRY): New macro.
41106         (ENTRY, EALIGN): Use it.
41107         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41108         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41109         fall through into ENTRY entry point.
41110         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41111         Only define if _CALL_ELF != 2.
41113         (elf_machine_matches_host): Verify ABI version matches.
41114         (RTLD_START): Use LOCALENTRY.
41115         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41116         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41117         (PLT_ENTRY_WORDS): New macro.
41118         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41119         (elf_machine_runtime_setup): Support ELFv2 ABI.
41120         (elf_machine_fixup_plt): Likewise.
41121         (elf_machine_plt_conflict): Likewise.
41122         (resolve_ifunc): Likewise.
41123         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41125         Likewise.
41126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41127         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41129         (makecontext): Support ELFv2 ABI.
41130         * elf/elf.h (EF_PPC64_ABI): Define.
41132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41134         * sysdeps/powerpc/powerpc64/sysdep.h
41135         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41136         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41137         (ENTRY) [ASSEMBLER]: ... but instead here ...
41138         (EALIGN) [ASSEMBLER]: ... and here.
41139         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41140         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41141         (ENTRY_2) [!ASSEMBLER]: Use it.
41142         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41143         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41144         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41145         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41146         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41148         Use PPC64_LOAD_FUNCPTR.
41150         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41152 2013-12-04  Alan Modra  <amodra@gmail.com>
41154         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41155         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41156         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41157         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41159         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41160         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41161         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41162         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41163         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41164         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41166 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41169         (__makecontext): Fix incorrect CFI when backtracing out of
41170         context created via makecontext.
41171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41172         (__setcontext): Fix incorrect CFI during switch to new context.
41173         (__novec_setcontext): Likewise.
41175 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41177         [BZ #4772]
41178         * time/strptime_l.c (__strptime_internal): Allow modifiers
41179         in strptime.
41180         * time/tst-strptime.c (day_tests): Add testcase.
41182 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41184         * scripts/bench.pl: Skip over blank lines.
41186 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41188         [BZ #926]
41189         * manual/time.texi (Calendar Time): Clarify what timezone functions
41190         use.
41192 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41196 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41198         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41199         implementation.
41200         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41201         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41202         * debug/memset_chk.c (__memset_chk): Likewise.
41203         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41204         * debug/strncpy_chk.c: Likewise.
41206 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41208         [BZ #15268]
41209         [BZ #15425]
41210         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41211         (__ieee754_exp): For possibly underflowing results, check size of
41212         result and force underflow exception if required.
41213         * math/auto-libm-test-in: Add more tests of exp.
41214         * math/auto-libm-test-out: Regenerated.
41215         * sysdeps/i386/fpu/libm-test-ulps: Update.
41216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41218         [BZ #16283]
41219         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41220         * math/w_exp2f.c (__exp2f): Likewise.
41221         * math/w_exp2l.c (__exp2l): Likewise.
41222         * math/auto-libm-test-in: Do not allow missing errno on exp2
41223         underflow.
41224         * math/auto-libm-test-out: Regenerated.
41226 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41228         [BZ #16274]
41229         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41230         handle filename validation.
41231         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41232         (do_open): Delete.
41234 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41236         [BZ #6786]
41237         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41238         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41239         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41240         <float.h>.
41241         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41242         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41243         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41244         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41245         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41246         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41247         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41248         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41249         Add more erfc tests.
41250         * math/auto-libm-test-out: Regenerated.
41251         * sysdeps/i386/fpu/libm-test-ulps: Update.
41252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41254         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41255         exp2, expm1, j0 and j1.
41256         * math/auto-libm-test-out: Regenerated.
41257         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41258         (erfc_test_data): Likewise.
41259         (exp_test_data): Likewise.
41260         (exp_tonearest_test_data): Likewise.
41261         (exp_towardzero_test_data): Likewise.
41262         (exp_downward_test_data): Likewise.
41263         (exp_upward_test_data): Likewise.
41264         (exp10_test_data): Likewise.
41265         (exp2_test_data): Likewise.
41266         (expm1_test_data): Likewise.
41267         (j0_test_data): Likewise.
41268         (j1_test_data): Likewise.
41269         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41270         (input_flag_type): Add flag_xfail_rounding.
41271         (input_flags): Add xfail-rounding.
41272         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41273         (output_for_one_input_case): Handle flag_xfail_rounding.
41274         * sysdeps/i386/fpu/libm-test-ulps: Update.
41275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41277 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41279         [BZ #16289]
41280         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41281         division by 0.
41283 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41285         [BZ #16195]
41286         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41287         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41288         (STAP_PROBE0): New macro.
41289         (STAP_PROBE1): Likewise.
41290         (STAP_PROBE2): Likewise.
41291         (STAP_PROBE3): Likewise.
41292         (STAP_PROBE4): Likewise.
41294 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41296         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41298 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41300         * benchtests/Makefile (bench): Add sqrt.
41301         (LDLIBS-bench-sqrt): New.
41302         * benchtests/sqrt-input: New.
41304 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41306         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41307         (GAIH_EAI): Likewise.
41308         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41309         (gaih_inet): Likewise.
41310         (getaddrinfo): Don't use GAIH_EAI.
41312         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41313         (struct gaih): Remove definition.
41315 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41317         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41318         Use HERRNOP directly.
41320 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41324 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41326         * math/gen-auto-libm-tests.c (test_functions): Add more
41327         single-argument functions.
41328         (special_fill_pi_2): New function.
41329         (special_fill_minus_pi_2): Likewise.
41330         (special_fill_pi_6): Likewise.
41331         (special_fill_minus_pi_6): Likewise.
41332         (special_fill_pi_3): Likewise.
41333         (special_fill_2pi_3): Likewise.
41334         (special_fill_e): Likewise.
41335         (special_fill_1_e): Likewise.
41336         (special_fill_e_minus_1): Likewise.
41337         (special_real_inputs): Add more special inputs.
41338         (output_for_one_input_case): Do not require ERANGE on underflow to
41339         zero if round-to-nearest result does not underflow to zero, unless
41340         exact results required.
41341         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41342         atan, atanh, cbrt, cos and cosh.
41343         * math/auto-libm-test-out: Regenerated.
41344         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41345         (acos_tonearest_test_data): Likewise.
41346         (acos_towardzero_test_data): Likewise.
41347         (acos_downward_test_data): Likewise.
41348         (acos_upward_test_data): Likewise.
41349         (acosh_test_data): Likewise.
41350         (asin_test_data): Likewise.
41351         (asin_tonearest_test_data): Likewise.
41352         (asin_towardzero_test_data): Likewise.
41353         (asin_upward_test_data): Likewise.
41354         (asinh_test_data): Likewise.
41355         (atan_test_data): Likewise.
41356         (atanh_test_data): Likewise.
41357         (cbrt_test_data): Likewise.
41358         (cos_test_data): Likewise.
41359         (cos_tonearest_test_data): Likewise.
41360         (cos_towardzero_test_data): Likewise.
41361         (cos_downward_test_data): Likewise.
41362         (cos_upward_test_data): Likewise.
41363         (cosh_test_data): Likewise.
41364         (cosh_tonearest_test_data): Likewise.
41365         (cosh_towardzero_test_data): Likewise.
41366         (cosh_downward_test_data): Likewise.
41367         (cosh_upward_test_data): Likewise.
41368         * sysdeps/i386/fpu/libm-test-ulps: Update.
41369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41371 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41373         [BZ #6787]
41374         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41375         * math/w_exp10f.c (__exp10f): Likewise.
41376         * math/w_exp10l.c (__exp10l): Likewise.
41377         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41378         errno settings in existing tests.
41380         [BZ #14032]
41381         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41382         precision control set to double precision.
41383         * sysdeps/i386/fpu/w_sqrt.c: New file.
41384         * math/auto-libm-test-in: Add more tests.
41385         * math/auto-libm-test-out: Update.
41387         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41388         (sqrt_test_tonearest): New function.
41389         (sqrt_towardzero_test_data): New variable.
41390         (sqrt_test_towardzero): New function.
41391         (sqrt_downward_test_data): New variable.
41392         (sqrt_test_downward): New function.
41393         (sqrt_upward_test_data): New variable.
41394         (sqrt_test_upward): New function.
41395         (main): Call the new functions.
41397         * math/gen-auto-libm-tests.c: New file.
41398         * math/auto-libm-test-in: Likewise.
41399         * math/auto-libm-test-out: New generated file.
41400         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41401         variables.
41402         (%beautify): Add generated representations of zero.
41403         (top level): Set $auto_input and call parse_auto_input.
41404         (beautify): Remove trailing "f" from hex float constants.
41405         (parse_args): Handle XFAIL_TEST.
41406         (convert_condition): New function.
41407         (or_value): Likewise.
41408         (or_cond_value): Likewise.
41409         (generate_testfile): Handle AUTO_TESTS_* lines.
41410         (parse_auto_input): New function.
41411         * math/libm-test.inc (XFAIL_TEST): New macro.
41412         (ERRNO_UNCHANGED): Update value.
41413         (ERRNO_EDOM): Likewise.
41414         (ERRNO_ERANGE): Likewise.
41415         (IGNORE_RESULT): Likewise.
41416         (TEST_COND_flt_32): New macro.
41417         (TEST_COND_dbl_64): Likewise.
41418         (TEST_COND_ldbl_96_intel): Likewise.
41419         (TEST_COND_ldbl_96_m68k): Likewise.
41420         (TEST_COND_ldbl_128): Likewise.
41421         (TEST_COND_ldbl_128ibm): Likewise.
41422         (TEST_COND_long32): Likewise.
41423         (TEST_COND_long64): Likewise.
41424         (TEST_COND_before_rounding): Likewise.
41425         (TEST_COND_after_rounding): Likewise.
41426         (enable_test): Handle XFAIL_TEST flag.
41427         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41428         with finite results.
41429         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41430         auto-libm-test-out.
41432 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41433             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41435         [BZ #16214]
41436         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41437         __tls_get_addr_internal instead of __tls_get_offset in order to
41438         avoid GOT pointer dependency.  Make rtld export
41439         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41440         __tls_get_addr since we are a __tls_get_offset platform.
41441         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41442         GOT pointer being set up before.
41443         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41445 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41447         * manual/math.texi (Errors in Math Functions): Document accuracy
41448         goals.
41450         [BZ #15004]
41451         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41452         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41453         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41454         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41455         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41456         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41457         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41459         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41460         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41461         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41462         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41463         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41464         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41465         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41466         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41468         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41469         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41470         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41471         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41472         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41473         Likewise.
41474         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41475         Likewise.
41476         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41477         Likewise.
41478         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41479         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41480         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41481         atomic-feupdateenv and flt-rounds.
41482         * sysdeps/powerpc/nofpu/Versions (libc): Add
41483         __atomic_feholdexcept, __atomic_feclearexcept,
41484         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41485         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41486         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41487         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41488         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41489         here.
41490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41491         Update.
41493         * manual/arith.texi (FP Exceptions): Document that exceptions may
41494         not be raised when matherr is used.
41495         (Math Error Reporting): Document overflow in directed rounding
41496         modes.  Document that errno may not be set when finite values are
41497         returned on overflow.  Document intent to set errno on underflow
41498         only for underflow to zero.
41500         [BZ #16271]
41501         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41502         round-to-nearest then adjust result for other rounding modes.
41503         * include/fenv.h (fegetround): Use libm_hidden_proto.
41504         * math/fegetround.c (fegetround): Use libm_hidden_def.
41505         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41506         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41507         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41508         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41509         Likewise.
41510         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41511         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41512         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41513         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41515 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41517         [BZ #16077]
41518         * nss/Versions (libnss_files): Add
41519         _nss_files_gethostbyname3_r.
41520         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41521         New function.
41522         (HOST_DB_LOOKUP): Remove macro.
41523         (_nss_files_gethostbyname_r): Implement function without the
41524         HOST_DB_LOOKUP macro.
41525         (_nss_files_gethostbyname2_r): Likewise.
41527 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41529         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41531 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41533         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41534         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41535         warning.
41537 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41540         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41541         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41542         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41543         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41544         __fe_nomask_env_priv and attribute_hidden.
41545         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41546         (libc_feupdateenv_test_ppc): Likewise.
41547         (libc_feresetround_ppc): Likewise.
41548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41549         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41550         compat_symbol macro.
41551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41552         (__fe_nomask_env): Likewise.
41553         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41555 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41557         * string/Makefile: Remove ifunc tests.
41558         * string/test-string.h: Define TEST_IFUNC.
41559         * string/test-bcopy-ifunc.c: Remove.
41560         * string/test-bzero-ifunc.c: Likewise.
41561         * string/test-memccpy-ifunc.c: Likewise.
41562         * string/test-memchr-ifunc.c: Likewise.
41563         * string/test-memcmp-ifunc.c: Likewise.
41564         * string/test-memcpy-ifunc.c: Likewise.
41565         * string/test-memmem-ifunc.c: Likewise.
41566         * string/test-memmove-ifunc.c: Likewise.
41567         * string/test-mempcpy-ifunc.c: Likewise.
41568         * string/test-memrchr-ifunc.c: Likewise.
41569         * string/test-memset-ifunc.c: Likewise.
41570         * string/test-rawmemchr-ifunc.c: Likewise.
41571         * string/test-stpcpy-ifunc.c: Likewise.
41572         * string/test-stpncpy-ifunc.c: Likewise.
41573         * string/test-strcasecmp-ifunc.c: Likewise.
41574         * string/test-strcasestr-ifunc.c: Likewise.
41575         * string/test-strcat-ifunc.c: Likewise.
41576         * string/test-strchr-ifunc.c: Likewise.
41577         * string/test-strchrnul-ifunc.c: Likewise.
41578         * string/test-strcmp-ifunc.c: Likewise.
41579         * string/test-strcpy-ifunc.c: Likewise.
41580         * string/test-strcspn-ifunc.c: Likewise.
41581         * string/test-strlen-ifunc.c: Likewise.
41582         * string/test-strncasecmp-ifunc.c: Likewise.
41583         * string/test-strncat-ifunc.c: Likewise.
41584         * string/test-strncmp-ifunc.c: Likewise.
41585         * string/test-strncpy-ifunc.c: Likewise.
41586         * string/test-strnlen-ifunc.c: Likewise.
41587         * string/test-strpbrk-ifunc.c: Likewise.
41588         * string/test-strrchr-ifunc.c: Likewise.
41589         * string/test-strspn-ifunc.c: Likewise.
41590         * string/test-strstr-ifunc.c: Likewise.
41592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41594         * benchtests/Makefile: Remove ifunc tests.
41595         * benchtests/bench-string.h: Define TEST_IFUNC.
41596         * benchtests/bench-bcopy-ifunc.c: Remove.
41597         * benchtests/bench-bzero-ifunc.c: Likewise.
41598         * benchtests/bench-memccpy-ifunc.c: Likewise.
41599         * benchtests/bench-memchr-ifunc.c: Likewise.
41600         * benchtests/bench-memcmp-ifunc.c: Likewise.
41601         * benchtests/bench-memcpy-ifunc.c: Likewise.
41602         * benchtests/bench-memmem-ifunc.c: Likewise.
41603         * benchtests/bench-memmove-ifunc.c: Likewise.
41604         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41605         * benchtests/bench-memrchr-ifunc.c: Likewise.
41606         * benchtests/bench-memset-ifunc.c: Likewise.
41607         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41608         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41609         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41610         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41611         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41612         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41613         * benchtests/bench-strcat-ifunc.c: Likewise.
41614         * benchtests/bench-strchr-ifunc.c: Likewise.
41615         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41616         * benchtests/bench-strcmp-ifunc.c: Likewise.
41617         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41618         * benchtests/bench-strcpy-ifunc.c: Likewise.
41619         * benchtests/bench-strcspn-ifunc.c: Likewise.
41620         * benchtests/bench-strlen-ifunc.c: Likewise.
41621         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41622         * benchtests/bench-strncat-ifunc.c: Likewise.
41623         * benchtests/bench-strncmp-ifunc.c: Likewise.
41624         * benchtests/bench-strncpy-ifunc.c: Likewise.
41625         * benchtests/bench-strnlen-ifunc.c: Likewise.
41626         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41627         * benchtests/bench-strrchr-ifunc.c: Likewise.
41628         * benchtests/bench-strsep-ifunc.c: Likewise.
41629         * benchtests/bench-strspn-ifunc.c: Likewise.
41630         * benchtests/bench-strstr-ifunc.c: Likewise.
41632 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41634         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41636 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41638         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41639         * rt/aio.h: Likewise.
41640         * sysdeps/gnu/bits/utmp.h: Likewise.
41641         * sysdeps/gnu/bits/utmpx.h: Likewise.
41642         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41643         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41644         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41645         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41646         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41647         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41648         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41649         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41650         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41651         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41652         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41653         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41654         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41656         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41657         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41658         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41659         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41660         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41661         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41662         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41663         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41664         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41665         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41666         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41668         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41669         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41670         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41671         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41672         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41673         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41674         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41675         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41676         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41677         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41678         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41679         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41680         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41681         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41682         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41683         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41685 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41687         [BZ #16245]
41688         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41689         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41691 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41693         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41694         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41695         Likewise.
41697 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41699         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41700         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41701         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41702         (__fesetround): Remove define.
41703         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41704         rounding and exceptions handling.
41705         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41706         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41707         (__fe_nomask_env): Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41709         __fegetround instead of fegetround.
41710         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41711         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41713 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41715         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41716         it's there.
41718         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41720 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41722         [BZ #11157]
41723         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41724         (encrypt_r): Likewise.
41725         * malloc/obstack.h (obstack_free): Likewise.
41726         * posix/unistd.h (encrypt): Likewise.
41728 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41730         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41731         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41732         DL_CALL_DT_FINI() that call the functions directly.
41733         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41734         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41735         * elf/dl-fini.c: Likewise.
41737 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41739         * malloc/hooks.c (memalign_check): Add alignment rounding.
41740         * malloc/malloc.c (_mid_memalign): New function.
41741         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41742         Implement by calling _mid_memalign.
41743         * manual/probes.texi (Memory Allocation Probes): Remove
41744         memory_valloc_retry and memory_pvalloc_retry.
41746 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41748         * locale/programs/locarchive.c (open_archive): Add const
41749         qualifier to ARCHIVEFNAME and copy default fname to
41750         DEFAULT_FNAME.
41752         [BZ #15601]
41753         * libio/tst-widetext.input: Rename Oriya to Odia.
41754         * locale/iso-639.def: Likewise.
41756         * manual/probes.texi (Mathematical Function Probes): Add
41757         documentation for sin, cos, asin and acos probes.
41758         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41759         (__sin32): Add slowasin probe.
41760         (__cos32): Add slowacos probe.
41761         (__mpsin): Add slowsin probe.
41762         (__mpcos): Add slowcos probe.
41764 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41766         [BZ #15483]
41767         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41768         thread-local __sim_exceptions_thread and global
41769         __sim_exceptions_global.
41770         (__sim_disabled_exceptions): Change to thread-local
41771         __sim_disabled_exceptions_thread and global
41772         __sim_disabled_exceptions_global.
41773         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41774         and global __sim_round_mode_global.
41775         (__simulate_exceptions): Use thread-local floating-point state and
41776         set global state from it as needed.
41777         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41778         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41779         __sim_round_mode_thread.
41780         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41781         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41782         and global __sim_exceptions_global.
41783         (__sim_disabled_exceptions): Change to thread-local
41784         __sim_disabled_exceptions_thread and global
41785         __sim_disabled_exceptions_global.
41786         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41787         and global __sim_round_mode_global.
41788         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41789         (SIM_SET_GLOBAL): Likewise.
41790         * sysdeps/powerpc/soft-fp/sfp-machine.h
41791         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41792         __sim_round_mode_thread.
41793         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41794         __sim_disabled_exceptions_thread.
41795         (__sim_exceptions): Change to __sim_exceptions_thread.
41796         (__sim_disabled_exceptions): Change to
41797         __sim_disabled_exceptions_thread.
41798         (__sim_round_mode): Change to __sim_round_mode_thread.
41799         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41800         thread-local floating-point state and set global state from it as
41801         needed.
41802         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41803         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41804         (__sim_disabled_exceptions): Remove extern declaration.
41805         (feenableexcept): Use thread-local floating-point state and set
41806         global state from it as needed.
41807         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41808         extern declaration.
41809         (__sim_disabled_exceptions): Likewise.
41810         (__sim_round_mode): Likewise.
41811         (__fegetenv): Use thread-local floating-point state.
41812         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41813         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41814         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41815         floating-point state and set global state from it as needed.
41816         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41817         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41818         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41819         Likewise.
41820         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41821         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41822         Likewise.
41823         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41824         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41825         Use __sim_round_mode_thread.
41826         * math/test-fenv-tls.c: New file.
41827         * math/Makefile (tests): Add test-fenv-tls.
41828         ($(objpfx)test-fenv-tls): Depend on
41829         $(common-objpfx)nptl/libpthread.so.
41831 2013-11-19  Andreas Schwab  <schwab@suse.de>
41833         * locale/programs/locale.c (show_info): Decode wordarray elements.
41834         * locale/categories.def (LC_MONETARY): Add element for
41835         _NL_MONETARY_CRNCYSTR.
41836         * locale/C-monetary.c (conversion_rate): New variable.
41837         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41838         element.
41840 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41842         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41843         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41845 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41847         * elf/Makefile (tst-auxv): New test.
41848         * elf/tst-auxv.c: New
41849         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41851 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41853         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41854         (hidden_proto): Caller changed.
41855         (hidden_tls_proto): New macro.
41856         (libc_hidden_tls_proto): Likewise.
41857         (rtld_hidden_tls_proto): Likewise.
41858         (libm_hidden_tls_proto): Likewise.
41859         (libresolv_hidden_tls_proto): Likewise.
41860         (librt_hidden_tls_proto): Likewise.
41861         (libdl_hidden_tls_proto): Likewise.
41862         (libnss_files_hidden_tls_proto): Likewise.
41863         (libnsl_hidden_tls_proto): Likewise.
41864         (libnss_nisplus_hidden_tls_proto): Likewise.
41865         (libutil_hidden_tls_proto): Likewise.
41867 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41869         [BZ #10253]
41870         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41871         (decompose_rpath): Defer expansion to fillin_rpath.
41872         (_dl_init_paths): Pass linkmap to fillin_rpath.
41874 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41876         * benchtests/Makefile: Add strsep.
41877         * benchtests/bench-strsep.c: New file: strsep benchtest.
41878         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41880 2013-11-18  Andreas Schwab  <schwab@suse.de>
41882         * locale/programs/locale.c (show_info) [case byte]: Check for
41883         '\377' instead of '\177'.
41884         * locale/C-monetary.c (not_available): Always use "\377".
41885         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41886         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41887         detect unavailable sign_posn locale elements.
41888         * locale/localeconv.c (__localeconv): For grouping and
41889         mon_grouping handle "\177" and "\377" like no grouping.
41890         (INT_ELEM): New macro.  Use it to set all numeric members.
41891         * locale/programs/ld-monetary.c (monetary_read)
41892         <tok_mon_grouping>: Normalize single -1 to the empty string.
41893         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41894         Likewise.
41896 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41898         [BZ #16055]
41899         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41900         when we match (nil).
41901         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41903 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41905         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41906         (NO_TEST_INLINE): Update value.
41907         (ERRNO_UNCHANGED): Likewise.
41908         (ERRNO_EDOM): Likewise.
41909         (ERRNO_ERANGE): Likewise.
41910         (IGNORE_RESULT): Likewise.
41911         (check_float_internal): Check signs of NaN results if
41912         TEST_NAN_SIGN used.
41913         (check_complex): Pass TEST_NAN_SIGN flag through to second
41914         check_float_internal call.
41915         (copysign_test_data): Add tests with quiet NaNs as second
41916         argument.  Use TEST_NAN_SIGN.
41917         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41918         TEST_NAN_SIGN.
41919         (signbit_test_data): Add tests of quiet NaN argument.
41920         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41922         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41923         $ignore_result.
41924         (parse_args): Handle function results specified as IGNORE.
41925         * math/libm-test.inc (IGNORE_RESULT): New macro.
41926         (check_float_internal): Do not check numerical result if flag
41927         IGNORE_RESULT set.
41928         (check_complex): Pass through IGNORE_RESULT to second
41929         check_float_internal call.
41930         (check_int): Do not check numerical result if flag IGNORE_RESULT
41931         set.
41932         (check_long): Likewise.
41933         (check_bool): Likewise.
41934         (check_longlong): Likewise.
41935         (lrint_test_data): Add tests of infinite and NaN arguments.
41936         (lrint_tonearest_test_data): Likewise.
41937         (lrint_towardzero_test_data): Likewise.
41938         (lrint_downward_test_data): Likewise.
41939         (lrint_upward_test_data): Likewise.
41940         (llrint_test_data): Likewise.
41941         (llrint_tonearest_test_data): Likewise.
41942         (llrint_towardzero_test_data): Likewise.
41943         (llrint_downward_test_data): Likewise.
41944         (llrint_upward_test_data): Likewise.
41945         (lround_test_data): Likewise.
41946         (llround_test_data): Likewise.
41948         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41949         (ERRNO_UNCHANGED): Update value.
41950         (ERRNO_EDOM): Likewise.
41951         (ERRNO_ERANGE): Likewise.
41952         (NO_TEST_INLINE_FLOAT): New macro.
41953         (NO_TEST_INLINE_DOUBLE): Likewise.
41954         (enable_test): New function.
41955         (RUN_TEST_f_f): Check enable_test before running test.
41956         (RUN_TEST_2_f): Likewise.
41957         (RUN_TEST_fff_f): Likewise.
41958         (RUN_TEST_c_f): Likewise.
41959         (RUN_TEST_f_f1): Likewise.
41960         (RUN_TEST_fF_f1): Likewise.
41961         (RUN_TEST_fI_f1): Likewise.
41962         (RUN_TEST_ffI_f1): Likewise.
41963         (RUN_TEST_c_c): Likewise.
41964         (RUN_TEST_cc_c): Likewise.
41965         (RUN_TEST_f_i): Likewise.
41966         (RUN_TEST_f_i_tg): Likewise.
41967         (RUN_TEST_ff_i_tg): Likewise.
41968         (RUN_TEST_f_b): Likewise.
41969         (RUN_TEST_f_b_tg): Likewise.
41970         (RUN_TEST_f_l): Likewise.
41971         (RUN_TEST_f_L): Likewise.
41972         (RUN_TEST_fFF_11): Likewise.
41973         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41974         conditionals.
41975         (cosh_test_data): Likewise.
41976         (exp_test_data): Likewise.
41977         (expm1_test_data): Likewise.
41978         (hypot_test_data): Likewise.
41979         (pow_test_data): Likewise.
41980         (sinh_test_data): Likewise.
41981         (tanh_test_data): Likewise.
41982         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41983         flags argument.
41985         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41986         tests with quiet NaN input and output.
41987         (acosh_test_data): Likewise.
41988         (asin_test_data): Likewise.
41989         (asinh_test_data): Likewise.
41990         (atan_test_data): Likewise.
41991         (atanh_test_data): Likewise.
41992         (atan2_test_data): Likewise.
41993         (cbrt_test_data): Likewise.
41994         (cos_test_data): Likewise.
41995         (cosh_test_data): Likewise.
41996         (erf_test_data): Likewise.
41997         (erfc_test_data): Likewise.
41998         (exp_test_data): Likewise.
41999         (exp10_test_data): Likewise.
42000         (exp2_test_data): Likewise.
42001         (expm1_test_data): Likewise.
42002         (hypot_test_data): Likewise.
42003         (j0_test_data): Likewise.
42004         (j1_test_data): Likewise.
42005         (jn_test_data): Likewise.
42006         (lgamma_test_data): Likewise.
42007         (log_test_data): Likewise.
42008         (log10_test_data): Likewise.
42009         (log1p_test_data): Likewise.
42010         (log2_test_data): Likewise.
42011         (pow_test_data): Likewise.
42012         (scalb_test_data): Likewise.
42013         (sin_test_data): Likewise.
42014         (sincos_test_data): Likewise.
42015         (sinh_test_data): Likewise.
42016         (tan_test_data): Likewise.
42017         (tanh_test_data): Likewise.
42018         (tgamma_test_data): Likewise.
42019         (y0_test_data): Likewise.
42020         (y1_test_data): Likewise.
42021         (yn_test_data): Likewise.
42023         [BZ #16167]
42024         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42025         argument being NaN and avoid computations with second argument in
42026         that case.
42027         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42028         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42029         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42031 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42033         * locale/iso-639.def: Add Chitwani Tharu (the).
42035 2013-11-14  Andreas Schwab  <schwab@suse.de>
42037         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42038         word instead of empty string.
42040 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42043         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42045         (__fe_nomask_env): Likewise.
42047 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42049         * benchtests/bench-timing.h: Include time.h.
42051 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42053         [BZ #15997]
42054         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42055         to 3.4.0 for x32.
42056         * sysdeps/unix/sysv/linux/configure: Regenerated.
42058 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42060         [BZ #16151]
42061         * stdlib/strtod_l.c (round_and_return): Do not consider
42062         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42063         exponent one less than half the least subnormal exponent.
42064         * stdlib/test-strtod-round-data: Add more tests.
42065         * stdlib/tst-strtod-round.c (tests): Regenerated.
42067 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42069         [BZ #14143]
42070         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42071         (__fe_mask_env): Likewise.
42072         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42073         libm_hidden_proto and add function prototype.
42074         (__fe_mask_env): Add function prototype.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42076         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42078         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42080         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42082 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42084         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42085         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42087 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42089         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42090         of htab_find_slot().
42092 2013-11-11  David S. Miller  <davem@davemloft.net>
42094         [BZ #16150]
42095         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42096         symbol in the non-vis3 case in static builds.
42097         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42098         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42099         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42100         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42102 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42104         [BZ #387]
42105         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42106         it is empty.
42108 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42110         * benchtests/Makefile: Add bench-strtod.
42111         * benchtests/bench-strtod.c: New file: strtod benchtest
42113 2013-11-11  Andreas Schwab  <schwab@suse.de>
42115         [BZ #16153]
42116         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42117         terminating NUL in key length.
42119 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42122         Add artificial ODP entry for vDSO symbol for PPC64.
42123         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42124         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42126 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42128         [BZ #15374]
42129         * nss/getent.c (services_keys): Recognize services starting with digit.
42131 2013-11-06  David S. Miller  <davem@davemloft.net>
42133         [BZ #15985]
42134         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42135         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42137 2013-11-06  Will Newton  <will.newton@linaro.org>
42139         * manual/memory.texi (Malloc Examples): Remove register
42140         keyword from examples.
42142 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42144         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42146 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42148         [BZ #6981]
42149         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42150         depending on [__GCC_IEC_559 > 0].
42151         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42152         depending on [__GCC_IEC_559_COMPLEX > 0].
42154 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42156         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42157         to iso-639.def.
42159 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42161         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42163 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42165         [BZ #16112]
42166         * malloc/malloc (malloc_info): Do not handle first bin as
42167         special case.
42169 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42171         * locale/iso-639.def: Add Central Nahuatl (nhn).
42173 2013-11-01  Bruno Haible  <bruno@clisp.org>
42175         [BZ #7003]
42176         * manual/math.texi (BSD Random): Specify range upper bound as
42177         in POSIX.
42179 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42181         * locale/iso-639.def: Add Meadow Mari (mhr).
42183 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42185         [BZ #14752], [BZ #15763]
42186         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42187         Validate name.
42188         * rt/tst_shm.c: Add test for escaping directory.
42190 2013-10-31  Andreas Schwab  <schwab@suse.de>
42192         [BZ #15917]
42193         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42194         followed by 'x' as part of digit sequence.
42195         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42197 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42199         [BZ #16037]
42200         * configure.ac: allow GNU Make 4.0 and greater.
42201         * configure: Regenerated.
42203 2013-10-30  Will Newton  <will.newton@linaro.org>
42205         [BZ #16038]
42206         * malloc/hooks.c (memalign_check): Limit alignment to the
42207         maximum representable power of two.
42208         * malloc/malloc.c (__libc_memalign): Likewise.
42209         * malloc/tst-memalign.c (do_test): Add test for very
42210         large alignment values.
42211         * malloc/tst-posix_memalign.c (do_test): Likewise.
42213 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42215         [BZ #11087]
42216         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42217         (munmap_chunk): Likewise.
42218         (mremap_chunk): Likewise.
42220 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42222         [BZ #15799]
42223         * stdlib/div.c (div): Remove obsolete code.
42224         * stdlib/ldiv.c (ldiv): Likewise.
42225         * stdlib/lldiv.c (lldiv): Likewise.
42227 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42229         [BZ #16071]
42230         * nss/nss_files/files-XXX.c (get_contents_ret): New
42231         enumerator.
42232         (get_contents): New function.
42233         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42235 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42237         * configure.in: Moved to ...
42238         * configure.ac: ... here. Change reference to configure.in
42239         to configure.ac.
42240         * sysdeps/arm/preconfigure.ac: ... here.
42241         configure.in to configure.ac.
42242         * sysdeps/gnu/configure.in: Moved to ...
42243         * sysdeps/gnu/configure.ac: ... here.
42244         * sysdeps/i386/configure.in: Moved to ...
42245         * sysdeps/i386/configure.ac: ... here.
42246         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42247         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42248         * sysdeps/mach/configure.in: Moved to ...
42249         * sysdeps/mach/configure.ac: ... here.
42250         * sysdeps/mach/hurd/configure.in: Moved to ...
42251         * sysdeps/mach/hurd/configure.ac: ... here.
42252         * sysdeps/powerpc/configure.in: Moved to ...
42253         * sysdeps/powerpc/configure.ac: ... here.
42254         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42255         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42256         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42257         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42258         * sysdeps/s390/s390-32/configure.in: Moved to ...
42259         * sysdeps/s390/s390-32/configure.ac: ... here.
42260         * sysdeps/s390/s390-64/configure.in: Moved to ...
42261         * sysdeps/s390/s390-64/configure.ac: ... here.
42262         * sysdeps/sh/configure.in: Moved to ...
42263         * sysdeps/sh/configure.ac: ... here.
42264         * sysdeps/sparc/configure.in: Moved to ...
42265         * sysdeps/sparc/configure.ac: ... here.
42266         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42267         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42268         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42269         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42270         * sysdeps/x86_64/configure.in: Moved to ...
42271         * sysdeps/x86_64/configure.ac: ... here.
42272         * sysdeps/x86_64/preconfigure.in: Moved to ...
42273         * sysdeps/x86_64/preconfigure.ac: ... here.
42274         * aclocal.m4: Change reference to configure.in to configure.ac.
42275         * config.h.in: Likewise.
42276         * manual/install.texi: Likewise.
42277         * manual/maint.texi: Likewise.
42278         * Makefile: Likewise.
42279         * malloc/Makefile: Likewise.
42280         * nscd/Makefile: Likewise.
42281         * Makeconfig: Change reference to configure.in and
42282         preconfigure.in to configure.ac and preconfigure.ac
42283         respectively.
42284         * INSTALL: Regenerated.
42285         * configure: Likewise.
42286         * sysdeps/gnu/configure: Likewise.
42287         * sysdeps/i386/configure: Likewise.
42288         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42289         * sysdeps/mach/configure: Likewise.
42290         * sysdeps/mach/hurd/configure: Likewise.
42291         * sysdeps/powerpc/configure: Likewise.
42292         * sysdeps/powerpc/powerpc32/configure: Likewise.
42293         * sysdeps/powerpc/powerpc64/configure: Likewise.
42294         * sysdeps/s390/s390-32/configure: Likewise.
42295         * sysdeps/s390/s390-64/configure: Likewise.
42296         * sysdeps/sh/configure: Likewise.
42297         * sysdeps/sparc/configure: Likewise.
42298         * sysdeps/unix/sysv/linux/configure: Likewise.
42299         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42300         * sysdeps/x86_64/configure: Likewise.
42301         * sysdeps/x86_64/preconfigure: Likewise.
42303 2013-10-29  Andreas Schwab  <schwab@suse.de>
42305         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42307 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42309         * benchtests/pow-inputs: Add new inputs.
42311         * benchtests/exp-inputs: Add new inputs.
42313         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42314         conditional check for return value.
42315         (__cos32): Likewise.
42317 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42319         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42320         to provide a boost for large inputs with word alignment.
42321         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42322         implementation based on optimized PPC64 strcpy.
42323         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42324         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42325         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42326         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42328 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42330         [BZ #2801]
42331         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42333 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42335         [BZ #14876]
42336         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42337         * time/tst-strptime.c (day_tests): Add testcase.
42339 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42341         [BZ #14029]
42342         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42344 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42346         [BZ #16074]
42347         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42348         MAP_FAILED on error.
42350 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42352         [BZ #16072]
42353         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42354         heap for large requests.
42356 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42358         [BZ #9954]
42359         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42360         result if the result has no associated interface.
42361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42362         interface for all 127.X.Y.Z addresses.
42364 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42366         * locale/iso-639.def: Add Ligurian (lij)
42368 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42370         [BZ #15825]
42371         * sunrpc/rpc_main.c: Document rpcgen -5.
42373 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42375         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42377 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42379         [BZ #10278]
42380         * posix/glob.c: Match only directories when trailing slash is present.
42381         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42382         (main): Add testcase.
42384 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42386         [BZ #15670]
42387         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42389 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42391         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42392         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42393         AUTH_DES and cindex for FIPS 140-2.
42394         (DES Encryption): Add cindex FIPS 46-3.
42396         * locale/locarchive.h (struct locarhandle): Add fname.
42397         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42398         if an optional argument was specified to --list-archive,
42399         otherwise NULL.
42400         * locale/programs/locarchive.c (show_archive_content): Take new
42401         argument fname and pass it via ah.fname to open_archive.
42402         * locale/programs/localedef.h: Update decl.
42403         (open_archive): If AH->fname is non-null, open that file
42404         rather than the default file name, and don't ignore ENOENT.
42405         (create_archive): Set AH.fname to NULL.
42406         (delete_locales_from_archive): Likewise.
42407         (add_locales_to_archive): Likewise.
42408         * locale/programs/locfile.c (write_all_categories): Likewise.
42410 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42411             Aldy Hernandez  <aldyh@redhat.com>
42413         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42414         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42415         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42416         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42417         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42418         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42419         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42420         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42421         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42422         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42423         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42424         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42425         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42426         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42427         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42428         Likewise.
42429         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42430         Likewise.
42431         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42432         Likewise.
42433         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42434         Likewise.
42435         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42436         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42437         Likewise.
42438         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42439         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42440         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42441         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42442         Likewise.
42443         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42444         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42445         * sysdeps/powerpc/preconfigure: Likewise.
42446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42447         Likewise.
42448         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42449         Replace contents of file by #include of <fenv_libc.h>.
42450         * sysdeps/powerpc/soft-fp/sfp-machine.h
42451         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42452         and <sys/prctl.h>.
42453         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42456         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42457         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42458         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42460         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42461         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42462         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42463         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42464         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42466         Allow copysignl PLT reference to be missing.
42468 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42469             Joseph Myers  <joseph@codesourcery.com
42471         [BZ #15948]
42472         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42473         single character.
42474         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42476 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42478         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42479         * elf/tst-tls1.c: Likewise.
42480         * elf/tst-tls10.h: Likewise.
42481         * elf/tst-tls14.c: Likewise.
42482         * elf/tst-tls2.c: Likewise.
42483         * elf/tst-tls3.c: Likewise.
42484         * elf/tst-tls4.c: Likewise.
42485         * elf/tst-tls5.c: Likewise.
42486         * elf/tst-tls6.c: Likewise.
42487         * elf/tst-tls7.c: Likewise.
42488         * elf/tst-tls8.c: Likewise.
42489         * elf/tst-tls9.c: Likewise.
42490         * elf/tst-tlsmod1.c: Likewise.
42491         * elf/tst-tlsmod13.c: Likewise.
42492         * elf/tst-tlsmod13a.c: Likewise.
42493         * elf/tst-tlsmod14a.c: Likewise.
42494         * elf/tst-tlsmod16a.c: Likewise.
42495         * elf/tst-tlsmod16b.c: Likewise.
42496         * elf/tst-tlsmod2.c: Likewise.
42497         * elf/tst-tlsmod3.c: Likewise.
42498         * elf/tst-tlsmod4.c: Likewise.
42499         * elf/tst-tlsmod5.c: Likewise.
42500         * elf/tst-tlsmod6.c: Likewise.
42502 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42504         [BZ #12486]
42505         * malloc/malloc.c: remove checks for statistics.
42507 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42509         [BZ #15277]
42510         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42511         * inet/tst-network.c: Add testcase.
42513 2013-10-17  Andreas Schwab  <schwab@suse.de>
42515         [BZ #15218]
42516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42517         to determine canonical name.
42519 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42521         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42522         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42524         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42526         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42527         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42528         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42529         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42530         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42531         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42532         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42533         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42534         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42535         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42536         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42538         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42539         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42540         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42545         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42546         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42551         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42572         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42575         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42577         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42578         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42580 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42582         [BZ #16041]
42583         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42584         make result into a quiet NaN.
42586 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42588         * soft-fp/adddf3.c: Fix horizontal whitespace.
42589         * soft-fp/addsf3.c: Likewise.
42590         * soft-fp/addtf3.c: Likewise.
42591         * soft-fp/divdf3.c: Likewise.
42592         * soft-fp/divsf3.c: Likewise.
42593         * soft-fp/divtf3.c: Likewise.
42594         * soft-fp/double.h: Likewise.
42595         * soft-fp/eqdf2.c: Likewise.
42596         * soft-fp/eqsf2.c: Likewise.
42597         * soft-fp/eqtf2.c: Likewise.
42598         * soft-fp/extenddftf2.c: Likewise.
42599         * soft-fp/extended.h: Likewise.
42600         * soft-fp/extendsfdf2.c: Likewise.
42601         * soft-fp/extendsftf2.c: Likewise.
42602         * soft-fp/extendxftf2.c: Likewise.
42603         * soft-fp/fixdfdi.c: Likewise.
42604         * soft-fp/fixdfsi.c: Likewise.
42605         * soft-fp/fixdfti.c: Likewise.
42606         * soft-fp/fixsfdi.c: Likewise.
42607         * soft-fp/fixsfsi.c: Likewise.
42608         * soft-fp/fixsfti.c: Likewise.
42609         * soft-fp/fixtfdi.c: Likewise.
42610         * soft-fp/fixtfsi.c: Likewise.
42611         * soft-fp/fixtfti.c: Likewise.
42612         * soft-fp/fixunsdfdi.c: Likewise.
42613         * soft-fp/fixunsdfsi.c: Likewise.
42614         * soft-fp/fixunsdfti.c: Likewise.
42615         * soft-fp/fixunssfdi.c: Likewise.
42616         * soft-fp/fixunssfsi.c: Likewise.
42617         * soft-fp/fixunssfti.c: Likewise.
42618         * soft-fp/fixunstfdi.c: Likewise.
42619         * soft-fp/fixunstfsi.c: Likewise.
42620         * soft-fp/fixunstfti.c: Likewise.
42621         * soft-fp/floatdidf.c: Likewise.
42622         * soft-fp/floatdisf.c: Likewise.
42623         * soft-fp/floatditf.c: Likewise.
42624         * soft-fp/floatsidf.c: Likewise.
42625         * soft-fp/floatsisf.c: Likewise.
42626         * soft-fp/floatsitf.c: Likewise.
42627         * soft-fp/floattidf.c: Likewise.
42628         * soft-fp/floattisf.c: Likewise.
42629         * soft-fp/floattitf.c: Likewise.
42630         * soft-fp/floatundidf.c: Likewise.
42631         * soft-fp/floatundisf.c: Likewise.
42632         * soft-fp/floatunditf.c: Likewise.
42633         * soft-fp/floatunsidf.c: Likewise.
42634         * soft-fp/floatunsisf.c: Likewise.
42635         * soft-fp/floatunsitf.c: Likewise.
42636         * soft-fp/floatuntidf.c: Likewise.
42637         * soft-fp/floatuntisf.c: Likewise.
42638         * soft-fp/floatuntitf.c: Likewise.
42639         * soft-fp/fmadf4.c: Likewise.
42640         * soft-fp/fmasf4.c: Likewise.
42641         * soft-fp/fmatf4.c: Likewise.
42642         * soft-fp/gedf2.c: Likewise.
42643         * soft-fp/gesf2.c: Likewise.
42644         * soft-fp/getf2.c: Likewise.
42645         * soft-fp/ledf2.c: Likewise.
42646         * soft-fp/lesf2.c: Likewise.
42647         * soft-fp/letf2.c: Likewise.
42648         * soft-fp/muldf3.c: Likewise.
42649         * soft-fp/mulsf3.c: Likewise.
42650         * soft-fp/multf3.c: Likewise.
42651         * soft-fp/negdf2.c: Likewise.
42652         * soft-fp/negsf2.c: Likewise.
42653         * soft-fp/negtf2.c: Likewise.
42654         * soft-fp/op-1.h: Likewise.
42655         * soft-fp/op-2.h: Likewise.
42656         * soft-fp/op-4.h: Likewise.
42657         * soft-fp/op-8.h: Likewise.
42658         * soft-fp/op-common.h: Likewise.
42659         * soft-fp/quad.h: Likewise.
42660         * soft-fp/single.h: Likewise.
42661         * soft-fp/soft-fp.h: Likewise.
42662         * soft-fp/sqrtdf2.c: Likewise.
42663         * soft-fp/sqrtsf2.c: Likewise.
42664         * soft-fp/sqrttf2.c: Likewise.
42665         * soft-fp/subdf3.c: Likewise.
42666         * soft-fp/subsf3.c: Likewise.
42667         * soft-fp/subtf3.c: Likewise.
42668         * soft-fp/truncdfsf2.c: Likewise.
42669         * soft-fp/trunctfdf2.c: Likewise.
42670         * soft-fp/trunctfsf2.c: Likewise.
42671         * soft-fp/trunctfxf2.c: Likewise.
42672         * soft-fp/unorddf2.c: Likewise.
42673         * soft-fp/unordsf2.c: Likewise.
42674         * soft-fp/unordtf2.c: Likewise.
42676 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42678         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42679         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42681 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42683         * elf/dl-libc.c: Clear initfini list after freeing.
42685 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42687         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42688         * soft-fp/addsf3.c: Likewise.
42689         * soft-fp/addtf3.c: Likewise.
42690         * soft-fp/divdf3.c: Likewise.
42691         * soft-fp/divsf3.c: Likewise.
42692         * soft-fp/divtf3.c: Likewise.
42693         * soft-fp/double.h: Likewise.
42694         * soft-fp/eqdf2.c: Likewise.
42695         * soft-fp/eqsf2.c: Likewise.
42696         * soft-fp/eqtf2.c: Likewise.
42697         * soft-fp/extenddftf2.c: Likewise.
42698         * soft-fp/extended.h: Likewise.
42699         * soft-fp/extendsfdf2.c: Likewise.
42700         * soft-fp/extendsftf2.c: Likewise.
42701         * soft-fp/extendxftf2.c: Likewise.
42702         * soft-fp/fixdfdi.c: Likewise.
42703         * soft-fp/fixdfsi.c: Likewise.
42704         * soft-fp/fixdfti.c: Likewise.
42705         * soft-fp/fixsfdi.c: Likewise.
42706         * soft-fp/fixsfsi.c: Likewise.
42707         * soft-fp/fixsfti.c: Likewise.
42708         * soft-fp/fixtfdi.c: Likewise.
42709         * soft-fp/fixtfsi.c: Likewise.
42710         * soft-fp/fixtfti.c: Likewise.
42711         * soft-fp/fixunsdfdi.c: Likewise.
42712         * soft-fp/fixunsdfsi.c: Likewise.
42713         * soft-fp/fixunsdfti.c: Likewise.
42714         * soft-fp/fixunssfdi.c: Likewise.
42715         * soft-fp/fixunssfsi.c: Likewise.
42716         * soft-fp/fixunssfti.c: Likewise.
42717         * soft-fp/fixunstfdi.c: Likewise.
42718         * soft-fp/fixunstfsi.c: Likewise.
42719         * soft-fp/fixunstfti.c: Likewise.
42720         * soft-fp/floatdidf.c: Likewise.
42721         * soft-fp/floatdisf.c: Likewise.
42722         * soft-fp/floatditf.c: Likewise.
42723         * soft-fp/floatsidf.c: Likewise.
42724         * soft-fp/floatsisf.c: Likewise.
42725         * soft-fp/floatsitf.c: Likewise.
42726         * soft-fp/floattidf.c: Likewise.
42727         * soft-fp/floattisf.c: Likewise.
42728         * soft-fp/floattitf.c: Likewise.
42729         * soft-fp/floatundidf.c: Likewise.
42730         * soft-fp/floatundisf.c: Likewise.
42731         * soft-fp/floatunsidf.c: Likewise.
42732         * soft-fp/floatunsisf.c: Likewise.
42733         * soft-fp/floatuntidf.c: Likewise.
42734         * soft-fp/floatuntisf.c: Likewise.
42735         * soft-fp/floatuntitf.c: Likewise.
42736         * soft-fp/fmadf4.c: Likewise.
42737         * soft-fp/fmasf4.c: Likewise.
42738         * soft-fp/fmatf4.c: Likewise.
42739         * soft-fp/gedf2.c: Likewise.
42740         * soft-fp/gesf2.c: Likewise.
42741         * soft-fp/getf2.c: Likewise.
42742         * soft-fp/ledf2.c: Likewise.
42743         * soft-fp/lesf2.c: Likewise.
42744         * soft-fp/letf2.c: Likewise.
42745         * soft-fp/muldf3.c: Likewise.
42746         * soft-fp/mulsf3.c: Likewise.
42747         * soft-fp/multf3.c: Likewise.
42748         * soft-fp/negdf2.c: Likewise.
42749         * soft-fp/negsf2.c: Likewise.
42750         * soft-fp/negtf2.c: Likewise.
42751         * soft-fp/op-1.h: Likewise.
42752         * soft-fp/op-2.h: Likewise.
42753         * soft-fp/op-4.h: Likewise.
42754         * soft-fp/op-8.h: Likewise.
42755         * soft-fp/op-common.h: Likewise.
42756         * soft-fp/quad.h: Likewise.
42757         * soft-fp/single.h: Likewise.
42758         * soft-fp/soft-fp.h: Likewise.
42759         * soft-fp/sqrtdf2.c: Likewise.
42760         * soft-fp/sqrtsf2.c: Likewise.
42761         * soft-fp/sqrttf2.c: Likewise.
42762         * soft-fp/subdf3.c: Likewise.
42763         * soft-fp/subsf3.c: Likewise.
42764         * soft-fp/subtf3.c: Likewise.
42765         * soft-fp/truncdfsf2.c: Likewise.
42766         * soft-fp/trunctfdf2.c: Likewise.
42767         * soft-fp/trunctfsf2.c: Likewise.
42768         * soft-fp/trunctfxf2.c: Likewise.
42769         * soft-fp/unorddf2.c: Likewise.
42770         * soft-fp/unordsf2.c: Likewise.
42771         * soft-fp/unordtf2.c: Likewise.
42773 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42775         [BZ #15672]
42776         * misc/error.c (error_tail): Fix possible buffer overflow.
42778 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42780         [BZ #13028]
42781         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42782         address.
42784 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42786         [BZ #832]
42787         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42788         testing pipefail option.
42790 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42792         * soft-fp/double.h: Indent preprocessor directives inside #if.
42793         * soft-fp/extended.h: Likewise.
42794         * soft-fp/op-2.h: Likewise.
42795         * soft-fp/op-4.h: Likewise.
42796         * soft-fp/op-common.h: Likewise.
42797         * soft-fp/quad.h: Likewise.
42798         * soft-fp/single.h: Likewise.
42799         * soft-fp/soft-fp.h: Likewise.
42801 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42803         * iconv/iconv_prog.c: Fix typos.
42804         * stdio-common/psiginfo-data.h: Likewise.
42806 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42808         [BZ #15764]
42809         * locale/setlocale.c: Fix typo.
42811 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42813         [BZ #16036]
42814         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42815         signaling NaN arguments.
42816         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42817         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42819         [BZ #14910]
42820         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42821         unordered operands.
42822         * soft-fp/gesf2.c (__gesf2): Likewise.
42823         * soft-fp/getf2.c (__getf2): Likewise.
42824         * soft-fp/ledf2.c (__ledf2): Likewise.
42825         * soft-fp/lesf2.c (__lesf2): Likewise.
42826         * soft-fp/letf2.c (__letf2): Likewise.
42828         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42829         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42830         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42831         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42832         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42833         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42834         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42835         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42836         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42837         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42838         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42839         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42840         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42841         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42842         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42843         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42844         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42845         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42846         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42847         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42848         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42849         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42850         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42851         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42852         * soft-fp/floattidf.c (__floattidf): Likewise.
42853         * soft-fp/floattisf.c (__floattisf): Likewise.
42854         * soft-fp/floattitf.c (__floattitf): Likewise.
42855         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42856         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42857         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42858         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42859         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42860         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42861         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42862         * soft-fp/gesf2.c (__gesf2): Likewise.
42863         * soft-fp/getf2.c (__getf2): Likewise.
42864         * soft-fp/ledf2.c (__ledf2): Likewise.
42865         * soft-fp/lesf2.c (__lesf2): Likewise.
42866         * soft-fp/letf2.c (__letf2): Likewise.
42868         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42869         Undefine and redefine.
42870         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42871         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42872         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42873         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42874         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42875         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42876         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42877         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42878         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42879         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42880         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42881         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42882         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42883         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42884         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42886         [BZ #16032]
42887         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42888         without decrementing exponent if mantissa >= that for the
42889         denominator, not >.
42890         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42891         denominator, not >.  Decrement exponent in < case instead of
42892         incrementing in >= case.
42893         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42894         without decrementing exponent if mantissa >= that for the
42895         denominator, not >.
42897         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42898         computing saturated result for unsigned overflow.
42900 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901             Jeff Law  <law@redhat.com>
42903         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42904         (atan2Mp): Add systemtap probe marker.
42905         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42906         (__ieee754_log): Add systemtap probe marker.
42907         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42908         (atanMp): Add systemtap probe marker.
42909         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42910         (tanMp): Add systemtap probe marker.
42911         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42912         (__slowexp): Add systemtap probe marker.
42913         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42914         (__slowpow): Add systemtap probe marker.
42915         * manual/probes.texi: Document probes.
42917 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42919         [BZ #15362]
42920         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42921         written.
42922         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42923         written.
42924         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42925         written to buffer but not flushed.
42926         * libio/iofwrite_u.c:  Likewise.
42927         * libio/iopadn.c:  Return bytes returned even if EOF was
42928         encountered.
42929         * libio/iowpadn.c:  Likewise.
42930         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42931         if _IO_padn does not write the whole buffer.
42932         [!COMPILE_WPRINTF] (PAD): Likewise.
42934 2013-10-10  David S. Miller  <davem@davemloft.net>
42936         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42937         directory block.
42939 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42941         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42942         instead of FSF address.
42943         * soft-fp/fixdfti.c: Likewise.
42944         * soft-fp/fixsfti.c: Likewise.
42945         * soft-fp/fixtfti.c: Likewise.
42946         * soft-fp/fixunsdfti.c: Likewise.
42947         * soft-fp/fixunssfti.c: Likewise.
42948         * soft-fp/fixunstfti.c: Likewise.
42949         * soft-fp/floattidf.c: Likewise.
42950         * soft-fp/floattisf.c: Likewise.
42951         * soft-fp/floattitf.c: Likewise.
42952         * soft-fp/floatuntidf.c: Likewise.
42953         * soft-fp/floatuntisf.c: Likewise.
42954         * soft-fp/floatuntitf.c: Likewise.
42955         * soft-fp/trunctfxf2.c: Likewise.
42957         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42958         * soft-fp/fixdfti.c: Likewise.
42959         * soft-fp/fixsfti.c: Likewise.
42960         * soft-fp/fixtfti.c: Likewise.
42961         * soft-fp/fixunsdfti.c: Likewise.
42962         * soft-fp/fixunssfti.c: Likewise.
42963         * soft-fp/fixunstfti.c: Likewise.
42964         * soft-fp/floattidf.c: Likewise.
42965         * soft-fp/floattisf.c: Likewise.
42966         * soft-fp/floattitf.c: Likewise.
42967         * soft-fp/floatuntidf.c: Likewise.
42968         * soft-fp/floatuntisf.c: Likewise.
42969         * soft-fp/floatuntitf.c: Likewise.
42970         * soft-fp/trunctfxf2.c: Likewise.
42972 2013-10-10  David S. Miller  <davem@davemloft.net>
42974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42976 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42978         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42979         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42980         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42981         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42982         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42983         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42984         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42987         for NaNs before doing comparisons on argument.
42988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42989         Likewise.
42991 2013-10-10  Will Newton  <will.newton@linaro.org>
42993         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42994         passed to _int_memalign does not overflow.
42996 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42998         * scripts/bench.pl: Add include-sources directive.
42999         * benchtests/README: Update documentation.
43001 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43003         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43004         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43005         instead of FP_INIT_ROUNDMODE.
43006         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43007         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43009         [BZ #16034]
43010         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43011         copy class of input value.
43012         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43013         not handle exceptions.
43014         * soft-fp/negsf2.c (__negsf2): Likewise.
43015         * soft-fp/negtf2.c (__negtf2): Likewise.
43016         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43018 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43020         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43021         semicolon.  From Linux kernel.
43023 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43025         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43027 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43029         [BZ #156]
43030         * manual/socket.texi: Added statement about buffer
43031         for gethostbyname2_r.
43033 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43035         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43036         Use .p2align directive instead, throughout.
43037         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43038         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43039         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43040         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43042         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43043         * sysdeps/x86_64/strchr.S: Likewise.
43044         * sysdeps/x86_64/strrchr.S: Likewise.
43046 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43048         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43050         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43052         * sysdeps/generic/math_private.h (__mpsin1): Remove
43053         declaration.
43054         (__mpcos1): Likewise.
43055         (__mpsin): New argument __range_reduce.
43056         (__mpcos): Likewise.
43057         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43058         (slow): Use __mpsin and __mpcos.
43059         (slow1): Likewise.
43060         (slow2): Likewise.
43061         (sloww): Likewise.
43062         (sloww1): Likewise.
43063         (sloww2): Likewise.
43064         (bsloww): Likewise.
43065         (bsloww1): Likewise.
43066         (bsloww2): Likewise.
43067         (cslow2): Likewise.
43068         (csloww): Likewise.
43069         (csloww1): Likewise.
43070         (csloww2): Likewise.
43071         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43072         range_reduce.  Merge in __mpsin1.
43073         (__mpcos): Likewise.
43074         (__mpsin1): Remove.
43075         (__mpcos1): Likewise.
43077 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43079         * locale/loadlocale.c (_nl_intern_locale_data): Use
43080         LOCFILE_ALIGNED_P.
43081         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43082         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43083         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43084         obstack data is appropriately aligned.
43085         (obstack_int32_grow_fast): Likewise.
43086         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43087         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43088         (add_locale_uint32_array): Likewise.
43090 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43092         * benchtests/Makefile: Remove ARGLIST and RET variables.
43093         ($(objpfx)bench-%.c): Pass only function name to the script.
43094         * benchtests/README: Update documentation.
43095         * benchtests/acos-inputs: Add new directives.
43096         * benchtests/acosh-inputs: Likewise.
43097         * benchtests/asin-inputs: Likewise.
43098         * benchtests/asinh-inputs: Likewise.
43099         * benchtests/atan-inputs: Likewise.
43100         * benchtests/atanh-inputs: Likewise.
43101         * benchtests/cos-inputs: Likewise.
43102         * benchtests/cosh-inputs: Likewise.
43103         * benchtests/exp-inputs: Likewise.
43104         * benchtests/log-inputs: Likewise.
43105         * benchtests/pow-inputs: Likewise.
43106         * benchtests/rint-inputs: Likewise.
43107         * benchtests/sin-inputs: Likewise.
43108         * benchtests/sinh-inputs: Likewise.
43109         * benchtests/tan-inputs: Likewise.
43110         * benchtests/tanh-inputs: Likewise.
43111         * scripts/bench.pl: Add support for new directives.
43113 2013-10-07  Alan Modra  <amodra@gmail.com>
43115         * README: Fix careless merge.
43117 2013-10-05  Alan Modra  <amodra@gmail.com>
43119         * NEWS: Mention powerpc64le support and bugs fixed.
43120         * README: Both big-endian and little-endian powerpc64 supported.
43122 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43124         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43125         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43126         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43127         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43129 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43131         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43132         match prototype.
43134 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43136         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43137         Move -mhard-float appending from
43138         ports/sysdeps/powerpc/powerpc32/Makefile.
43139         [$(with-fp) = yes] (ASFLAGS): Likewise.
43140         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43141         * sysdeps/powerpc/nofpu: Move directory from
43142         ports/sysdeps/powerpc/nofpu.
43143         * sysdeps/powerpc/soft-fp: Move directory from
43144         ports/sysdeps/powerpc/soft-fp.
43145         * sysdeps/powerpc/powerpc32/405: Move directory from
43146         ports/sysdeps/powerpc/powerpc32/405.
43147         * sysdeps/powerpc/powerpc32/440: Move directory from
43148         ports/sysdeps/powerpc/powerpc32/440.
43149         * sysdeps/powerpc/powerpc32/464: Move directory from
43150         ports/sysdeps/powerpc/powerpc32/464.
43151         * sysdeps/powerpc/powerpc32/476: Move directory from
43152         ports/sysdeps/powerpc/powerpc32/476.
43153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43154         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43156         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43158         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43160         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43162         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43163         * README: Update for powerpc-*-linux-gnu software floating point
43164         support in libc.
43166         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43167         case to powerpc/powerpc32*.
43168         * sysdeps/unix/sysv/linux/configure: Regenerated.
43170         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43171         (_FPU_MASK_OM): Define as 0x04.
43172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43174         0x00c10080.
43175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43176         0x0000003c.
43177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43180         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43181         getcontext_e500.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43183         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43184         setcontext_e500.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43186         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43187         and setcontext_e500.
43189 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43191         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43193 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43195         * manual/threads.texi (Default Thread Attributes): Fix typo.
43197 2013-10-04  Will Newton  <will.newton@linaro.org>
43199         * malloc/Makefile: Add tst-memalign.
43200         * malloc/tst-memalign.c: New file.
43202         * malloc/tst-posix_memalign.c: Add comments.
43203         (do_test): Add comments and call free on all potentially
43204         allocated pointers. Add space after cast.
43206         * malloc/tst-pvalloc.c: Add comments.
43207         (do_test): Add comments and call free on all potentially
43208         allocated pointers. Remove duplicate check for NULL pointer.
43209         Add space after cast.
43211         * malloc/tst-valloc.c: Add comments.
43212         (do_test): Add comments and call free on all potentially
43213         allocated pointers. Remove duplicate check for NULL pointer.
43214         Add space after cast.
43216 2013-10-04  Alan Modra  <amodra@gmail.com>
43218         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43219         Use stdint types in rather than __attribute__((mode())).
43220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43222 2013-10-04  Alan Modra  <amodra@gmail.com>
43224         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43225         Correct handling of unaligned relocs for little-endian.
43226         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43228 2013-10-04  Alan Modra  <amodra@gmail.com>
43230         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43231         * configure: Regenerate.
43232         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43233         * shlib-versions: Likewise.
43235 2013-10-04  Alan Modra  <amodra@gmail.com>
43237         * string/tester.c (test_memrchr): Increment reported test cycle.
43239 2013-10-04  Alan Modra  <amodra@gmail.com>
43241         * string/test-memcpy.c (do_one_test): When reporting errors, print
43242         string address and don't overrun end of string.
43244 2013-10-04  Alan Modra  <amodra@gmail.com>
43246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43247         insrdi.  Make better use of reg selection to speed exit slightly.
43248         Schedule entry path a little better.  Remove useless "are we done"
43249         checks on entry to main loop.  Handle wrapping around zero address.
43250         Correct main loop count.  Handle single left-over word from main
43251         loop inline rather than by using loop_small.  Remove extra word
43252         case in loop_small caused by wrong loop count.  Add little-endian
43253         support.
43254         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43255         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43256         cache hint.
43257         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43258         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43259         support.  Avoid rlwimi.
43260         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43262 2013-10-04  Alan Modra  <amodra@gmail.com>
43264         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43265         insrdi.  Formatting.
43266         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43267         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43268         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43269         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43270         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43271         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43273 2013-10-04  Alan Modra  <amodra@gmail.com>
43275         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43276         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43278         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43279         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43280         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43281         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43282         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43283         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43284         use of regs.  Use power7 mtocrf.  Tidy function tails.
43286 2013-10-04  Alan Modra  <amodra@gmail.com>
43288         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43289         Formatting.  Consistently use rXXX register defines or rN defines.
43290         Use early exit labels that avoid restoring unused non-volatile regs.
43291         Make cr field use more consistent with rWORDn compares.  Rename
43292         regs used as shift registers for unaligned loop, using rN defines
43293         for short lifetime/multiple use regs.
43294         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43296         addi 1,1,64 to pop stack frame.  Simplify return value code.
43297         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43299 2013-10-04  Alan Modra  <amodra@gmail.com>
43301         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43302         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43303         rather than rlwimi.
43304         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43305         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43306         little-endian support.  Correct typos.
43307         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43308         rather than rlwimi.
43309         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43310         in loop and entry code to keep "and." results.
43311         (strchr): Add little-endian support.  Comment.  Move cntlzd
43312         earlier in tail.
43313         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43315 2013-10-04  Alan Modra  <amodra@gmail.com>
43317         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43318         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43319         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43320         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43322 2013-10-04  Alan Modra  <amodra@gmail.com>
43324         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43325         (rTMP): Define as r11.
43326         (strcmp): Add little-endian support.  Optimise tail.
43327         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43328         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43329         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43330         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43335 2013-10-04  Alan Modra  <amodra@gmail.com>
43337         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43338         little-endian support.  Remove unnecessary "are we done" tests.
43339         Handle "s" wrapping around zero and extremely large "size".
43340         Correct main loop count.  Handle single left-over word from main
43341         loop inline rather than by using small_loop.  Correct comments.
43342         Delete "zero" tail, use "end_max" instead.
43343         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43345 2013-10-04  Alan Modra  <amodra@gmail.com>
43347         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43348         support.  Don't branch over align.
43349         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43350         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43351         support.  Rearrange tmp reg use to suit.  Comment.
43352         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43354 2013-10-04  Alan Modra  <amodra@gmail.com>
43356         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43358 2013-10-04  Alan Modra  <amodra@gmail.com>
43360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43361         conditional form of branch and link when obtaining pc.
43362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43364 2013-10-04  Alan Modra  <amodra@gmail.com>
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43367         HIWORD/LOWORD.
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43371 2013-10-04  Alan Modra  <amodra@gmail.com>
43373         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43374         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43375         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43376         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43377         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43378         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43379         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43380         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43381         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43382         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43384 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43385             Alistair Popple <alistair@ozlabs.au.ibm.com>
43386             Alan Modra <amodra@gmail.com>
43388         [BZ #15723]
43389         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43391         _dl_hwcap access for little-endian.
43392         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43393         destroy vmx regs when saving unaligned.
43394         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43395         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43396         destroy vmx regs when saving unaligned.
43398 2013-10-04  Alan Modra  <amodra@gmail.com>
43400         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43401         Don't use a union to pack hi/low value.
43403 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43405         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43406         for little-endian.
43407         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43409         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43410         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43411         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43413 2013-10-04  Alan Modra  <amodra@gmail.com>
43415         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43416         constants to usual value for .cst8 section, and remove redundant
43417         high address load.
43418         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43419         constant for 0x1p52.  Load little-endian words of double from
43420         correct stack offsets.
43422 2013-10-04  Alan Modra  <amodra@gmail.com>
43424         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43425         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43426         words of double from correct stack offsets.
43427         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43428         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43429         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43430         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43431         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43432         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43433         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43434         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43435         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43436         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43437         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43438         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43439         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43440         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43441         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43442         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43443         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43445 2013-10-04  Alan Modra  <amodra@gmail.com>
43447         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43448         64-bit int/double union.
43449         (_FPU_SETCW): Likewise.
43450         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43451         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43453 2013-10-04  Alan Modra  <amodra@gmail.com>
43455         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43456         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43458 2013-10-04  Alan Modra  <amodra@gmail.com>
43460         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43461         use vector int constants.
43462         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43464 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43466         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43467         array with long long.
43468         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43469         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43470         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43471         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43472         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43473         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43474         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43475         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43476         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43477         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43478         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43479         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43480         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43482 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43484         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43485         (__signbit): Likewise.  Correct for little-endian.
43486         (__signbitl): Call __signbit.
43487         (lrint): Correct for little-endian.
43488         (lrintf): Call lrint.
43490 2013-10-04  Alan Modra  <amodra@gmail.com>
43492         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43493         union 32-bit int array member with 64-bit int array.
43494         (t515, tm256): Double rather than long double.
43495         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43497 2013-10-04  Alan Modra  <amodra@gmail.com>
43499         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43500         Delete.
43501         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43502         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43503         version of math_ldbl.h.
43505 2013-10-04  Alan Modra  <amodra@gmail.com>
43507         [BZ #15734], [BZ #15735]
43508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43509         all uses of ieee875 long double macros and unions.  Simplify test
43510         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43511         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43512         normalize after ldbl_extract_mantissa, and don't add hidden bit
43513         already handled.  Don't treat low word of ieee854 mantissa like
43514         low word of IBM long double and mask off bit when testing for
43515         zero.
43516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43517         all uses of ieee875 long double macros and unions.  Simplify tests
43518         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43519         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43520         two1022, instead use their values.  Recognise that tests for large
43521         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43522         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43523         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43524         test for 0.0L and nan.  Correct negation.
43525         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43526         ieee875 long double macros and unions.  Correct output for large
43527         magnitude x.  Correct absolute value calculation.
43528         (__erfcl): Likewise.
43529         * math/libm-test.inc: Add tests for errors discovered in IBM long
43530         double versions of fmodl, remainderl, erfl and erfcl.
43532 2013-10-04  Alan Modra  <amodra@gmail.com>
43534         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43535         all uses of ieee854 long double macros and unions.  Simplify tests
43536         for long doubles that are fully specified by the high double.
43537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43538         Likewise.
43539         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43540         Remove dead code too.
43541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43542         (__ieee754_ynl): Likewise.
43543         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43545         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43546         Remove dead code too.
43547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43548         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43549         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43550         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43551         Simplify.
43552         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43553         Simplify.
43554         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43555         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43556         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43557         Comment on variable precision.
43558         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43560         Likewise.
43561         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43562         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43563         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43564         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43565         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43567 2013-10-04  Alan Modra  <amodra@gmail.com>
43569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43570         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43571         all uses of ieee854 long double macros and unions.
43572         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43574         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43576         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43577         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43578         Likewise.
43579         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43580         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43581         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43582         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43583         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43584         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43585         Simplify sign and nan test too.
43586         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43587         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43588         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43589         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43590         Likewise.
43591         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43592         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43593         Likewise.
43594         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43595         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43596         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43597         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43598         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43601 2013-10-04  Alan Modra  <amodra@gmail.com>
43603         * stdio-common/printf_size.c (__printf_size): Don't use
43604         union ieee854_long_double in fpnum union.
43605         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43606         signbit macro to retrieve sign from long double.
43607         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43608         retrieve sign from long double.
43609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43610         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43611         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43612         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43613         * math/test-misc.c (main): Don't use union ieee854_long_double.
43615 2013-10-04  Alan Modra  <amodra@gmail.com>
43617         [BZ #15680]
43618         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43619         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43620         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43621         calculation.  Remove unnecessary test for denormal exponent.
43622         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43623         Correct handling of denormals.  Avoid undefined shift behaviour.
43624         Correct normalisation of low mantissa when low double is denormal.
43625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43626         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43627         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43628         Correct normalisation of low mantissa.  Test for overflow of high
43629         mantissa and normalise.
43630         (ldbl_nearbyint): Use more readable constant for two52.
43631         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43632         (__mpn_construct_long_double): Fix test for overflow of high
43633         mantissa and correct normalisation.  Avoid undefined shift.
43635 2013-10-04  Alan Modra  <amodra@gmail.com>
43637         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43638         (union ibm_extended_long_double): Define as an array of ieee754_double.
43639         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43640         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43641         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43642         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43643         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43644         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43646         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43647         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43648         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43649         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43651 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43653         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43654         page size instead of calling getpagesize.
43656         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43657         (LOCFILE_ALIGN_MASK): Likewise.
43658         (LOCFILE_ALIGN_UP): Likewise.
43659         (LOCFILE_ALIGNED_P): Likewise.
43660         * locale/programs/ld-collate.c (collate_output): Use the new
43661         macros instead of __alignof__ (int32_t).
43662         * locale/weight.h (findidx): Likewise.
43664 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43666         [BZ #431]
43667         * manual/string.texi: Fix strncat and wcsncat.
43669 2013-10-03  Brooks Moses  <bmoses@google.com>
43671         [BZ #15915]
43672         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43673         * Makerules: ...here, and adjust associated comments.
43675 2013-10-02  Will Newton  <will.newton@linaro.org>
43677         * malloc/Makefile: Add tst-pvalloc.
43678         * malloc/tst-pvalloc.c: New file.
43680 2013-10-02  Will Newton  <will.newton@linaro.org>
43682         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43683         improve test coverage.
43685 2013-10-02  Will Newton  <will.newton@linaro.org>
43687         * malloc/Makefile: Add tst-posix_memalign.
43688         * malloc/tst-posix_memalign.c: New file.
43690 2013-10-01  Eric Blake  <eblake@redhat.com>
43692         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43693         Use __THROWNL rather than __THROW on static functions.
43695 2013-09-30  Petr Machata  <pmachata@redhat.com>
43697         * elf/elf.h (R_AARCH64_ABS16): New macro.
43698         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43699         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43700         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43701         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43702         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43703         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43704         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43705         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43706         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43707         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43708         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43709         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43710         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43711         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43712         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43713         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43714         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43715         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43716         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43717         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43718         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43719         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43720         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43721         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43722         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43723         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43724         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43725         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43726         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43727         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43728         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43729         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43730         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43731         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43732         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43733         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43734         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43735         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43736         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43737         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43738         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43739         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43740         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43741         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43742         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43743         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43744         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43745         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43746         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43747         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43748         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43749         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43750         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43751         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43752         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43753         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43754         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43755         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43756         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43757         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43758         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43759         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43760         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43761         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43762         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43763         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43764         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43765         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43766         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43767         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43768         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43769         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43770         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43771         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43772         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43773         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43774         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43775         (R_AARCH64_TLSDESC_LDR): Likewise.
43776         (R_AARCH64_TLSDESC_ADD): Likewise.
43777         (R_AARCH64_TLSDESC_CALL): Likewise.
43779 2013-09-30  Andreas Schwab  <schwab@suse.de>
43781         [BZ #15048]
43782         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43783         the nss database lookup.
43784         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43787 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43789         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43791 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43794         ${Bash-specific parameter/pattern/string} parameter expansion.
43795         * sysdeps/unix/make-syscalls.sh: Likewise.
43797 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43799         * sysdeps/sh/stackguard-macros.h: New file.
43801 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43805         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43806         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43807         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43808         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43810 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43812         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43813         Fix thread ID register.
43815 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43817         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43818         [POSIX || UNIX98]: Require rather than permitting all symbols from
43819         <time.h>.
43820         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43821         element of struct sched_param.
43822         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43823         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43824         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43825         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43826         constant.
43828 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43830         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43831         argument calculation.
43833 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43835         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43836         Expect macro.
43837         [POSIX] (pthread_attr_t): Do not require type.
43838         [POSIX] (pthread_cond_t): Likewise.
43839         [POSIX] (pthread_condattr_t): Likewise.
43840         [POSIX] (pthread_key_t): Likewise.
43841         [POSIX] (pthread_mutex_t): Likewise.
43842         [POSIX] (pthread_mutexattr_t): Likewise.
43843         [POSIX] (pthread_once_t): Likewise.
43844         [POSIX] (pthread_t): Likewise.
43845         [POSIX-based standards] (pthread_atfork): Expect function.
43847 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43848             Richard Sandiford  <richard@codesourcery.com>
43850         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43851         (swap_endianness_p): New extern variable.
43852         (set_big_endian): New inline function.
43853         (maybe_swap_uint32): Likewise.
43854         (maybe_swap_uint32_array): Likewise.
43855         (maybe_swap_uint32_obstack): Likewise.
43856         * locale/programs/locfile.c: Include <stdbool.h>.
43857         (swap_endianness_p): New variable.
43858         (add_locale_uint32): Call maybe_swap_uint32.
43859         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43860         (write_locale_data): Call maybe_swap_uint32_array.
43861         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43862         maybe_swap_uint32.
43863         (obstack_int32_grow_fast): Likewise.
43864         (output_weightwc): Call maybe_swap_uint32_obstack.
43865         (collate_output): Likewise.
43866         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43867         (OPT_LITTLE_ENDIAN): Likewise.
43868         (options): Add --little-endian and --big-endian options.
43869         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43870         * locale/programs/locarchive.c: Include "locfile.h".
43871         (GET): New macro.
43872         (SET): Likewise.
43873         (INC): Likewise.
43874         (create_archive): Use the new macros to access fields of
43875         structures directly mapped from or written to locale archives.
43876         (oldlocrecentcmp): Likewise.
43877         (enlarge_archive): Likewise.
43878         (insert_name): Likewise.
43879         (add_alias): Likewise.
43880         (add_locale): Likewise.
43881         (delete_locales_from_archive): Likewise.
43882         (show_archive_content): Likewise.
43883         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43884         locale data.
43886 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43888         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43889         http://www.gnu.org/doc/freemanuals.texi.
43890         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43892 2013-09-24  Will Newton  <will.newton@linaro.org>
43894         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43895         macro.
43897 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43899         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43900         unsigned char.
43902 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43904         * manual/threads.texi (POSIX Threads): Fix a typo.
43906 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43908         [BZ #14547]
43909         * string/tst-strcoll-overflow.c: New test case.
43910         * string/Makefile (xtests): Add tst-strcoll-overflow.
43911         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43912         cache if string sizes may cause integer overflow.
43914         [BZ #14547]
43915         * string/strcoll_l.c (coll_seq): New members rule, idx,
43916         save_idx and back_us.
43917         (get_next_seq_nocache): New function.
43918         (do_compare_nocache): New function.
43919         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43920         when malloc fails.
43922 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43924         [BZ #15754]
43925         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43926         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43927         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43929         [BZ #15754]
43930         * elf/Makefile (tests): Add tst-ptrguard1.
43931         (tests-static): Add tst-ptrguard1-static.
43932         (tst-ptrguard1-ARGS): Define.
43933         (tst-ptrguard1-static-ARGS): Define.
43934         * elf/tst-ptrguard1.c: New file.
43935         * elf/tst-ptrguard1-static.c: New file.
43936         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43937         * sysdeps/i386/stackguard-macros.h: Likewise.
43938         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43939         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43940         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43941         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43942         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43943         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43945 2013-09-23  Hector Marco  <hecmargi@upv.es>
43946             Ismael Ripoll  <iripoll@disca.upv.es>
43947             Carlos O'Donell  <carlos@redhat.com>
43949         [BZ #15754]
43950         * sysdeps/generic/stackguard-macros.h: Define
43951         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43952         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43953         Define __pointer_chk_guard_local.
43954         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43955         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43957 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43959         [BZ #15859]
43960         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43962 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43964         * include/string.h (__ffs): Declare as hidden.
43965         * string/ffs.c (__ffs): Define as hidden.
43966         * sysdeps/i386/ffs.c (__ffs): Likewise.
43967         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43968         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43969         * sysdeps/s390/ffs.c (__ffs): Likewise.
43970         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43972 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43974         * NEWS: Mention malloc probes.
43976         * malloc/arena.c (new_heap): New memory_heap_new probe.
43977         (grow_heap): New memory_heap_more probe.
43978         (shrink_heap): New memory_heap_less probe.
43979         (heap_trim): New memory_heap_free probe.
43980         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43981         (systrim): New memory_sbrk_less probe.
43982         * manual/probes.texi: Document them.
43984         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43985         * manual/probes.texi: Document it.
43987         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43988         (__libc_realloc): Add memory_realloc_retry probe.
43989         (__libc_memalign): Add memory_memalign_retry probe.
43990         (__libc_valloc): Add memory_valloc_retry probe.
43991         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43992         (__libc_calloc): Add memory_calloc_retry probe.
43993         * manual/probes.texi: Document them.
43995         * malloc/arena.c (get_free_list): Add probe
43996         memory_arena_reuse_free_list.
43997         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43998         and memory_arena_reuse.
43999         (arena_get2) [!PER_THREAD]: Likewise.
44000         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44001         memory_arena_reuse_realloc.
44002         * manual/probes.texi: Document them.
44004         * malloc/malloc.c (__libc_free): Add
44005         memory_mallopt_free_dyn_thresholds probe.
44006         (__libc_mallopt): Add multiple memory_mallopt probes.
44007         * manual/probes.texi: Document them.
44009         * malloc/malloc.c: Include stap-probe.h.
44010         (__libc_mallopt): Add memory_mallopt probe.
44011         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44012         * manual/probes.texi: New.
44013         * manual/Makefile (chapters): Add probes.
44014         * manual/threads.texi: Set next node.
44016 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44018         [BZ #15963, #13985]
44019         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44020         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44021         Add `Chinese' to `nan' entry name.
44023 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44025         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44026         (POLYNOMIAL): Likewise.
44027         (TAYLOR_SINCOS): Likewise.
44028         (TAYLOR_SLOW): Likewise.
44029         (__sin): Use TAYLOR_SINCOS.
44030         (__cos): Likewise.
44031         (slow): Use TAYLOR_SLOW.
44032         (sloww): Likewise.
44033         (bsloww): Likewise.
44034         (csloww): Likewise.
44036 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44038         * stdlib/strtod_l.c: Fix buffer overrun.
44040 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44042         * benchtests/Makefile (bench): Add sincos.
44043         * benchtests/bench-sincos.c: New file.
44045         * math/libm-test.inc (cos_test_data): New test inputs.
44046         (sin_test_data): Likewise.
44048         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44049         macro.
44050         (__sin): Use it.
44051         (__cos): Likewise.
44052         (slow1): Likewise.
44053         (slow2): Likewise.
44054         (sloww1): Likewise.
44055         (sloww2): Likewise.
44056         (bsloww1): Likewise.
44057         (bsloww2): Likewise.
44058         (cslow2): Likewise.
44059         (csloww1): Likewise.
44060         (csloww2): Likewise.
44062         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44063         function.
44064         (__sin): Use it.
44065         (__cos): Likewise.
44067         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44068         gotos.
44069         (__cos): Likewise.
44071 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44073         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44074         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44075         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44076         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44077         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44078         * elf/cache.c (print_entry): Handle the new cache flags.
44080 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44081             Aldy Hernandez  <aldyh@redhat.com>
44083         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44084         Change condition to [_SOFT_FLOAT].
44085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44097         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44100         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44101         declaration.
44103 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44105         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44106         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44107         (__longjmp): Use LOAD_GP to load saved GPRs.
44108         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44109         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44110         (__sigsetjmp): Use SAVE_GP to save GPRs.
44112         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44113         Do not append -msoft-float.
44114         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44116 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44118         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44120 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44122         [BZ #15966]
44123         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44124         (_FPU_GETCW): Use initial "__" on variable and field names but not
44125         on macro parameter name.
44126         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44127         parentheses around reference to macro parameter.
44129 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44131         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44132         prototype.
44133         (ctype_startup): Use uint32_t in cast and sizeof for
44134         ctype->charnames.
44136 2013-09-11  Jia Liu  <proljc@gmail.com>
44138         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44139         __daddr_t_defined.
44140         [__FreeBSD__]: Likewise.
44142 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44145         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44146         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44147         (strchr): Remove __strchr_sse42 ifunc selection.
44148         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44149         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44151 2013-09-11  Will Newton  <will.newton@linaro.org>
44153         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44154         parameter to RES. Remove hardcoded 1000 value.
44155         * benchtests/bench-skeleton.c (main): Pass RES parameter
44156         to TIMING_INIT and multiply result by 1000.
44158 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44162 2013-09-11  Andreas Schwab  <schwab@suse.de>
44164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44165         if not defined.
44166         (O_TMPFILE) [__USE_GNU]: Define.
44167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44168         Define.
44170 2013-09-11  Will Newton  <will.newton@linaro.org>
44172         [BZ #15857]
44173         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44174         does not overflow.
44176 2013-09-11  Will Newton  <will.newton@linaro.org>
44178         [BZ #15856]
44179         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44180         does not overflow.
44182 2013-09-11  Will Newton  <will.newton@linaro.org>
44184         [BZ #15855]
44185         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44186         does not overflow.
44188 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44190         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44191         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44192         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44193         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44194         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44196 2013-09-10  Allan McRae  <allan@archlinux.org>
44198         [BZ #15748]
44199         * manual/arith.texi (Parsing of Floats): Clarify
44200         cross-reference.
44202         [BZ #15849]
44203         * manual/install.texi (Running make install): Mention
44204         --enable-pt-chown.
44205         * INSTALL: Regenerated.
44207 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44209         * csu/init-first.c (_init): Remove the !SHARED condition around
44210         FPU control word initialization.
44211         * elf/dl-support.c (_dl_fpu_control): New variable.
44212         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44213         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44214         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44215         * math/test-fpucw-static.c: New file.
44216         * math/test-fpucw-ieee.c: New file.
44217         * math/test-fpucw-ieee-static.c: New file.
44218         * math/Makefile (tests): Add `test-fpucw-ieee' and
44219         `$(tests-static)'.
44220         (tests-static): New variable.
44221         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44222         dependency to...
44223         [($(build-shared),yes)]
44224         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44225         ... this.
44226         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44227         New dependency.
44229 2013-09-09  Allan McRae  <allan@archlinux.org>
44231         [BZ #15939]
44232         * manual/string.texi (Collation Functions): Fix typo in
44233         strcoll example.
44234         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44236         [BZ #15893]
44237         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44239         [BZ #15892]
44240         * libio/memstream.c (open_memstream): Fix memory leak.
44241         * libio/wmemstream.c (open_wmemstream): Likewise.
44243         [BZ #15895]
44244         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44246 2013-09-09  Will Newton  <will.newton@linaro.org>
44248         * malloc/Makefile: Add tst-realloc to tests.
44249         * malloc/tst-realloc.c: New file.
44251 2013-09-09  Allan McRae  <allan@archlinux.org>
44253         [BZ #15844]
44254         * COPYING: Update from GNU website to fix FSF address.
44255         * COPYING.LIB: Likewise.
44257 2013-09-06  David S. Miller  <davem@davemloft.net>
44259         * po/zh_TW.po: Update Chinese (traditional) translation from
44260         translation project.
44262 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44263             Joseph Myers  <joseph@codesourcery.com>
44265         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44266         "localeinfo.h".
44267         (obstack_chunk_alloc): New macro.
44268         (obstack_chunk_free): Likewise.
44269         (record_offset): New function.
44270         (init_locale_data): Likewise.
44271         (align_locale_data): Likewise.
44272         (add_locale_empty): Likewise.
44273         (add_locale_raw_data): Likewise.
44274         (add_locale_raw_obstack): Likewise.
44275         (add_locale_string): Likewise.
44276         (add_locale_wstring): Likewise.
44277         (add_locale_uint32): Likewise.
44278         (add_locale_uint32_array): Likewise.
44279         (add_locale_char): Likewise.
44280         (start_locale_structure): Likewise.
44281         (end_locale_structure): Likewise.
44282         (start_locale_prelude): Likewise.
44283         (end_locale_prelude): Likewise.
44284         (write_locale_data): Take locale_file structure rather than an
44285         iovec.
44286         * locale/programs/locfile.h: Include "obstack.h".
44287         (struct locale_file): Change to store locale file contents instead
44288         of header.
44289         (init_locale_data): New prototype.
44290         (align_locale_data): Likewise.
44291         (add_locale_empty): Likewise.
44292         (add_locale_raw_data): Likewise.
44293         (add_locale_raw_obstack): Likewise.
44294         (add_locale_string): Likewise.
44295         (add_locale_wstring): Likewise.
44296         (add_locale_uint32): Likewise.
44297         (add_locale_uint32_array): Likewise.
44298         (add_locale_char): Likewise.
44299         (start_locale_structure): Likewise.
44300         (end_locale_structure): Likewise.
44301         (start_locale_prelude): Likewise.
44302         (end_locale_prelude): Likewise.
44303         (write_locale_data): Update prototype.
44304         * locale/programs/3level.h (struct TABLE): Remove result field.
44305         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44306         Use new locale_file interface.
44307         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44308         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44309         * locale/programs/ld-address.c (address_output): Use new
44310         locale_file interface.
44311         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44312         NO_ADD_LOCALE.
44313         (collate_finish): Don't call collseq_table_finalize.
44314         (collate_output): Use new locale_file interface.
44315         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44316         in file.
44317         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44318         (TABLE): Move defines earlier in file.
44319         (ELEMENT): Likewise.
44320         (DEFAULT): Likewise.
44321         (wctrans_table_add): Move macro and inline function earlier in
44322         file.
44323         (struct wctype_table): Move type earlier in file.
44324         (add_locale_wctype_table): New static prototype.
44325         (struct locale_ctype_t): Use logical types instead of struct iovec
44326         pointers for members.
44327         (ctype_output): Use new locale_file interface.
44328         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44329         new locale_file interface.
44330         (allocate_arrays): Update for use of new locale_file interface.
44331         * locale/programs/ld-identification.c (identification_output): Use
44332         new locale_file interface.
44333         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44334         * locale/programs/ld-messages.c (messages_output): Likewise.
44335         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44336         * locale/programs/ld-name.c (name_output): Likewise.
44337         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44338         * locale/programs/ld-paper.c (paper_output): Likewise.
44339         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44340         * locale/programs/ld-time.c (time_output): Likewise.
44342 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44344         * benchtests/Makefile: Add memrchr benchmark.
44345         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44346         benchmark as memrchr.
44347         * benchtests/bench-memrchr-ifunc.c: New file.
44348         * benchtests/bench-memrchr.c: New file.
44350 2013-09-06   Will Newton  <will.newton@linaro.org>
44352         * benchtests/Makefile (string-bench): Add memcpy.
44354 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44355             Cong Wang  <amwang@redhat.com>
44357         [BZ #15850]
44358         * sysdeps/unix/sysv/linux/bits/in.h
44359         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44360         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44361         before __USE_KERNEL_IPV6_DEFS uses.
44362         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44363         IPPROTO_BEETPH.
44364         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44365         sockaddr_in6, or ipv6_mreq.
44367 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44369         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44370         memory access for final bytes in some large inputs.
44371         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44373 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44375         * string/test-memrchr.c: New file.
44376         * string/test-memrchr-ifunc.c: New file.
44377         * string/Makefile: Add new memrchr testcase.
44379 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44381         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44382         fanotify_init returns EPERM.
44384 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44386         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44387         errors.
44388         (top level): Treat second token from macro or constant entries for
44389         allowed headers as allowed.
44390         * include/complex.h: Condition internal declarations on
44391         [!_ISOMAC].
44392         * include/fenv.h: Condition include of <stdbool.h> and internal
44393         declarations on [!_ISOMAC].
44395 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44397         [BZ #15923]
44398         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44400 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44402         * configure.in (--enable-versioning): Remove configure option.
44403         (libc_cv_asm_symver_directive): Remove configure test.
44404         (libc_cv_ld_version_script_option): Likewise.
44405         (VERSIONING): Remove variable and AC_SUBST.
44406         (DO_VERSIONING): Remove AC_DEFINE.
44407         * configure: Regenerated.
44408         * config.h.in (DO_VERSIONING): Remove macro.
44409         * Makerules [$(versioning) = yes]: Change conditionals to
44410         [$(build-shared) = yes].
44411         * config.make.in (versioning): Remove variable.
44412         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44413         [$(build-shared) = yes].
44414         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44415         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44416         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44417         [$(build-shared) = yes].
44418         * extra-lib.mk [$(versioning) = yes]: Likewise.
44419         * hurd/Makefile [$(versioning) = yes]: Likewise.
44420         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44421         [SHARED].
44422         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44423         [SHARED].
44424         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44425         [SHARED && !NO_HIDDEN].
44426         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44427         [SHARED].
44428         [SHARED && DO_VERSIONING]: Likewise..
44429         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44430         [$(build-shared) = yes].
44431         * manual/install.texi (--disable-versioning): Remove
44432         documentation.
44433         * INSTALL: Regenerated.
44434         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44435         to [SHARED].
44436         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44437         [$(build-shared) = yes].
44438         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44439         * sysdeps/i386/i686/multiarch/strstr-c.c
44440         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44441         [SHARED && !NO_HIDDEN].
44442         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44443         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44444         * sysdeps/powerpc/powerpc32/dl-machine.c
44445         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44446         * sysdeps/powerpc/powerpc32/sysdep.h
44447         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44448         to [SHARED && PIC && !NO_HIDDEN].
44449         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44450         conditional to [SHARED].
44452 2013-09-04   Will Newton  <will.newton@linaro.org>
44454         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44455         * benchtests/bench-string.h: Include bench-timing.h instead
44456         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44457         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44458         call to HP_TIMING_DIFF_INIT.
44459         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44460         instead of hp-timing.h macros.
44461         * benchtests/bench-memchr.c: Likewise.
44462         * benchtests/bench-memcmp.c: Likewise.
44463         * benchtests/bench-memcpy.c: Likewise.
44464         * benchtests/bench-memmem.c: Likewise.
44465         * benchtests/bench-memmove.c: Likewise.
44466         * benchtests/bench-memset.c: Likewise.
44467         * benchtests/bench-rawmemchr.c: Likewise.
44468         * benchtests/bench-strcasecmp.c: Likewise.
44469         * benchtests/bench-strcasestr.c: Likewise.
44470         * benchtests/bench-strcat.c: Likewise.
44471         * benchtests/bench-strchr.c: Likewise.
44472         * benchtests/bench-strcmp.c: Likewise.
44473         * benchtests/bench-strcpy.c: Likewise.
44474         * benchtests/bench-strcpy_chk.c: Likewise.
44475         * benchtests/bench-strlen.c: Likewise.
44476         * benchtests/bench-strncasecmp.c: Likewise.
44477         * benchtests/bench-strncat.c: Likewise.
44478         * benchtests/bench-strncmp.c: Likewise.
44479         * benchtests/bench-strncpy.c: Likewise.
44480         * benchtests/bench-strnlen.c: Likewise.
44481         * benchtests/bench-strpbrk.c: Likewise.
44482         * benchtests/bench-strrchr.c: Likewise.
44483         * benchtests/bench-strspn.c: Likewise.
44484         * benchtests/bench-strstr.c: Likewise.
44486 2013-09-04  Will Newton  <will.newton@linaro.org>
44488         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44490 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44492         [BZ #15427]
44493         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44494         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44495         * math/libm-test.inc (lgamma_test_data): Add more tests.
44496         * sysdeps/i386/fpu/libm-test-ulps: Update.
44497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44499 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44501         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44503         Add ifunc.
44504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44505         Add strcmp-sse2-unaligned
44506         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44508 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44510         * Versions.def (libc): Add GLIBC_2.19.
44512 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44514         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44515         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44517 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44519         [BZ #14155]
44520         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44521         intermediate calculations in recurrence.
44522         (__ieee754_ynf): Likewise.
44523         * math/libm-test.inc (jn_test_data): Do not allow spurious
44524         underflow exception.  Add more tests.
44525         (yn_test_data): Add more tests.
44526         * sysdeps/i386/fpu/libm-test-ulps: Update.
44527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44529 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44531         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44533 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44535         * csu/init-first.c: Fix then/than typos.
44536         * locale/programs/ld-collate.c: Likewise.
44537         * locale/programs/linereader.h: Likewise.
44538         * manual/charset.texi: Likewise.
44539         * manual/filesys.texi: Likewise.
44540         * manual/stdio.texi: Likewise.
44541         * manual/string.texi: Likewise.
44542         * stdlib/fmtmsg.c: Likewise.
44543         * sysdeps/i386/stpncpy.S: Likewise.
44544         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44545         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44546         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44547         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44549 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44551         * elf/dl-open.c: Fix typos.
44552         * iconvdata/gbbig5.c: Likewise.
44553         * iconvdata/iso-2022-jp.c: Likewise.
44554         * iconv/gconv_int.h: Likewise.
44555         * iconv/loop.c: Likewise.
44556         * nis/rpcsvc/nis.h: Likewise.
44557         * resolv/ns_name.c: Likewise.
44558         * stdio-common/vfscanf.c: Likewise.
44559         * streams/stropts.h: Likewise.
44560         * sunrpc/rpc_thread.c: Likewise.
44561         * sysdeps/i386/strpbrk.S: Likewise.
44562         * sysdeps/ieee754/k_standard.c: Likewise.
44563         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44564         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44565         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44566         * sysdeps/mach/hurd/profil.c: Likewise.
44567         * sysdeps/s390/dl-procinfo.h: Likewise.
44568         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44569         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44570         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44571         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44572         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44574 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44576         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44579 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44581         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44582         aix specific files.
44583         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44584         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44585         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44586         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44587         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44588         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44589         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44590         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44592 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44593             Roland McGrath  <roland@hack.frob.com>
44595         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44596         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44598 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44600         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44601         __executable_start symbol instead of _start.
44603 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44605         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44606         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44607         Move macros to...
44608         * sysdeps/gnu/ldsodefs.h: ... this new file.
44610         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44611         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44612         instead of ELFOSABI_LINUX.
44614         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44615         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44616         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44617         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44618         Likewise.
44619         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44620         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44621         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44622         Likewise.
44623         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44624         (ibm_extended_long_double): Add ieee_nan member.
44625         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44626         (do_test): New function.
44628         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44629         TEST_TRUNC.
44630         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44631         functions, renamed from truncdfsf_test, trunctfsf_test,
44632         trunctfdf_test.
44633         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44634         functions.
44635         (do_test): Run all these.
44637 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44639         * argp/argp-help.c: Fix typos.
44640         * argp/argp-parse.c: Likewise.
44641         * debug/backtracesyms.c: Likewise.
44642         * elf/elf.h: Likewise.
44643         * malloc/malloc.c: Likewise.
44644         * nis/nis_print.c: Likewise.
44645         * resolv/res_comp.c: Likewise.
44646         * stdlib/stdlib.h: Likewise.
44647         * sunrpc/clnt_tcp.c: Likewise.
44648         * sunrpc/clnt_udp.c: Likewise.
44649         * sunrpc/clnt_unix.c: Likewise.
44650         * sysdeps/unix/bsd/ptsname.c: Likewise.
44651         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44652         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44654         Likewise.
44655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44656         Likewise.
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44658         Likewise.
44659         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44661 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44663         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44666 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44668         [BZ #15897]
44669         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44670         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44671         ($(objpfx)bug-dl-leaf): New rule.
44672         ($(objpfx)bug-dl-leaf.so): Likewise.
44673         ($(objpfx)bug-dl-leaf.out): Likewise.
44674         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44675         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44676         * dlfcn/bug-dl-leaf.c: New test.
44677         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44678         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44679         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44680         (dlclose): Likewise.
44681         (dlmopen): Likewise.
44683 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44685         * include/netdb.h [!_ISOMAC]:
44686         Don't include <tls.h>.
44687         (h_errno, __libc_h_errno): Move declaration and macros out of
44688         [_LIBC_REENTRANT].
44690         * include/resolv.h [_RESOLV_H_]:
44691         Don't include <tls.h>.
44692         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44693         * resolv/res_libc.c: Don't include <tls.h>.
44694         (_res): Use __attribute__ ((nocommon)) in place of
44695         __attribute__ ((section (".bss"))).
44697         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44698         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44700         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44702         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44703         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44705         * resolv/res_mkquery.c: Include <sys/time.h>.
44707         * inet/ifreq.c: Moved to ...
44708         * sysdeps/unix/ifreq.c: ... here.
44709         * inet/ifreq.c: New file, true stub version.
44711         * socket/sa_len.c: New file.
44712         * socket/Makefile (aux): Add it.
44713         * sysdeps/unix/sysv/linux/Makefile
44714         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44715         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44716         and #include <socket/sa_len.c>.
44717         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44718         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44720         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44721         * bits/socket.h: ... here.
44723         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44724         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44725         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44727 2013-08-27  Andreas Schwab  <schwab@suse.de>
44729         [BZ #15736]
44730         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44731         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44732         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44733         * string/test-strcasecmp.c (test_main): Run tests in several
44734         locales.
44735         * string/test-strncasecmp.c (test_main): Likewise.
44737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44738         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44739         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44741         (__strncasecmp_ssse3) [PIC]: Likewise.
44743 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44745         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44747         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44748         instead of explicitly declaring xdecrypt.
44749         * nis/nss_nis/nis-publickey.c: Likewise.
44751 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44753         [BZ #15890]
44754         * nscd/aicache.c: Include res_hconf.h.
44755         (addhstaiX): Initialize res_hconf.
44757 2013-08-26  Andreas Schwab  <schwab@suse.de>
44759         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44760         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44762 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44764         * nscd/aicache.c (addhstaiX): Fix indentation.
44766 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44768         * configure.ac: Quote $build_pt_chown test.
44769         * configure: Regenerated.
44771 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44773         [BZ #15532]
44774         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44775         * math/s_cexpf.c (__cexpf): Likewise.
44776         * math/s_cexpl.c (__cexpl): Likewise.
44777         * math/libm-test.inc (cexp_test_data): Correct expected return
44778         value for NaN + i0.  Add another test.
44780 2013-08-22  David S. Miller  <davem@davemloft.net>
44782         * po/ca.po: Update Catalan translation from translation project.
44783         * po/uk.po: Add Ukrainian translations from translation project.
44785 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44787         [BZ #15797]
44788         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44789         is infinite, not alongside NaN test.
44790         * math/s_fdimf.c (__fdimf): Likewise.
44791         * math/s_fdiml.c (__fdiml): Likewise.
44792         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44793         errno is unchanged.
44795 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44797         * argp/argp-help.c: Fix typos.
44798         * crypt/speeds.c: Likewise.
44799         * csu/check_fds.c: Likewise.
44800         * elf/dl-load.c: Likewise.
44801         * elf/dl-open.c: Likewise.
44802         * elf/reldep3.c: Likewise.
44803         * elf/reldep.c: Likewise.
44804         * elf/sprof.c: Likewise.
44805         * iconv/iconv_charmap.c: Likewise.
44806         * iconv/skeleton.c: Likewise.
44807         * iconv/strtab.c: Likewise.
44808         * io/lockf64.c: Likewise.
44809         * libio/libioP.h: Likewise.
44810         * resolv/gai_notify.c: Likewise.
44811         * resolv/ns_name.c: Likewise.
44812         * resolv/ns_samedomain.c: Likewise.
44813         * resolv/res_send.c: Likewise.
44814         * stdlib/random.c: Likewise.
44815         * sunrpc/rpc/xdr.h: Likewise.
44816         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44817         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44818         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44819         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44820         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44821         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44822         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44824         * sysdeps/mach/hurd/check_fds.c: Likewise.
44825         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44826         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44827         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44828         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44829         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44830         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44831         * sysdeps/pthread/aio_notify.c: Likewise.
44832         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44833         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44834         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44835         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44836         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44838 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44840         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44841         version if bit_Slow_SSE4_2 is set.
44842         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44843         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44845 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44847         [BZ #15867]
44848         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44849         trampoline stack frame information.
44850         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44851         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44852         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44853         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44854         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44855         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44856         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44857         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44858         sa_flags value.
44859         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44860         interrupting a syscall and set with option SA_SIGINFO.
44862 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44864         [BZ #15531]
44865         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44866         argument is infinite.
44867         * math/s_cprojf.c (__cprojf): Likewise.
44868         * math/s_cprojl.c (__cprojl): Likewise.
44869         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44870         * math/libm-test.inc (cproj_test_data): Add more tests.
44872         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44874         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44875         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44876         size.  Use __ffs to determine corresponding shift.
44878 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44879             Roland McGrath  <roland@hack.frob.com>
44881         * Makefile (INSTALL): Remove trailing blank lines from output of
44882         makeinfo.
44884 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44886         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44887         Align 32 bit compat elf_greg to 8 bytes.
44889 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44891         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44893 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44895         * string/strcoll_l.c (coll_seq): New structure.
44896         (get_next_seq_cached): New function.
44897         (get_next_seq): New function.
44898         (do_compare): New function.
44899         (STRCOLL): Use GNU style definition.  Simplify implementation
44900         by using get_next_seq, get_next_seq_cached and do_compare.
44902 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44904         [BZ #14699]
44905         CVE-2013-4237
44906         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44907         member.
44908         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44909         member.
44910         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44911         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44912         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44913         conditional.
44914         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44915         GETDENTS_64BIT_ALIGNED.
44916         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44917         * manual/filesys.texi (Reading/Closing Directory): Document
44918         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44919         strongly.
44920         * manual/conf.texi (Limits for Files): Add portability note to
44921         NAME_MAX, PATH_MAX.
44922         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44924 2013-08-13  Andreas Schwab  <schwab@suse.de>
44926         [BZ #15749]
44927         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44928         of fabs.
44929         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44930         LDBL_MAX_EXP >= 16384]: Add tests for it.
44932 2013-08-12  David S. Miller  <davem@davemloft.net>
44934         * version.h (RELEASE): Set to "development".
44935         (VERSION): Set to "2.18.90".
44936         * NEWS: Add 2.19 section.
44938 2013-08-03  David S. Miller  <davem@davemloft.net>
44940         * po/ko.po: Update Korean translation from translation project.
44942 2013-08-01  David S. Miller  <davem@davemloft.net>
44944         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44945         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44946         Bilka.
44948 2013-07-30  David S. Miller  <davem@davemloft.net>
44950         * po/fr.po: Update French translation from translation project.
44952 2013-07-28  David S. Miller  <davem@davemloft.net>
44954         * po/cs.po: Update Czech translation from translation project.
44956         * po/sv.po: Update Swedish translation from translation project.
44958 2013-07-27  David S. Miller  <davem@davemloft.net>
44960         * po/eo.po: Update Esperanto translation from translation project.
44962         * po/vi.po: Update Vietnamese translation from translation project.
44964         * po/de.po: Update German translation from translation project.
44966 2013-07-26  David S. Miller  <davem@davemloft.net>
44968         * po/bg.po: Update Bulgarian translation from translation project.
44970         * po/nl.po: Update Dutch translation from translation project.
44971         * po/pl.po: Update Polish translation from translation project.
44972         * po/ru.po: Update Russian translation from translation project.
44974 2013-07-24  David S. Miller  <davem@davemloft.net>
44976         * po/libc.pot: Update.
44978 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44980         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44981         variable page size.
44982         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44983         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44984         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44986 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44988         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44990 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44991             Andreas Schwab  <schwab@suse.de>
44992             Roland McGrath  <roland@hack.frob.com>
44993             Joseph Myers  <joseph@codesourcery.com>
44994             Carlos O'Donell  <carlos@redhat.com>
44996         [BZ #15755]
44997         * config.h.in: Define HAVE_PT_CHOWN.
44998         * config.make.in (build-pt-chown): New variable.
44999         * configure.in (--enable-pt_chown): New configure option.
45000         * configure: Regenerate.
45001         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45002         build-pt-chown is enabled.
45003         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45004         pt_chown to fix pty ownership.
45005         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45006         CLOSE_ALL_FDS.
45007         * manual/install.texi (Configuring and compiling): Mention
45008         --enable-pt_chown. Add @findex for grantpt.
45009         * INSTALL: Regenerate.
45011 2013-07-20  David S. Miller  <davem@davemloft.net>
45013         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45014         difference between 32-bit and 64-bit.
45016 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45018         [BZ #15711]
45019         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45020         Avoid system header dependency with -ffreestanding.
45021         ($(objpfx)bits/syscall%d): Likewise.
45023 2013-07-13  David S. Miller  <davem@davemloft.net>
45025         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45026         underflows from atanl/atan2l due to bug 15319.
45027         (casinh_test_data): Likewise.
45029 2013-07-07  David S. Miller  <davem@davemloft.net>
45031         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45033 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45035         * sysdeps/i386/fpu/libm-test-ulps: Update.
45036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45038 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45040         * configure.in (--enable-lock-elision): Fix message text.
45041         * INSTALL: Regenerate.
45042         * configure: Regenerate.
45044 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45048 2013-07-03  Andreas Jaeger  <aj@suse.de>
45050         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45051         define.
45052         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45053         (ptrace_peeksiginfo_args): Add.
45054         (__ptrace_peeksiginfo_flags): Add.
45055         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45056         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45059 2013-07-03  Allan McRae  <allan@archlinux.org>
45061         * sysdeps/i386/fpu/libm-test-ulps: Update.
45063 2013-07-02  David S. Miller  <davem@davemloft.net>
45065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45067 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45071 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45073         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45076 2013-07-02  Andi Kleen <ak@linux.intel.com>
45078         * config.h.in (ENABLE_LOCK_ELISION): Add.
45079         * configure.in (--enable-lock-elision): Add option.
45080         * manual/install.texi: Document --enable lock elision.
45081         * configure: Regenerate
45082         * INSTALL: Regenerate.
45084 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45086         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45087         SSE4.2 strcasecmp for libc.a.
45088         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45090 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45092         [BZ #13304]
45093         * soft-fp/op-common.h (_FP_FMA): New macro.
45094         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45095         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45096         (_FP_MUL_MEAT_1_imm): ... here.
45097         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45098         (_FP_MUL_MEAT_1_wide): ... here.
45099         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45100         (_FP_MUL_MEAT_1_hard): ... here.
45101         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45102         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45103         (_FP_MUL_MEAT_2_wide): ... here.
45104         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45105         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45106         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45107         (_FP_MUL_MEAT_2_gmp): ... here.
45108         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45109         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45110         (_FP_MUL_MEAT_4_wide): ... here.
45111         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45112         (_FP_MUL_MEAT_4_gmp): ... here.
45113         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45114         (_FP_WFRACBITS_DW_S): Likewise.
45115         (_FP_WFRACXBITS_DW_S): Likewise.
45116         (_FP_HIGHBIT_DW_S): Likewise.
45117         (FP_FMA_S): Likewise.
45118         (_FP_FRAC_HIGH_DW_S): Likewise.
45119         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45120         (_FP_WFRACBITS_DW_D): Likewise.
45121         (_FP_WFRACXBITS_DW_D): Likewise.
45122         (_FP_HIGHBIT_DW_D): Likewise.
45123         (FP_FMA_D): Likewise.
45124         (_FP_FRAC_HIGH_DW_D): Likewise.
45125         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45126         (_FP_WFRACBITS_DW_E): Likewise.
45127         (_FP_WFRACXBITS_DW_E): Likewise.
45128         (_FP_HIGHBIT_DW_E): Likewise.
45129         (FP_FMA_E): Likewise.
45130         (_FP_FRAC_HIGH_DW_E): Likewise.
45131         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45132         (_FP_WFRACBITS_DW_Q): Likewise.
45133         (_FP_WFRACXBITS_DW_Q): Likewise.
45134         (_FP_HIGHBIT_DW_Q): Likewise.
45135         (FP_FMA_Q): Likewise.
45136         (_FP_FRAC_HIGH_DW_Q): Likewise.
45137         * soft-fp/fmasf4.c: New file.
45138         * soft-fp/fmadf4.c: Likewise.
45139         * soft-fp/fmatf4.c: Likewise.
45141 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45144         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45145         Silvermont.
45146         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45147         macro.
45148         (index_Slow_SSE4_2): Likewise.
45149         (index_Prefer_PMINUB_for_stringop): Likewise.
45150         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45151         bit_Slow_SSE4_2 is set.
45152         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45155 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45157         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45158         rtld_global._dl_hwcap2.
45159         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45160         POWER8.
45161         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45162         POWER8 feature descriptions defined in _dl_hwcap2.
45163         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45164         string handling for POWER8 feature bits.
45165         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45166         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45167         _dl_powerpc_cap_flags.
45168         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45169         * sysdeps/powerpc/rtld-global-offsets.sym
45170         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45171         _dl_hwcap2 in the rtld_global_ro structure.
45173 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45175         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45176         hardware capabilities in support of AT_HWCAP2.
45177         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45178         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45179         GLRO(dl_hwcap2).
45180         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45181         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45182         explicitly the unknown a_type display mechanism is used.
45183         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45184         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45185         struct member.
45186         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45187         to macro prototype for AT_HWCAP2 support.
45188         * sysdeps/i386/dl-procinfo.h: Likewise.
45189         * sysdeps/s390/dl-procinfo.h: Likewise.
45190         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45191         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45192         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45193         return -1 for unknown a_type display fallback.
45194         * sysdeps/sparc/dl-procinfo.h: Likewise.
45195         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45196         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45198 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45200         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45201         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45203 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45205         [BZ #12492]
45206         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45207         mprotect making __stack_prot writable.
45209 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45210             Joseph Myers  <joseph@codesourcery.com>
45212         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45213         as being properly aligned.
45215 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45217         * dlfcn/modstatic5.c: New file.
45218         * dlfcn/tststatic5.c: New file.
45219         * dlfcn/Makefile (tests): Add tststatic5.
45220         (tests-static): Likewise.
45221         (modules-names): Add modstatic5.
45222         (tststatic5-ENV): New variable.
45223         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45225         [BZ #15022]
45226         * elf/dl-support.c (_dl_main_map): New variable.
45227         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45228         (_dl_nns, _dl_load_adds): Set to 1.
45229         (_dl_initial_searchlist): Refer to _dl_main_map.
45230         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45231         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45232         call to _dl_get_origin.
45233         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45234         around call_map.
45235         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45236         * dlfcn/modstatic3.c: New file.
45237         * dlfcn/tststatic3.c: New file.
45238         * dlfcn/tststatic4.c: New file.
45239         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45240         (tests-static): Likewise.
45241         (modules-names): Add modstatic3.
45242         (tststatic3-ENV, tststatic4-ENV): New variables.
45243         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45244         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45246 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45248         * configure.in (CC): Require GCC version 4.4 or later.
45249         * configure: Regenerated.
45250         * manual/install.texi (Tools for Compilation): Update GCC version
45251         requirement.
45252         * INSTALL: Regenerated.
45254 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45256         [BZ #15674]
45257         * string/test-memcmp.c (check2): New.
45258         (main): Call check2.
45260         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45262 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45264         [BZ #15022]
45265         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45266         over to...
45267         (dl_open_worker) [!SHARED]: ... here.
45269 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45271         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45273 2013-06-25  Richard Henderson  <rth@redhat.com>
45275         * locale/programs/locarchive.c: Include <libc-internal.h>
45277 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45279         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45280         trailing whitespace removed.
45282 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45284         [BZ #10283]
45285         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45286         * locale/programs/locarchive.c: Include libc-mmap.h.
45287         (prepare_address_space): Take two new outputs (the mmap base and len).
45288         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45289         values.
45290         (create_archive): Declare new mmap base and len values for
45291         prepare_address_space, and store the result in ah.
45292         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45293         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45294         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45295         Declare new mmap base and len values for
45296         prepare_address_space, and store the result in new_ah.
45297         (open_archive): Declare new mmap base and len values for
45298         prepare_address_space, and store the result in ah.
45299         (close_archive): If ah->mmap_base is not NULL, use that and
45300         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45301         * sysdeps/generic/libc-mmap.h: New file.
45303 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45305         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45306         (ALIGN_UP): Likewise.
45307         (PTR_ALIGN_DOWN): Likewise.
45308         (PTR_ALIGN_UP): Likewise.
45310 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45312         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45313         entry mapped to PPC_PLATFORM_POWER8.
45314         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45315         POWER8.
45316         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45317         (_dl_string_platform): Add case for exporting platform position for
45318         POWER8.
45319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45320         search path to sysdeps/powerpc/powerpc32/power8 directory.
45321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45322         search path to sysdeps/powerpc/powerpc64/power8 directory.
45323         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45324         power7 directories.
45325         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45326         power7 directories.
45328 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45330         * INSTALL: Regenerate.
45332         * nscd/connections.c (nscd_init): Fix comment.
45334 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45336         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45338         [BZ #15667]
45339         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45340         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45342 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45344         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45345         DL_DST_REQ_STATIC.
45346         (DL_DST_REQ_STATIC): Remove macro.
45348 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45350         [BZ #7006]
45351         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45352         with a shift of 0 bits.
45354 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45356         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45357         $(tststatic-ENV).
45359 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45361         [BZ #15655]
45362         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45364 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45366         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45367         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45368         accepts -fno-tree-loop-distribute-patterns.
45369         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45370         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45371         recursive call.
45372         * string/memset.c (memset): Likewise.
45373         * string/test-memmove.c (simple_memmove): Disable loop transformation
45374         to library calls.
45375         * string/test-memset.c (simple_memset): Likewise.
45376         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45377         * benchtests/bench-memset.c (simple_memset): Likewise.
45378         * configure: Regenerated.
45380 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45382         * math/test-misc.c (main): Ignore fesetround failure when failures
45383         of subsequent rounding tests would be ignored.
45385         [BZ #15654]
45386         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45387         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45388         * math/fegetenv.c (__fegetenv): Return 0.
45389         * math/fegetexcept.c (fegetexcept): Return 0.
45390         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45391         FE_TONEAREST.
45392         * math/feholdexcpt.c (feholdexcept): Return 0.
45393         * math/fesetenv.c (__fesetenv): Return 0.
45394         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45395         argument FE_TONEAREST.
45396         * math/feupdateenv.c (__feupdateenv): Return 0.
45397         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45399 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45401         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45402         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45403         ($(objpfx)rtld-%.os rules): Use them.
45405 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45407         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45408         fields.
45410 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45412         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45413         length of target pattern, then descending length of dependency pattern.
45414         * configure.in (AWK): Require gawk 3.1.2 or newer.
45415         * manual/install.texi (Tools for Compilation): Say that we do.
45416         * configure: Regenerated.
45418         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45419         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45420         * scripts/sysd-rules.awk: ... this new script.
45421         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45422         than a glob-style pattern.
45424 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45426         * math/test-misc.c (main): Do not treat incorrectly rounded
45427         conversions as failure unless ROUNDING_TESTS passes.
45429 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45431         [BZ #15631]
45432         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45433         restore exception state around main square root computation, then
45434         check for inexactness explicitly.
45436         * math/libm-test.inc (fma_test_data): Add another test.
45438 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45440         * manual/threads.texi (Non-POSIX Extensions): New document
45441         node.  Document pthread_getattr_default_np and
45442         pthread_setattr_default_np.
45444         * Versions.def (libpthread): Add GLIBC_2.18.
45445         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45447         Likewise.
45448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45449         Likewise.
45450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45451         Likewise.
45452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45453         Likewise.
45454         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45455         Likewise.
45456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45457         Likewise.
45458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45459         Likewise.
45460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45461         Likewise.
45462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45463         Likewise.
45465 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45468         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45470 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45471             H.J. Lu  <hjl.tools@gmail.com>
45473         [BZ #15627]
45474         * sysdeps/x86_64/rtld-memset.c: Remove file.
45475         * sysdeps/x86_64/rtld-memset.S: New file.
45477 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45479         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45480         (test_in_one_mode): Take arguments for whether the rounding mode
45481         is supported for each floating-point type.
45482         (do_test): Pass new arguments to test_in_one_mode using
45483         ROUNDING_TESTS.
45485 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45487         * posix/tst-waitid.c (do_test): Distinguish different instances of
45488         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45489         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45490         before entering the kernel for waitpid.
45492 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45494         * NEWS: Fix note on clock function precision.  Text by Roland
45495         McGrath.
45497 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45499         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45500         it into place only when and if the sanity check passes.
45502 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45504         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45505         output for whether conversion result is exact.  Take argument
45506         indicating whether type is IBM long double.
45507         (round_for_all): Change need_exact field to ibm_ld.
45508         * stdlib/tst-strtod-round.c (struct exactness): New type.
45509         (struct test): Change bool ld_ok field to struct exactness exact.
45510         (TEST): Update all definitions for change to field.
45511         (tests): Regenerate array contents.
45512         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45513         field value.  Check for IBM long double here.
45514         (do_test): Update calls to test_in_one_mode.
45516 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45518         [BZ #12515]
45519         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45520         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45522 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45524         [BZ #15605]
45525         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45526         generated by the compiler on loop optimizations.
45527         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45528         general definitions.
45530 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45532         * math/bug-nextafter.c: Include <math-tests.h>.
45533         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45534         the relevant type.
45535         * math/bug-nexttoward.c: Include <math-tests.h>.
45536         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45537         the relevant type.
45538         * math/test-misc.c: Include <math-tests.h>.
45539         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45540         the relevant type.
45542 2013-06-12  Andreas Jaeger  <aj@suse.de>
45544         * po/ia.po: Update Interlingua translation from translation
45545         project.
45547 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         * include/fenv.h: Include stdbool.h.
45550         (struct rm_ctx): New structure.
45551         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45552         Define macro.
45553         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45554         (SET_RESTORE_ROUNDF): Likewise.
45555         (SET_RESTORE_ROUNDL): Likewise.
45556         (SET_RESTORE_ROUND_NOEX): Likewise.
45557         (SET_RESTORE_ROUND_NOEXF): Likewise.
45558         (SET_RESTORE_ROUND_NOEXL): Likewise.
45559         (SET_RESTORE_ROUND_53BIT): Likewise.
45560         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45561         (libc_feresetround_noexf_ctx): Likewise.
45562         (libc_feresetround_noexl_ctx): Likewise.
45563         (libc_feholdsetround_53bit_ctx): Likewise.
45564         (libc_feresetround_53bit_ctx): Likewise.
45565         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45566         (libc_feholdexcept_setround_sse_ctx): New function.
45567         (libc_fesetenv_sse_ctx): Likewise.
45568         (libc_feupdateenv_sse_ctx): Likewise.
45569         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45570         (libc_feholdexcept_setround_387_ctx): Likewise.
45571         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45572         (libc_feholdsetround_387_prec_ctx): Likewise.
45573         (libc_feholdsetround_387_ctx): Likewise.
45574         (libc_feholdsetround_387_53bit_ctx): Likewise.
45575         (libc_feholdsetround_sse_ctx): Likewise.
45576         (libc_feresetround_sse_ctx): Likewise.
45577         (libc_feresetround_387_ctx): Likewise.
45578         (libc_feupdateenv_387_ctx): Likewise.
45579         (libc_feholdexcept_setroundf_ctx): Define macro.
45580         (libc_fesetenvf_ctx): Likewise.
45581         (libc_feupdateenvf_ctx): Likewise.
45582         (libc_feholdsetroundf_ctx): Likewise.
45583         (libc_feresetroundf_ctx): Likewise.
45584         (libc_feholdexcept_setround_ctx): Likewise.
45585         (libc_fesetenv_ctx): Likewise.
45586         (libc_feupdateenv_ctx): Likewise.
45587         (libc_feholdsetround_ctx): Likewise.
45588         (libc_feresetround_ctx): Likewise.
45589         (libc_feholdexcept_setroundl_ctx): Likewise.
45590         (libc_feupdateenvl_ctx): Likewise.
45591         (libc_feholdsetroundl_ctx): Likewise.
45592         (libc_feresetroundl_ctx): Likewise.
45593         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45594         (libc_feresetround_53bit_ctx): Likewise.
45596 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45598         * locale/iso-639.def: Convert to UTF-8.
45600 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45602         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45603         (EXCEPTION_TESTS_double): Likewise.
45604         (EXCEPTION_TESTS_long_double): Likewise.
45605         (EXCEPTION_TESTS): Likewise.
45606         * math/libm-test.inc (test_exceptions): Only test exceptions if
45607         EXCEPTION_TESTS (FLOAT).
45609 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45611         * benchtests/Makefile (string-bench): Add strcpy_chk and
45612         stpcpy_chk.
45613         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45614         * benchtests/bench-stpcpy_chk.c: New file.
45615         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45616         * benchtests/bench-strcpy_chk.c: New file.
45617         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45618         code.
45619         (do_test): Likewise.
45621 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45623         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45624         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45625         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45626         with tabs where appropriate.
45627         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45628         dl-procinfo.h.
45629         [PPC_PLATFORM_PPC440]: Likewise.
45630         [PPC_PLATFORM_PPC464]: Likewise.
45631         [PPC_PLATFORM_PPC476]: Likewise.
45632         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45633         ppc464, and ppc476 platform strings merging from ports/
45634         dl-procinfo.h.
45636 2013-06-11  Andreas Schwab  <schwab@suse.de>
45638         [BZ #14991]
45639         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45640         (from_ucs4_idx): Regenerate.
45641         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45642         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45643         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45644         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45645         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45646         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45647         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45648         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45649         from FROM_LOOP and TO_LOOP specific macros.
45650         (BODY): Handle combining characters.
45651         * iconvdata/BIG5HKSCS.irreversible: Update.
45652         * iconvdata/BIG5HKSCS.precomposed: New file.
45653         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45654         characters.
45655         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45657 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45659         * include/sys/time.h: Fix indentation and add copyright header.
45661         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45662         (do_test): Likewise.
45663         * string/test-memchr.c (do_one_test): Likewise.
45664         (do_test): Likewise.
45665         * string/test-memcmp.c (do_one_test): Likewise.
45666         (do_test): Likewise.
45667         * string/test-memcpy.c (do_one_test): Likewise.
45668         (do_test): Likewise.
45669         * string/test-memmem.c (do_one_test): Likewise.
45670         (do_test): Likewise.
45671         (do_random_tests): Likewise.
45672         * string/test-memmove.c (do_one_test): Likewise.
45673         (do_test): Likewise.
45674         * string/test-memset.c (do_one_test): Likewise.
45675         (do_test): Likewise.
45676         * string/test-rawmemchr.c (do_one_test): Likewise.
45677         (do_test): Likewise.
45678         * string/test-strcasecmp.c (do_one_test): Likewise.
45679         (do_test): Likewise.
45680         * string/test-strcasestr.c (do_one_test): Likewise.
45681         (do_test): Likewise.
45682         * string/test-strcat.c (do_one_test): Likewise.
45683         (do_test): Likewise.
45684         * string/test-strchr.c (do_one_test): Likewise.
45685         (do_test): Likewise.
45686         * string/test-strcmp.c (do_one_test): Likewise.
45687         (do_test): Likewise.
45688         * string/test-strcpy.c (do_one_test): Likewise.
45689         (do_test): Likewise.
45690         * string/test-string.h: Likewise.
45691         (test_init): Likewise.
45692         * string/test-strlen.c (do_one_test): Likewise.
45693         (do_test): Likewise.
45694         * string/test-strncasecmp.c (do_one_test): Likewise.
45695         (do_test): Likewise.
45696         * string/test-strncat.c (do_one_test): Likewise.
45697         (do_test): Likewise.
45698         * string/test-strncmp.c (do_one_test): Likewise.
45699         (do_test_limit): Likewise.
45700         (do_test): Likewise.
45701         * string/test-strncpy.c (do_one_test): Likewise.
45702         (do_test): Likewise.
45703         * string/test-strnlen.c (do_one_test): Likewise.
45704         (do_test): Likewise.
45705         * string/test-strpbrk.c (do_one_test): Likewise.
45706         (do_test): Likewise.
45707         * string/test-strrchr.c (do_one_test): Likewise.
45708         (do_test): Likewise.
45709         * string/test-strspn.c (do_one_test): Likewise.
45710         (do_test): Likewise.
45711         * string/test-strstr.c (do_one_test): Likewise.
45712         (do_test): Likewise.
45714         * benchtests/Makefile (string-bench): Add string benchmarks.
45715         * benchtests/bench-bcopy-ifunc.c: New file.
45716         * benchtests/bench-bcopy.c: New file.
45717         * benchtests/bench-bzero-ifunc.c: New file.
45718         * benchtests/bench-bzero.c: New file.
45719         * benchtests/bench-memccpy-ifunc.c: New file.
45720         * benchtests/bench-memccpy.c: New file.
45721         * benchtests/bench-memchr-ifunc.c: New file.
45722         * benchtests/bench-memchr.c: New file.
45723         * benchtests/bench-memcmp-ifunc.c: New file.
45724         * benchtests/bench-memcmp.c: New file.
45725         * benchtests/bench-memmem-ifunc.c: New file.
45726         * benchtests/bench-memmem.c: New file.
45727         * benchtests/bench-memmove-ifunc.c: New file.
45728         * benchtests/bench-memmove.c: New file.
45729         * benchtests/bench-mempcpy-ifunc.c: New file.
45730         * benchtests/bench-mempcpy.c: New file.
45731         * benchtests/bench-memset-ifunc.c: New file.
45732         * benchtests/bench-memset.c: New file.
45733         * benchtests/bench-rawmemchr-ifunc.c: New file.
45734         * benchtests/bench-rawmemchr.c: New file.
45735         * benchtests/bench-stpcpy-ifunc.c: New file.
45736         * benchtests/bench-stpcpy.c: New file.
45737         * benchtests/bench-stpncpy-ifunc.c: New file.
45738         * benchtests/bench-stpncpy.c: New file.
45739         * benchtests/bench-strcasecmp-ifunc.c: New file.
45740         * benchtests/bench-strcasecmp.c: New file.
45741         * benchtests/bench-strcasestr-ifunc.c: New file.
45742         * benchtests/bench-strcasestr.c: New file.
45743         * benchtests/bench-strcat-ifunc.c: New file.
45744         * benchtests/bench-strcat.c: New file.
45745         * benchtests/bench-strchr-ifunc.c: New file.
45746         * benchtests/bench-strchr.c: New file.
45747         * benchtests/bench-strchrnul-ifunc.c: New file.
45748         * benchtests/bench-strchrnul.c: New file.
45749         * benchtests/bench-strcmp-ifunc.c: New file.
45750         * benchtests/bench-strcmp.c: New file.
45751         * benchtests/bench-strcpy-ifunc.c: New file.
45752         * benchtests/bench-strcpy.c: New file.
45753         * benchtests/bench-strcspn-ifunc.c: New file.
45754         * benchtests/bench-strcspn.c: New file.
45755         * benchtests/bench-strlen-ifunc.c: New file.
45756         * benchtests/bench-strlen.c: New file.
45757         * benchtests/bench-strncasecmp-ifunc.c: New file.
45758         * benchtests/bench-strncasecmp.c: New file.
45759         * benchtests/bench-strncat-ifunc.c: New file.
45760         * benchtests/bench-strncat.c: New file.
45761         * benchtests/bench-strncmp-ifunc.c: New file.
45762         * benchtests/bench-strncmp.c: New file.
45763         * benchtests/bench-strncpy-ifunc.c: New file.
45764         * benchtests/bench-strncpy.c: New file.
45765         * benchtests/bench-strnlen-ifunc.c: New file.
45766         * benchtests/bench-strnlen.c: New file.
45767         * benchtests/bench-strpbrk-ifunc.c: New file.
45768         * benchtests/bench-strpbrk.c: New file.
45769         * benchtests/bench-strrchr-ifunc.c: New file.
45770         * benchtests/bench-strrchr.c: New file.
45771         * benchtests/bench-strspn-ifunc.c: New file.
45772         * benchtests/bench-strspn.c: New file.
45773         * benchtests/bench-strstr-ifunc.c: New file.
45774         * benchtests/bench-strstr.c: New file.
45776         * benchtests/Makefile: Disable parallel execution of targets.
45777         (string-bench): Add memcpy.
45778         (benchset): New variable to store a list of benchmark sets.
45779         (bench-func): Renamed from bench.
45780         (bench-set): New target.
45781         (bench): Depend on bench-func and bench-set.
45782         * benchtests/README: Add section on benchmark sets.
45783         * benchtests/bench-memcpy-ifunc.c: New file.
45784         * benchtests/bench-memcpy.c: New file.
45785         * benchtests/bench-string.h: New file.
45787 2013-06-11  Andreas Schwab  <schwab@suse.de>
45789         [BZ #15577]
45790         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45791         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45792         values in the triple.
45793         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45794         terminator in the group key.
45796 2013-06-11  Andreas Jaeger  <aj@suse.de>
45798         * po/zh_TW.po: Update Chinese (traditional) translation from
45799         translation project.
45801 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45803         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45804         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45805         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45806         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45807         (clock_getcpuclockid): Likewise.
45808         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45809         Add weak_alias and libc_hidden_def.
45810         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45811         * rt/clock_gettime.c (clock_gettime): Rename to
45812         __clock_gettime.  Add weak_alias and libc_hidden_def.
45813         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45814         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45815         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45816         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45817         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45818         Likewise.
45819         * rt/clock_settime.c (clock_settime): Rename to
45820         __clock_settime.  Add weak_alias and libc_hidden_def.
45821         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45823 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45825         * mach/err_boot.sub: Remove trailing whitespace.
45826         * mach/err_ipc.sub: Likewise.
45827         * mach/err_mach.sub: Likewise.
45829         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45830         (ROUNDING_TESTS_double): Likewise.
45831         (ROUNDING_TESTS_long_double): Likewise.
45832         (ROUNDING_TESTS): Likewise.
45833         * math/libm-test.inc: Include <math-tests.h>.
45834         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45835         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45836         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45837         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45839 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45841         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45842         of assigning.
45844 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45846         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45847         otherwise empty TRANS lines.
45848         * sysdeps/gnu/errlist.c: Regenerated.
45850         * catgets/gencat.c (error_print): Use (void) in function
45851         definition.
45852         * crypt/crypt_util.c (__init_des): Likewise.
45853         * crypt/speeds.c (Stop): Likewise.
45854         (main): Likewise.
45855         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45856         * inet/ruserpass.c (token): Likewise.
45857         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45858         * intl/localealias.c (extend_alias_table): Likewise.
45859         * intl/plural-exp.c (init_germanic_plural): Likewise.
45860         * libio/fcloseall.c (__fcloseall): Likewise.
45861         * libio/genops.c (_IO_flush_all): Likewise.
45862         (_IO_flush_all_linebuffered): Likewise.
45863         (_IO_cleanup): Likewise.
45864         (_IO_iter_begin): Likewise.
45865         (_IO_iter_end): Likewise.
45866         (_IO_list_lock): Likewise.
45867         (_IO_list_unlock): Likewise.
45868         (_IO_list_resetlock): Likewise.
45869         * libio/getchar.c (getchar): Likewise.
45870         * libio/getchar_u.c (getchar_unlocked): Likewise.
45871         * libio/getwchar.c (getwchar): Likewise.
45872         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45873         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45874         * login/getpt.c (__getpt): Likewise.
45875         * login/tst-utmp.c (main): Likewise.
45876         * malloc/hooks.c (__malloc_check_init): Likewise.
45877         * malloc/malloc.c (__malloc_stats): Likewise.
45878         * malloc/mtrace.c (tr_break): Likewise.
45879         (mtrace): Likewise.
45880         (muntrace): Likewise.
45881         * misc/fstab.c (endfsent): Likewise.
45882         * misc/getclktck.c (__getclktck): Likewise.
45883         * misc/getdtsz.c (__getdtablesize): Likewise.
45884         * misc/gethostid.c (gethostid): Likewise.
45885         * misc/getpagesize.c (__getpagesize): Likewise.
45886         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45887         (__get_nprocs): Likewise.
45888         (__get_phys_pages): Likewise.
45889         (__get_avphys_pages): Likewise.
45890         * misc/getttyent.c (getttyent): Likewise.
45891         (setttyent): Likewise.
45892         (endttyent): Likewise.
45893         * misc/getusershell.c (getusershell): Likewise.
45894         (endusershell): Likewise.
45895         (setusershell): Likewise.
45896         (initshells): Likewise.
45897         * misc/hsearch.c (__hdestroy): Likewise.
45898         * misc/sync.c (sync): Likewise.
45899         * misc/syslog.c (closelog_internal): Likewise.
45900         (closelog): Likewise.
45901         * misc/ttyslot.c (ttyslot): Likewise.
45902         * misc/vhangup.c (vhangup): Likewise.
45903         * posix/fork.c (__fork): Likewise.
45904         * posix/getegid.c (__getegid): Likewise.
45905         * posix/geteuid.c (__geteuid): Likewise.
45906         * posix/getgid.c (__getgid): Likewise.
45907         * posix/getpid.c (__getpid): Likewise.
45908         * posix/getppid.c (__getppid): Likewise.
45909         * posix/getuid.c (__getuid): Likewise.
45910         * posix/pause.c (pause): Likewise.
45911         * posix/setpgrp.c (setpgrp): Likewise.
45912         * posix/setsid.c (__setsid): Likewise.
45913         * posix/test-vfork.c (noop): Likewise.
45914         * resolv/gethnamaddr.c (_endhtent): Likewise.
45915         (_gethtent): Likewise.
45916         (ht_endhostent): Likewise.
45917         (gethostent): Likewise.
45918         (dns_service): Likewise.
45919         * stdlib/drand48.c (drand48): Likewise.
45920         * stdlib/lrand48.c (lrand48): Likewise.
45921         * stdlib/mrand48.c (mrand48): Likewise.
45922         * stdlib/rand.c (rand): Likewise.
45923         * stdlib/random.c (__random): Likewise.
45924         * stdlib/setenv.c (clearenv): Likewise.
45925         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45926         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45927         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45928         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45929         (__get_nprocs): Likewise.
45930         (__get_phys_pages): Likewise.
45931         (__get_avphys_pages): Likewise.
45932         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45933         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45934         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45935         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45936         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45937         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45938         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45939         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45940         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45941         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45942         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45943         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45944         * sysdeps/posix/clock.c (clock): Likewise.
45945         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45946         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45947         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45948         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45949         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45950         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45951         (__get_nprocs_conf): Likewise.
45952         (__get_phys_pages): Likewise.
45953         (__get_avphys_pages): Likewise.
45954         * time/clock.c (clock): Likewise.
45955         * time/tzset.c (__tzname_max): Likewise.
45957 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45959         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45960         (__bswap_32): Do not use "register".
45961         * crypt/crypt.c (_ufc_doit_r): Likewise.
45962         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45963         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45964         * gmon/gmon.c (__monstartup): Likewise.
45965         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45966         * hurd/hurdmalloc.c (more_memory): Likewise.
45967         (malloc): Likewise.
45968         (free): Likewise.
45969         (realloc): Likewise.
45970         (malloc_fork_prepare): Likewise.
45971         (malloc_fork_parent): Likewise.
45972         (malloc_fork_child): Likewise.
45973         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45974         (_svcauth_des): Likewise.
45975         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45976         * inet/inet_net.c (inet_network): Likewise.
45977         * inet/inet_netof.c (inet_netof): Likewise.
45978         * inet/rcmd.c (__validuser2_sa): Likewise.
45979         * io/fts.c (fts_open): Likewise.
45980         (fts_load): Likewise.
45981         (fts_close): Likewise.
45982         (fts_read): Likewise.
45983         (fts_children): Likewise.
45984         (fts_build): Likewise.
45985         (fts_stat): Likewise.
45986         (fts_sort): Likewise.
45987         (fts_alloc): Likewise.
45988         (fts_lfree): Likewise.
45989         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45990         (_IO_file_xsgetn): Likewise.
45991         (_IO_file_xsgetn_mmap): Likewise.
45992         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45993         (_IO_cookie_write): Likewise.
45994         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45995         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45996         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45997         * malloc/obstack.c (_obstack_begin): Likewise.
45998         (_obstack_begin_1): Likewise.
45999         (_obstack_newchunk): Likewise.
46000         (_obstack_allocated_p): Likewise.
46001         (obstack_free): Likewise.
46002         (_obstack_memory_used): Likewise.
46003         * misc/getttyent.c (getttynam): Likewise.
46004         (getttyent): Likewise.
46005         (skip): Likewise.
46006         (value): Likewise.
46007         * misc/getusershell.c (initshells): Likewise.
46008         * misc/syslog.c (__vsyslog_chk): Likewise.
46009         * misc/ttyslot.c (ttyslot): Likewise.
46010         * nis/nis_hash.c (__nis_hash): Likewise.
46011         * posix/fnmatch_loop.c (FCT): Likewise.
46012         * posix/getconf.c (print_all): Likewise.
46013         (main): Likewise.
46014         * posix/getopt.c (exchange): Likewise.
46015         * posix/glob.c (globfree): Likewise.
46016         (prefix_array): Likewise.
46017         (__glob_pattern_type): Likewise.
46018         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46019         (NS_GET32): Likewise.
46020         (NS_PUT16): Likewise.
46021         (NS_PUT32): Likewise.
46022         * resolv/gethnamaddr.c (getanswer): Likewise.
46023         (gethostbyname2): Likewise.
46024         (gethostbyaddr): Likewise.
46025         (_gethtent): Likewise.
46026         (_gethtbyname2): Likewise.
46027         (_gethtbyaddr): Likewise.
46028         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46029         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46030         * resolv/res_init.c (__res_vinit): Likewise.
46031         (net_mask): Likewise.
46032         * resolv/res_mkquery.c (outchar): Likewise.
46033         (PRINT): Likewise.
46034         * stdio-common/printf_fp.c (outchar): Likewise.
46035         (PRINT): Likewise.
46036         * stdio-common/printf_fphex.c (outchar): Likewise.
46037         (PRINT): Likewise.
46038         * stdio-common/printf_size.c (outchar): Likewise.
46039         (PRINT): Likewise.
46040         * stdio-common/test_rdwr.c (main): Likewise.
46041         * stdio-common/tfformat.c (matches): Likewise.
46042         * stdio-common/vfprintf.c (outchar): Likewise.
46043         (printf_unknown): Likewise.
46044         (buffered_vfprintf): Likewise.
46045         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46046         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46047         (ReadFile): Likewise.
46048         * stdlib/qsort.c (SWAP): Likewise.
46049         (_quicksort): Likewise.
46050         * stdlib/setenv.c (__add_to_environ): Likewise.
46051         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46052         * stdlib/strtol_l.c (__strtol_l): Likewise.
46053         * stdlib/tst-strtod.c (main): Likewise.
46054         * stdlib/tst-strtol.c (main): Likewise.
46055         * stdlib/tst-strtoll.c (main): Likewise.
46056         * string/bits/string2.h (__strcmp_cc): Likewise.
46057         (__strcmp_cg): Likewise.
46058         (__strcspn_c1): Likewise.
46059         (__strcspn_c2): Likewise.
46060         (__strcspn_c3): Likewise.
46061         (__strspn_c1): Likewise.
46062         (__strspn_c2): Likewise.
46063         (__strspn_c3): Likewise.
46064         (__strsep_1c): Likewise.
46065         (__strsep_2c): Likewise.
46066         (__strsep_3c): Likewise.
46067         * string/memccpy.c (__memccpy): Likewise.
46068         * string/stpcpy.c (__stpcpy): Likewise.
46069         * string/strcmp.c (strcmp): Likewise.
46070         * string/strrchr.c (strrchr): Likewise.
46071         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46072         Likewise.
46073         * sysdeps/mach/hurd/getcwd.c
46074         (_hurd_canonicalize_directory_name_internal): Likewise.
46075         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46076         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46077         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46078         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46079         Likewise, in both definitions.
46080         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46081         definitions.
46082         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46083         64] (__bswap_64): Likewise.
46084         * time/test_time.c (main): Likewise.
46085         * time/tzfile.c (__tzfile_read): Likewise.
46086         (__tzfile_compute): Likewise.
46087         * time/tzset.c (__tzset_parse_tz): Likewise.
46088         (tzset_internal): Likewise.
46089         (compute_change): Likewise.
46090         * wcsmbs/wcscat.c (__wcscat): Likewise.
46091         * wcsmbs/wcschr.c (wcschr): Likewise.
46092         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46093         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46094         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46095         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46096         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46097         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46098         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46099         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46100         * wcsmbs/wmemset.c (wmemset): Likewise.
46102 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46104         * scripts/config.guess: Update to version 2013-05-16.
46105         * scripts/config.sub: Update to version 2013-04-24.
46106         * scripts/install-sh: Update to version 2011-11-20.07.
46107         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46108         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46110 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46112         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46113         * elf/sln.c: Likewise.
46114         * hurd/hurd/ioctl.h: Likewise.
46115         * hurd/hurdmalloc.c: Likewise.
46116         * hurd/xattr.c: Likewise.
46117         * include/shlib-compat.h: Likewise.
46118         * inet/ruserpass.c: Likewise.
46119         * libio/iofgets_u.c: Likewise.
46120         * libio/iofgetws_u.c: Likewise.
46121         * locale/programs/ld-identification.c: Likewise.
46122         * locale/programs/ld-time.c: Likewise.
46123         * mach/msg-destroy.c: Likewise.
46124         * nss/nss_files/files-netgrp.c: Likewise.
46125         * resolv/res_data.c: Likewise.
46126         * soft-fp/op-1.h: Likewise.
46127         * soft-fp/op-2.h: Likewise.
46128         * soft-fp/op-4.h: Likewise.
46129         * soft-fp/op-common.h: Likewise.
46130         * stdio-common/printf_fphex.c: Likewise.
46131         * stdlib/strtod_l.c: Likewise.
46132         * sunrpc/rpc/clnt.h: Likewise.
46133         * sysdeps/generic/framestate.c: Likewise.
46134         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46135         * sysdeps/i386/bsd-setjmp.S: Likewise.
46136         * sysdeps/i386/__longjmp.S: Likewise.
46137         * sysdeps/i386/setjmp.S: Likewise.
46138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46139         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46141         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46142         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46143         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46144         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46145         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46147         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46148         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46149         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46150         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46151         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46152         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46153         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46154         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46155         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46156         * sysdeps/ieee754/support.c: Likewise.
46157         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46158         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46159         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46160         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46161         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46162         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46163         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46164         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46165         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46166         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46167         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46168         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46169         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46170         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46171         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46172         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46173         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46176 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46178         * posix/transbug.c: Remove executable mode.
46180 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46182         * crypt/speeds.c: Remove trailing whitespace.
46183         * dlfcn/default.c: Likewise.
46184         * elf/ifuncdep2.c: Likewise.
46185         * elf/ifuncmain1.c: Likewise.
46186         * elf/ifuncmain1vis.c: Likewise.
46187         * elf/testobj.h: Likewise.
46188         * elf/tst-stackguard1.c: Likewise.
46189         * gmon/sys/gmon.h: Likewise.
46190         * hurd/hurdmsg.c: Likewise.
46191         * hurd/new-fd.c: Likewise.
46192         * hurd/ports-get.c: Likewise.
46193         * iconvdata/ibm1008_420.c: Likewise.
46194         * inet/tst-getni1.c: Likewise.
46195         * inet/tst-getni2.c: Likewise.
46196         * libio/ioungetc.c: Likewise.
46197         * libio/wfiledoalloc.c: Likewise.
46198         * manual/libm-err-tab.pl: Likewise.
46199         * math/w_dremf.c: Likewise.
46200         * misc/ftruncate.c: Likewise.
46201         * posix/bug-glob2.c: Likewise.
46202         * posix/tst-pcre.c: Likewise.
46203         * posix/wait4.c: Likewise.
46204         * resolv/README: Likewise.
46205         * resolv/res_debug.h: Likewise.
46206         * resolv/tst-inet_ntop.c: Likewise.
46207         * setjmp/bug269-setjmp.c: Likewise.
46208         * soft-fp/extended.h: Likewise.
46209         * soft-fp/op-1.h: Likewise.
46210         * soft-fp/op-2.h: Likewise.
46211         * soft-fp/op-4.h: Likewise.
46212         * soft-fp/op-8.h: Likewise.
46213         * soft-fp/testit.c: Likewise.
46214         * stdio-common/bug16.c: Likewise.
46215         * stdlib/random.c: Likewise.
46216         * sunrpc/rpcsvc/rquota.x: Likewise.
46217         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46218         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46219         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46220         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46221         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46222         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46223         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46224         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46225         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46226         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46227         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46228         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46229         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46230         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46232         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46233         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46234         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46235         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46236         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46237         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46238         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46239         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46240         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46241         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46242         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46243         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46245         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46246         * sysdeps/ieee754/s_lib_version.c: Likewise.
46247         * sysdeps/mach/hurd/check_fds.c: Likewise.
46248         * sysdeps/mach/hurd/getsockname.c: Likewise.
46249         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46250         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46251         * sysdeps/powerpc/bits/link.h: Likewise.
46252         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46253         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46254         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46255         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46256         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46257         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46258         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46259         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46260         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46261         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46262         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46263         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46264         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46265         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46266         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46267         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46268         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46269         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46270         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46271         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46272         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46273         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46274         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46275         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46276         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46277         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46278         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46279         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46280         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46281         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46282         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46283         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46285         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46286         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46287         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46288         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46289         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46290         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46291         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46292         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46293         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46294         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46295         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46296         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46297         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46298         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46299         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46300         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46301         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46302         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46303         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46304         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46305         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46306         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46307         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46308         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46309         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46310         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46311         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46312         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46313         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46314         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46315         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46316         * sysdeps/powerpc/sysdep.h: Likewise.
46317         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46318         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46319         * sysdeps/sh/dl-trampoline.S: Likewise.
46320         * sysdeps/sh/memset.S: Likewise.
46321         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46322         * sysdeps/sh/strlen.S: Likewise.
46323         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46324         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46325         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46326         * sysdeps/sparc/sparc32/rem.S: Likewise.
46327         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46328         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46329         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46330         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46331         * sysdeps/sparc/sparc32/urem.S: Likewise.
46332         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46333         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46334         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46335         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46337         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46338         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46339         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46340         * sysdeps/unix/bsd/times.c: Likewise.
46341         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46342         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46346         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46347         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46348         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46349         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46350         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46351         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46352         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46353         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46354         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46355         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46356         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46358         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46359         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46360         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46361         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46362         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46363         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46364         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46365         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46366         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46367         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46368         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46369         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46370         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46371         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46372         * sysdeps/x86_64/strcspn.S: Likewise.
46374 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46376         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46377         generated file.  Regenerate properly from gen-translit.pl.
46378         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46379         locale/C-translit.h.
46381 2013-06-05  Andreas Schwab  <schwab@suse.de>
46383         [BZ #15100]
46384         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46385         week as 6 instead of -1.
46386         * time/tst-strptime.c (day_tests): Add test case.
46388 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46390         * sysdeps/generic/math_private.h
46391         (libc_feholdexcept_setround_53bit): Replace with
46392         libc_feholdsetround_53bit.
46393         (libc_feupdateenv_53bit): Replace with
46394         libc_feresetround_53bit.
46395         (SET_RESTORE_ROUND_53BIT): Adjust.
46397 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46399         * string/test-strchrnul.c: Add copyright header.
46401         * posix/tst-getaddrinfo4.c: Increase test timeout.
46403 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46405         [BZ #15536]
46406         * math/libm-test.inc (MAX_EXP): Remove
46407         (MIN_EXP): Define.
46408         (ulp): Use MIN_EXP - MANT_DIG.
46409         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46411 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46413         * po/be.po: Revert last change.
46414         * po/zh_CN.po: Likewise.
46415         * po/header.pot: Likewise.
46417 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46419         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46420         link-libc-deps to empty as target-specific variable.
46421         * Makerules (link-libc-args): New variable.
46422         (libc-for-link): Likewise.
46423         (link-libc-deps): Likewise.
46424         (lib%.so): Depend on $(link-libc-deps).  Link with
46425         $(link-libc-args).
46426         (build-module): Link with $(link-libc-args).
46427         (build-module-asneeded): Likewise.
46428         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46429         list of objects.
46430         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46431         target-specific variable.
46432         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46433         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46434         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46435         libc.
46436         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46437         libc and ld.so.
46438         ($(objpfx)libpcprofile.so): Likewise.
46439         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46440         libc_nonshared.a.
46441         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46442         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46443         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46444         $(link-libc-deps).
46445         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46446         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46447         * login/Makefile ($(objpfx)libutil.so): Likewise.
46448         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46449         * math/Makefile ($(objpfx)libm.so): Likewise.
46450         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46451         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46452         variable instead of depending directly on libc.
46453         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46454         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46455         $(link-libc-deps).
46456         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46457         libc.
46458         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46459         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46460         ($(objpfx)libanl.so): Likewise.
46461         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46462         ld.so.
46463         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46464         $(link-libc-deps).
46465         * sysdeps/i386/fpu/Makefile: Remove file.
46466         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46467         ($(objpfx)libm.so): Remove dependency on ld.so.
46469 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46471         [BZ # 15553]
46472         * nis/yp_xdr.c (XDRMAXNAME): Define.
46473         (XDRMAXRECORD): Define.
46474         (xdr_domainname): Use XDRMAXNAME.
46475         (xdr_mapname): Likewise.
46476         (xdr_peername): Likewise.
46477         (xdr_keydat): Use XDRMAXRECORD.
46478         (xdr_valdat): Likewise.
46480 2013-05-30  Jeff Law  <law@redhat.com>
46482         [BZ #14256]
46483         * manual/errno.texi (ESTALE): Update to account for more than
46484         just NFS file systems.
46485         * sysdeps/gnu/errlist.c: Regenerated.
46487 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46489         [BZ #15465]
46490         * elf/Makefile (tests): Add tst-null-argv.
46491         (modules-names):  Add tst-null-argv-lib.
46492         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46493         (tst-null-argv-ENV): Set environment for tst-null-argv.
46494         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46495         (RTLD_PROGNAME): New macro.
46496         * elf/tst-null-argv.c: New test case.
46497         * elf/tst-null-argv-lib.c: Library for test case.
46498         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46499         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46500         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46501         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46502         * elf/dl-init.c (call_init): Likewise.
46503         (_dl_init): Likewise.
46504         * elf/dl-load.c (print_search_path): Likewise.
46505         (_dl_map_object): Likewise.
46506         * elf/dl-lookup.c (do_lookup_x): Likewise.
46507         (add_dependency): Likewise.
46508         (_dl_lookup_symbol_x): Likewise.
46509         (_dl_debug_bindings): Likewise.
46510         * elf/dl-open.c (_dl_show_scope): Likewise.
46511         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46512         * elf/dl-version.c (match_symbol): Likewise.
46513         (_dl_check_map_versions): Likewise.
46514         * elf/rtld.c (dl_main): Likewise.
46515         (print_unresolved): Use RTLD_PROGNAME.
46516         (print_missing_version): Likewise.
46517         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46518         (elf_machine_rela): Likewise.
46519         * sysdeps/powerpc/powerpc32/dl-machine.c
46520         (__process_machine_rela): Likewise.
46521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46522         Likewise.
46523         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46524         Likewise.
46525         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46526         Likewise.
46527         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46529         Likewise.
46530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46531         Likewise.
46532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46534 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46536         * po/be.po: Add descriptive title.
46537         * po/zh_CN.po: Likewise.
46538         * po/header.pot: Likewise.
46540 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46542         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46543         error message.
46544         (enlarge_archive): Likewise.
46546 2013-05-28  Ben North  <ben@redfrontdoor.org>
46548         * manual/arith.texi (frexp): It is the magnitude of the return
46549         value which lies in [0.5, 1), not the return value itself.
46551 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46555 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46557         * stdio-common/bug26.c (main): Correct fscanf template.
46559         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46560         declare _dl_skip_args.
46562         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46563         Don't declare.
46565         * manual/platform.texi: Add missing @end deftypefun.
46567 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46569         [BZ #15529]
46570         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46571         bit of mantissa of 2^16382.
46572         * math/libm-test.inc (hypot_test_data): Add more tests.
46574         * math/libm-test.inc: Add drem and pow10 to list of tested
46575         functions.
46576         (pow10_test): New function.
46577         (drem_test): Likewise.
46578         (drem_test_tonearest): Likewise.
46579         (drem_test_towardzero): Likewise.
46580         (drem_test_downward): Likewise.
46581         (drem_test_upward): Likewise.
46582         (main): Call the new functions.
46584         * math/libm-test.inc (finite_test_data): Remove.
46585         (finite_test): Run tests from isfinite_test_data.
46586         (gamma_test_data): Remove.
46587         (gamma_test): Run tests from lgamma_test_data.
46588         * sysdeps/i386/fpu/libm-test-ulps: Update.
46589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46591 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46593         * manual/platform.texi: Add PowerPC PPR function set documentation.
46594         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46595         implementation.
46597 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46599         * math/libm-test.inc (MAX_EXP): Define.
46600         (ULPDIFF): Define.
46601         (ulp): New function.
46602         (check_float_internal): Use ULPDIFF.
46603         (cpow_test): Disable failing test.
46604         (check_ulp): Test ulp() implemetnation.
46605         (main): Call check_ulp before starting tests.
46607 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46609         * math/gen-libm-test.pl (generate_testfile): Do not handle
46610         START_DATA and END_DATA.
46611         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46612         END_DATA.
46613         (acos_tonearest_test_data): Likewise.
46614         (acos_towardzero_test_data): Likewise.
46615         (acos_downward_test_data): Likewise.
46616         (acos_upward_test_data): Likewise.
46617         (acosh_test_data): Likewise.
46618         (asin_test_data): Likewise.
46619         (asin_tonearest_test_data): Likewise.
46620         (asin_towardzero_test_data): Likewise.
46621         (asin_downward_test_data): Likewise.
46622         (asin_upward_test_data): Likewise.
46623         (asinh_test_data): Likewise.
46624         (atan_test_data): Likewise.
46625         (atanh_test_data): Likewise.
46626         (atan2_test_data): Likewise.
46627         (cabs_test_data): Likewise.
46628         (cacos_test_data): Likewise.
46629         (cacosh_test_data): Likewise.
46630         (carg_test_data): Likewise.
46631         (casin_test_data): Likewise.
46632         (casinh_test_data): Likewise.
46633         (catan_test_data): Likewise.
46634         (catanh_test_data): Likewise.
46635         (cbrt_test_data): Likewise.
46636         (ccos_test_data): Likewise.
46637         (ccosh_test_data): Likewise.
46638         (ceil_test_data): Likewise.
46639         (cexp_test_data): Likewise.
46640         (cimag_test_data): Likewise.
46641         (clog_test_data): Likewise.
46642         (clog10_test_data): Likewise.
46643         (conj_test_data): Likewise.
46644         (copysign_test_data): Likewise.
46645         (cos_test_data): Likewise.
46646         (cos_tonearest_test_data): Likewise.
46647         (cos_towardzero_test_data): Likewise.
46648         (cos_downward_test_data): Likewise.
46649         (cos_upward_test_data): Likewise.
46650         (cosh_test_data): Likewise.
46651         (cosh_tonearest_test_data): Likewise.
46652         (cosh_towardzero_test_data): Likewise.
46653         (cosh_downward_test_data): Likewise.
46654         (cosh_upward_test_data): Likewise.
46655         (cpow_test_data): Likewise.
46656         (cproj_test_data): Likewise.
46657         (creal_test_data): Likewise.
46658         (csin_test_data): Likewise.
46659         (csinh_test_data): Likewise.
46660         (csqrt_test_data): Likewise.
46661         (ctan_test_data): Likewise.
46662         (ctan_tonearest_test_data): Likewise.
46663         (ctan_towardzero_test_data): Likewise.
46664         (ctan_downward_test_data): Likewise.
46665         (ctan_upward_test_data): Likewise.
46666         (ctanh_test_data): Likewise.
46667         (ctanh_tonearest_test_data): Likewise.
46668         (ctanh_towardzero_test_data): Likewise.
46669         (ctanh_downward_test_data): Likewise.
46670         (ctanh_upward_test_data): Likewise.
46671         (erf_test_data): Likewise.
46672         (erfc_test_data): Likewise.
46673         (exp_test_data): Likewise.
46674         (exp_tonearest_test_data): Likewise.
46675         (exp_towardzero_test_data): Likewise.
46676         (exp_downward_test_data): Likewise.
46677         (exp_upward_test_data): Likewise.
46678         (exp10_test_data): Likewise.
46679         (exp2_test_data): Likewise.
46680         (expm1_test_data): Likewise.
46681         (fabs_test_data): Likewise.
46682         (fdim_test_data): Likewise.
46683         (finite_test_data): Likewise.
46684         (floor_test_data): Likewise.
46685         (fma_test_data): Likewise.
46686         (fma_towardzero_test_data): Likewise.
46687         (fma_downward_test_data): Likewise.
46688         (fma_upward_test_data): Likewise.
46689         (fmax_test_data): Likewise.
46690         (fmin_test_data): Likewise.
46691         (fmod_test_data): Likewise.
46692         (fpclassify_test_data): Likewise.
46693         (frexp_test_data): Likewise.
46694         (gamma_test_data): Likewise.
46695         (hypot_test_data): Likewise.
46696         (ilogb_test_data): Likewise.
46697         (isfinite_test_data): Likewise.
46698         (isgreater_test_data): Likewise.
46699         (isgreaterequal_test_data): Likewise.
46700         (isinf_test_data): Likewise.
46701         (isless_test_data): Likewise.
46702         (islessequal_test_data): Likewise.
46703         (islessgreater_test_data): Likewise.
46704         (isnan_test_data): Likewise.
46705         (isnormal_test_data): Likewise.
46706         (issignaling_test_data): Likewise.
46707         (isunordered_test_data): Likewise.
46708         (j0_test_data): Likewise.
46709         (j1_test_data): Likewise.
46710         (jn_test_data): Likewise.
46711         (ldexp_test_data): Likewise.
46712         (lgamma_test_data): Likewise.
46713         (lrint_test_data): Likewise.
46714         (lrint_tonearest_test_data): Likewise.
46715         (lrint_towardzero_test_data): Likewise.
46716         (lrint_downward_test_data): Likewise.
46717         (lrint_upward_test_data): Likewise.
46718         (llrint_test_data): Likewise.
46719         (llrint_tonearest_test_data): Likewise.
46720         (llrint_towardzero_test_data): Likewise.
46721         (llrint_downward_test_data): Likewise.
46722         (llrint_upward_test_data): Likewise.
46723         (log_test_data): Likewise.
46724         (log10_test_data): Likewise.
46725         (log1p_test_data): Likewise.
46726         (log2_test_data): Likewise.
46727         (logb_test_data): Likewise.
46728         (logb_downward_test_data): Likewise.
46729         (lround_test_data): Likewise.
46730         (llround_test_data): Likewise.
46731         (modf_test_data): Likewise.
46732         (nearbyint_test_data): Likewise.
46733         (nextafter_test_data): Likewise.
46734         (nexttoward_test_data): Likewise.
46735         (pow_test_data): Likewise.
46736         (pow_tonearest_test_data): Likewise.
46737         (pow_towardzero_test_data): Likewise.
46738         (pow_downward_test_data): Likewise.
46739         (pow_upward_test_data): Likewise.
46740         (remainder_test_data): Likewise.
46741         (remainder_tonearest_test_data): Likewise.
46742         (remainder_towardzero_test_data): Likewise.
46743         (remainder_downward_test_data): Likewise.
46744         (remainder_upward_test_data): Likewise.
46745         (remquo_test_data): Likewise.
46746         (rint_test_data): Likewise.
46747         (rint_tonearest_test_data): Likewise.
46748         (rint_towardzero_test_data): Likewise.
46749         (rint_downward_test_data): Likewise.
46750         (rint_upward_test_data): Likewise.
46751         (round_test_data): Likewise.
46752         (scalb_test_data): Likewise.
46753         (scalbn_test_data): Likewise.
46754         (scalbln_test_data): Likewise.
46755         (signbit_test_data): Likewise.
46756         (sin_test_data): Likewise.
46757         (sin_tonearest_test_data): Likewise.
46758         (sin_towardzero_test_data): Likewise.
46759         (sin_downward_test_data): Likewise.
46760         (sin_upward_test_data): Likewise.
46761         (sincos_test_data): Likewise.
46762         (sinh_test_data): Likewise.
46763         (sinh_tonearest_test_data): Likewise.
46764         (sinh_towardzero_test_data): Likewise.
46765         (sinh_downward_test_data): Likewise.
46766         (sinh_upward_test_data): Likewise.
46767         (sqrt_test_data): Likewise.
46768         (tan_test_data): Likewise.
46769         (tan_tonearest_test_data): Likewise.
46770         (tan_towardzero_test_data): Likewise.
46771         (tan_downward_test_data): Likewise.
46772         (tan_upward_test_data): Likewise.
46773         (tanh_test_data): Likewise.
46774         (tgamma_test_data): Likewise.
46775         (trunc_test_data): Likewise.
46776         (y0_test_data): Likewise.
46777         (y1_test_data): Likewise.
46778         (yn_test_data): Likewise.
46779         (significand_test_data): Likewise.
46781         * math/gen-libm-test.pl (@functions): Remove variable.
46782         (generate_testfile): Don't handle START and END lines.
46783         * math/libm-test.inc (START): New macro.
46784         (END): Likewise.
46785         (END_COMPLEX): Likewise.
46786         (acos_test): Use END macro without arguments.
46787         (acos_test_tonearest): Likewise.
46788         (acos_test_towardzero): Likewise.
46789         (acos_test_downward): Likewise.
46790         (acos_test_upward): Likewise.
46791         (acosh_test): Likewise.
46792         (asin_test): Likewise.
46793         (asin_test_tonearest): Likewise.
46794         (asin_test_towardzero): Likewise.
46795         (asin_test_downward): Likewise.
46796         (asin_test_upward): Likewise.
46797         (asinh_test): Likewise.
46798         (atan_test): Likewise.
46799         (atanh_test): Likewise.
46800         (atan2_test): Likewise.
46801         (cabs_test): Likewise.
46802         (cacos_test): Use END_COMPLEX macro without arguments.
46803         (cacosh_test): Likewise.
46804         (carg_test): Use END macro without arguments.
46805         (casin_test): Use END_COMPLEX macro without arguments.
46806         (casinh_test): Likewise.
46807         (catan_test): Likewise.
46808         (catanh_test): Likewise.
46809         (cbrt_test): Use END macro without arguments.
46810         (ccos_test): Use END_COMPLEX macro without arguments.
46811         (ccosh_test): Likewise.
46812         (ceil_test): Use END macro without arguments.
46813         (cexp_test): Use END_COMPLEX macro without arguments.
46814         (cimag_test): Use END macro without arguments.
46815         (clog_test): Use END_COMPLEX macro without arguments.
46816         (clog10_test): Likewise.
46817         (conj_test): Likewise.
46818         (copysign_test): Use END macro without arguments.
46819         (cos_test): Likewise.
46820         (cos_test_tonearest): Likewise.
46821         (cos_test_towardzero): Likewise.
46822         (cos_test_downward): Likewise.
46823         (cos_test_upward): Likewise.
46824         (cosh_test): Likewise.
46825         (cosh_test_tonearest): Likewise.
46826         (cosh_test_towardzero): Likewise.
46827         (cosh_test_downward): Likewise.
46828         (cosh_test_upward): Likewise.
46829         (cpow_test): Use END_COMPLEX macro without arguments.
46830         (cproj_test): Likewise.
46831         (creal_test): Use END macro without arguments.
46832         (csin_test): Use END_COMPLEX macro without arguments.
46833         (csinh_test): Likewise.
46834         (csqrt_test): Likewise.
46835         (ctan_test): Likewise.
46836         (ctan_test_tonearest): Likewise.
46837         (ctan_test_towardzero): Likewise.
46838         (ctan_test_downward): Likewise.
46839         (ctan_test_upward): Likewise.
46840         (ctanh_test): Likewise.
46841         (ctanh_test_tonearest): Likewise.
46842         (ctanh_test_towardzero): Likewise.
46843         (ctanh_test_downward): Likewise.
46844         (ctanh_test_upward): Likewise.
46845         (erf_test): Use END macro without arguments.
46846         (erfc_test): Likewise.
46847         (exp_test): Likewise.
46848         (exp_test_tonearest): Likewise.
46849         (exp_test_towardzero): Likewise.
46850         (exp_test_downward): Likewise.
46851         (exp_test_upward): Likewise.
46852         (exp10_test): Likewise.
46853         (exp2_test): Likewise.
46854         (expm1_test): Likewise.
46855         (fabs_test): Likewise.
46856         (fdim_test): Likewise.
46857         (finite_test): Likewise.
46858         (floor_test): Likewise.
46859         (fma_test): Likewise.
46860         (fma_test_towardzero): Likewise.
46861         (fma_test_downward): Likewise.
46862         (fma_test_upward): Likewise.
46863         (fmax_test): Likewise.
46864         (fmin_test): Likewise.
46865         (fmod_test): Likewise.
46866         (fpclassify_test): Likewise.
46867         (frexp_test): Likewise.
46868         (gamma_test): Likewise.
46869         (hypot_test): Likewise.
46870         (ilogb_test): Likewise.
46871         (isfinite_test): Likewise.
46872         (isgreater_test): Likewise.
46873         (isgreaterequal_test): Likewise.
46874         (isinf_test): Likewise.
46875         (isless_test): Likewise.
46876         (islessequal_test): Likewise.
46877         (islessgreater_test): Likewise.
46878         (isnan_test): Likewise.
46879         (isnormal_test): Likewise.
46880         (issignaling_test): Likewise.
46881         (isunordered_test): Likewise.
46882         (j0_test): Likewise.
46883         (j1_test): Likewise.
46884         (jn_test): Likewise.
46885         (ldexp_test): Likewise.
46886         (lgamma_test): Likewise.
46887         (lrint_test): Likewise.
46888         (lrint_test_tonearest): Likewise.
46889         (lrint_test_towardzero): Likewise.
46890         (lrint_test_downward): Likewise.
46891         (lrint_test_upward): Likewise.
46892         (llrint_test): Likewise.
46893         (llrint_test_tonearest): Likewise.
46894         (llrint_test_towardzero): Likewise.
46895         (llrint_test_downward): Likewise.
46896         (llrint_test_upward): Likewise.
46897         (log_test): Likewise.
46898         (log10_test): Likewise.
46899         (log1p_test): Likewise.
46900         (log2_test): Likewise.
46901         (logb_test): Likewise.
46902         (logb_test_downward): Likewise.
46903         (lround_test): Likewise.
46904         (llround_test): Likewise.
46905         (modf_test): Likewise.
46906         (nearbyint_test): Likewise.
46907         (nextafter_test): Likewise.
46908         (nexttoward_test): Likewise.
46909         (pow_test): Likewise.
46910         (pow_test_tonearest): Likewise.
46911         (pow_test_towardzero): Likewise.
46912         (pow_test_downward): Likewise.
46913         (pow_test_upward): Likewise.
46914         (remainder_test): Likewise.
46915         (remainder_test_tonearest): Likewise.
46916         (remainder_test_towardzero): Likewise.
46917         (remainder_test_downward): Likewise.
46918         (remainder_test_upward): Likewise.
46919         (remquo_test): Likewise.
46920         (rint_test): Likewise.
46921         (rint_test_tonearest): Likewise.
46922         (rint_test_towardzero): Likewise.
46923         (rint_test_downward): Likewise.
46924         (rint_test_upward): Likewise.
46925         (round_test): Likewise.
46926         (scalb_test): Likewise.
46927         (scalbn_test): Likewise.
46928         (scalbln_test): Likewise.
46929         (signbit_test): Likewise.
46930         (sin_test): Likewise.
46931         (sin_test_tonearest): Likewise.
46932         (sin_test_towardzero): Likewise.
46933         (sin_test_downward): Likewise.
46934         (sin_test_upward): Likewise.
46935         (sincos_test): Likewise.
46936         (sinh_test): Likewise.
46937         (sinh_test_tonearest): Likewise.
46938         (sinh_test_towardzero): Likewise.
46939         (sinh_test_downward): Likewise.
46940         (sinh_test_upward): Likewise.
46941         (sqrt_test): Likewise.
46942         (tan_test): Likewise.
46943         (tan_test_tonearest): Likewise.
46944         (tan_test_towardzero): Likewise.
46945         (tan_test_downward): Likewise.
46946         (tan_test_upward): Likewise.
46947         (tanh_test): Likewise.
46948         (tgamma_test): Likewise.
46949         (trunc_test): Likewise.
46950         (y0_test): Likewise.
46951         (y1_test): Likewise.
46952         (yn_test): Likewise.
46953         (significand_test): Likewise.
46955 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46957         [BZ #15381]
46958         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46960 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46962         [BZ #14894]
46963         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46964         __ppc_mdoio and __ppc_mdoom.
46965         * manual/platform.texi: Document new functions __ppc_yield,
46966         __ppc_mdoio and __ppc_mdoom.
46968 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46970         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46971         (main): Mention "tls" pseudo-hwcap is legacy.
46972         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46974 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46976         * math/gen-libm-test.pl (parse_args): Output only string of
46977         arguments as text for test name, not full call or descriptions of
46978         tests for extra outputs.
46979         (generate_testfile): Do not pass function name to parse_args.
46980         Generate this_func variable from START.
46981         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46982         field to arg_str.
46983         (struct test_ff_f_data): Likewise.
46984         (test_ff_f_data_nexttoward): Likewise.
46985         (struct test_fi_f_data): Likewise.
46986         (struct test_fl_f_data): Likewise.
46987         (struct test_if_f_data): Likewise.
46988         (struct test_fff_f_data): Likewise.
46989         (struct test_c_f_data): Likewise.
46990         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46991         (struct test_fF_f1_data): Likewise.
46992         (struct test_ffI_f1_data): Likewise.
46993         (struct test_c_c_data): Rename test_name field to arg_str.
46994         (struct test_cc_c_data): Likewise.
46995         (struct test_f_i_data): Likewise.
46996         (struct test_ff_i_data): Likewise.
46997         (struct test_f_l_data): Likewise.
46998         (struct test_f_L_data): Likewise.
46999         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47000         and extra2_name.
47001         (COMMON_TEST_SETUP): New macro.
47002         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47003         (COMMON_TEST_CLEANUP): Likewise.
47004         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47005         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47006         macros.
47007         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47008         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47009         macros.
47010         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47011         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47012         cleanup macros.
47013         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47014         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47015         macros.
47016         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47017         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47018         macros.
47019         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47020         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47021         cleanup macros.
47022         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47023         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47024         cleanup macros.
47025         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47026         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47027         cleanup macros.
47028         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47029         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47030         macros.
47031         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47032         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47033         macros.
47034         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47035         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47036         macros.
47037         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47038         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47039         cleanup macros.
47040         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47041         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47042         cleanup macros.
47043         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47044         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47045         macros.
47046         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47047         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47048         cleanup macros.
47049         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47050         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47051         macros.
47052         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47053         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47054         macros.
47055         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47056         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47057         cleanup macros.
47058         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47060 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47062         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47063         to _sifields.sigfault.
47064         (si_addr_lsb): Define new macro.
47065         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47067         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47069 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47071         [BZ #15441]
47072         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47073         returns -1.
47074         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47075         null return -1.
47076         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47077         loading the domain.
47079 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47081         * math/gen-libm-test.pl (parse_args): Do not include expected
47082         result in test name.
47083         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47084         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47085         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47086         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47087         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47090 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47092         * benchtests/Makefile: Sort function entries.
47094         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47095         tanh, asinh, acosh, atanh.
47096         * benchtests/acos-inputs: New file.
47097         * benchtests/acosh-inputs: New file.
47098         * benchtests/asin-inputs: New file.
47099         * benchtests/asinh-inputs: New file.
47100         * benchtests/atanh-inputs: New file.
47101         * benchtests/cosh-inputs: New file.
47102         * benchtests/log-inputs: New file.
47103         * benchtests/sinh-inputs: New file.
47104         * benchtests/tanh-inputs: New file.
47106 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47108         [BZ #15339]
47109         * posix/tst-getaddrinfo4.c: New test.
47110         * posix/Makefile (tests): Add it.
47112 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47114         [BZ #15339]
47115         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47116         when no services were used.
47117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47118         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47120 2013-05-21  Andreas Schwab  <schwab@suse.de>
47122         [BZ #15014]
47123         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47124         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47125         successful.
47126         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47127         redundant variable declarations and reallocation of buffer when
47128         parsing as IPv6 address.  Always set NSS status when called from
47129         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47130         buffer too small.  Correct computation of needed size.
47131         * nss/Makefile (tests): Add test-digits-dots.
47132         * nss/test-digits-dots.c: New test.
47134 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47136         * benchtests/Makefile: Remove instructions for adding
47137         benchmark tests.
47138         * benchtests/README: New file to explain how to execute and
47139         enhance the benchmark tests.
47141 2013-05-21  Andreas Schwab  <schwab@suse.de>
47143         [BZ #15493]
47144         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47145         * setjmp/tst-sigsetjmp.c: New test.
47147 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47149         * sysdeps/x86_64/memset.S (memset): New implementation.
47150         (__bzero): Likewise.
47151         (__memset_tail): New function.
47153 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47155         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47156         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47157         __memcpy_sse2_unaligned ifunc selection.
47158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47159         Add memcpy-sse2-unaligned.S.
47160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47161         Add: __memcpy_sse2_unaligned.
47163 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47165         [BZ #15490]
47166         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47167         math_force_eval before restoring floating-point envrionment.
47168         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47169         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47170         Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47172         <math_private.h>.
47173         (__nearbyintl): Use math_force_eval before restoring
47174         floating-point environment.
47175         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47177         * math/gen-libm-test.pl (special_functions): Remove.
47178         (parse_args): Don't handle TEST_extra.  Handle functions with no
47179         return value.
47180         * math/libm-test.inc (struct test_sincos_data): Replace with
47181         struct test_fFF_11_data.
47182         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47183         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47184         (sincos_test_data): Change element type to struct
47185         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47186         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47187         RUN_TEST_LOOP_sincos.
47188         * math/README.libm-test: Don't mention special handling of
47189         individual functions.
47190         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47193         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47194         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47197         * math/gen-libm-test.pl (get_variable): Remove function.
47198         (parse_args): Don't show pointer parameters to call in test
47199         names.  Use "extra output N" in test names for extra outputs
47200         rather than naming variables.
47202 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47204         [BZ #15488]
47205         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47206         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47207         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47208         double tests.
47209         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47210         disable.
47211         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47212         check_long_double.
47214         * math/gen-libm-test.pl (@tests): Remove variable.
47215         ($count): Likewise.
47216         (new_test): Remove function.
47217         (show_exceptions): New function.
47218         (special_functions): Use show_exceptions instead of new_test.
47219         (parse_args): Likewise.
47220         (generate_testfile): Pass only function name in generated call to
47221         print_max_error or print_complex_max_error.
47222         (get_ulps): Do not handle complex tests specially.
47223         (output_test): Rename to ...
47224         (get_all_ulps_for_test): ... this.  Return a string rather than
47225         printing to a file.  Require ulps to be present.
47226         (output_ulps): Generate arrays rather than #defines.
47227         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47228         (struct ulp_data): New type.
47229         (BUILD_COMPLEX_ULP): Remove macro.
47230         (compare_ulp_data): New function.
47231         (find_ulps): Likewise.
47232         (find_test_ulps): Likewise.
47233         (find_function_ulps): Likewise.
47234         (find_complex_function_ulps): Likewise.
47235         (print_max_error): Determine allowed ulps using
47236         find_function_ulps.
47237         (print_complex_max_error): Determine allowed ulps using
47238         find_complex_function_ulps.
47239         (check_float_internal): Determine max ulps using find_test_ulps.
47240         (check_float): Do not take max_ulp parameter.  Update call to
47241         check_float_internal.
47242         (check_complex): Likewise.
47243         (check_int): Do not take max_ulp parameter.
47244         (check_long): Likewise.
47245         (check_bool): Likewise.
47246         (check_longlong): Likewise.
47247         (struct test_f_f_data): Remove max_ulp field.
47248         (struct test_ff_f_data): Likewise.
47249         (struct test_ff_f_data_nexttoward): Likewise.
47250         (struct test_fi_f_data): Likewise.
47251         (struct test_fl_f_data): Likewise.
47252         (struct test_if_f_data): Likewise.
47253         (struct test_fff_f_data): Likewise.
47254         (struct test_c_f_data): Likewise.
47255         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47256         (struct test_fF_f1_data): Likewise.
47257         (struct test_ffI_f1_data): Likewise.
47258         (struct test_c_c_data): Remove max_ulp field.
47259         (struct test_cc_c_data): Likewise.
47260         (struct test_f_i_data): Likewise.
47261         (struct test_ff_i_data): Likewise.
47262         (struct test_f_l_data): Likewise.
47263         (struct test_f_L_data): Likewise.
47264         (struct test_sincos_data): Likewise.
47265         (RUN_TEST_f_f): Do not handle ulps.
47266         (RUN_TEST_LOOP_f_f): Likewise.
47267         (RUN_TEST_2_f): Likewise.
47268         (RUN_TEST_LOOP_2_f): Likewise.
47269         (RUN_TEST_fff_f): Likewise.
47270         (RUN_TEST_LOOP_fff_f): Likewise.
47271         (RUN_TEST_c_f): Likewise.
47272         (RUN_TEST_LOOP_c_f): Likewise.
47273         (RUN_TEST_f_f1): Likewise.
47274         (RUN_TEST_LOOP_f_f1): Likewise.
47275         (RUN_TEST_fF_f1): Likewise.
47276         (RUN_TEST_LOOP_fF_f1): Likewise.
47277         (RUN_TEST_fI_f1): Likewise.
47278         (RUN_TEST_LOOP_fI_f1): Likewise.
47279         (RUN_TEST_ffI_f1): Likewise.
47280         (RUN_TEST_LOOP_ffI_f1): Likewise.
47281         (RUN_TEST_c_c): Likewise.
47282         (RUN_TEST_LOOP_c_c): Likewise.
47283         (RUN_TEST_cc_c): Likewise.
47284         (RUN_TEST_LOOP_cc_c): Likewise.
47285         (RUN_TEST_f_i): Likewise.
47286         (RUN_TEST_LOOP_f_i): Likewise.
47287         (RUN_TEST_f_i_tg): Likewise.
47288         (RUN_TEST_LOOP_f_i_tg): Likewise.
47289         (RUN_TEST_ff_i_tg): Likewise.
47290         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47291         (RUN_TEST_f_b): Likewise.
47292         (RUN_TEST_LOOP_f_b): Likewise.
47293         (RUN_TEST_f_b_tg): Likewise.
47294         (RUN_TEST_LOOP_f_b_tg): Likewise.
47295         (RUN_TEST_f_l): Likewise.
47296         (RUN_TEST_LOOP_f_l): Likewise.
47297         (RUN_TEST_f_L): Likewise.
47298         (RUN_TEST_LOOP_f_L): Likewise.
47299         (RUN_TEST_sincos): Likewise.
47300         (RUN_TEST_LOOP_sincos): Likewise.
47302 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47304         [BZ #15480]
47305         [BZ #15485]
47306         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47307         main case of finite arguments, set rounding mode to FE_TONEAREST
47308         and discard exceptions.
47309         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47310         exceptions.
47311         (remainder_tonearest_test_data): New variable.
47312         (remainder_test_tonearest): New function.
47313         (remainder_towardzero_test_data): New variable.
47314         (remainder_test_towardzero): New function.
47315         (remainder_downward_test_data): New variable.
47316         (remainder_test_downward): New function.
47317         (remainder_upward_test_data): New variable.
47318         (remainder_test_upward): New function.
47319         (main): Call the new test functions.
47321         * math/libm-test.inc (struct test_f_f1_data): Remove field
47322         extra_init.
47323         (struct test_fF_f1_data): Likewise.
47324         (struct test_ffI_f1_data): Likewise.
47325         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47326         based on value of EXTRA_EXPECTED.
47327         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47328         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47329         EXTRA_VAR based on value of EXTRA_EXPECTED.
47330         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47331         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47332         EXTRA_VAR based on value of EXTRA_EXPECTED.
47333         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47334         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47335         EXTRA_VAR based on value of EXTRA_EXPECTED.
47336         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47337         * math/gen-libm-test.pl (parse_args): Don't output initializers
47338         for extra output values.
47340         * math/libm-test.inc (check_int): Expect result to be exactly
47341         equal to expected value and do not handle ulps.
47342         (check_long): Likewise.
47343         (check_longlong): Likewise.
47345         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47346         exceptions.
47347         (cimag_test_data): Likewise.
47348         (conj_test_data): Likewise.
47349         (copysign_test_data): Likewise.
47350         (cproj_test_data): Likewise.
47351         (creal_test_data): Likewise.
47352         (fabs_test_data): Likewise.
47353         (fdim_test_data): Likewise.
47354         (finite_test_data): Likewise.
47355         (floor_test_data): Likewise.
47356         (fmax_test_data): Likewise.
47357         (fmin_test_data): Likewise.
47358         (fmod_test_data): Likewise.
47359         (fpclassify_test_data): Likewise.
47360         (frexp_test_data): Likewise.
47361         (ilogb_test_data): Likewise.
47362         (isfinite_test_data): Likewise.
47363         (isgreater_test_data): Likewise.
47364         (isgreaterequal_test_data): Likewise.
47365         (isinf_test_data): Likewise.
47366         (isless_test_data): Likewise.
47367         (islessequal_test_data): Likewise.
47368         (islessgreater_test_data): Likewise.
47369         (isnan_test_data): Likewise.
47370         (isnormal_test_data): Likewise.
47371         (issignaling_test_data): Likewise.
47372         (isunordered_test_data): Likewise.
47373         (ldexp_test_data): Likewise.
47374         (lrint_test_data): Likewise.
47375         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47376         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47377         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47378         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47379         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47380         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47381         test input.
47382         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47383         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47384         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47385         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47386         that test input.
47387         (lrint_downward_test_data): Test for "inexact" exceptions.
47388         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47389         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47390         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47391         test input.
47392         (lrint_upward_test_data): Test for "inexact" exceptions.
47393         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47394         test input.
47395         (llrint_test_data): Test for "inexact" exceptions.
47396         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47397         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47398         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47399         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47400         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47401         (llrint_downward_test_data): Test for "inexact" exceptions.
47402         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47403         (llrint_upward_test_data): Test for "inexact" exceptions.
47404         (logb_test_data): Likewise.
47405         (logb_downward_test_data): Likewise.
47406         (nextafter_test_data): Likewise.
47407         (nexttoward_test_data): Likewise.
47408         (remainder_test_data): Likewise.
47409         (remquo_test_data): Likewise.
47410         (scalbn_test_data): Likewise.
47411         (scalbln_test_data): Likewise.
47412         (signbit_test_data): Likewise.
47413         (sqrt_test_data): Likewise.
47414         (significand_test_data): Likewise.
47416 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47418         [BZ #15424]
47419         * benchtests/bench-modf.c (struct args): Mark arg0 as
47420         volatile.
47421         * scripts/bench.pl: Mark members of struct args as volatile.
47423 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47425         [BZ # 15497]
47426         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47427         negative infinity on POWER6 or lower.
47428         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47430 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47432         [BZ #15442]
47433         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47434         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47435         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47436         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47437         (_FP_SETQNAN): New macro.
47438         (_FP_SETQNAN_SEMIRAW): Likewise.
47439         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47440         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47441         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47442         (FP_EXTEND): Use _FP_FRAC_SNANP.
47443         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47444         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47445         into account.
47446         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47447         New macro.
47448         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47449         Likewise.
47451 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47453         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47454         with DIVIDE_BY_ZERO_EXCEPTION.
47455         (gamma_test_data): Likewise.
47456         (lgamma_test_data): Likewise.
47457         (log_test_data): Likewise.
47458         (log10_test_data): Likewise.
47459         (log2_test_data): Likewise.
47460         (tgamma_test_data): Likewise.
47462         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47463         (acos_test_tonearest): Likewise.
47464         (acos_test_towardzero): Likewise.
47465         (acos_test_downward): Likewise.
47466         (acos_test_upward): Likewise.
47467         (acosh_test): Likewise.
47468         (asin_test): Likewise.
47469         (asin_test_tonearest): Likewise.
47470         (asin_test_towardzero): Likewise.
47471         (asin_test_downward): Likewise.
47472         (asin_test_upward): Likewise.
47473         (asinh_test): Likewise.
47474         (atan_test): Likewise.
47475         (atanh_test): Likewise.
47476         (atan2_test): Likewise.
47477         (cabs_test): Likewise.
47478         (cacos_test): Likewise.
47479         (cacosh_test): Likewise.
47480         (casin_test): Likewise.
47481         (casinh_test): Likewise.
47482         (catan_test): Likewise.
47483         (catanh_test): Likewise.
47484         (cbrt_test): Likewise.
47485         (ccos_test): Likewise.
47486         (ccosh_test): Likewise.
47487         (cexp_test): Likewise.
47488         (clog_test): Likewise.
47489         (clog10_test): Likewise.
47490         (cos_test): Likewise.
47491         (cos_test_tonearest): Likewise.
47492         (cos_test_towardzero): Likewise.
47493         (cos_test_downward): Likewise.
47494         (cos_test_upward): Likewise.
47495         (cosh_test): Likewise.
47496         (cosh_test_tonearest): Likewise.
47497         (cosh_test_towardzero): Likewise.
47498         (cosh_test_downward): Likewise.
47499         (cosh_test_upward): Likewise.
47500         (cpow_test): Likewise.
47501         (csin_test): Likewise.
47502         (csinh_test): Likewise.
47503         (csqrt_test): Likewise.
47504         (ctan_test): Likewise.
47505         (ctan_test_tonearest): Likewise.
47506         (ctan_test_towardzero): Likewise.
47507         (ctan_test_downward): Likewise.
47508         (ctan_test_upward): Likewise.
47509         (ctanh_test): Likewise.
47510         (ctanh_test_tonearest): Likewise.
47511         (ctanh_test_towardzero): Likewise.
47512         (ctanh_test_downward): Likewise.
47513         (ctanh_test_upward): Likewise.
47514         (erf_test): Likewise.
47515         (erfc_test): Likewise.
47516         (exp_test): Likewise.
47517         (exp_test_tonearest): Likewise.
47518         (exp_test_towardzero): Likewise.
47519         (exp_test_downward): Likewise.
47520         (exp_test_upward): Likewise.
47521         (exp10_test): Likewise.
47522         (exp2_test): Likewise.
47523         (expm1_test): Likewise.
47524         (fmod_test): Likewise.
47525         (gamma_test): Likewise.
47526         (hypot_test): Likewise.
47527         (j0_test): Likewise.
47528         (j1_test): Likewise.
47529         (jn_test): Likewise.
47530         (lgamma_test): Likewise.
47531         (log_test): Likewise.
47532         (log10_test): Likewise.
47533         (log1p_test): Likewise.
47534         (log2_test): Likewise.
47535         (logb_test_downward): Likewise.
47536         (pow_test): Likewise.
47537         (pow_test_tonearest): Likewise.
47538         (pow_test_towardzero): Likewise.
47539         (pow_test_downward): Likewise.
47540         (pow_test_upward): Likewise.
47541         (remainder_test): Likewise.
47542         (remquo_test): Likewise.
47543         (sin_test): Likewise.
47544         (sin_test_tonearest): Likewise.
47545         (sin_test_towardzero): Likewise.
47546         (sin_test_downward): Likewise.
47547         (sin_test_upward): Likewise.
47548         (sincos_test): Likewise.
47549         (sinh_test): Likewise.
47550         (sinh_test_tonearest): Likewise.
47551         (sinh_test_towardzero): Likewise.
47552         (sinh_test_downward): Likewise.
47553         (sinh_test_upward): Likewise.
47554         (sqrt_test): Likewise.
47555         (tan_test): Likewise.
47556         (tan_test_tonearest): Likewise.
47557         (tan_test_towardzero): Likewise.
47558         (tan_test_downward): Likewise.
47559         (tan_test_upward): Likewise.
47560         (tanh_test): Likewise.
47561         (tgamma_test): Likewise.
47562         (y0_test): Likewise.
47563         (y1_test): Likewise.
47564         (yn_test): Likewise.
47566         * math/gen-libm-test.pl (adjust_arg): Remove function.
47567         (special_function): Remove argument $in_func.  Only handle
47568         generating output for tables of tests, not inside functions.
47569         (parse_args): Likewise.
47570         (generate_testfile): Remove variable $in_func.  Update call to
47571         parse_args.
47572         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47573         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47574         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47575         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47576         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47577         (MAX_VALUE_INIT): Rename macro to max_value.
47578         (MIN_VALUE_INIT): Rename macro to min_value.
47579         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47580         (plus_zero): Remove variable.
47581         (minus_zero): Likewise.
47582         (plus_infty): Likewise.
47583         (minus_infty): Likewise.
47584         (qnan_value): Likewise.
47585         (max_value): Likewise.
47586         (min_value): Likewise.
47587         (min_subnorm_value): Likewise.
47589 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47591         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47592         uint64_t or uint32_t usage.
47593         * crypt/sha256-block.c: Likewise.
47594         * crypt/sha256-crypt.c: Likewise.
47595         * crypt/sha256.c: Likewise.
47596         * crypt/sha512-block.c: Likewise.
47597         * crypt/sha512-crypt.c: Likewise.
47598         * crypt/sha512.c: Likewise.
47599         * debug/backtrace-tst.c: Likewise.
47600         * debug/pcprofiledump.c: Likewise.
47601         * elf/cache.c: Likewise.
47602         * elf/dl-cache.c: Likewise.
47603         * elf/dl-misc.c: Likewise.
47604         * elf/dl-profile.c: Likewise.
47605         * elf/dl-support.c: Likewise.
47606         * elf/ldconfig.c: Likewise.
47607         * elf/sprof.c: Likewise.
47608         * iconv/dummy-repertoire.c: Likewise.
47609         * iconv/iconv_charmap.c: Likewise.
47610         * iconv/skeleton.c: Likewise.
47611         * iconvdata/8bit-generic.c: Likewise.
47612         * iconvdata/cp737.h: Likewise.
47613         * iconvdata/cp775.h: Likewise.
47614         * iconvdata/ibm1008.h: Likewise.
47615         * iconvdata/ibm1025.h: Likewise.
47616         * iconvdata/ibm1046.h: Likewise.
47617         * iconvdata/ibm1097.h: Likewise.
47618         * iconvdata/ibm1112.h: Likewise.
47619         * iconvdata/ibm1122.h: Likewise.
47620         * iconvdata/ibm1123.h: Likewise.
47621         * iconvdata/ibm1124.h: Likewise.
47622         * iconvdata/ibm1129.h: Likewise.
47623         * iconvdata/ibm1130.h: Likewise.
47624         * iconvdata/ibm1132.h: Likewise.
47625         * iconvdata/ibm1133.h: Likewise.
47626         * iconvdata/ibm1137.h: Likewise.
47627         * iconvdata/ibm1140.h: Likewise.
47628         * iconvdata/ibm1141.h: Likewise.
47629         * iconvdata/ibm1142.h: Likewise.
47630         * iconvdata/ibm1143.h: Likewise.
47631         * iconvdata/ibm1144.h: Likewise.
47632         * iconvdata/ibm1145.h: Likewise.
47633         * iconvdata/ibm1146.h: Likewise.
47634         * iconvdata/ibm1147.h: Likewise.
47635         * iconvdata/ibm1148.h: Likewise.
47636         * iconvdata/ibm1149.h: Likewise.
47637         * iconvdata/ibm1153.h: Likewise.
47638         * iconvdata/ibm1154.h: Likewise.
47639         * iconvdata/ibm1155.h: Likewise.
47640         * iconvdata/ibm1156.h: Likewise.
47641         * iconvdata/ibm1157.h: Likewise.
47642         * iconvdata/ibm1158.h: Likewise.
47643         * iconvdata/ibm1160.h: Likewise.
47644         * iconvdata/ibm1161.h: Likewise.
47645         * iconvdata/ibm1162.h: Likewise.
47646         * iconvdata/ibm1163.h: Likewise.
47647         * iconvdata/ibm1164.h: Likewise.
47648         * iconvdata/ibm1166.h: Likewise.
47649         * iconvdata/ibm1167.h: Likewise.
47650         * iconvdata/ibm12712.h: Likewise.
47651         * iconvdata/ibm1390.h: Likewise.
47652         * iconvdata/ibm1399.h: Likewise.
47653         * iconvdata/ibm16804.h: Likewise.
47654         * iconvdata/ibm4517.h: Likewise.
47655         * iconvdata/ibm4899.h: Likewise.
47656         * iconvdata/ibm4909.h: Likewise.
47657         * iconvdata/ibm4971.h: Likewise.
47658         * iconvdata/ibm5347.h: Likewise.
47659         * iconvdata/ibm803.h: Likewise.
47660         * iconvdata/ibm856.h: Likewise.
47661         * iconvdata/ibm901.h: Likewise.
47662         * iconvdata/ibm902.h: Likewise.
47663         * iconvdata/ibm9030.h: Likewise.
47664         * iconvdata/ibm9066.h: Likewise.
47665         * iconvdata/ibm921.h: Likewise.
47666         * iconvdata/ibm922.h: Likewise.
47667         * iconvdata/ibm9448.h: Likewise.
47668         * iconvdata/isiri-3342.h: Likewise.
47669         * iconvdata/jis0201.h: Likewise.
47670         * include/link.h: Likewise.
47671         * include/netdb.h: Likewise.
47672         * inet/check_native.c: Likewise.
47673         * inet/check_pf.c: Likewise.
47674         * inet/getipv4sourcefilter.c: Likewise.
47675         * inet/getnameinfo.c: Likewise.
47676         * inet/getsourcefilter.c: Likewise.
47677         * inet/htonl.c: Likewise.
47678         * inet/setipv4sourcefilter.c: Likewise.
47679         * inet/setsourcefilter.c: Likewise.
47680         * inet/test-inet6_opt.c: Likewise.
47681         * inet/tst-network.c: Likewise.
47682         * locale/C-collate.c: Likewise.
47683         * locale/C-ctype.c: Likewise.
47684         * locale/C-time.c: Likewise.
47685         * locale/C-translit.h: Likewise.
47686         * locale/loadarchive.c: Likewise.
47687         * locale/programs/3level.h: Likewise.
47688         * locale/programs/charmap.c: Likewise.
47689         * locale/programs/charmap.h: Likewise.
47690         * locale/programs/ld-address.c: Likewise.
47691         * locale/programs/ld-collate.c: Likewise.
47692         * locale/programs/ld-ctype.c: Likewise.
47693         * locale/programs/ld-identification.c: Likewise.
47694         * locale/programs/ld-measurement.c: Likewise.
47695         * locale/programs/ld-messages.c: Likewise.
47696         * locale/programs/ld-monetary.c: Likewise.
47697         * locale/programs/ld-name.c: Likewise.
47698         * locale/programs/ld-numeric.c: Likewise.
47699         * locale/programs/ld-paper.c: Likewise.
47700         * locale/programs/ld-telephone.c: Likewise.
47701         * locale/programs/ld-time.c: Likewise.
47702         * locale/programs/linereader.c: Likewise.
47703         * locale/programs/locale.c: Likewise.
47704         * locale/programs/locarchive.c: Likewise.
47705         * locale/programs/locfile.h: Likewise.
47706         * locale/programs/repertoire.c: Likewise.
47707         * locale/programs/simple-hash.c: Likewise.
47708         * locale/programs/simple-hash.h: Likewise.
47709         * malloc/memusage.c: Likewise.
47710         * malloc/memusagestat.c: Likewise.
47711         * nis/nis_defaults.c: Likewise.
47712         * nis/nis_hash.c: Likewise.
47713         * nis/nis_print.c: Likewise.
47714         * nis/nis_xdr.c: Likewise.
47715         * nscd/connections.c: Likewise.
47716         * nscd/hstcache.c: Likewise.
47717         * nscd/nscd_gethst_r.c: Likewise.
47718         * nscd/nscd_getserv_r.c: Likewise.
47719         * nscd/nscd_helper.c: Likewise.
47720         * nscd/servicescache.c: Likewise.
47721         * nss/makedb.c: Likewise.
47722         * nss/nss_db/db-XXX.c: Likewise.
47723         * nss/nss_db/db-initgroups.c: Likewise.
47724         * nss/nss_db/db-netgrp.c: Likewise.
47725         * nss/nss_files/files-network.c: Likewise.
47726         * nss/nss_files/files-parse.c: Likewise.
47727         * posix/bug-regex5.c: Likewise.
47728         * posix/fnmatch_loop.c: Likewise.
47729         * posix/regcomp.c: Likewise.
47730         * posix/regexec.c: Likewise.
47731         * posix/tst-rfc3484-2.c: Likewise.
47732         * posix/tst-rfc3484-3.c: Likewise.
47733         * posix/tst-rfc3484.c: Likewise.
47734         * resolv/nss_dns/dns-canon.c: Likewise.
47735         * resolv/nss_dns/dns-network.c: Likewise.
47736         * resolv/res_init.c: Likewise.
47737         * resolv/res_mkquery.c: Likewise.
47738         * resolv/tst-aton.c: Likewise.
47739         * stdlib/cxa_atexit.c: Likewise.
47740         * stdlib/cxa_finalize.c: Likewise.
47741         * stdlib/gen-fpioconst.c: Likewise.
47742         * stdlib/strtol_l.c: Likewise.
47743         * string/tst-endian.c: Likewise.
47744         * sunrpc/auth_des.c: Likewise.
47745         * sunrpc/clnt_udp.c: Likewise.
47746         * sunrpc/rtime.c: Likewise.
47747         * sunrpc/svcauth_des.c: Likewise.
47748         * sunrpc/xdr.c: Likewise.
47749         * sunrpc/xdr_intXX_t.c: Likewise.
47750         * sunrpc/xdr_rec.c: Likewise.
47751         * sysdeps/generic/ldconfig.h: Likewise.
47752         * sysdeps/generic/ldsodefs.h: Likewise.
47753         * sysdeps/generic/memusage.h: Likewise.
47754         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47755         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47756         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47759         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47761         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47762         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47764         * sysdeps/posix/getaddrinfo.c: Likewise.
47765         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47766         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47767         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47768         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47769         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47770         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47771         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47772         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47773         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47774         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47775         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47776         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47777         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47778         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47779         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47780         * sysdeps/x86_64/dl-tls.h: Likewise.
47781         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47782         * time/alt_digit.c: Likewise.
47783         * time/era.c: Likewise.
47784         * wcsmbs/tst-c16c32-1.c: Likewise.
47786 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47788         * math/libm-test.inc (struct test_sincos_data): New type.
47789         (RUN_TEST_LOOP_sincos): New macro.
47790         (sincos_test_data): New variable.
47791         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47793 2013-05-16  Richard Henderson  <rth@redhat.com>
47795         * math/atest-exp2.c (LIMB64): New macro.
47796         (CONSTSZ): New macro.
47797         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47798         (hexdig): Move ...
47799         (print_mpn_fp): ... to function scope.
47800         (read_mpn_hex): Remove.
47801         (get_log2): Remove.
47802         (exp2_mpn): Use mp_log2.
47803         (main): Use mp_exp1.
47805 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47807         * math/libm-test.inc: Remove comment about not testing "inexact"
47808         exceptions.
47809         (INEXACT_EXCEPTION): New macro.
47810         (NO_INEXACT_EXCEPTION): Likewise.
47811         (INVALID_EXCEPTION_OK): Update value.
47812         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47813         (OVERFLOW_EXCEPTION_OK): Likewise.
47814         (UNDERFLOW_EXCEPTION_OK): Likewise.
47815         (IGNORE_ZERO_INF_SIGN): Likewise.
47816         (ERRNO_UNCHANGED): Likewise.
47817         (ERRNO_EDOM): Likewise.
47818         (ERRNO_ERANGE): Likewise.
47819         (test_exceptions): Handle testing "inexact" exceptions.
47820         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47821         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47822         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47823         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47824         INEXACT_EXCEPTION.
47825         (rint_towardzero_test_data): Likewise.
47826         (rint_downward_test_data): Likewise.
47827         (rint_upward_test_data): Likewise.
47829         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47830         with OVERFLOW_EXCEPTION.
47831         (exp10_test_data): Likewise.
47832         (exp2_test_data): Likewise.
47833         (expm1_test_data): Likewise.
47834         (lgamma_test_data): Likewise.
47835         (pow_test_data): Likewise.
47836         (tgamma_test_data): Likewise.
47837         (yn_test_data): Remove duplicate test of overflow.
47839         * math/libm-test.inc (struct test_cc_c_data): New type.
47840         (RUN_TEST_LOOP_cc_c): New macro.
47841         (cpow_test_data): New variable.
47842         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47844         * math/libm-test.inc (struct test_f_L_data): New type.
47845         (RUN_TEST_LOOP_f_L): New macro.
47846         (llrint_test_data): New variable.
47847         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47848         (llrint_tonearest_test_data): New variable.
47849         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47850         (llrint_towardzero_test_data): New variable.
47851         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47852         (llrint_downward_test_data): New variable.
47853         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47854         (llrint_upward_test_data): New variable.
47855         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47856         (llround_test_data): New variable.
47857         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47859 2013-05-13  Peter Collingbourne  <pcc@google.com>
47861         * math/atest-exp2.c (get_log2): Remove const attribute.
47863 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47865         * math/libm-test.inc (struct test_f_l_data): New type.
47866         (RUN_TEST_LOOP_f_l): New macro.
47867         (lrint_test_data): New variable.
47868         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47869         (lrint_tonearest_test_data): New variable.
47870         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47871         (lrint_towardzero_test_data): New variable.
47872         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47873         (lrint_downward_test_data): New variable.
47874         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47875         (lrint_upward_test_data): New variable.
47876         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47877         (lround_test_data): New variable.
47878         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47880 2013-05-15  Peter Collingbourne  <pcc@google.com>
47882         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47883         (EXTRACT_WORDS64) Use where appropriate.
47884         (INSERT_WORDS64) Likewise.
47886         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47887         constraints with x constraints.
47888         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47890         * malloc/obstack.c (_obstack_compat): Add initializer.
47892 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47895         si_trapno and add si_addr_lsb to _sifields.sigfault.
47896         (si_trapno): Remove macro.
47897         (si_addr_lsb): Define new macro.
47898         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47900 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47902         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47903         instead of TEST_f_l.
47904         (llrint_test_tonearest): Likewise.
47905         (llrint_test_towardzero): Likewise.
47906         (llrint_test_downward): Likewise.
47907         (llrint_test_upward): Likewise.
47908         (llround_test): Likewise.
47910         * math/libm-test.inc (struct test_f_i_data): Add comment.
47911         (RUN_TEST_LOOP_f_b): New macro.
47912         (RUN_TEST_LOOP_f_b_tg): Likewise.
47913         (finite_test_data): New variable.
47914         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47915         (isfinite_test_data): New variable.
47916         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47917         (isinf_test_data): New variable.
47918         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47919         (isnan_test_data): New variable.
47920         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47921         (isnormal_test_data): New variable.
47922         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47923         (issignaling_test_data): New variable.
47924         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47925         (signbit_test_data): New variable.
47926         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47928         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47929         with INVALID_EXCEPTION.
47930         (acosh_test_data): Likewise.
47931         (asin_test_data): Likewise.
47932         (atanh_test_data): Likewise.
47933         (fmod_test_data): Likewise.
47934         (log_test_data): Likewise.
47935         (log10_test_data): Likewise.
47936         (log2_test_data): Likewise.
47937         (pow_test_data): Likewise.
47938         (sqrt_test_data): Likewise.
47939         (y0_test_data): Likewise.
47940         (y1_test_data): Likewise.
47941         (yn_test_data): Likewise.
47943         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47944         function contents.
47946         * math/libm-test.inc (struct test_ff_i_data): New type.
47947         (RUN_TEST_LOOP_ff_i_tg): New macro.
47948         (isgreater_test_data): New variable.
47949         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47950         (isgreaterequal_test_data): New variable.
47951         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47952         (isless_test_data): New variable.
47953         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47954         (islessequal_test_data): New variable.
47955         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47956         (islessgreater_test_data): New variable.
47957         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47958         (isunordered_test_data): New variable.
47959         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47961 2013-05-14  David S. Miller  <davem@davemloft.net>
47963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47965 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47967         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47969         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47970         extra_test to int.
47971         (struct test_f_i_data): Change type of max_ulp to int.
47973         * math/libm-test.inc (test_ffI_f1_data): New type.
47974         (RUN_TEST_LOOP_ffI_f1): New macro.
47975         (remquo_test_data): New variable.
47976         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47978         * setjmp/tst-setjmp-fp.c: New file.
47979         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47980         (link-libm): New variable.
47981         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47983         * math/libm-test.inc (struct test_f_i_data): New type.
47984         (RUN_TEST_LOOP_f_i): New macro.
47985         (RUN_TEST_LOOP_f_i_tg): Likewise.
47986         (fpclassify_test_data): New variable.
47987         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47988         (ilogb_test_data): New variable.
47989         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47991         * math/libm-test.inc (scalbln_test): Correct function name in END
47992         call.
47994         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47995         (RUN_TEST_LOOP_fI_f1): New macro.
47996         (frexp_test_data): New variable.
47997         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47999         * math/libm-test.inc (struct test_fF_f1_data): New type.
48000         (RUN_TEST_LOOP_fF_f1): New macro.
48001         (modf_test_data): New variable.
48002         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48004         * math/libm-test.inc (struct test_f_f1_data): New type.
48005         (RUN_TEST_LOOP_f_f1): New macro.
48006         (gamma_test_data): New variable.
48007         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48008         (lgamma_test_data): New variable.
48009         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48011 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48013         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48014         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48015         (main): Comment "tls" pseudo-hwcap.
48017 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48019         * math/libm-test.inc (struct test_fl_f_data): New type.
48020         (RUN_TEST_LOOP_fl_f): New variable.
48021         (scalbln_test_data): New variable.
48022         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48024         * math/libm-test.inc (struct test_fi_f_data): New type.
48025         (RUN_TEST_LOOP_fi_f): New macro.
48026         (ldexp_test_data): New variable.
48027         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48028         (scalbn_test_data): New variable.
48029         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48031         * math/libm-test.inc (struct test_c_f_data): New type.
48032         (RUN_TEST_LOOP_c_f): New macro.
48033         (cabs_test_data): New variable.
48034         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48035         (carg_test_data): New variable.
48036         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48037         (cimag_test_data): New variable.
48038         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48039         (creal_test_data): New variable.
48040         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48042         * math/libm-test.inc (struct test_if_f_data): New type.
48043         (RUN_TEST_LOOP_if_f): New macro.
48044         (jn_test_data): New variable.
48045         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48046         (yn_test_data): New variable.
48047         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48049         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48051 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48053         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48054         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48056 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48058         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48059         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48060         (bench-deps): Add bench-timing.h.
48061         * benchtests-bench-skeleton.c: Include bench-timing.h.
48062         (main): Use TIMING_* macros instead of clock_gettime.
48063         * benchtests/bench-timing.h: New file.
48065         [BZ #14582]
48066         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48067         Renamed from _LIB_VERSION.
48068         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48070 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48072         * math/libm-test.inc (struct test_fff_f_data): New type.
48073         (RUN_TEST_LOOP_fff_f): New macro.
48074         (fma_test_data): New variable.
48075         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48076         (fma_towardzero_test_data): New variable.
48077         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48078         (fma_downward_test_data): New variable.
48079         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48080         (fma_upward_test_data): New variable.
48081         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48083         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48084         (struct test_c_c_data): New type.
48085         (RUN_TEST_LOOP_c_c): New macro.
48086         (cacos_test_data): New variable.
48087         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48088         (cacosh_test_data): New variable.
48089         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48090         (casin_test_data): New variable.
48091         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48092         (casinh_test_data): New variable.
48093         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48094         (catan_test_data): New variable.
48095         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48096         (catanh_test_data): New variable.
48097         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48098         (ccos_test_data): New variable.
48099         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48100         (ccosh_test_data): New variable.
48101         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48102         (cexp_test_data): New variable.
48103         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48104         (clog_test_data): New variable.
48105         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48106         (clog10_test_data): New variable.
48107         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48108         (conj_test_data): New variable.
48109         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48110         (cproj_test_data): New variable.
48111         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48112         (csin_test_data): New variable.
48113         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48114         (csinh_test_data): New variable.
48115         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48116         (csqrt_test_data): New variable.
48117         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48118         (ctan_test_data): New variable.
48119         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48120         (ctan_tonearest_test_data): New variable.
48121         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48122         (ctan_towardzero_test_data): New variable.
48123         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48124         (ctan_downward_test_data): New variable.
48125         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48126         (ctan_upward_test_data): New variable.
48127         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48128         (ctanh_test_data): New variable.
48129         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48130         (ctanh_tonearest_test_data): New variable.
48131         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48132         (ctanh_towardzero_test_data): New variable.
48133         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48134         (ctanh_downward_test_data): New variable.
48135         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48136         (ctanh_upward_test_data): New variable.
48137         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48138         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48139         of BUILD_COMPLEX.
48141         * math/libm-test.inc (struct test_ff_f_data): New type.
48142         (struct test_ff_f_data_nexttoward): Likewise.
48143         (RUN_TEST_LOOP_2_f): New macro.
48144         (RUN_TEST_LOOP_ff_f): Likewise.
48145         (atan2_test_data): New variable.
48146         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48147         (copysign_test_data): New variable.
48148         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48149         (fdim_test_data): New variable.
48150         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48151         (fmax_test_data): New variable.
48152         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48153         (fmin_test_data): New variable.
48154         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48155         (fmod_test_data): New variable.
48156         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48157         (hypot_test_data): New variable.
48158         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48159         (nextafter_test_data): New variable.
48160         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48161         (nexttoward_test_data): New variable.
48162         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48163         (pow_test_data): New variable.
48164         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48165         (pow_tonearest_test_data): New variable.
48166         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48167         (pow_towardzero_test_data): New variable.
48168         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48169         (pow_downward_test_data): New variable.
48170         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48171         (pow_upward_test_data): New variable.
48172         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48173         (remainder_test_data): New variable.
48174         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48175         (scalb_test_data): New variable.
48176         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48177         * sysdeps/i386/fpu/libm-test-ulps: Update.
48179 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48181         * math/libm-test.inc (fma_test): Use max_value instead of local
48182         variable fltmax.
48183         (nextafter_test): Likewise.
48185         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48186         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48187         (acos_downward_test_data): New variable.
48188         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48189         (acos_upward_test_data): New variable.
48190         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48191         (acosh_test_data): New variable.
48192         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48193         (asin_test_data): New variable.
48194         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48195         (asin_tonearest_test_data): New variable.
48196         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48197         (asin_towardzero_test_data): New variable.
48198         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48199         (asin_downward_test_data): New variable.
48200         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48201         (asin_upward_test_data): New variable.
48202         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48203         (asinh_test_data): New variable.
48204         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48205         (atan_test_data): New variable.
48206         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48207         (atanh_test_data): New variable.
48208         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48209         (cbrt_test_data): New variable.
48210         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48211         (ceil_test_data): New variable.
48212         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48213         (cos_test_data): New variable.
48214         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48215         (cos_tonearest_test_data): New variable.
48216         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48217         (cos_towardzero_test_data): New variable.
48218         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48219         (cos_downward_test_data): New variable.
48220         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48221         (cos_upward_test_data): New variable.
48222         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48223         (cosh_test_data): New variable.
48224         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48225         (cosh_tonearest_test_data): New variable.
48226         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48227         (cosh_towardzero_test_data): New variable.
48228         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48229         (cosh_downward_test_data): New variable.
48230         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48231         (cosh_upward_test_data): New variable.
48232         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48233         (erf_test_data): New variable.
48234         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48235         (erfc_test_data): New variable.
48236         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48237         (exp_test_data): New variable.
48238         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48239         (exp_tonearest_test_data): New variable.
48240         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48241         (exp_towardzero_test_data): New variable.
48242         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48243         (exp_downward_test_data): New variable.
48244         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48245         (exp_upward_test_data): New variable.
48246         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48247         (exp10_test_data): New variable.
48248         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48249         (exp2_test_data): New variable.
48250         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48251         (expm1_test_data): New variable.
48252         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48253         (fabs_test_data): New variable.
48254         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48255         (floor_test_data): New variable.
48256         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48257         (j0_test_data): New variable.
48258         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48259         (j1_test_data): New variable.
48260         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48261         (log_test_data): New variable.
48262         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48263         (log10_test_data): New variable.
48264         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48265         (log1p_test_data): New variable.
48266         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48267         (log2_test_data): New variable.
48268         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48269         (logb_test_data): New variable.
48270         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48271         (logb_downward_test_data): New variable.
48272         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48273         (nearbyint_test_data): New variable.
48274         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48275         (rint_test_data): New variable.
48276         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48277         (rint_tonearest_test_data): New variable.
48278         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48279         (rint_towardzero_test_data): New variable.
48280         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48281         (rint_downward_test_data): New variable.
48282         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48283         (rint_upward_test_data): New variable.
48284         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48285         (round_test_data): New variable.
48286         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48287         (sin_test_data): New variable.
48288         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48289         (sin_tonearest_test_data): New variable.
48290         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48291         (sin_towardzero_test_data): New variable.
48292         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48293         (sin_downward_test_data): New variable.
48294         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48295         (sin_upward_test_data): New variable.
48296         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48297         (sinh_test_data): New variable.
48298         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48299         (sinh_tonearest_test_data): New variable.
48300         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48301         (sinh_towardzero_test_data): New variable.
48302         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48303         (sinh_downward_test_data): New variable.
48304         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48305         (sinh_upward_test_data): New variable.
48306         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48307         (sqrt_test_data): New variable.
48308         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48309         (tan_test_data): New variable.
48310         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48311         (tan_tonearest_test_data): New variable.
48312         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48313         (tan_towardzero_test_data): New variable.
48314         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48315         (tan_downward_test_data): New variable.
48316         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48317         (tan_upward_test_data): New variable.
48318         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48319         (tanh_test_data): New variable.
48320         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48321         (tgamma_test_data): New variable.
48322         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48323         (trunc_test_data): New variable.
48324         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48325         (y0_test_data): New variable.
48326         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48327         (y1_test_data): New variable.
48328         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48329         (significand_test_data): New variable.
48330         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48332 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48334         [BZ #12387]
48335         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48337 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48339         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48341 2013-05-10  Andreas Jaeger  <aj@suse.de>
48343         [BZ #15448]
48344         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48345         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48347 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48349         * math/gen-libm-test.pl (adjust_arg): New function.
48350         (special_functions): Handle generating output in both functions
48351         and arrays.
48352         (parse_args): Likewise.
48353         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48354         $in_func argument to parse_args.
48355         * math/libm-test.inc (struct test_f_f_data): New type.
48356         (IF_ROUND_INIT_): New macro.
48357         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48358         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48359         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48360         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48361         (ROUND_RESTORE_): Likewise.
48362         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48363         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48364         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48365         (ROUND_RESTORE_FE_UPWARD): Likewise.
48366         (RUN_TEST_LOOP_f_f): New macro.
48367         (acos_test_data): New variable.
48368         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48369         (acos_tonearest_test_data): New variable.
48370         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48372 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48374         * benchtests/bench-skeleton.c (startup): Fix coding style.
48376 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48378         [BZ #6809]
48379         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48380         negative infinity argument.
48381         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48382         negative infinity argument.
48383         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48384         negative infinity argument.
48385         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48386         domain errors.
48388 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48390         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48391         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48392         * iconv/iconv_prog.c (main): Likewise.
48393         * locale/programs/charmap-dir.c (charmap_readdir)
48394         (fopen_uncompressed): Likewise.
48395         * locale/programs/locfile.c (siblings_uncached)
48396         (write_locale_data): Use lstat64 instead of lstat.
48397         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48398         stat.
48400 2013-05-10  Andreas Jaeger  <aj@suse.de>
48402         [BZ #15395]
48403         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48404         localization.
48405         Include <locale.h>.
48407 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48409         * elf/dl-close.c (_dl_close_worker): Add comments.
48411 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48413         [BZ #15359]
48414         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48415         high part of pi/2.
48416         (__ieee754_rem_pio2l): Update comments.
48418         [BZ #15429]
48419         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48420         high part of pi/2.
48421         (__ieee754_rem_pio2l): Update comments.
48423         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48424         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48426         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48427         M_PI_4l.
48429         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48430         (M_PI_34_LOG10El): Likewise.
48431         (M_PI2_LOG10El): Likewise.
48432         (M_PI4_LOG10El): Likewise.
48433         (M_PI_LOG10El): Likewise.
48435 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48439 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48441         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48442         (MINUS_ZERO_INIT): Likewise.
48443         (PLUS_INFTY_INIT): Likewise.
48444         (MINUS_INFTY_INIT): Likewise.
48445         (QNAN_VALUE_INIT): Likewise.
48446         (MAX_VALUE_INIT): Likewise.
48447         (MIN_VALUE_INIT): Likewise.
48448         (MIN_SUBNORM_VALUE_INIT): Likewise.
48449         (plus_zero): Initialize with PLUS_ZERO_INIT.
48450         (minus_zero): Initialize with MINUS_ZERO_INIT.
48451         (plus_infty): Initialize with PLUS_INFTY_INIT.
48452         (minus_infty): Initialize with MINUS_INFTY_INIT.
48453         (qnan_value): Initialize with QNAN_VALUE_INIT.
48454         (max_value): Initialize with MAX_VALUE_INIT.
48455         (min_value): Initialize with MIN_VALUE_INIT.
48456         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48458         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48459         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48460         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48461         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48463         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48464         (RUN_TEST_2_f): Likewise.
48465         (RUN_TEST_ff_f): Likewise.
48466         (RUN_TEST_fi_f): Likewise.
48467         (RUN_TEST_fl_f): Likewise.
48468         (RUN_TEST_fff_f): Likewise.
48469         (RUN_TEST_c_f): Likewise.
48470         (RUN_TEST_f_f1): Likewise.
48471         (RUN_TEST_fF_f1): Likewise.
48472         (RUN_TEST_fI_f1): Likewise.
48473         (RUN_TEST_ffI_f1): Likewise.
48474         (RUN_TEST_c_c): Likewise.
48475         (RUN_TEST_cc_c): Likewise.
48476         (RUN_TEST_f_i): Likewise.
48477         (RUN_TEST_f_i_tg): Likewise.
48478         (RUN_TEST_ff_i_tg): Likewise.
48479         (RUN_TEST_f_b): Likewise.
48480         (RUN_TEST_f_b_tg): Likewise.
48481         (RUN_TEST_f_l): Likewise.
48482         (RUN_TEST_f_L): Likewise.
48483         (RUN_TEST_sincos): Likewise.
48484         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48485         whether to show exceptions.  Do not include ");\n" in return
48486         value.
48487         (special_functions): Output call to RUN_TEST_sincos instead of
48488         check_float calls.  Update calls to new_test.
48489         (parse_args): Output call to single RUN_TEST_* macro instead of
48490         check_* calls and other assignments.  Update calls to new_test.
48492         [BZ #2546]
48493         [BZ #2560]
48494         [BZ #5159]
48495         [BZ #15426]
48496         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48497         input to result for tgamma overflow.
48498         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48499         (gamma_coeff): New variable.
48500         (NCOEFF): New macro.
48501         (gamma_positive): New function.
48502         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48503         underflow here.  Use gamma_positive instead of exp (lgamma) for
48504         other arguments.
48505         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48506         (gamma_coeff): New variable.
48507         (NCOEFF): New macro.
48508         (gammaf_positive): New function.
48509         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48510         underflow here.  Use gamma_positive instead of exp (lgamma) for
48511         other arguments.
48512         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48513         (gamma_coeff): New variable.
48514         (NCOEFF): New macro.
48515         (gammal_positive): New function.
48516         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48517         underflow here.  Use gamma_positive instead of exp (lgamma) for
48518         other arguments.
48519         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48520         (gamma_coeff): New variable.
48521         (NCOEFF): New macro.
48522         (gammal_positive): New function.
48523         (__ieee754_gammal_r): Handle positive infinity, overflow and
48524         underflow here.  Handle NaN the same as positive infinity.  Remove
48525         check x < 0xffffffff for negative integers.  Use gamma_positive
48526         instead of exp (lgamma) for other arguments.
48527         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48528         (gamma_coeff): New variable.
48529         (NCOEFF): New macro.
48530         (gammal_positive): New function.
48531         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48532         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48536         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48537         * sysdeps/generic/math_private.h (__gamma_productf): New
48538         prototype.
48539         (__gamma_product): Likewise.
48540         (__gamma_productl): Likewise.
48541         * math/Makefile (libm-calls): Add gamma_product.
48542         * math/libm-test.inc (tgamma_test): Add more tests.
48543         * sysdeps/i386/fpu/libm-test-ulps: Update.
48544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48546 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48548         * benchtests/bench-skeleton.c (main): Preheat CPU.
48550 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48552         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48554 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48556         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48557         and _dl_skip_args_internal.
48559 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48561         * manual/message.texi (Message Translation): Talk about users.
48562         Message to key mapping impacts design.
48564 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48566         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48568         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48570         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48571         * sysdeps/wordsize-64/glob64.c: ... here.
48573         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48574         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48575         New macros.
48577         * debug/getlogin_r_chk.c: Moved to ...
48578         * login/getlogin_r_chk.c: ... here.
48579         * debug/Makefile (routines): Move getlogin_r_chk to ...
48580         * login/Makefile (routines): ... here.
48581         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48582         * login/Versions (libc: GLIBC_2.4): ... here.
48584         * io/poll.c (__poll): Renamed from poll.
48585         Add libc_hidden_def.
48586         (poll): Define as weak alias.
48588         * debug/ptsname_r_chk.c: Moved to ...
48589         * login/ptsname_r_chk.c: ... here.
48590         * debug/Makefile (routines): Move ptsname_r_chk to ...
48591         * login/Makefile (routines): ... here.
48592         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48593         * login/Versions (libc: GLIBC_2.4): ... here.
48595         * posix/getlogin.c: Moved to ...
48596         * login/getlogin.c: ... here.
48597         * posix/getlogin_r.c: Moved to ...
48598         * login/getlogin_r.c: ... here.
48599         * posix/getlogin_r.c: Moved to ...
48600         * login/getlogin_r.c: ... here.
48601         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48602         * login/Makefile (routines): ... here.
48603         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48604         * login/Versions (libc: GLIBC_2.0): ... here.
48606         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48607         (setrlimit): Define as weak alias.
48609         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48610         Call __ names for open, ftruncate, and close.
48611         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48612         (truncate): Define as weak alias.
48614 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48616         * math/gen-libm-test.pl (parse_args): Initialize x before each
48617         test of frexp, modf and remquo.
48619         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48620         test signgam value.
48622 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48624         [BZ #15418]
48625         [BZ #15419]
48626         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48627         internal tests.
48628         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48630 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48632         * elf/dl-writev.h: New file.
48633         * elf/dl-misc.c: Include it.
48634         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48635         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48637 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48639         * math/libm-test.inc (noXFails): Remove variable.
48640         (noXPasses): Likewise.
48641         (BUILD_COMPLEX_INT): Remove macro.
48642         (print_screen): Remove xfail argument.
48643         (print_screen_max_error): Likewise.
48644         (update_stats): Likewise.
48645         (print_max_error): Likewise.  Update calls to other affected
48646         functions.
48647         (print_complex_max_error): Likewise.
48648         (test_single_exception): Update calls to print_screen.
48649         (test_single_errno): Likewise.
48650         (check_float_internal): Remove xfail argument.  Update calls to
48651         other affected functions.
48652         (check_float): Likewise.
48653         (check_complex): Likewise.
48654         (check_int): Likewise.
48655         (check_long): Likewise.
48656         (check_bool): Likewise.
48657         (check_longlong): Likewise.
48658         (main): Don't print noXFails and noXPasses.
48659         * math/gen-libm-test.pl (top level): Don't mention expected
48660         failure handling in comment.
48661         (new_test): Don't handle expected failures.
48662         (parse_args): Don't mention expected failure handling in comment.
48663         (generate_testfile): Don't handle expected failures.
48664         (parse_ulps): Likewise.
48665         (print_ulps_file): Likewise.
48666         (get_failure): Remove function.
48667         (output_test): Don't handle expected failures.
48668         * make/README.libm-test: Don't mention expected failure handling.
48670         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48671         (minus_zero): Likewise.
48672         (plus_infty): Likewise.
48673         (minus_infty): Likewise.
48674         (qnan_value): Likewise.
48675         (max_value): Likewise.
48676         (min_value): Likewise.
48677         (min_subnorm_value): Likewise.
48678         (initialize): Do not initialize those variables dynamically.
48680 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48682         * io/open.c (__open_2): Moved to ...
48683         * io/open_2.c: ... this new file.
48684         * io/open64.c (__open64_2): Moved to ...
48685         * io/open64_2.c: ... this new file.
48686         * io/openat.c (__openat_2): Moved to ...
48687         * io/openat_2.c: ... this new file.
48688         * io/openat64.c (__openat64_2): Moved to ...
48689         * io/openat64_2.c: ... this new file.
48690         * io/Makefile (routines): Add them.
48691         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48692         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48693         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48694         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48695         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48696         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48697         (__openat64): Add hidden_ver.
48698         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48699         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48701         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48702         Separately conditionalize setting of GLRO(dl_sysinfo) so
48703         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48704         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48706 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48708         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48710         definition.
48711         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48712         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48713         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48714         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48715         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48717 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48719         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48720         test signgam value.
48722         * math/libm-test.inc (hypot_test): Do not use
48723         IGNORE_ZERO_INF_SIGN.
48725 2013-05-03  Andreas Jaeger  <aj@suse.de>
48727         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48728         Linux 3.9.
48729         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48730         (PF_MAX): Adjust for VSOCK change.
48732 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48736 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48738         [BZ #15264]
48739         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48740         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48741         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48743 2013-05-02  David S. Miller  <davem@davemloft.net>
48745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48747 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48749         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48751 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48753         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48755 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48757         [BZ #14952]
48758         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48759         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48760         Use __attribute__ ((__gnu_inline__)).
48761         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48762         Don't use __attribute__ ((__gnu_inline__)).
48764 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48766         [BZ #15423]
48767         * math/s_catan.c (__catan): Handle small real or imaginary part of
48768         input specially to avoid spurious underflow.
48769         * math/s_catanf.c (__catanf): Likewise.
48770         * math/s_catanh.c (__catanh): Likewise.
48771         * math/s_catanhf.c (__catanhf): Likewise.
48772         * math/s_catanhl.c (__catanhl): Likewise.
48773         * math/s_catanl.c (__catanl): Likewise.
48774         * math/libm-test.inc (catan_test): Add more tests.
48775         (catanh_test): Likewise.
48776         * sysdeps/i386/fpu/libm-test-ulps: Update.
48777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48779 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48783 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48785         [BZ #15416]
48786         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48787         accurately for denominator in atan2.
48788         * math/s_catanf.c (__catanf): Likewise.
48789         * math/s_catanh.c (__catanh): Likewise.
48790         * math/s_catanhf.c (__catanhf): Likewise.
48791         * math/s_catanhl.c (__catanhl): Likewise.
48792         * math/s_catanl.c (__catanl): Likewise.
48793         * math/libm-test.inc (catan_test): Add more tests.
48794         (catanh_test): Likewise.
48795         * sysdeps/i386/fpu/libm-test-ulps: Update.
48796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48798 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48800         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48802         * benchtests/Makefile (bench): Remove slow benchmarks.
48803         * benchtests/atan-inputs: Add slow benchmark inputs.
48804         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48805         (BENCH_FUNC): Accept variant offset.
48806         (VARIANT): Define.
48807         * benchtests/bench-skeleton.c (main): Run benchmark for each
48808         variant.
48809         * benchtests/cos-inputs: Add slow benchmark inputs.
48810         * benchtests/exp-inputs: Likewise.
48811         * benchtests/pow-inputs: Likewise.
48812         * benchtests/sin-inputs: Likewise.
48813         * benchtests/slowatan-inputs: Remove.
48814         * benchtests/slowatan.c: Remove.
48815         * benchtests/slowcos-inputs: Remove.
48816         * benchtests/slowcos.c: Remove.
48817         * benchtests/slowexp-inputs: Remove.
48818         * benchtests/slowexp.c: Remove.
48819         * benchtests/slowpow-inputs: Remove.
48820         * benchtests/slowpow.c: Remove.
48821         * benchtests/slowsin-inputs: Remove.
48822         * benchtests/slowsin.c: Remove.
48823         * benchtests/slowtan-inputs: Remove.
48824         * benchtests/slowtan.c: Remove.
48825         * benchtests/tan-inputs: Add slow benchmark inputs.
48826         * scripts/bench.pl: Parse comments and directives.
48828         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48829         in CPPFLAGS.
48830         ($(objpfx)bench-%.c): Remove *-ITER.
48831         * benchtests/bench-modf.c: Remove definition of ITER.
48832         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48833         (main): Loop for DURATION seconds instead of fixed number of
48834         iterations.
48835         * scripts/bench.pl: Don't expect iterations in parameters.
48837 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48839         * io/fchdir.c (__fchdir): Renamed from fchdir.
48840         (fchdir): Define as weak alias.
48842 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48844         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48845         (ERRNO_EDOM): Likewise.
48846         (ERRNO_ERANGE): Likewise.
48847         (noErrnoTests): New variable.
48848         (init_max_error): Set errno to 0.
48849         (test_single_errno): New function.
48850         (test_errno): Likewise.
48851         (check_float_internal): Call test_errno.  Set errno to 0.
48852         (check_complex): Refer to errno tests in comment.
48853         (check_int): Call test_errno.  Set errno to 0.
48854         (check_long): Likewise.
48855         (check_bool): Likewise.
48856         (check_longlong): Likewise.
48857         (cos_test): Use ERRNO_* flags for errno tests instead of
48858         check_int.
48859         (expm1_test): Likewise.
48860         (fmod_test): Likewise.
48861         (ilogb_test): Likewise.
48862         (lgamma_test): Likewise.
48863         (pow_test): Likewise.
48864         (remainder_test): Likewise.
48865         (sin_test): Likewise.
48866         (tan_test): Likewise.
48867         (yn_test): Likewise.
48868         (initialize): Set errno to 0.
48869         (main): Print number of errno tests.
48870         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48872 2013-04-29  Andreas Jaeger  <aj@suse.de>
48874         [BZ #15084]
48875         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48876         and RES_USEVC.
48878         [BZ #15085]
48879         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48880         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48881         unimplemented.
48883         [BZ #15380]
48884         * stdlib/random.c (__initstate): Return NULL if
48885         __initstate fails.
48887         [BZ #15086]
48888         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48889         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48890         RES_SNGLKUPREOP.
48892 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48896 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48898         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48899         of individual tests.
48900         (casin_test): Likewise.
48901         (casinh_test): Likewise.
48903 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48905         [BZ #15409]
48906         * math/s_catan.c (__catan): Handle arguments with large real or
48907         imaginary part separately without squaring.
48908         * math/s_catanf.c (__catanf): Likewise.
48909         * math/s_catanh.c (__catanh): Likewise.
48910         * math/s_catanhf.c (__catanhf): Likewise.
48911         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48912         and redefine.
48913         (__catanhl): Handle arguments with large real or imaginary part
48914         separately without squaring.
48915         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48916         and redefine.
48917         (__catanl): Handle arguments with large real or imaginary part
48918         separately without squaring.
48919         * math/libm-test.inc (catan_test): Add more tests.
48920         (catanh_test): Likewise.
48921         * sysdeps/i386/fpu/libm-test-ulps: Update.
48922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48924 2013-04-27  Andreas Jaeger  <aj@suse.de>
48926         [BZ #15007]
48927         * stdlib/stdlib.h: Update guards for qecvt.
48928         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48929         <stdlib.h>.
48931 2013-04-27  Allan McRae  <allan@archlinux.org>
48933         * sysdeps/i386/fpu/libm-test-ulps: Update.
48935 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48937         [BZ #15406]
48938         * math/s_catan.c: Include <float.h>.
48939         (__catan): Ensure underflow exception occurs for underflowed
48940         result.
48941         * math/s_catanf.c: Include <float.h>.
48942         (__catanf): Ensure underflow exception occurs for underflowed
48943         result.
48944         * math/s_catanh.c: Include <float.h>.
48945         (__catanh): Ensure underflow exception occurs for underflowed
48946         result.
48947         * math/s_catanhf.c: Include <float.h>.
48948         (__catanhf): Ensure underflow exception occurs for underflowed
48949         result.
48950         * math/s_catanhl.c: Include <float.h>.
48951         (__catanhl): Ensure underflow exception occurs for underflowed
48952         result.
48953         * math/s_catanl.c: Include <float.h>.
48954         (__catanl): Ensure underflow exception occurs for underflowed
48955         result.
48956         * math/libm-test.inc (catan_test): Add more tests.
48957         (catanh_test): Likewise.
48959         [BZ #15405]
48960         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48961         underflowed result.
48962         * math/s_ccoshf.c (__ccoshf): Likewise.
48963         * math/s_ccoshl.c (__ccoshl): Likewise.
48964         * math/s_csin.c (__csin): Likewise.
48965         * math/s_csinf.c (__csinf): Likewise.
48966         * math/s_csinh.c (__csinh): Likewise.
48967         * math/s_csinhf.c (__csinhf): Likewise.
48968         * math/s_csinhl.c (__csinhl): Likewise.
48969         * math/s_csinl.c (__csinl): Likewise.
48970         * math/libm-test.inc (ccos_test): Add more tests.
48971         (ccosh_test): Likewise.
48972         (csin_test): Likewise.
48973         (csinh_test): Likewise.
48975 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48977         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48978         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48979         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48980         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48981         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48982         powerpc/power5+/fpu folders.
48983         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48986 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48990 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48992         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48993         additions to variable.
48994         [$(config-machine) = x86_64] (modules-names): Likewise.
48995         ($(objpfx)tst-audit3): Remove dependency.
48996         ($(objpfx)tst-audit3.out): Likewise.
48997         ($(objpfx)tst-audit4): Likewise.
48998         ($(objpfx)tst-audit4.out): Likewise.
48999         ($(objpfx)tst-audit5): Likewise.
49000         ($(objpfx)tst-audit5.out): Likewise.
49001         ($(objpfx)tst-audit6): Likewise.
49002         ($(objpfx)tst-audit6.out): Likewise.
49003         ($(objpfx)tst-audit7): Likewise.
49004         ($(objpfx)tst-audit7.out): Likewise.
49005         (tst-audit3-ENV): Remove variable.
49006         (tst-audit4-ENV): Likewise.
49007         (tst-audit5-ENV): Likewise.
49008         (tst-audit6-ENV): Likewise.
49009         (tst-audit7-ENV): Likewise.
49010         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49011         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49012         addition to variable.
49013         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49014         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49015         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49016         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49017         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49018         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49019         tst-audit3, tst-audit4 and tst-audit5.
49020         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49021         tst-audit6 and tst-audit7.
49022         [$(subdir) = elf] (modules-names): Add audit modules for those
49023         tests.
49024         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49025         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49026         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49027         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49028         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49029         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49030         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49031         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49032         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49033         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49034         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49035         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49036         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49037         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49038         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49039         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49040         Likewise.
49041         [$(subdir) = elf && $(config-cflags-avx) = yes]
49042         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49043         [$(subdir) = elf && $(config-cflags-avx) = yes]
49044         (CFLAGS-tst-auditmod4a.c): Likewise.
49045         [$(subdir) = elf && $(config-cflags-avx) = yes]
49046         (CFLAGS-tst-auditmod4b.c): Likewise.
49047         [$(subdir) = elf && $(config-cflags-avx) = yes]
49048         (CFLAGS-tst-auditmod6b.c): Likewise.
49049         [$(subdir) = elf && $(config-cflags-avx) = yes]
49050         (CFLAGS-tst-auditmod6c.c): Likewise.
49051         [$(subdir) = elf && $(config-cflags-avx) = yes]
49052         (CFLAGS-tst-auditmod7b.c): Likewise.
49053         * elf/tst-audit3.c: Move to ...
49054         * sysdeps/x86_64/tst-audit3.c: ... here.
49055         * elf/tst-audit4.c: Move to ...
49056         * sysdeps/x86_64/tst-audit4.c: ... here.
49057         * elf/tst-audit5.c: Move to ...
49058         * sysdeps/x86_64/tst-audit5.c: ... here.
49059         * elf/tst-audit6.c: Move to ...
49060         * sysdeps/x86_64/tst-audit6.c: ... here.
49061         * elf/tst-audit7.c: Move to ...
49062         * sysdeps/x86_64/tst-audit7.c: ... here.
49063         * elf/tst-auditmod3a.c: Move to ...
49064         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49065         * elf/tst-auditmod3b.c: Move to ...
49066         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49067         * elf/tst-auditmod4a.c: Move to ...
49068         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49069         * elf/tst-auditmod4b.c: Move to ...
49070         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49071         * elf/tst-auditmod5a.c: Move to ...
49072         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49073         * elf/tst-auditmod5b.c: Move to ...
49074         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49075         * elf/tst-auditmod6a.c: Move to ...
49076         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49077         * elf/tst-auditmod6b.c: Move to ...
49078         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49079         * elf/tst-auditmod6c.c: Move to ...
49080         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49081         * elf/tst-auditmod7a.c: Move to ...
49082         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49083         * elf/tst-auditmod7b.c: Move to ...
49084         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49086 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49088         [BZ #15366]
49089         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49090         define unconditionally.
49091         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49092         define unconditionally.
49093         (INT8_C, INT16_C, etc.): Likewise.
49095 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49097         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49098         __ehdr_start with hidden visibility.
49100         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49102 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49104         * math/libm-test.inc (cos_test): Use accurate hex constants.
49105         (sincost_test): Likewise.
49107 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49109         * math/libm-test.inc (catan_test): Add more tests.
49110         (catanh_test): Likewise.
49112         * math/s_catanf.c (__catanf): Use suffixed floating-point
49113         constants.
49114         * math/s_catanhf.c (__catanhf): Likewise.
49115         * math/s_catanhl.c (__catanhl): Likewise.
49116         * math/s_catanl.c (__catanl): Likewise.
49118         [BZ #15394]
49119         * math/s_catan.c (__catan): Calculate imaginary part of result
49120         with log1p not log unless computing log of number close to 0.
49121         * math/s_catanf.c (__catanf): Likewise.
49122         * math/s_catanl.c (__catanl): Likewise.
49123         * math/s_catanh.c (__catanh): Calculate real part of result with
49124         log1p not log unless computing log of number close to 0.
49125         * math/s_catanhf.c (__catanhf): Likewise.
49126         * math/s_catanhl.c (__catanhl): Likewise.
49127         * math/libm-test.inc (catan_test): Add more tests.
49128         (catanh_test): Likewise.
49129         * sysdeps/i386/fpu/libm-test-ulps: Update.
49130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49132 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49134         * benchtests/Makefile: Mention files in which fast and slow
49135         paths of math functions are implemented.
49137 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49139         * sysdeps/posix/timespec_get.c: New file.
49141 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49143         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49144         POWER.
49145         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49146         for POWER.
49147         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49148         powerpc/power5/fpu folders.
49149         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49150         * benchtests/Makefile: Add modf testcase.
49151         * benchtests/bench-modf.c: New file: Benchmark test for mo
49153 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49155         [BZ #14888]
49156         * time/Makefile (tests): Add tst-strptime-whitespace.
49157         * time/strptime_l.c (get_number): Use ISSPACE.
49158         (__strptime_internal): Likewise.
49159         * time/tst-strptime-whitespace.c: New test case.
49161 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49163         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49164         member.
49165         (_nss_files_init): Set it here.
49167 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49169         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49170         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49171         unsigned.
49173 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49175         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49177 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49179         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49180         size just once.
49182 2013-04-21  David S. Miller  <davem@davemloft.net>
49184         * po/ru.po: Update Russion translation from translation project.
49186 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49188         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49189         and setfsgid.
49191 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49193         * configure.in: Remove i386 configure warning. Remove i386 case.
49194         * configure: Regenerate.
49195         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49196         Add example to error message.
49197         * sysdeps/i386/configure: Regenerate.
49199 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49201         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49202         slowtan.
49203         * benchtests/cos-inputs: New file.
49204         * benchtests/slowcos-inputs: New file.
49205         * benchtests/slowcos.c: New file.
49206         * benchtests/slowtan-inputs: New file.
49207         * benchtests/slowtan.c: New file.
49208         * benchtests/tan-inputs: New file.
49210 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49212         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49213         considered kosher.
49215 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49217         * benchtests/Makefile: Include cppflags-iterator.mk to add
49218         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49220         * Makefile.in (bench-clean): New target.
49221         * benchtests/Makefile (bench-clean): Likewise.
49223 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49225         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49227 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49229         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49231 2013-04-15  Andreas Schwab  <schwab@suse.de>
49233         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49235         * nscd/pwdcache.c (cache_addpw): Likewise.
49236         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49237         more than recsize.
49239 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49241         * benchtests/Makefile (bench): Write all output to
49242         bench-out.tmp together.
49244 2013-04-15  Andreas Schwab  <schwab@suse.de>
49246         * nscd/nscd.c (main): Don't fork again after closing files.
49248 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49250         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49252         * benchtests/Rules (bench-deps): Collect dependencies into a
49253         single variable.  Add Makefile to dependencies.
49254         ($(objpfx)bench-%.c): Depend on bench-deps.
49256 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49257             Xavier Roche  <roche+kml2@exalead.com>
49259         [BZ #15361]
49260         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49261         just that it's a file descriptor.
49262         * manual/llio.texi (Synchronizing AIO Operations): Update description
49263         for EBADF error from aio_fsync.
49265 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49267         * Rules (bench): Move target definition...
49268         * benchtests/Makefile: ... here.
49270 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49272         * math/libm-test.inc (cos_test): Fix PI/2 test.
49273         (sincos_test): Likewise.
49274         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49275         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49277 2013-04-11  Andreas Schwab  <schwab@suse.de>
49279         [BZ #13988]
49280         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49281         accept exponent character only when digits were seen.
49282         * stdio-common/Makefile (tests): Add bug26.
49283         * stdio-common/bug26.c: New file.
49285         [BZ #14293]
49286         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49287         non-freeable.
49289 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49291         * Makeconfig (rtld-prefix): Define built linker prefix.
49292         * Rules (run-bench): Use it.
49293         * math/Makefile (run-regen-ulps): Likewise.
49295         * Rules (bench): Remove eval.
49297 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49298             Roland McGrath  <roland@hack.frob.com>
49299             Ondrej Bilka  <neleai@seznam.cz>
49301         [BZ #15346]
49302         * time/getdate.c: Include ctype.h and alloca.h.
49303         (__getdate_r): Trim leading and trailing spaces of input.
49304         * time/tst-getdate.c (tests): Add tests with leading and
49305         trailing spaces.
49307 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49309         [BZ #14280]
49310         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49311         when computing value.
49313 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49315         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49316         Use testrun.sh to run libm tests.
49318         [BZ #15309]
49319         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49321 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49323         [BZ #15264]
49324         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49326 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49328         * Makefile.in (regen-ulps): New target.
49329         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49330         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49331         [ifneq (no,$(PERL)] (regen-ulps): New target.
49332         [ifeq (no,$(PERL)] (regen-ulps): New target.
49333         * math/libm-test.inc (ulps_file_name): Define.
49334         (output_dir): New variable.
49335         (options): Add "output-dir" option.
49336         (parse_opt): Handle 'o' case.
49337         (main): If output_dir is non-NULL use it as a prefix
49338         otherwise use "".
49339         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49341 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49343         [BZ #10060, #10062]
49344         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49345         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49346         fail configure if __sync_val_compare_and_swap is not inlined.
49347         * sysdeps/i386/configure: Regenerate.
49348         * configure.in: Build for i686 when configured for i386.
49349         * configure: Regenerate.
49350         * README: Remove i386 reference.
49352 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49354         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49355         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49357 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49359         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49360         (lmsnanval): New variables.
49361         (F): Add conversion tests.
49362         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49363         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49365         * stdio-common/tstdiomisc.c (F): Properly collect individual
49366         tests' results.
49368         [BZ #14686, #15336]
49369         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49370         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49371         Instead, use input NaN values or generate a qNaN by arithmetic
49372         operation.  Also fix bugs to comply with the standard.
49373         * math/libm-test.inc (remainder_test): Add more tests.
49375         [BZ #15335, #15342]
49376         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49378         input NaN values or generate a qNaN by arithmetic operation.
49380         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49381         unreachable code.
49383         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49384         definitions.
49386 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49388         [BZ #14478]
49389         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49390         underflowed result.
49391         * math/s_cexpf.c (__cexpf): Likewise.
49392         * math/s_cexpl.c (__cexpl): Likewise.
49393         * math/libm-test.inc (cexp_test): Add more tests.
49395 2013-04-03  Andreas Schwab  <schwab@suse.de>
49397         [BZ #15330]
49398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49399         order arrays from heap if bigger than alloca cutoff.
49401 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49403         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49404         (SNAN_TESTS_double): Refer to GCC PR56831.
49405         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49406         GCC PR56828.
49408 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49410         * Rules (bench): Move bench.out after the run is complete.
49412         * Rules (bench): Echo currently running benchmark.
49414         * benchtests/Makefile (bench): Add atan and slowatan.
49415         * benchtests/atan-inputs: New file.
49416         * benchtests/slowatan-inputs: New file.
49417         * benchtests/slowatan.c: New file.
49419         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49420         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49421         its value.
49423         [BZ #15305]
49424         * sysdeps/unix/sysv/linux/kernel-features.h
49425         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49426         __ASSUME_XFS_RESTRICTED_CHOWN.
49427         * sysdeps/unix/sysv/linux/pathconf.c
49428         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49429         Save and restore errno.
49431 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49433         [BZ #15327]
49434         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49435         arguments using __kernel_casinh.
49436         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49437         arguments using __kernel_casinhf.
49438         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49439         arguments using __kernel_casinhl.
49440         * math/libm-test.inc (cacosh_test): Add more tests.
49441         * sysdeps/i386/fpu/libm-test-ulps: Update.
49442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49444 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49446         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49449         * bench/Makefile (bench): Add sin and slowsin.
49450         * benchtests/sin-inputs: New file.
49451         * benchtests/slowsin-inputs: New file.
49452         * benchtests/slowsin.c: New file.
49454         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49455         (bench): Add slowexp and slowpow.
49456         (exp-ITER): Increase iterations.
49457         (pow-ITER): Likewise.
49458         * benchtests/exp-inputs: Change input.
49459         * benchtests/pow-inputs: Likewise.
49460         * benchtests/slowexp-inputs: New file.
49461         * benchtests/slowexp.c: New file.
49462         * benchtests/slowpow-inputs: New file.
49463         * benchtests/slowpow.c: New file.
49465 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49467         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49468         instructions.
49469         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49470         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49471         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49472         * benchtests/Makefile: Add rint benchtest.
49473         * benchtests/rint-inputs: Input for rint benchtest.
49475 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49477         * Versions.def (libm): Add GLIBC_2.18.
49478         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49479         hidden libm prototypes.
49480         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49481         * math/Makefile (libm-calls): Add s_issignaling.
49482         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49483         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49484         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49485         declaration.
49486         * math/math.h [__USE_GNU] (issignaling): New macro.
49487         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49488         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49489         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49490         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49491         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49492         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49493         * manual/arith.texi (issignaling): New section.
49494         * manual/libm-err-tab.pl (@all_functions): Update comment.
49495         * math/gen-libm-test.pl (parse_args): Apply special handling for
49496         issignaling.
49497         * math/libm-test.inc (print_float, issignaling_test): New
49498         functions.
49499         (check_float_internal): Add issignaling checks.
49500         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49501         default definition.
49502         * sysdeps/powerpc/math-tests.h: New file.
49503         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49504         tests.
49505         * math/test-snan.c (TEST_FUNC): Likewise.
49507 2013-03-30  David S. Miller  <davem@davemloft.net>
49509         * po/de.po: Update from translation team.
49511 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49513         [BZ #10357]
49514         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49515         imaginary part less than 1.0 and real part less than 0.5
49516         specially.
49517         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49518         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49519         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49520         (cacos_test): Add more tests.
49521         (casin_test): Likewise.
49522         (casinh_test): Likewise.
49523         * sysdeps/i386/fpu/libm-test-ulps: Update.
49524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49526 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49528         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49529         ONE with its value.
49531         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49532         (__pow_mp): Replace ONE and MONE with their values.
49533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49534         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49535         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49536         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49537         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49538         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49540         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49542         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49543         (__pow_mp): Replace ZERO and MZERO with their values.
49544         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49545         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49546         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49548         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49549         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49550         (__sqr): Likewise.
49552         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49554         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49556 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49558         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49559         Declare with __attribute__ ((weak)).
49560         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49561         Call __call_tls_dtors only if it's not NULL.
49563 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49565         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49566         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49567         magic __ehdr_start linker symbol if it's defined.
49568         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49569         them up here if it was already done.
49571         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49572         (_dl_aux_init): Use const in cast when setting it.
49573         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49574         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49575         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49577         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49578         Declare them here.
49579         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49580         * csu/libc-tls.c: Nor here.
49581         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49583         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49584         (__libc_message): Never call vsyslog.
49586 2013-03-28  Alan Modra  <amodra@gmail.com>
49588         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49589         Define as empty.
49590         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49591         Likewise.
49593 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49595         [BZ #15214]
49596         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49597         underflow.
49598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49600 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49602         [BZ #15304]
49603         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49604         Don't add gid passed as argument.
49606         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49608 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49610         [BZ #15307]
49611         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49612         imaginary part between 1.0 and 1.5 and real part less than 0.5
49613         specially.
49614         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49615         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49616         * math/libm-test.inc (cacos_test): Add more tests.
49617         (casin_test): Likewise.
49618         (casinh_test): Likewise.
49619         * sysdeps/i386/fpu/libm-test-ulps: Update.
49620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49622 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49624         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49625         constants.
49626         (norm): Likewise.
49627         (denorm): Likewise.
49628         (__dbl_mp): Likewise.
49629         (add_magnitudes): Likewise.
49630         (sub_magnitudes): Likewise.
49631         (__add): Likewise.
49632         (__sub): Likewise.
49633         (__mul): Likewise.
49634         (__sqr): Likewise.
49635         (__inv): Likewise.
49636         (__dvd): Likewise.
49638         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49639         commented code.
49640         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49641         (__dubcos): Likewise.
49642         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49643         (__ieee754_acos): Likewise.
49644         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49645         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49646         (__exp1): Likewise.
49647         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49649         (log1): Likewise.
49650         (my_log2): Likewise.
49651         (checkint): Likewise.
49652         * sysdeps/ieee754/dbl-64/e_remainder.c
49653         (__ieee754_remainder): Likewise.
49654         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49656         (bsloww): Likewise.
49657         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49659         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49660         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49661         MANTISSA_STORE_T to store computations on mantissa.  Use
49662         macros for rounding and division.
49663         (denorm): Likewise.
49664         (__dbl_mp): Likewise.
49665         (add_magnitudes): Likewise.
49666         (sub_magnitudes): Likewise.
49667         (__mul): Likewise.
49668         (__sqr): Likewise.
49669         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49670         powers of two in terms of TWOPOW macro.
49671         (mp_no): Make type of mantissa as MANTISSA_T.
49672         [!RADIXI]: Define RADIXI.
49673         [!TWO52]: Define TWO52.
49674         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49676 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49678         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49679         llroundl symbol when building for PPC32.
49681 2013-03-24  Mark H Weaver  <mhw@netris.org>
49683         * manual/arith.texi (Normalization Functions): Fix prototypes for
49684         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49686 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49688         [BZ #13889]
49689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49690         high value to check if expl overflow.
49691         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49692         to check for underflow and overflow.
49693         * math/libm-test.inc: Add exp test.
49695 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49697         [BZ #11120]
49698         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49699         with NOT_IN_libc.
49701 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49703         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49704         symbol.
49706 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49708         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49709         wrap blocks consisting of several statements.
49711         * sysdeps/generic/math-tests.h: New file.
49712         * sysdeps/i386/fpu/math-tests.h: Likewise.
49713         * math/test-snan.c: Include it.
49714         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49716 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49718         [BZ #15285]
49719         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49720         (__ieee754_j0l): Do not improve calculations using cos of twice
49721         input for inputs above LDBL_MAX / 2.0L.
49722         (__ieee754_y0l): Likewise.
49723         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49724         (__ieee754_j1l): Do not improve calculations using cos of twice
49725         input for inputs above LDBL_MAX / 2.0L.
49726         (__ieee754_y1l): Likewise.
49727         * math/libm-test.inc (j0_test): Add another test.
49728         (j1_test): Likewise.
49729         (y0_test): Likewise.
49730         (y1_test): Likewise.
49731         * sysdeps/i386/fpu/libm-test-ulps: Update.
49733 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49735         * Rules ($(objpfx)bench-%.c): Include code from a C source
49736         file.
49738 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49740         [BZ #15287]
49741         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49742         imaginary part 1.0 and real part less than 0.5 specially.
49743         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49744         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49745         * math/libm-test.inc (cacos_test): Add more tests.
49746         (casin_test): Likewise.
49747         (casinh_test): Likewise.
49748         * sysdeps/i386/fpu/libm-test-ulps: Update.
49749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49751 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49753         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49754         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49756 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49758         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49759         * config.make.in (config-cflags-sse4): Remove variable.
49760         (config-cflags-avx): Likewise.
49761         (config-cflags-sse2avx): Likewise.
49762         (config-cflags-novzeroupper): Likewise.
49763         (config-asflags-i686): Likewise.
49764         (have-mfma4): Likewise.
49765         (have-as-vis3): Likewise.
49766         (MIG): Likewise.
49767         * configure.in (MIG): Do not AC_SUBST.
49768         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49769         (libc_cv_cc_sse4): Do not AC_SUBST.
49770         (libc_cv_cc_avx): Likewise.
49771         (libc_cv_cc_sse2avx): Likewise.
49772         (libc_cv_cc_novzeroupper): Likewise.
49773         (libc_cv_cc_fma4): Likewise.
49774         (libc_cv_as_i686): Likewise.
49775         (libc_cv_sparc_as_vis3): Likewise.
49776         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49777         LIBC_CONFIG_VAR.
49778         (config-asflags-i686): Likewise.
49779         (config-cflags-avx): Likewise.
49780         (config-cflags-sse2avx): Likewise.
49781         (have-mfma4): Likewise.
49782         (config-cflags-novzeroupper): Likewise.
49783         * sysdeps/mach/configure.in (MIG): Likewise.
49784         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49785         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49786         LIBC_CONFIG_VAR.
49787         (config-cflags-avx): Likewise.
49788         (config-cflags-sse2avx): Likewise.
49789         (have-mfma4): Likewise.
49790         (config-cflags-novzeroupper): Likewise.
49791         * configure: Regenerated.
49792         * sysdeps/i386/configure: Likewise.
49793         * sysdeps/mach/configure: Likewise.
49794         * sysdeps/sparc/configure: Likewise.
49795         * sysdeps/x86_64/configure: Likewise.
49797 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49799         [BZ #14812]
49800         * locale/programs/localedef.c (options): Put N_ translation marker
49801         on argument names, not just descriptions.
49803 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49805         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49807 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49809         [BZ #14176]
49810         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49812 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49814         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49815         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49816         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49817         [!BEFORE_ABORT] (before_abort): New function.
49818         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49819         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49820         (writev_for_fatal): New function.
49821         (WRITEV_FOR_FATAL): New macro; call that.
49822         (backtrace_and_maps): New function.
49823         (BEFORE_ABORT): New macro; call that.
49824         (struct str_list): Type removed.
49825         (__libc_message, __libc_fatal): Functions removed.
49826         Include <sysdeps/posix/libc_fatal.c> instead.
49828 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49830         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49831         constants.
49832         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49833         double constants.
49835 2013-03-19  Andreas Schwab  <schwab@suse.de>
49837         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49838         * sysdeps/gnu/configure: Regenerate.
49840         * configure.in: Substitute libc_cv_rtlddir.
49841         * configure: Regenerate.
49842         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49843         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49844         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49845         * elf/Makefile (install-others, CFLAGS-interp.c)
49846         (ldso_install, common-ldd-rewrite): Likewise.
49847         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49848         $(inst_slibdir)/$(rtld-installed-name).
49849         * scripts/rellns-sh: Add -p option.
49850         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49851         for source.
49853 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49855         * manual/nptl.texi: Renamed to ...
49856         * manual/threads.texi: ... this.
49857         * manual/Makefile (chapters): Update.
49859 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49861         [BZ #14812]
49862         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49863         on argument names, not just descriptions.
49864         * malloc/memusagestat.c (options): Likewise.
49865         * nss/getent.c (options): Likewise.
49867 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49869         [BZ #14812]
49870         * iconv/iconv_prog.c (options): Put N_ translation marker
49871         on argument names, not just descriptions.
49872         * iconv/iconvconfig.c (options): Likewise.
49874 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49876         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49877         implementation which is faster on all x86_64 architectures.
49878         Tested on AMD, Intel Nehalem, SNB, IVB.
49879         * sysdeps/x86_64/strnlen.S: Likewise.
49881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49882         Remove all multiarch strlen and strnlen versions.
49883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49884         Remove strlen and strnlen related parts.
49886         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49887         Inline strlen part.
49888         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49890         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49891         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49892         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49893         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49894         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49895         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49897 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49899         * manual/memory.texi (Malloc Tunable Parameters):
49900         Sort parameters alphabetically. Add comments for missing entries.
49902 2013-03-17  David S. Miller  <davem@davemloft.net>
49904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49906 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49908         [BZ #15283]
49909         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49910         for arguments at most half maximum finite value.
49911         * math/libm-test.inc (j0_test): Add more tests.
49912         (j1_test): Likewise.
49913         (y0_test): Likewise.
49914         (y1_test): Likewise.
49915         * sysdeps/i386/fpu/libm-test-ulps: Update.
49916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49918         [BZ #14155]
49919         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49920         1 / x and functions P and Q for arguments above 0x1p256L.
49921         (__ieee754_y0l): Likewise.
49922         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49923         (__ieee754_y1l): Likewise.
49924         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49925         (j1_test): Likewise.
49926         (y0_test): Likewise.
49927         (y1_test): Likewise.
49929 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49931         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49932         variable.
49934 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49936         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49937         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49938         zero since it's initialized to EXEC_PAGESIZE.
49940         * sysdeps/unix/sysv/linux/ldsodefs.h
49941         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49942         * sysdeps/generic/ldsodefs.h: ... here.
49944 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49946         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49948         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49949         math/test-snan.c.
49950         * math/test-snan.c: Renamed from
49951         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49952         * math/Makefile (tests): Add test-snan.
49953         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49954         test-powerpc-snan.
49956         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49957         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49958         functions.
49959         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49960         __builtin_nan family of functions.
49961         * math/libm-test.inc (initialize): Initialize qnan_value with
49962         __builtin_nan family of functions.
49963         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49964         Remove variables.
49965         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49966         Remove functions.
49967         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49968         storage class.  Initialize qNaN_var and sNaN_var with
49969         __builtin_nan and __builtin_nans families of functions,
49970         respectively.
49972         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49973         (sqrt_test): Remove duplicate test with qNaN input.
49974         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49975         (round_test, signbit_test, significand_test): Note missing +/-Inf
49976         as well as qNaN tests.
49978         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49979         qNaN_var.  Fix a few strings, too.
49980         * math/libm-test.inc (nan_value): Rename to qnan_value.
49981         * math/gen-libm-test.pl (%beautify): Adjust to that.
49982         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49983         * math/test-misc.c (main): Likewise.
49984         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49985         to __qnan_bytes, and __qnan_union, respectively.
49986         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49987         Likewise.
49988         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49989         and lqnanval, respectively.
49990         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49991         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49992         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49993         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49995         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49996         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49997         doubles.
49999         * math/test-misc.c (main): Fix copy'n'pastos.
50000         * misc/tst-efgcvt.c (special): Likewise.
50002         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50003         Remove declarations.
50005 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50007         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50008         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50009         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50010         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50012 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50014         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50015         macro to return vdso values correctly in IFUNC implementations.
50016         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50017         Optimization by using IFUNC.
50019 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020             Richard Henderson  <rth@redhat.com>
50021             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50023         * Makefile.in (bench): New target.
50024         * NEWS: Mention the benchmark framework.
50025         * Rules (bench): Likewise.
50026         (binaries-bench): Generate binaries for functions to
50027         benchmark.
50028         * benchtests/Makefile: New makefile for benchmark tests.
50029         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50030         programs.
50031         * benchtests/exp-inputs: New input file for EXP function.
50032         * benchtests/pow-inputs: New input file for POW function.
50033         * scripts/bench.pl: New script to generate source files for
50034         benchmark programs.
50036 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50038         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50039         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50040         computations on mantissa.  Use macros for rounding and
50041         division.
50042         (denorm): Likewise.
50043         (__dbl_mp): Likewise.
50044         (add_magnitudes): Likewise.
50045         (sub_magnitudes): Likewise.
50046         (__mul): Likewise.
50047         (__sqr): Likewise.
50048         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50049         powers of two in terms of TWOPOW macro.
50050         (mp_no): Make type of mantissa as MANTISSA_T.
50051         [!RADIXI]: Define RADIXI.
50052         [!TWO52]: Define TWO52.
50053         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50055         * manual/nptl.texi (cindex): Modify threads to pthreads.
50057 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50059         * sysdeps/x86_64/preconfigure: Regenerated.
50061 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50063         [BZ #14155]
50064         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50065         0x1p28 and above.
50066         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50067         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50068         0x1p28 and above.
50069         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50070         * math/libm-test.inc (j0_test): Do not allow one spurious
50071         underflow exception.
50072         (y1_test): Likewise.
50074 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50076         * manual/Makefile (chapters): Add nptl.
50077         * manual/debug.texi (Debugging Support): Add link to Threads
50078         chapter.
50079         * manual/nptl.texi: New file.
50081         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50083 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50085         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50086         for non-NULL pointer before the memory validity test. Pointed
50087         out by Holger Brunck <holger.brunck@keymile.com>.
50089 2013-03-13  Andreas Schwab  <schwab@suse.de>
50091         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50092         instead of .os.
50094 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50096         * timezone/zic.c: Update from tzcode 2013b.
50098 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50100         * manual/install.texi (Configuring and compiling):
50101         Mention i686 and i586.
50102         * INSTALL: Regenerate.
50104 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50106         * sysdeps/init_array/elf-init.c: New file.
50107         * csu/elf-init.c
50108         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50109         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50111         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50112         __gmon_start__ as global, but as static with a .preinit_array pointer.
50113         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50114         * sysdeps/init_array/crti.S: New file, empty except for comments.
50115         * sysdeps/init_array/crtn.S: Likewise.
50117 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50119         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50120         definining bcopy.
50121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50122         Remove Prefer_SSE_for_memop.
50123         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50124         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50125         HAS_PREFER_SSE_FOR_MEMOP.
50126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50127         memset-x86-64.
50128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50129         Remove bzero, memset ifunc support.
50130         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50131         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50132         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50133         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50135 2013-03-11  Andreas Schwab  <schwab@suse.de>
50137         [BZ #15234]
50138         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50139         by SHLIB_COMPAT.
50140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50141         (GLIBC_2.16): Remove pthread_atfork.
50143 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50145         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50146         (ptestcases.h): Likewise.
50148 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50150         * Makeconfig ($(common-objpfx)config.status): Depend on
50151         sysdeps/*/preconfigure{,.in} too.
50153 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50155         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50156         (__free_hook): Use void * instead of __malloc_ptr_t.
50157         (__malloc_hook): Likewise.
50158         (__realloc_hook): Likewise.
50159         (__memalign_hook): Likewise.
50160         (__after_morecore_hook): Likewise.
50161         * malloc/arena.c (save_malloc_hook): Likewise.
50162         (save_free_hook): Likewise.
50163         * malloc/hooks.c (malloc_hook_ini): Likewise.
50164         (realloc_hook_ini): Likewise.
50165         (memalign_hook_ini): Likewise.
50166         * malloc/malloc.c (malloc_hook_ini): Likewise.
50167         (realloc_hook_ini): Likewise.
50168         (memalign_hook_ini): Likewise.
50169         (__free_hook): Likewise.
50170         (__malloc_hook): Likewise.
50171         (__realloc_hook): Likewise.
50172         (__memalign_hook): Likewise.
50173         (__libc_malloc): Likewise.
50174         (__libc_free): Likewise.
50175         (__libc_realloc): Likewise.
50176         (__libc_memalign): Likewise.
50177         (__libc_valloc): Likewise.
50178         (__libc_pvalloc): Likewise.
50179         (__libc_calloc): Likewise.
50180         (__posix_memalign): Likewise.
50181         * malloc/morecore.c (__sbrk): Likewise.
50182         (__default_morecore): Likewise.
50184         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50186         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50187         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50188         __malloc_ptrdiff_t.
50190         * malloc/malloc.h (__malloc_size_t): Remove macro.
50191         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50192         __malloc_size_t.
50193         (old_memalign_hook): Likewise.
50194         (old_realloc_hook): Likewise.
50195         (struct hdr): Likewise.
50196         (flood): Likewise.
50197         (mallochook): Likewise.
50198         (memalignhook): Likewise.
50199         (reallochook): Likewise.
50200         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50201         (tr_old_realloc_hook): Likewise.
50202         (tr_old_memalign_hook): Likewise.
50203         (tr_mallochook): Likewise.
50204         (tr_reallochook): Likewise.
50205         (tr_memalignhook): Likewise.
50207 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50210         default_ldbl_pack and using as default implementation.
50211         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50212         implementation.
50213         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50214         redundant definition.
50215         (ldbl_insert_mantissa): Likewise.
50216         (ldbl_canonicalize): Likewise.
50217         (ldbl_nearbyint): Likewise.
50218         (ldbl_pack): Rename to ldbl_pack_ppc.
50219         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50220         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50221         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50223 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50226         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50227         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50228         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50230         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50231         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50232         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50234 2013-03-07  Andreas Jaeger  <aj@suse.de>
50236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50237         bits/mman-linux.h.
50239 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50241         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50242         Include mpa.h and declare __MPEXP.
50243         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50245         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50246         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50248         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50249         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50251         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50252         (__slowpow): Use long double EXPL and LOGL functions to
50253         compute POW.
50254         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50255         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50256         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50257         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50258         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50259         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50262         intermediate variable to calculate exponent.
50263         (__sqr): Likewise.
50264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50265         Likewise.
50266         (__sqr): Likewise.
50268         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50269         [!NO__SQR]: Define __sqr.
50270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50271         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50272         sysdeps/ieee754/dbl-64/mpa.c.
50273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50275         [BZ #12723]
50276         * posix/Makefile (tests): Add tst-pathconf.
50277         * posix/tst-pathconf.c: New test case.
50278         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50279         _PC_PIPE_BUF.
50280         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50282 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50284         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50286 2013-03-06  Andreas Jaeger  <aj@suse.de>
50288         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50289         definition via __MAP_ANONYMOUS.
50291         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50292         it's not part of Linux headers.
50294         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50295         (MAP_HUGE_MASK): Define.
50297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50298         Define.
50299         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50300         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50301         Define.
50302         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50303         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50304         Define.
50305         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50306         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50307         Define.
50308         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50310         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50311         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50312         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50313         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50314         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50315         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50317         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50318         Handle f2fs.
50320         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50321         Handle f2fs and efivarfs.
50323         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50324         f2fs.
50326         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50327         (EFIVARFS_MAGIC): Add.
50328         (F2FS_LINK_MAX): Add.
50330 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50332         * stdio-common/vfprintf.c: Replace __builtin_expect with
50333         __glibc_unlikely.
50335 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50337         [BZ #13550]
50338         * sysdeps/generic/bp-sym.h: Remove file.
50339         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50340         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50341         <bp-sym.h> and <bp-asm.h>.
50342         (__longjmp): Don't use BP_SYM.
50343         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50344         and <bp-asm.h>.
50345         (memcpy): Don't use BP_SYM.
50346         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50347         <bp-sym.h> and <bp-asm.h>.
50348         (memcpy): Don't use BP_SYM.
50349         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50350         <bp-asm.h>.
50351         (memcpy): Don't use BP_SYM.
50352         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50353         <bp-asm.h>.
50354         (memset): Don't use BP_SYM.
50355         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50356         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50357         (__bzero): Don't use BP_SYM.
50358         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50359         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50360         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50361         <bp-sym.h> and <bp-asm.h>.
50362         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50363         pointers.
50364         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50365         <bp-sym.h> and <bp-asm.h>.
50366         (memcpy): Don't use BP_SYM.
50367         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50368         <bp-sym.h> and <bp-asm.h>.
50369         (memset): Don't use BP_SYM.
50370         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50371         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50372         (__bzero): Don't use BP_SYM.
50373         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50374         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50375         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50376         <bp-sym.h> and <bp-asm.h>.
50377         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50378         pointers.
50379         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50380         <bp-sym.h> and <bp-asm.h>.
50381         (memcpy): Don't use BP_SYM.
50382         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50383         <bp-sym.h> and <bp-asm.h>.
50384         (memset): Don't use BP_SYM.
50385         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50386         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50387         (__bzero): Don't use BP_SYM.
50388         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50389         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50390         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50391         <bp-sym.h> and <bp-asm.h>.
50392         (__memchr): Don't use BP_SYM.
50393         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50394         <bp-sym.h> and <bp-asm.h>.
50395         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50396         pointers.
50397         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50398         <bp-sym.h> and <bp-asm.h>.
50399         (memcpy): Don't use BP_SYM.
50400         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50401         <bp-sym.h> and <bp-asm.h>.
50402         (__mempcpy): Don't use BP_SYM.
50403         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50404         <bp-sym.h> and <bp-asm.h>.
50405         (__memrchr): Don't use BP_SYM.
50406         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50407         <bp-sym.h> and <bp-asm.h>.
50408         (memset): Don't use BP_SYM.
50409         (__bzero): Likewise.
50410         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50411         <bp-sym.h> and <bp-asm.h>.
50412         (__rawmemchr): Don't use BP_SYM.
50413         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50414         <bp-sym.h> and <bp-asm.h>.
50415         (__STRCMP): Don't use BP_SYM.
50416         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50417         <bp-sym.h> and <bp-asm.h>.
50418         (strchr): Don't use BP_SYM.
50419         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50420         <bp-sym.h> and <bp-asm.h>.
50421         (__strchrnul): Don't use BP_SYM.
50422         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50423         <bp-sym.h> and <bp-asm.h>.
50424         (strlen): Don't use BP_SYM.
50425         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50426         <bp-sym.h> and <bp-asm.h>.
50427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50428         pointers.
50429         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50430         <bp-sym.h> and <bp-asm.h>.
50431         (__strnlen): Don't use BP_SYM.
50432         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50433         <bp-sym.h> and <bp-asm.h>.
50434         (__GI__setjmp): Don't use BP_SYM.
50435         (_setjmp): Likewise.
50436         (__sigsetjmp): Likewise.
50437         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50438         (L(start_addresses)): Don't use BP_SYM.
50439         (_start): Likewise.
50440         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50441         <bp-asm.h>.
50442         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50443         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50444         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50445         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50446         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50447         <bp-asm.h>.
50448         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50449         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50450         about bounded pointers.
50451         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50452         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50453         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50454         <bp-asm.h>.
50455         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50456         about bounded pointers.  Remove GKM FIXME comments.
50457         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50458         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50459         <bp-asm.h>.
50460         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50461         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50462         Remove GKM FIXME comments.
50463         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50464         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50465         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50466         <bp-asm.h>.
50467         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50468         about bounded pointers.  Remove GKM FIXME comment.
50469         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50470         and <bp-asm.h>.
50471         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50472         pointers.
50473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50474         <bp-sym.h> and <bp-asm.h>.
50475         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50477         <bp-sym.h> and <bp-asm.h>.
50478         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50479         comment.
50481 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50483         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50484         call free(NULL).
50486 2013-03-05  David S. Miller  <davem@davemloft.net>
50488         * po/es.po: Update from translation team.
50490 2013-03-05  Andreas Jaeger  <aj@suse.de>
50492         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50493         <bits/mman-linux.h>.
50494         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50495         is fine.
50496         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50497         <bits/mman-linux.h> to end of file.
50498         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50499         is fine.
50500         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50501         <bits/mman-linux.h> to end of file.
50502         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50503         is fine.
50504         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50505         <bits/mman-linux.h> to end of file.
50507         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50508         (MCL_CURRENT, MCL_FUTURE): Define here.
50510 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50512         [BZ #15232]
50513         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50514         attribute_hidden.
50515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50517 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50519         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50520         fourth parameter needed for rt_sigprocmask syscall.
50521         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50522         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50523         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50524         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50525         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50526         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50528 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50530         [BZ #13550]
50531         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50532         comment about bounded pointers.
50533         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50534         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50536 2013-03-04  Andreas Jaeger  <aj@suse.de>
50538         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50539         common definitions.
50541         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50542         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50543         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50544         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50546         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50548 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50550         [BZ #15055]
50551         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50552         __ieee754_sqrl instead of __sqrl.
50554 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50556         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50557         * sysdeps/powerpc/fpu_control.h: ... here.
50558         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50559         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50560         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50561         * sysdeps/powerpc/bits/mathinline.h: ... here.
50563 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50565         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50566         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50567         to just [NEED_DL_SYSINFO_DSO].
50568         * elf/dl-support.c: Likewise.
50569         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50570         * elf/rtld.c (dl_main): Likewise.
50571         * elf/setup-vdso.h (setup_vdso): Likewise.
50572         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50573         * sysdeps/unix/sysv/linux/dl-sysdep.c
50574         (_dl_discover_osversion): Likewise.
50576 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50578         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50579         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50581 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         * NEWS: Mention libm performance improvements and non-x86 PI
50584         futex support.
50586         * csu/libc-start.c (__pthread_initialize_minimal): Change
50587         function arguments.
50588         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50590 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50592         [BZ #13550]
50593         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50594         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50595         <bp-sym.h> and <bp-asm.h>.
50596         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50597         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50598         and <bp-asm.h>.
50599         (memcpy): Don't use BP_SYM.
50600         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50601         <bp-asm.h>.
50602         (__mpn_add_n): Don't use BP_SYM.
50603         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50604         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50605         and <bp-asm.h>.
50606         (__mpn_addmul_1): Don't use BP_SYM.
50607         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50608         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50609         <bp-sym.h>.
50610         (_setjmp): Don't use BP_SYM.
50611         (__novmx_setjmp): Likewise.
50612         (__GI__setjmp): Likewise.
50613         (__vmx_setjmp): Likewise.
50614         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50615         <bp-sym.h>.
50616         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50617         (__bzero): Don't use BP_SYM.
50618         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50619         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50620         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50621         <bp-sym.h> and <bp-asm.h>.
50622         (memcpy): Don't use BP_SYM.
50623         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50624         <bp-sym.h> and <bp-asm.h>.
50625         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50627         <bp-sym.h> and <bp-asm.h>.
50628         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50629         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50630         <bp-asm.h>.
50631         (__mpn_lshift): Don't use BP_SYM.
50632         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50633         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50634         <bp-asm.h>.
50635         (memset): Don't use BP_SYM.
50636         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50637         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50638         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50639         <bp-asm.h>.
50640         (__mpn_mul_1): Don't use BP_SYM.
50641         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50642         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50643         <bp-sym.h> and <bp-asm.h>.
50644         (memcmp): Don't use BP_SYM.
50645         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50646         <bp-sym.h> and <bp-asm.h>.
50647         (memcpy): Don't use BP_SYM.
50648         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50649         <bp-sym.h> and <bp-asm.h>.
50650         (memset): Don't use BP_SYM.
50651         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50652         <bp-sym.h> and <bp-asm.h>.
50653         (strncmp): Don't use BP_SYM.
50654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50655         <bp-sym.h> and <bp-asm.h>.
50656         (memcpy): Don't use BP_SYM.
50657         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50658         <bp-sym.h> and <bp-asm.h>.
50659         (memset): Don't use BP_SYM.
50660         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50661         <bp-sym.h> and <bp-asm.h>.
50662         (__memchr): Don't use BP_SYM.
50663         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50664         <bp-sym.h> and <bp-asm.h>.
50665         (memcmp): Don't use BP_SYM.
50666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50667         <bp-sym.h> and <bp-asm.h>.
50668         (memcpy): Don't use BP_SYM.
50669         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50670         <bp-sym.h> and <bp-asm.h>.
50671         (__mempcpy): Don't use BP_SYM.
50672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50673         <bp-sym.h> and <bp-asm.h>.
50674         (__memrchr): Don't use BP_SYM.
50675         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50676         <bp-sym.h> and <bp-asm.h>.
50677         (memset): Don't use BP_SYM.
50678         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50679         <bp-sym.h> and <bp-asm.h>.
50680         (__rawmemchr): Don't use BP_SYM.
50681         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50682         <bp-sym.h> and <bp-asm.h>.
50683         (__STRCMP): Don't use BP_SYM.
50684         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50685         <bp-sym.h> and <bp-asm.h>.
50686         (strchr): Don't use BP_SYM.
50687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50688         <bp-sym.h> and <bp-asm.h>.
50689         (__strchrnul): Don't use BP_SYM.
50690         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50691         <bp-sym.h> and <bp-asm.h>.
50692         (strlen): Don't use BP_SYM.
50693         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50694         <bp-sym.h> and <bp-asm.h>.
50695         (strncmp): Don't use BP_SYM.
50696         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50697         <bp-sym.h> and <bp-asm.h>.
50698         (__strnlen): Don't use BP_SYM.
50699         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50700         <bp-asm.h>.
50701         (__mpn_rshift): Don't use BP_SYM.
50702         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50703         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50704         <bp-sym.h> and <bp-asm.h>.
50705         (__sigsetjmp): Don't use BP_SYM.
50706         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50707         (L(start_addresses)): Don't use BP_SYM.
50708         (_start): Likewise.
50709         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50710         <bp-asm.h>.
50711         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50712         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50713         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50714         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50715         <bp-asm.h>.
50716         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50717         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50718         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50719         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50720         <bp-asm.h>.
50721         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50722         comments.
50723         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50724         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50725         <bp-asm.h>.
50726         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50727         FIXME comments.
50728         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50729         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50730         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50731         <bp-asm.h>.
50732         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50733         comment.
50734         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50735         and <bp-asm.h>.
50736         (strncmp): Don't use BP_SYM,
50737         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50738         <bp-asm.h>.
50739         (__mpn_sub_n): Don't use BP_SYM.
50740         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50741         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50742         and <bp-asm.h>.
50743         (__mpn_submul_1): Don't use BP_SYM.
50744         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50746         <bp-sym.h> and <bp-asm.h>.
50747         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50749         <bp-sym.h> and <bp-asm.h>.
50750         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50751         comment.
50753 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50755         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50756         Use ZK to minimize writes to Z.
50757         (sub_magnitudes): Simplify code a bit.
50758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50759         Use ZK to minimize writes to Z.
50760         (sub_magnitudes): Simplify code a bit.
50762 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50764         * csu/gmon-start.c: Add special exception to license text.
50766 2013-02-27  Richard Henderson  <rth@redhat.com>
50768         * scripts/config.guess: Update from config.git.
50769         * scripts/config.sub: Likewise.
50771 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50773         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50775         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50777         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50779         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50781         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50783 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50785         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50786         [$(build-shared = yes].
50788 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50790         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50791         (__mul): Reduce iterations for calculating mantissa.
50793         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50794         MPTWO.
50795         (__mpranred): Likewise.
50797         [BZ #15160]
50798         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50799         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50801 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50803         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50804         Define __attribute__.
50806 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50808         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50809         unused.
50810         * posix/regex_internal.h (__attribute): Remove.
50811         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50812         (re_string_context_at): Likewise.
50813         (bitset_not): Use __attribute__ and mark function as possibly
50814         unused.
50815         (bitset_merge): Likewise.
50816         (bitset_mask): Likewise.
50817         (re_string_char_size_at): Likewise.
50818         (re_string_wchar_at): Likewise.
50819         (re_string_elem_size_at): Likewise.
50821 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50823         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50824         code.
50825         (cc32): Likewise.
50827         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50828         (__acr): Likewise.
50829         (__cpy): Likewise.
50830         (norm): Likewise.
50831         (denorm): Likewise.
50832         (__dbl_mp): Likewise.
50833         (add_magnitudes): Likewise.
50834         (sub_magnitudes): Likewise.
50835         (__mul): Likewise.
50836         (__inv): Likewise.
50838         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50839         style.
50841         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50842         style.
50844         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50845         code.
50847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50848         up changes with default code.
50849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50850         Likewise.
50852 2013-02-24  Allan McRae  <allan@archlinux.org>
50854         * manual/socket.texi (The Internet Namespace): Order menu items
50855         to match that in the file.
50857         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50858         node listing of the info page menu.
50860 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50862         [BZ #13550]
50863         * sysdeps/i386/bp-asm.h: Remove file.
50864         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50865         (PARMS): Do not use macros from bp-asm.h.
50866         (S1): Likewise.
50867         (S2): Likewise.
50868         (SIZE): Likewise.
50869         (__mpn_add_n): Do not use BP_SYM
50870         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50871         "bp-asm.h".
50872         (PARMS): Do not use macros from bp-asm.h.
50873         (S1): Likewise.
50874         (SIZE): Likewise.
50875         (__mpn_addmul_1): Do not use BP_SYM
50876         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50877         "bp-asm.h".
50878         (PARMS): Do not use macros from bp-asm.h.
50879         (SIGMSK): Likewise.
50880         (_setjmp): Likewise.  Do not use BP_SYM.
50881         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50882         "bp-asm.h".
50883         (PARMS): Do not use macros from bp-asm.h.
50884         (SIGMSK): Likewise.
50885         (setjmp): Likewise.  Do not use BP_SYM.
50886         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50887         "bp-asm.h".
50888         (PARMS): Do not use macros from bp-asm.h.
50889         (__frexp): Do not use BP_SYM.
50890         (frexp): Likewise.
50891         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50892         "bp-asm.h".
50893         (PARMS): Do not use macros from bp-asm.h.
50894         (__frexpf): Do not use BP_SYM.
50895         (frexpf): Likewise.
50896         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50897         "bp-asm.h".
50898         (PARMS): Do not use macros from bp-asm.h.
50899         (__frexpl): Do not use BP_SYM.
50900         (frexpl): Likewise.
50901         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50902         "bp-asm.h".
50903         (PARMS): Do not use macros from bp-asm.h.
50904         (__remquo): Do not use BP_SYM.
50905         (remquo): Likewise.
50906         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50907         "bp-asm.h".
50908         (PARMS): Do not use macros from bp-asm.h.
50909         (__remquof): Do not use BP_SYM.
50910         (remquof): Likewise.
50911         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50912         "bp-asm.h".
50913         (PARMS): Do not use macros from bp-asm.h.
50914         (__remquol): Do not use BP_SYM.
50915         (remquol): Likewise.
50916         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50917         "bp-asm.h".
50918         (PARMS): Do not use macros from bp-asm.h.
50919         (DEST): Likewise.
50920         (SRC): Likewise.
50921         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50922         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50923         "bp-asm.h".
50924         (PARMS): Do not use macros from bp-asm.h.
50925         (strlen): Do not use BP_SYM.
50926         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50927         "bp-asm.h".
50928         (PARMS): Do not use macros from bp-asm.h.
50929         (S1): Likewise.
50930         (S2): Likewise.
50931         (SIZE): Likewise.
50932         (__mpn_add_n): Do not use BP_SYM.
50933         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50934         "bp-asm.h".
50935         (PARMS): Do not use macros from bp-asm.h.
50936         (S1): Likewise.
50937         (SIZE): Likewise.
50938         (__mpn_addmul_1): Do not use BP_SYM.
50939         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50940         weak_alias.
50941         (bzero): Likewise.
50942         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50943         "bp-asm.h".
50944         (PARMS): Do not use macros from bp-asm.h.
50945         (S): Likewise.
50946         (SIZE): Likewise.
50947         (__mpn_lshift): Do not use BP_SYM.
50948         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50949         "bp-asm.h".
50950         (PARMS): Do not use macros from bp-asm.h.
50951         (DEST): Likewise.
50952         (SRC): Likewise.
50953         (LEN): Likewise.
50954         (memcpy): Likewise.  Do not use BP_SYM.
50955         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50956         libc_hidden_def and weak_alias.
50957         (mempcpy): Do not use BP_SYM in weak_alias.
50958         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50959         "bp-asm.h".
50960         (PARMS): Do not use macros from bp-asm.h.
50961         (DEST): Likewise.
50962         (LEN): Likewise.
50963         [!BZERO_P] (CHR): Likewise.
50964         (memset): Likewise.  Do not use BP_SYM.
50965         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50966         "bp-asm.h".
50967         (PARMS): Do not use macros from bp-asm.h.
50968         (S1): Likewise.
50969         (SIZE): Likewise.
50970         (__mpn_mul_1): Do not use BP_SYM.
50971         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50972         "bp-asm.h".
50973         (PARMS): Do not use macros from bp-asm.h.
50974         (S): Likewise.
50975         (SIZE): Likewise.
50976         (__mpn_rshift): Do not use BP_SYM.
50977         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50978         "bp-asm.h".
50979         (PARMS): Do not use macros from bp-asm.h.
50980         (STR): Likewise.
50981         (CHR): Likewise.
50982         (strchr): Likewise.  Do not use BP_SYM.
50983         (index): Do not use BP_SYM in weak_alias.
50984         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50985         "bp-asm.h".
50986         (PARMS): Do not use macros from bp-asm.h.
50987         (DEST): Likewise.
50988         (SRC): Likewise.
50989         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50990         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50991         "bp-asm.h".
50992         (PARMS): Do not use macros from bp-asm.h.
50993         (strlen): Do not use BP_SYM.
50994         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50995         "bp-asm.h".
50996         (PARMS): Do not use macros from bp-asm.h.
50997         (S1): Likewise.
50998         (S2): Likewise.
50999         (SIZE): Likewise.
51000         (__mpn_sub_n): Do not use BP_SYM.
51001         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51002         "bp-asm.h".
51003         (PARMS): Do not use macros from bp-asm.h.
51004         (S1): Likewise.
51005         (SIZE): Likewise.
51006         (__mpn_submul_1): Do not use BP_SYM.
51007         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51008         "bp-asm.h".
51009         (PARMS): Do not use macros from bp-asm.h.
51010         (S1): Likewise.
51011         (S2): Likewise.
51012         (SIZE): Likewise.
51013         (__mpn_add_n): Do not use BP_SYM.
51014         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51015         weak_alias.
51016         (bzero): Likewise.
51017         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51018         "bp-asm.h".
51019         (PARMS): Do not use macros from bp-asm.h.
51020         (BLK2): Likewise.
51021         (LEN): Likewise.
51022         (memcmp): Do not use BP_SYM.
51023         (bcmp): Do not use BP_SYM in weak_alias.
51024         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51025         "bp-asm.h".
51026         (PARMS): Do not use macros from bp-asm.h.
51027         (DEST): Likewise.
51028         (SRC): Likewise.
51029         (LEN): Likewise.
51030         (memcpy): Likewise.  Do not use BP_SYM.
51031         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51032         "bp-asm.h".
51033         (PARMS): Do not use macros from bp-asm.h.
51034         (DEST): Likewise.
51035         (SRC): Likewise.
51036         (LEN): Likewise.
51037         (memmove): Likewise.  Do not use BP_SYM.
51038         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51039         "bp-asm.h".
51040         (PARMS): Do not use macros from bp-asm.h.
51041         (DEST): Likewise.
51042         (SRC): Likewise.
51043         (LEN): Likewise.
51044         (__mempcpy): Likewise.  Do not use BP_SYM.
51045         (mempcpy): Do not use BP_SYM in weak_alias.
51046         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51047         "bp-asm.h".
51048         (PARMS): Do not use macros from bp-asm.h.
51049         (DEST): Likewise.
51050         (LEN): Likewise.
51051         [!BZERO_P] (CHR): Likewise.
51052         (memset): Likewise.  Do not use BP_SYM.
51053         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51054         "bp-asm.h".
51055         (PARMS): Do not use macros from bp-asm.h.
51056         (STR2): Likewise.
51057         (strcmp): Do not use BP_SYM.
51058         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51059         "bp-asm.h".
51060         (PARMS): Do not use macros from bp-asm.h.
51061         (STR): Likewise.
51062         (DELIM): Likewise.
51063         [USE_AS_STRTOK_R] (SAVE): Likewise.
51064         (FUNCTION): Likewise.  Do not use BP_SYM.
51065         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51066         aliases.
51067         (strtok_r): Likewise.
51068         (__GI___strtok_r): Likewise.
51069         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51070         (PARMS): Do not use macros from bp-asm.h.
51071         (S): Likewise.
51072         (SIZE): Likewise.
51073         (__mpn_lshift): Do not use BP_SYM.
51074         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51075         (PARMS): Do not use macros from bp-asm.h.
51076         (STR): Likewise.
51077         (CHR): Likewise.
51078         (__memchr): Do not use BP_SYM.
51079         (memchr): Do not use BP_SYM in weak_alias.
51080         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51081         (PARMS): Do not use macros from bp-asm.h.
51082         (BLK2): Likewise.
51083         (LEN): Likewise.
51084         (memcmp): Do not use BP_SYM.
51085         (bcmp): Do not use BP_SYM in weak_alias.
51086         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51087         (PARMS): Do not use macros from bp-asm.h.
51088         (S1): Likewise.
51089         (SIZE): Likewise.
51090         (__mpn_mul_1): Do not use BP_SYM.
51091         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51092         "bp-asm.h".
51093         (PARMS): Do not use macros from bp-asm.h.
51094         (STR): Likewise.
51095         (CHR): Likewise.
51096         (__rawmemchr): Do not use BP_SYM.
51097         (rawmemchr): Do not use BP_SYM in weak_alias.
51098         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51099         (PARMS): Do not use macros from bp-asm.h.
51100         (S): Likewise.
51101         (SIZE): Likewise.
51102         (__mpn_rshift): Do not use BP_SYM.
51103         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51104         (PARMS): Do not use macros from bp-asm.h.
51105         (SIGMSK): Likewise.
51106         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51107         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51108         (_start): Do not use BP_SYM.
51109         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51110         (PARMS): Do not use macros from bp-asm.h.
51111         (DEST): Likewise.
51112         (SRC): Likewise.
51113         (__stpcpy): Likewise.  Do not use BP_SYM.
51114         (stpcpy): Do not use BP_SYM in weak_alias.
51115         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51116         "bp-asm.h".
51117         (PARMS): Do not use macros from bp-asm.h.
51118         (DEST): Likewise.
51119         (SRC): Likewise.
51120         (LEN): Likewise.
51121         (__stpncpy): Likewise.  Do not use BP_SYM.
51122         (stpncpy): Do not use BP_SYM in weak_alias.
51123         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51124         (PARMS): Do not use macros from bp-asm.h.
51125         (STR): Likewise.
51126         (CHR): Likewise.
51127         (strchr): Likewise.  Do not use BP_SYM.
51128         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51129         "bp-asm.h".
51130         (PARMS): Do not use macros from bp-asm.h.
51131         (STR): Likewise.
51132         (CHR): Likewise.
51133         (__strchrnul): Likewise.  Do not use BP_SYM.
51134         (strchrnul): Do not use BP_SYM in weak_alias.
51135         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51136         "bp-asm.h".
51137         (PARMS): Do not use macros from bp-asm.h.
51138         (STOP): Likewise.
51139         (strcspn): Do not use BP_SYM.
51140         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51141         "bp-asm.h".
51142         (PARMS): Do not use macros from bp-asm.h.
51143         (STR): Likewise.
51144         (STOP): Likewise.
51145         (strpbrk): Likewise.  Do not use BP_SYM.
51146         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51147         "bp-asm.h".
51148         (PARMS): Do not use macros from bp-asm.h.
51149         (STR): Likewise.
51150         (CHR): Likewise.
51151         (strrchr): Likewise.  Do not use BP_SYM.
51152         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51153         (PARMS): Do not use macros from bp-asm.h.
51154         (SKIP): Likewise.
51155         (strspn): Do not use BP_SYM.
51156         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51157         (PARMS): Do not use macros from bp-asm.h.
51158         (STR): Likewise.
51159         (DELIM): Likewise.
51160         (SAVE): Likewise.
51161         (FUNCTION): Likewise.  Do not use BP_SYM.
51162         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51163         aliases.
51164         (strtok_r): Likewise.
51165         (__GI___strtok_r): Likewise.
51166         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51167         (PARMS): Do not use macros from bp-asm.h.
51168         (S1): Likewise.
51169         (S2): Likewise.
51170         (SIZE): Likewise.
51171         (__mpn_sub_n): Do not use BP_SYM.
51172         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51173         "bp-asm.h".
51174         (PARMS): Do not use macros from bp-asm.h.
51175         (S1): Likewise.
51176         (SIZE): Likewise.
51177         (__mpn_submul_1): Do not use BP_SYM.
51178         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51179         <bp-sym.h>.
51180         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51181         and <bp-asm.h>.
51182         (PARMS): Do not use macros from bp-asm.h.
51183         (FLAGS): Likewise.
51184         (PTID): Likewise.
51185         (TLS): Likewise.
51186         (CTID): Likewise.
51187         (__clone): Do not use BP_SYM.
51188         (clone): Do not use BP_SYM in weak_alias.
51189         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51190         and <bp-asm.h>.
51191         (PARMS): Do not use macros from bp-asm.h.
51192         (LEN): Likewise.
51193         (__mmap64): Do not use BP_SYM.
51194         (mmap64): Do not use BP_SYM in weak_alias.
51195         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51196         <bp-sym.h> and <bp-asm.h>.
51197         (PARMS): Do not use macros from bp-asm.h.
51198         (__posix_fadvise64_l64): Do not use BP_SYM.
51199         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51200         (PARMS): Do not use macros from bp-asm.h.
51201         (NSOPS): Likewise.
51202         (semtimedop): Do not use BP_SYM.
51203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51204         and <bp-asm.h>.
51206 2013-02-21  Allan McRae  <allan@archlinux.org>
51208         * manual/message.texi (Charset conversion in gettext):
51209         Move @end statement to beginning of line.
51211 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51214         static.
51215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51216         Likewise.
51218         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51219         (denorm): Likewise.
51220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51223 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51225         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51226         tail-call to the resolved function if pltexit isn't needed.
51228 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51231         or Y being zero as being unlikely.
51232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51233         Likewise.
51235 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51237         * manual/nss.texi (System Databases and Name Service Switch):
51238         Remove frobnicate @pxref.
51240 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51242         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51243         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51245 2013-02-20  Petr Machata  <pmachata@redhat.com>
51247         * elf/elf.h (R_ARM_TARGET1): New macro.
51248         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51249         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51250         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51251         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51252         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51253         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51254         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51255         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51256         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51257         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51258         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51259         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51260         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51261         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51262         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51263         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51264         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51265         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51266         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51267         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51268         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51269         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51270         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51271         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51272         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51273         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51274         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51275         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51276         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51277         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51278         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51279         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51280         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51281         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51282         (R_ARM_THM_GOT_BREL12): Likewise.
51283         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51284         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51285         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51286         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51287         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51288         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51289         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51290         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51291         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51293 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51295         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51296         __attribute_used__ to __attribute__ ((unused)).
51298 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51300         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51301         powerpc mpa.c.
51302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51303         comment formatting.
51304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51306 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51308         [BZ #13550]
51309         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51310         Remove macro.
51311         (ENTER): Remove both macro definitions.
51312         (LEAVE): Likewise.
51313         (CHECK_BOUNDS_LOW): Likewise.
51314         (CHECK_BOUNDS_HIGH): Likewise.
51315         (CHECK_BOUNDS_BOTH): Likewise.
51316         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51317         (RETURN_BOUNDED_POINTER): Likewise.
51318         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51319         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51320         (POP_ERRNO_LOCATION_RETURN): Likewise.
51321         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51322         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51323         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51324         macros.
51325         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51326         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51327         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51328         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51329         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51330         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51331         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51332         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51333         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51334         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51335         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51336         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51337         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51338         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51339         removed macros.
51340         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51341         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51342         macros.
51343         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51344         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51345         * sysdeps/i386/i586/memset.S (memset): Likewise.
51346         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51347         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51348         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51349         macros.
51350         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51351         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51352         Change uses of L(2) to L(out).
51353         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51354         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51355         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51356         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51357         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51358         removed macros.
51359         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51360         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51361         macros.
51362         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51363         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51364         (RETURN): Do not use macro LEAVE.
51365         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51366         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51367         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51368         * sysdeps/i386/i686/memset.S (memset): Likewise.
51369         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51370         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51371         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51372         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51373         Likewise.
51374         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51375         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51376         L(1_2) and L(1_3) into L(1).
51377         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51378         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51379         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51380         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51381         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51382         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51383         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51384         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51385         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51386         macros.
51387         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51388         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51389         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51390         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51391         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51392         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51393         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51394         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51395         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51396         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51397         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51398         * sysdeps/i386/strspn.S (strspn): Likewise.
51399         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51400         conditional code.
51401         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51402         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51403         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51404         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51405         L(1_3) into L(1_1).
51406         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51407         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51408         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51409         macros.
51410         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51412 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51414         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51415         macro.
51417 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51419         * math/atest-exp.c (exp_mpn): Remove ROUND.
51420         * math/atest-exp2.c (exp_mpn): Likewise.
51421         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51423         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51424         * stdlib/tst-tls-atexit-lib.c: Likewise.
51425         * stdlib/tst-tls-atexit.c: Likewise.
51427 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51429         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51430         and __attribute_alloc_size__.
51432 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51434         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51435         __attribute_alloc_size__.
51436         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51437         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51439 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51441         * include/programs/xmalloc.h: New file.
51442         * catgets/gencat.c: Include it.
51443         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51444         * elf/pldd.c: Likewise.
51445         * iconv/iconv_charmap.c: Likewise.
51446         * iconv/iconvconfig.c: Likewise.
51447         * iconv/strtab.c: Likewise.
51448         * locale/programs/locale.c: Likewise.
51449         * locale/programs/localedef.h: Likewise.
51450         * locale/programs/simple-hash.c: Likewise.
51451         * nscd/nscd.h: Likewise.
51452         * nss/makedb.c: Likewise.
51453         * sysdeps/generic/ldconfig.h: Likewise.
51455 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51457         * Versions.def: Add GLIBC_2.18.
51458         * include/link.h (struct link_map): New member l_tls_dtor_count.
51459         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51460         (__call_tls_dtors): Likewise.
51461         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51462         __cxa_thread_atexit_impl.
51463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51464         Likewise.
51465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51466         Likewise.
51467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51468         Likewise.
51469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51470         Likewise.
51471         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51473         Likewise.
51474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51475         Likewise.
51476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51478         Likewise.
51479         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51480         (tests): Add test case tst-tls-atexit.
51481         (modules-names): Add shared library for tst-tls-atexit.
51482         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51483         (GLIBC_PRIVATE): Add __call_tls_dtors.
51484         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51485         for libstdc++.
51486         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51487         * stdlib/tst-tls-atexit.c: New test case.
51488         * stdlib/tst-tls-atexit-lib.c: New test case.
51490         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51492         * elf/Versions (ld): Add _dl_find_dso_for_object.
51493         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51494         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51495         (dl_open_worker): Use _dl_find_dso_for_object.
51496         * elf/dl-sym.c (do_sym): Likewise.
51497         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51499 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51501         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51502         Syntactic changes only.
51503         (_dl_runtime_profile): Do a tail-call to the resolved function.
51505 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51507         [BZ #13550]
51508         * sysdeps/x86_64/bp-asm.h: Remove file.
51509         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51510         <bp-sym.h> and <bp-asm.h>.
51511         (__clone): Do not use BP_SYM.
51512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51513         <bp-sym.h> and <bp-asm.h>.
51514         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51515         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51516         "bp-asm.h".
51517         (_setjmp): Do not use BP_SYM.
51518         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51519         "bp-asm.h".
51520         (setjmp): Do not use BP_SYM.
51521         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51522         libc_hidden_def.
51523         (mempcpy): Do not use BP_SYM in weak_alias.
51524         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51525         "bp-asm.h".
51526         (strchr): Do not use BP_SYM.
51527         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51528         "bp-asm.h".
51529         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51530         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51531         (_start): Do not use BP_SYM.
51532         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51533         "bp-asm.h".
51534         (strcat): Do not use BP_SYM.
51535         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51536         "bp-asm.h".
51537         (STRCMP): Do not use BP_SYM.
51538         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51539         "bp-asm.h".
51540         (STRCPY): Do not use BP_SYM.
51541         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51542         "bp-asm.h".
51543         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51544         "bp-asm.h".
51545         (FUNCTION): Do not use BP_SYM.
51546         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51547         weak_alias.
51548         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51550 2013-02-17  Andreas Jaeger  <aj@suse.de>
51552         * time/Versions: Sort entries.
51553         * string/Versions: Likewise.
51554         * resolv/Versions: Likewise.
51555         * posix/Versions: Likewise.
51556         * iconv/Versions: Likewise.
51557         * elf/Versions: Likewise.
51558         * wcsmbs/Versions: Likewise.
51560 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51562         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51563         loop termination condition.
51565         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51566         variable to calculate EZ.
51567         (__sqr): Likewise.
51569         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51570         the lower precision input.
51572 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51574         [BZ #13550]
51575         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51576         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51577         (run-via-rtld-prefix): Do not handle %-bp tests.
51578         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51579         (all-object-suffixes): Remove .ob.
51580         (bppfx): Remove variable.
51581         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51582         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51583         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51584         [$(build-bounded) = yes] (libtype.ob): Likewise.
51585         * Makerules (elide-routines.ob): Remove variable.
51586         (do-tests-clean): Do not handle *-bp.out.
51587         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51588         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51589         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51590         (tests): Do not include $(tests-bp.out).
51591         (xtests): Do not include $(xtests-bp.out).
51592         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51593         [$(build-bounded) = yes] ($(addprefix
51594         $(objpfx),$(binaries-bounded))): Remove rule.
51595         ($(objpfx)%-bp.out): Remove rule.
51596         * config.make.in (build-bounded): Remove variable.
51597         * crypt/Makefile [$(build-bounded) = yes]
51598         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51599         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51600         append to variable.
51601         [$(build-bounded) = yes] (install-lib): Likewise.
51602         [$(build-bounded) = yes] (generated): Likewise.
51603         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51604         Remove rule.
51605         * intl/Makefile [$(build-bounded) = yes]
51606         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51607         * math/Makefile [$(build-bounded) = yes]
51608         ($(tests:%=$(objpfx)%-bp): Likewise.
51609         * misc/Makefile [$(build-bounded) = yes]
51610         ($(objpfx)tst-tsearch-bp): Likewise.
51611         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51612         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51613         Remove dependency.
51614         * string/Makefile (o-objects.ob): Remove variable.
51615         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51616         (CFLAGS-.ob): Remove variable.
51617         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51618         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51619         both definitions of variable.
51620         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51621         (ASFLAGS-.ob): Remove variable.
51623 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51625         [BZ #13550]
51626         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51627         Remove __BOUNDED_POINTERS__ from condition.
51628         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51629         * string/bits/string2.h [!__NO_STRING_INLINES &&
51630         !__BOUNDED_POINTERS__]: Likewise.
51631         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51632         Likewise.
51633         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51634         Remove conditional code.
51635         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51636         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51637         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51638         condition.
51640         [BZ #13550]
51641         * csu/libc-start.c: Do not include <bp-sym.h>.
51642         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51643         * elf/dl-open.c: Do not include <bp-sym.h>.
51644         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51645         * math/fegetenv.c: Do not include <bp-sym.h>.
51646         (fegetenv): Do not use BP_SYM in versioned symbols.
51647         * nptl/sysdeps/pthread/bits/libc-lockP.h
51648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51649         <bp-sym.h>.
51650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51651         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51653         (__pthread_mutex_destroy): Likewise.
51654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51655         (__pthread_mutex_lock): Likewise.
51656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51657         (__pthread_mutex_trylock): Likewise.
51658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51659         (__pthread_mutex_unlock): Likewise.
51660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51661         (__pthread_mutexattr_init): Likewise.
51662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51663         (__pthread_mutexattr_destroy): Likewise.
51664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51665         (__pthread_mutexattr_settype): Likewise.
51666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51667         (__pthread_rwlock_init): Likewise.
51668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51669         (__pthread_rwlock_destroy): Likewise.
51670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51671         (__pthread_rwlock_rdlock): Likewise.
51672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51673         (__pthread_rwlock_tryrdlock): Likewise.
51674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51675         (__pthread_rwlock_wrlock): Likewise.
51676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51677         (__pthread_rwlock_trywrlock): Likewise.
51678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51679         (__pthread_rwlock_unlock): Likewise.
51680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51681         (__pthread_key_create): Likewise.
51682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51683         (__pthread_setspecific): Likewise.
51684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51685         (__pthread_getspecific): Likewise.
51686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51687         Likewise.
51688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51689         (_pthread_cleanup_push_defer): Likewise.
51690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51691         (_pthread_cleanup_pop_restore): Likewise.
51692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51693         (pthread_setcancelstate): Likewise.
51694         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51695         <bp-sym.h>.
51696         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51697         (memchr): Do not use BP_SYM in weak_alias.
51698         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51699         (fegetenv): Do not use BP_SYM in versioned symbols.
51700         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51701         (fesetenv): Do not use BP_SYM in versioned symbols.
51702         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51703         (feupdateenv): Do not use BP_SYM in versioned symbols.
51704         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51705         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51706         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51707         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51708         (open64): Do not use BP_SYM in weak_alias.
51709         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51710         (fegetenv): Do not use BP_SYM in versioned symbols.
51711         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51712         (fesetenv): Do not use BP_SYM in versioned symbols.
51713         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51714         (feupdateenv): Do not use BP_SYM in versioned symbols.
51715         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51716         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51717         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51718         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51719         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51720         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51721         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51722         <bp-sym.h>.
51723         (__libc_start_main): Do not use BP_SYM.
51725 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51728         redundant return line.
51729         (norm): Likewise.
51730         (denorm): Likewise.
51731         (dbl_mp): Likewise.
51732         (sub_magnitudes): Likewise.
51733         (__add): Likewise.
51734         (__sub): Likewise.
51735         (__mul): Likewise.
51736         (__inv): Likewise.
51737         (__dvd): Likewise.
51738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51739         (norm): Likewise.
51740         (denorm): Likewise.
51741         (dbl_mp): Likewise.
51742         (sub_magnitudes): Likewise.
51743         (__add): Likewise.
51744         (__sub): Likewise.
51745         (__mul): Likewise.
51746         (__inv): Likewise.
51747         (__dvd): Likewise.
51749         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51750         instead of __mul.
51751         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51752         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51753         (cc32): Likewise.
51755         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51756         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51757         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51758         of __mul for squares.
51759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51760         function
51761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51762         Likewise.
51763         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51764         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51766 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51768         [BZ #13550]
51769         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51770         code.
51771         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51772         prototype or function definition.  Rename ubp_* variables and
51773         parameters.  Remove argv definitions conditional on
51774         [__BOUNDED_POINTERS__].
51775         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51776         * elf/dl-runtime.c (_dl_fixup): Likewise.
51777         * include/set-hooks.h (RUN_HOOK): Likewise.
51778         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51779         definition.
51780         * string/strcpy.c (strcpy): Do not use __unbounded.
51781         * sysdeps/generic/frame.h (struct layout): Likewise.
51782         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51783         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51784         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51785         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51786         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51787         (__backtrace): Likewise.
51788         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51789         use __ptrvalue.
51790         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51791         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51792         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51793         Likewise.
51794         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51795         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51796         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51797         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51798         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51799         Do not use __unbounded.
51800         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51801         Rename __unboundedrlimits parameter to rlimits in prototype.
51802         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51803         Do not use __unbounded.
51804         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51805         not use __ptrvalue.
51806         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51807         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51808         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51809         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51810         __ptrvalue or __unbounded.
51811         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51812         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51813         use __unbounded.
51814         (__new_msgctl): Do not use __ptrvalue.
51815         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51816         __unbounded.
51817         (__libc_msgrcv): Do not use __ptrvalue.
51818         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51819         startup_info): Do not use __unbounded.
51820         (__libc_start_main): Likewise.  Rename ubp_* variables and
51821         parameters.  Remove argv definitions conditional on
51822         [__BOUNDED_POINTERS__].
51823         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51824         __ptrvalue.
51825         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51826         use __unbounded.
51827         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51828         or __ptrvalue.
51829         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51830         use __unbounded.
51831         (__new_shmctl): Do not use __ptrvalue.
51832         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51833         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51834         Likewise.
51835         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51836         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51837         (__libc_sigaction): Likewise.
51838         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51839         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51840         Likewise.
51841         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51843 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51845         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51847         * string/mempcpy.c: Implement by calling memcpy.
51849 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51854         evaluation.
51856         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51857         values in the mantissa.
51859         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51860         minimize writes to Z.
51861         (sub_magnitudes): Simplify code a bit.
51863 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51865         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51866         from the message.  The linker prefixes all warnings with that already.
51868 2013-02-12  Andreas Schwab  <schwab@suse.de>
51870         [BZ #15078]
51871         * posix/regexec.c (extend_buffers): Add parameter min_len.
51872         (check_matching): Pass minimum needed length.
51873         (clean_state_log_if_needed): Likewise.
51874         (get_subexp): Likewise.
51875         * posix/Makefile (tests): Add bug-regex34.
51876         (bug-regex34-ENV): Define.
51877         * posix/bug-regex34.c: New file.
51879         [BZ #11561]
51880         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51881         elements compare against the byte sequence of it, not its name.
51882         * posix/Makefile (tests): Add bug-regex35.
51883         (bug-regex35-ENV): Define.
51884         * posix/bug-regex35.c: New file.
51886 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51888         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51889         comment.
51890         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51891         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51892         (CHECK_EOL): Add undef.
51894 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51896         * bits/stdlib-bsearch.h: New file.
51897         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51898         * stdlib/stdlib.h: Likewise.
51900 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51902         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51903         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51904         declaration.
51905         * manual/search.texi (Array Search Function): Add missing const in
51906         lfind prototype.
51907         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51908         declaration to use rlim_t.
51909         (Basic Scheduling Functions): Remove erroneous const from
51910         sched_getparam prototype.  Remove erroneous * from
51911         sched_get_priority_max and sched_get_priority_min prototypes.
51912         (Resource Usage): Fix summary @comment on vtimes to refer to
51913         sys/vtimes.h rather than vtimes.h.
51914         Add missing *s in vtimes prototype.
51915         (Limits on Resources): Fix ulimit prototype to return long int.
51916         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51917         prototypes to use long int rather than double.
51918         (BSD Random): Fix initstate and setstate to use char *, not void *.
51919         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51920         prototype to make second argument 'struct aiocb64 *const[]'.
51921         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51922         (Status of AIO Operations): Remove erroneous const in aio_return and
51923         aio_return64 prototypes.
51924         (Synchronizing I/O): Fix sync prototype to return void.
51925         * manual/startup.texi (Suboptions): Remove an erroneous const in
51926         getsubopt prototype.
51927         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51928         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51929         use size_t rather than int.
51930         (Scanning All Users): Likewise for getpwent_r.
51931         (Setting Groups): Add missing const to setgroups prototype.
51932         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51933         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51934         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51935         'const void *' rather than 'const char *'.
51936         (Host Address Functions): Likewise for inet_ntop.
51937         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51938         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51939         ssize_t for return value.
51940         (Sending Data): Likewise for send, sendto, sendmsg.
51941         (Socket Option Functions): Add a missing const in setsockopt prototype.
51942         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51943         use wchar_t for the argument.
51944         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51945         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51946         take no arguments.
51947         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51948         double/float/long double for second argument.
51949         Fix return types of significand, significandf, significandl.
51950         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51951         argument in fchmod prototype.
51952         (File Owner): Use uid_t and gid_t in fchown prototype.
51953         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51954         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51955         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51956         use 'const struct dirent **' as argument types to CMP function pointer
51957         argument.
51958         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51959         (File Times): Fix summary magic @comment for struct utimbuf and utime
51960         to refer to utime.h, not time.h.
51961         * manual/string.texi (Argz Functions): Add missing const in
51962         argz_extract and argz_next prototypes.
51963         (Finding Tokens in a String): Likewise for basename.
51964         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51965         (Copying and Concatenation): Fix typo in wmemmove prototype.
51966         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51967         (Signal Stack): Remove erroneous const in sigstack prototype.
51968         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51969         prototype.
51970         (Simple Calendar Time): Likewise for stime.
51971         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51972         prototype.
51973         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51974         say sys/sysctl.h instead.
51975         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51976         and vsyslog prototypes.
51978 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51980         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51981         Remove.
51983 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51985         * misc/sys/mman.h: Fix typo in mremap comment.
51987 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51989         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51990         the '\0' terminator.
51992 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51994         [BZ #13550]
51995         * debug/segfault.c: Don't include <bp-checks.h>.
51996         * sysdeps/generic/bp-checks.h: Remove file.
51997         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51998         (__GETDENTS): Don't use CHECK_N.
51999         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52000         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52001         (__getgroups): Don't use CHECK_N.
52002         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52003         (setgroups): Don't use CHECK_N.
52004         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52005         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52006         (__libc_msgrcv): Don't use CHECK_N.
52007         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52008         (__libc_msgsnd): Don't use CHECK_N.
52009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52010         <bp-checks.h>.
52011         (__libc_pread): Don't use CHECK_N.
52012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52013         include <bp-checks.h>.
52014         (__libc_pread64): Don't use CHECK_N.
52015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52016         include <bp-checks.h>.
52017         (__libc_pwrite): Don't use CHECK_N.
52018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52019         include <bp-checks.h>.
52020         (__libc_pwrite64): Don't use CHECK_N.
52021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52022         <bp-checks.h>.
52023         (__libc_pread): Don't use CHECK_N.
52024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52025         include <bp-checks.h>.
52026         (__libc_pread64): Don't use CHECK_N.
52027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52028         include <bp-checks.h>.
52029         (__libc_pwrite): Don't use CHECK_N.
52030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52031         include <bp-checks.h>.
52032         (__libc_pwrite64): Don't use CHECK_N.
52033         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52034         (do_pread): Don't use CHECK_N.
52035         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52036         (do_pread64): Don't use CHECK_N.
52037         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52038         (do_pwrite): Don't use CHECK_N.
52039         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52040         (do_pwrite64): Don't use CHECK_N.
52041         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52042         (__libc_readv): Don't use CHECK_N.
52043         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52044         (semop): Don't use CHECK_N.
52045         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52046         <bp-checks.h>.
52047         (semtimedop): Don't use CHECK_N.
52048         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52049         (__libc_pread): Don't use CHECK_N.
52050         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52051         <bp-checks.h>.
52052         (__libc_pread64): Don't use CHECK_N.
52053         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52054         <bp-checks.h>.
52055         (__libc_pwrite): Don't use CHECK_N.
52056         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52057         <bp-checks.h>.
52058         (__libc_pwrite64): Don't use CHECK_N.
52059         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52060         <bp-checks.h>.
52061         (__libc_msgrcv): Don't use CHECK_N.
52062         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52063         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52064         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52065         (__libc_writev): Don't use CHECK_N.
52067 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52069         * string/strcpy.c: Removed unused variable.
52071         * Makeconfig (+sysdep-includes): Define with := rather than =.
52072         Use an existing include/ subdir of each sysdeps dir before it.
52074 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52076         * nscd/connection.c (register_traced_file): Comment function.
52077         [HAVE_INOTIFY] (union __inev): Define.
52078         [HAVE_INOTIFY] (inotify_check_files): New function.
52079         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52080         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52081         clear_db_cache.
52082         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52084 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52086         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52087         loaded if not already and that a failure is permanent.
52089 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52091         [BZ #15006]
52092         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52093         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52095 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52097         [BZ #13550]
52098         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52099         (CHECK_1_NULL_OK): Likewise.
52100         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52101         (__fxstat): Do not use CHECK_1.
52102         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52103         <bp-checks.h>.
52104         (___fxstat64): Do not use CHECK_1.
52105         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52106         <bp-checks.h>.
52107         (__fxstatat): Do not use CHECK_1.
52108         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52109         <bp-checks.h>.
52110         (__fxstatat64): Do not use CHECK_1.
52111         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52112         <bp-checks.h>.
52113         (__fxstat): Do not use CHECK_1.
52114         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52115         <bp-checks.h>.
52116         (__fxstatat): Do not use CHECK_1.
52117         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52118         <bp-checks.h>.
52119         (__getresgid): Do not use CHECK_1.
52120         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52121         <bp-checks.h>.
52122         (__getresuid): Do not use CHECK_1.
52123         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52124         <bp-checks.h>.
52125         (__lxstat): Do not use CHECK_1.
52126         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52127         <bp-checks.h>.
52128         (__old_msgctl): Do not use CHECK_1.
52129         (__new_msgctl): Likewise.
52130         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52131         <bp-checks.h>.
52132         (__new_setrlimit): Do not use CHECK_1.
52133         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52134         <bp-checks.h>.
52135         (__old_shmctl): Do not use CHECK_1.
52136         (__new_shmctl): Likewise.
52137         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52138         <bp-checks.h>.
52139         (__xstat): Do not use CHECK_1.
52140         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52141         (__lxstat): Do not use CHECK_1.
52142         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52143         <bp-checks.h>.
52144         (___lxstat64): Do not use CHECK_1.
52145         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52146         (__old_msgctl): Do not use CHECK_1.
52147         (__new_msgctl): Likewise.
52148         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52149         <bp-checks.h>.
52150         (__gettimeofday): Do not use CHECK_1.
52151         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52152         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52153         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52154         <bp-checks.h>.
52155         (__gettimeofday): Do not use CHECK_1.
52156         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52157         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52158         (__new_shmctl): Do not use CHECK_1.
52159         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52160         <bp-checks.h>.
52161         (do_sigtimedwait): Do not use CHECK_1.
52162         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52163         <bp-checks.h>.
52164         (do_sigwaitinfo): Do not use CHECK_1.
52165         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52166         <bp-checks.h>.
52167         (msgctl): Do not use CHECK_1.
52168         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52169         <bp-checks.h>.
52170         (shmctl): Do not use CHECK_1.
52171         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52172         (ustat): Do not use CHECK_1.
52173         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52174         <bp-checks.h>.
52175         (__fxstat): Do not use CHECK_1.
52176         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52177         <bp-checks.h>.
52178         (__fxstatat): Do not use CHECK_1.
52179         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52180         <bp-checks.h>.
52181         (__lxstat): Do not use CHECK_1.
52182         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52183         <bp-checks.h>.
52184         (__xstat): Do not use CHECK_1.
52185         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52186         (__xstat): Do not use CHECK_1.
52187         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52188         (___xstat64): Do not use CHECK_1.
52190         [BZ #13550]
52191         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52192         definitions.
52193         (CHECK_BOUNDS_HIGH): Likewise.
52194         * string/strcpy.c: Do not include <bp-checks.h>.
52195         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52197 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52199         * nscd/nscd-client.h (__nscd_drop_map_ref):
52200         Add __attribute__ ((unused)).
52201         * nis/nss-nisplus.h (niserr2nss): Likewise.
52203         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52204         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52206         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52207         Remove inline keyword.
52208         * include/rounding-mode.h (round_away): Likewise.
52209         * libio/wfileops.c (adjust_wide_data): Likewise.
52210         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52211         (__m128i_strloadu_tolower): Likewise.
52212         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52213         (__m128i_strloadu_tolower): Likewise.
52214         * time/mktime.c (ydhms_diff): Likewise.
52215         * locale/elem-hash.h (elem_hash): Likewise.
52216         * locale/setlocale.c (setdata): Likewise.
52217         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52218         (re_string_wchar_at): Likewise.
52219         (bitset_not, bitset_merge, bitset_mask): Likewise.
52220         [!(__GNUC__ > 3)] (inline): Remove macro.
52221         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52222         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52223         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52224         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52225         * string/memcmp.c (memcmp_bytes): Likewise.
52226         * locale/programs/locarchive.c (compute_hashval): Likewise.
52227         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52228         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52229         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52230         * nss/getent.c (print_rpc, print_protocols): Likewise.
52231         (print_passwd, print_group, print_aliases): Likewise.
52232         * nis/nss-nisplus.h (niserr2nss): Likewise.
52233         * nscd/connections.c (restart_p): Likewise.
52234         Change return type to bool.
52236 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52238         * Makeconfig (all-Depend-files): Add existing
52239         $(sorted-subdirs:=/Depend) files.
52240         (all-subdirs): Remove nss.
52241         * sysdeps/unix/inet/Subdirs: Add it here instead.
52242         * hesiod/Depend: New file.
52244         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52245         instead of calling alloca.
52247         * io/lseek.c (__lseek): Rename to __libc_lseek.
52248         Define __lseek as an alias.
52250         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52252 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52254         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52255         else clause and remove check for non-standard endianness.
52257 2013-02-04  David S. Miller  <davem@davemloft.net>
52259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52261 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52263         [BZ #13550]
52264         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52265         (__ubp_memchr): Remove prototype.
52266         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52267         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52268         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52269         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52270         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52271         Remove alias.
52272         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52273         (__ubp_memchr): Likewise.
52274         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52275         (__ubp_memchr): Likewise.
52276         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52277         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52278         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52279         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52280         CHECK_STRING.
52281         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52282         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52283         (__getcwd): Do not use CHECK_STRING.
52284         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52285         <bp-checks.h>.
52286         (__real_chown): Do not use CHECK_STRING.
52287         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52288         <bp-checks.h>.
52289         (fchownat): Do not use CHECK_STRING.
52290         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52291         CHECK_STRING.
52292         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52293         <bp-checks.h>.
52294         (__lchown): Do not use CHECK_STRING.
52295         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52296         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52297         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52298         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52300         include <bp-checks.h>.
52301         (truncate64): Do not use CHECK_STRING.
52302         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52303         <bp-checks.h>.
52304         (__real_chown): Do not use CHECK_STRING.
52305         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52306         <bp-checks.h>.
52307         (__lchown): Do not use CHECK_STRING.
52308         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52309         <bp-checks.h>.
52310         (__chown): Do not use CHECK_STRING.
52311         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52312         <bp-checks.h>.
52313         (truncate64): Do not use CHECK_STRING.
52314         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52315         Likewise.
52316         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52317         (__xmknod): Do not use CHECK_STRING.
52318         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52319         <bp-checks.h>.
52320         (__xmknodat): Do not use CHECK_STRING.
52321         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52322         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52324 2013-02-04  Andreas Schwab  <schwab@suse.de>
52326         [BZ #14142]
52327         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52328         * include/netdb.h: Likewise for h_errno.
52329         * elf/tst-stackguard1.c: Include <tls.h>.
52331 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52333         * elf/link.h (struct link_map): Extend the l_addr comment.
52334         * include/link.h (struct link_map): Likewise.
52336 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52338         [BZ #13550]
52339         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52340         (BOUNDED_1): Remove macro.
52341         * debug/backtrace.c: Don't include <bp-checks.h>.
52342         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52343         (__backtrace): Likewise.
52344         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52345         <bp-checks.h>.
52346         (__backtrace): Don't use BOUNDED_1.
52347         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52348         <bp-checks.h>.
52349         (__backtrace): Don't use BOUNDED_1.
52350         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52351         (__backtrace): Don't use BOUNDED_1.
52352         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52353         (shmat): Don't use BOUNDED_N.
52355 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52357         [BZ #13550]
52358         * sysdeps/generic/bp-start.h: Remove file.
52359         * csu/libc-start.c: Don't include <bp-start.h>.
52360         (LIBC_START_MAIN): Set up __environ directly instead of using
52361         INIT_ARGV_and_ENVIRON.
52362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52363         <bp-start.h>.
52365         [BZ #13550]
52366         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52367         definitions.
52368         (CHECK_FCNTL): Likewise.
52369         (CHECK_N_PAGES): Likewise.
52371         [BZ #13550]
52372         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52373         definitions.
52374         (CHECK_SIGSET_NULL_OK): Likewise.
52375         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52376         <bp-checks.h>.
52377         (sigpending): Don't use CHECK_SIGSET.
52378         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52379         <bp-checks.h>.
52380         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52381         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52382         <bp-checks.h>.
52383         (do_sigsuspend): Don't use CHECK_SIGSET.
52384         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52385         use CHECK_SIGSET.
52386         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52387         (do_sigwait): Don't use CHECK_SIGSET.
52388         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52389         use CHECK_SIGSET.
52390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52391         include <bp-checks.h>.
52392         (sigpending): Don't use CHECK_SIGSET.
52393         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52394         include <bp-checks.h>.
52395         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52396         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52397         <bp-checks.h>.
52398         (sigpending): Don't use CHECK_SIGSET.
52399         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52400         <bp-checks.h>.
52401         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52403         [BZ #13550]
52404         * sysdeps/generic/bp-semctl.h: Remove file.
52405         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52406         <bp-checks.h> and <bp-semctl.h>.
52407         (__old_semctl): Don't use CHECK_SEMCTL.
52408         (__new_semctl): Likewise.
52409         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52410         and <bp-semctl.h>.
52411         (__old_semctl): Don't use CHECK_SEMCTL.
52412         (__new_semctl): Likewise.
52413         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52414         <bp-checks.h> and <bp-semctl.h>.
52415         (__old_semctl): Don't use CHECK_SEMCTL.
52416         (__new_semctl): Likewise.
52417         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52418         <bp-checks.h> and <bp-semctl.h>.
52419         (semctl): Don't use CHECK_SEMCTL.
52421         [BZ #13550]
52422         * Makerules (elide-bp-thunks): Remove variable.
52423         (elide-routines.oS): Don't use $(elide-bp-thunks).
52424         (elide-routines.os): Likewise.
52425         (elide-routines.o): Likewise.
52426         (elide-routines.op): Likewise.
52427         (elide-routines.og): Likewise.
52428         (objects): Don't use $(bp-thunks).
52429         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52430         include.
52431         (common-generated): Do not add s-proto-bp.d.
52432         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52433         (int): Likewise.
52434         (typ): Likewise.
52435         Do not generate makefile rules for bounded-pointer thunks.
52436         * sysdeps/generic/bp-thunks.h: Remove file.
52437         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52438         * sysdeps/unix/s-proto-bp.S: Likewise.
52440         [BZ #15062]
52441         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52442         parts of result separately when argument is not close to line from
52443         -i to i and one part of argument is small.
52444         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52445         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52446         * math/libm-test.inc (cacos_test): Add more tests.
52447         (casin_test): Likewise.
52448         (casinh_test): Likewise.
52449         * sysdeps/i386/fpu/libm-test-ulps: Update.
52450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52452 2013-01-31  David S. Miller  <davem@davemloft.net>
52454         * po/de.po: Update from translation team.
52456 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52458         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52460 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52462         * configure.in (_AC_PROG_CC_C89): New definition.
52463         * configure: Regenerate.
52465         * configure.in (AC_PROG_CPP): New definition.
52466         * configure: Regenerate.
52468 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52470         * debug/tst-backtrace.h: New file.
52471         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52472         (ret): Remove variable.
52473         (x): Likewise.
52474         (FAIL): Remove macro.
52475         (NO_INLINE): Likewise.
52476         (fn1): Use match function instead of strstr.
52477         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52478         (ret): Remove variable.
52479         (x): Likewise.
52480         (FAIL): Remove macro.
52481         (NO_INLINE): Likewise.
52482         (fn): Use match function instead of strstr.
52483         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52484         (ret): Remove variable.
52485         (x): Likewise.
52486         (FAIL): Remove macro.
52487         (NO_INLINE): Likewise.
52488         (handle_signal): Use match function instead of strstr.
52489         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52490         (ret): Remove variable.
52491         (x): Likewise.
52492         (FAIL): Remove macro.
52493         (NO_INLINE): Likewise.
52494         (handle_signal): Use match function instead of strstr.
52496 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52498         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52500 2013-01-23  David S. Miller  <davem@davemloft.net>
52502         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52503         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52504         argument of CAS if possible.
52505         * sysdeps/sparc/sparc64/bits/atomic.h
52506         (__arch_compare_and_exchange_val_32_acq): Likewise.
52507         (__arch_compare_and_exchange_val_64_acq): Likewise.
52509 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52511         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52512         * sysdeps/posix/ulimit.c: ... this.
52513         Include <limits.h>.
52514         * sysdeps/unix/bsd/ulimit.c: Remove file.
52516 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52518         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52519         (LDFLAGS-tst-array5): Likewise.
52521 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52523         [BZ #15036]
52524         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52525         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52526         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52527         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52529 2013-01-21  David S. Miller  <davem@davemloft.net>
52531         * sysdeps/sparc/backtrace.c: New file.
52532         * sysdeps/sparc/sparc32/backtrace.h: New file.
52533         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52534         * sysdeps/sparc/sparc64/backtrace.h: New file.
52535         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52536         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52537         -funwind-tables.
52539 2013-01-21  Andreas Schwab  <schwab@suse.de>
52541         [BZ #15020]
52542         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52543         closed its stdout.
52545 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52548         "mpa2.h".
52549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52551 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52552             Mark Mitchell  <mark@codesourcery.com>
52553             Tom de Vries  <tom@codesourcery.com>
52554             Paul Pluzhnikov  <ppluzhnikov@google.com>
52556         * debug/tst-backtrace2.c: New file.
52557         * debug/tst-backtrace3.c: Likewise.
52558         * debug/tst-backtrace4.c: Likewise.
52559         * debug/tst-backtrace5.c: Likewise.
52560         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52561         (CFLAGS-tst-backtrace3.c): Likewise.
52562         (CFLAGS-tst-backtrace4.c): Likewise.
52563         (CFLAGS-tst-backtrace5.c): Likewise.
52564         (LDFLAGS-tst-backtrace2): Likewise.
52565         (LDFLAGS-tst-backtrace3): Likewise.
52566         (LDFLAGS-tst-backtrace4): Likewise.
52567         (LDFLAGS-tst-backtrace5): Likewise.
52568         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52569         tst-backtrace4 and tst-backtrace5.
52571 2013-01-18  Anton Blanchard  <anton@samba.org>
52572             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52574         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52575         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52576         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52577         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52579         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52580         "+r" and remove output regs list as redundant.  Add explicit inline
52581         asm to specify register of return val to work around compiler codegen
52582         bug.  Remove (int) cast on return value.  Add return type parameter to
52583         use in macro so that this macro does not truncate return value for
52584         64-bit values.
52585         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52586         pass to INTERNAL_VSYSCALL_NCS.
52587         (INLINE_VSYSCALL): Add 'long int' as return type to
52588         INTERNAL_VSYSCALL_NCS macro invocation.
52589         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52590         INTERNAL_VSYSCALL_NCS macro invocation.
52591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52593 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52595         [BZ #14496]
52596         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52597         Fix application of SIMD FP exception mask.
52599         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52600         mp_no from a power of two.
52601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52602         __mpexp_twomm1.  Use __pow_mp.
52604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52605         multiplication.
52607 2013-01-17  David S. Miller  <davem@davemloft.net>
52609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52611 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52613         [BZ #15023]
52614         * include/complex.h: Condition contents on [!_COMPLEX_H].
52615         (__kernel_casinhf): New prototype.
52616         (__kernel_casinh): Likewise.
52617         (__kernel_casinhl): Likewise.
52618         * math/Makefile (libm_calls): Add k_casinh.
52619         * math/k_casinh.c: New file.
52620         * math/k_casinhf.c: Likewise.
52621         * math/k_casinhl.c: Likewise.
52622         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52623         finite nonzero arguments.
52624         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52625         finite nonzero arguments.
52626         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52627         finite nonzero arguments.
52628         * math/s_casinh.c: Do not include <float.h>.
52629         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52630         * math/s_casinhf.c: Do not include <float.h>.
52631         (__casinhf): Move code for finite nonzero arguments to
52632         k_casinhf.c.
52633         * math/s_casinhl.c: Do not include <float.h>.
52634         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52635         redefine.
52636         (__casinhl): Move code for finite nonzero arguments to
52637         k_casinhl.c.
52638         * math/libm-test.inc (cacos_test): Add more tests.
52639         * sysdeps/i386/fpu/libm-test-ulps: Update.
52640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52642 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52644         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52645         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52646         [!HAVE_MREMAP]: Remove [defined linux] case.
52647         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52649 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52651         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52653 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52655         * elf/elf.h (R_386_SIZE32): New relocation.
52656         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52657         R_386_SIZE32.
52658         (elf_machine_rela): Likewise.
52659         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52660         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52662 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52664         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52665         (FP_FAST_FMA): Do not define.
52666         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52667         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52668         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52669         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52670         !_SOFT_FLOAT]: Likewise.
52671         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52672         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52673         value.
52674         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52675         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52676         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52677         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52678         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52679         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52680         file.
52682 2013-01-16  Andreas Schwab  <schwab@suse.de>
52684         [BZ #14327]
52685         * include/stdlib.h (__mktemp): Add declaration.
52686         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52687         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52689 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52691         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52692         definitions.
52693         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52694         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52695         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52696         definitions here.
52697         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52698         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52699         definitions.
52700         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52701         and ONE.
52702         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52703         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52704         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52705         definitions.
52706         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52707         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52708         definitions.
52709         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52711         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52713 2013-01-15  David S. Miller  <davem@davemloft.net>
52715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52716         trunc{,f} to libm-sysdep_routes.
52717         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52719         file.
52720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52722         file.
52723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52724         file.
52725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52727         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52728         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52729         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52730         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52731         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52732         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52735         nearbyint{,f} to libm-sysdep_routes.
52736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52738         New file.
52739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52740         file.
52741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52742         New file.
52743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52744         file.
52745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52747         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52748         file.
52749         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52750         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52751         file.
52752         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52753         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52754         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52756         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52757         libc_feholdexcept and libc_fesetenv.
52759 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52761         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52763 2013-01-14  David S. Miller  <davem@davemloft.net>
52765         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52766         (SPARC_ASM_VIS2_IFUNC): Likewise.
52767         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52769         use of 'siam' instruction.
52770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52771         Likewise.
52772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52773         Likewise.
52774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52775         Likewise.
52776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52781         file.
52782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52783         file.
52784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52785         file.
52786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52787         file.
52788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52793         new VIS2 routines.
52794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52797         Likewise.
52798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52803         routines to libm-sysdep_routines.
52804         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52807         fdim/fdimf to libm-sysdep_routines.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52809         file.
52810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52812         file.
52813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52816         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52817         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52818         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52819         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52821 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52824         to optimize copies.
52826         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52831         local variable MPTWO.
52832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52833         Likewise.
52835 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52837         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52838         GLOB_NOESCAPE.
52840 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52842         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52844 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52846         * manual/pattern.texi (glob_t): Document gl_flags.
52847         (glob64_t): Likewise.
52849 2013-01-11  David S. Miller  <davem@davemloft.net>
52851         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52852         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52853         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52854         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52855         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52856         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52857         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52858         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52859         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52860         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52861         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52862         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52863         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52865         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52866         sparc V9 rather than using V8 code.
52867         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52868         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52870         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52871         Move to...
52872         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52873         Here.
52875 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52877         [BZ #14941]
52878         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52879         not in the main loop.
52880         * configure: Regenerated.
52882 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52884         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52885         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52886         to just #else.
52887         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52888         [!__GLIBC_HAVE_LONG_LONG] case.
52889         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52890         condition to just #else.
52891         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52892         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52893         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52894         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52895         unconditional.
52896         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52897         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52898         #elif condition to just #else.
52899         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52900         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52901         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52902         #elif condition to just #else.
52904 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52906         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52907         (EF_MIPS_ARCH_64): Fix value.
52908         (EF_MIPS_ARCH_32R2): New.
52909         (EF_MIPS_ARCH_64R2): New.
52911 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52913         * Makeconfig (+link-pie-before-libc): New.
52914         (+link-pie-after-libc): Likewise.
52915         (+link-pie-tests): Likewise.
52916         (+link-pie): Rewritten.
52917         (link-before-libc): Remove $(config-LDFLAGS).
52918         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52919         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52920         (config-LDFLAGS): Renamed to ...
52921         (rtld-LDFLAGS): This.
52922         (rtld-tests-LDFLAGS): New macro.
52923         (link-libc-rpath-link): Likewise.
52924         (link-libc-tests-rpath-link): Likewise.
52925         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52926         (link-libc): Prepand $(link-libc-rpath-link).
52927         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52928         (test-program-prefix): New macro.
52929         (test-via-rtld-prefix): Likewise.
52930         (test-program-cmd): Likewise.
52931         (host-test-program-cmd): Likewise.
52932         * Makefile ($(common-objpfx)testrun.sh): Replace
52933         $(run-program-prefix) with $(test-program-prefix).
52934         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52935         $(rtld-LDFLAGS).
52936         ($(common-objpfx)shlib.lds): Likewise.
52937         (build-module-helper): Likewise.
52938         ($(common-objpfx)format.lds): Likewise.
52939         * Rules (binaries-pie-tests): New.
52940         (binaries-pie-notests): Likewise.
52941         (binaries-pie): Rewritten.
52942         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52943         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52944         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52945         (make-test-out): Replace $(host-built-program-cmd) with
52946         $(host-test-program-cmd).
52947         * config.make.in (build-hardcoded-path-in-tests): New variable.
52948         * configure.in (--enable-hardcoded-path-in-tests): New configure
52949         option.
52950         (hardcoded_path_in_tests): New AC_SUBST.
52951         * configure: Regenerated.
52952         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52953         $(built-program-cmd) with $(test-program-cmd).
52954         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52955         (test_program_cmd): This.
52956         * elf/Makefile ($(objpfx)order.out): Run test with
52957         $(test-program-prefix).
52958         ($(objpfx)order2.out): Likewise.
52959         ($(objpfx)tst-initorder.out): Likewise.
52960         ($(objpfx)tst-initorder2.out): Likewise.
52961         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52962         $(test-program-cmd).
52963         ($(objpfx)tst-array1-static.out): Likewise.
52964         ($(objpfx)tst-array2.out): Likewise.
52965         ($(objpfx)tst-array3.out): Likewise.
52966         ($(objpfx)tst-array4.out): Likewise.
52967         ($(objpfx)tst-array5.out): Likewise.
52968         ($(objpfx)tst-array5-static.out): Likewise.
52969         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52970         $(test-program-cmd).
52971         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52972         $(run-program-prefix) with $(test-program-prefix).
52973         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52974         (test_program_prefix): This.
52975         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52976         $(run-program-prefix) with $(test-program-prefix).
52977         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52978         (test_program_prefix): This.
52979         * iconvdata/tst-tables.sh: Likewise.
52980         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52981         $(run-program-prefix) with $(test-program-prefix).
52982         ($(objpfx)tst-translit.out): Likewise.
52983         ($(objpfx)tst-gettext2.out): Likewise.
52984         ($(objpfx)tst-gettext4.out): Likewise.
52985         ($(objpfx)tst-gettext6.out): Likewise.
52986         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52987         (test_program_prefix): This.
52988         * intl/tst-gettext2.sh: Likewise.
52989         * intl/tst-gettext4.sh  Likewise.
52990         * intl/tst-gettext6.sh: Likewise.
52991         * intl/tst-translit.sh: Likewise.
52992         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52993         with $(test-program-cmd).
52994         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52995         $(run-program-prefix) with $(test-program-prefix).
52996         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52997         (test_program_prefix): This.
52998         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52999         $(run-program-prefix) with $(test-program-prefix).
53000         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53001         (test_program_prefix): This.
53002         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53003         * posix/Makefile ($(objpfx)globtest.out): Replace
53004         $(run-via-rtld-prefix) and $(test-wrapper) with
53005         $(test-program-prefix) and $(test-via-rtld-prefix).
53006         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53007         $(test-program-prefix).
53008         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53009         $(host-test-program-cmd).
53010         (tst-spawn-ARGS): Likewise.
53011         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53012         $(test-program-prefix).
53013         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53014         (test_via_rtld_prefix): This.
53015         (test_wrapper): Renamed to ...
53016         (test_program_prefix): This.
53017         (run_program_prefix): Replaced by test_program_prefix.
53018         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53019         (test_program_prefix): This.
53020         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53021         with $(host-test-program-cmd).
53022         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53023         $(run-program-prefix) with $(test-program-prefix).
53024         ($(objpfx)tst-printf.out): Likewise.
53025         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53026         $(test-program-cmd).
53027         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53028         (test_program_prefix): This.
53029         * stdio-common/tst-unbputc.sh: Likewise.
53030         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53031         $(run-program-prefix) with $(test-program-prefix).
53032         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53033         (test_program_prefix): This.
53034         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53035         $(built-program-cmd) with $(test-program-cmd).
53037 2013-01-11  Andreas Jaeger  <aj@suse.de>
53039         [BZ #15003]
53040         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53041         value. Sync with Linux 3.7.
53043 2013-01-10  David S. Miller  <davem@davemloft.net>
53045         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53046         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53047         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53049 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53051         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53052         never set.
53053         * configure: Regenerated.
53055 2013-01-10  David S. Miller  <davem@davemloft.net>
53057         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53058         sparc V9 rather than using V8 code.
53059         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53060         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53062 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53064         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53065         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53066         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53067         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53068         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53069         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53070         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53071         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53072         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53073         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53074         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53075         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53076         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53077         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53078         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53079         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53080         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53081         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53082         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53083         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53084         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53085         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53086         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53087         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53088         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53089         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53090         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53092 2013-01-10  David S. Miller  <davem@davemloft.net>
53094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53096 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53098         * posix/Makefile (tests-static): New variable.
53099         (tests): Add $(tests-static).
53100         (tst-exec-static-ARGS): New variable.
53101         (tst-spawn-static-ARGS): Likewise.
53102         * posix/tst-exec-static.c: New file.
53103         * posix/tst-spawn-static.c: Likewise.
53104         * posix/tst-exec.c: Support run directly.
53105         * posix/tst-spawn.c: Likewise.
53107 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53109         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53110         long.
53111         * math/bits/mathcalls.h (llrint): Likewise.
53112         (llround): Likewise.
53113         * stdlib/stdlib.h (struct drand48_data): Likewise.
53114         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53115         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53116         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53117         Likewise.
53118         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53119         Likewise.
53120         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53121         (elf_greg_t): Likewise.
53122         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53123         (__jmp_buf): Likewise.
53124         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53125         definitions.
53126         (llrint): Likewise, for all definitions.
53127         (llrintl): Likewise.
53129         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53130         Remove [__GNUC__] condition.
53131         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53132         condition to just [__USE_ISOC99].
53133         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53135 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53137         [BZ #14200]
53138         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53139         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53140         defined.
53141         (_POSIX_V6_ILP32_OFF32): Likewise.
53142         (_XBS5_ILP32_OFF32): Likewise.
53143         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53144         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53146 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53148         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53151         doubles __mpexp_twomm1.  Adjust usage.
53152         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53153         Remove.
53155 2013-01-10  Andreas Schwab  <schwab@suse.de>
53157         [BZ #14964]
53158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53159         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53161 2013-01-09  David S. Miller  <davem@davemloft.net>
53163         [BZ #15003]
53164         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53165         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53166         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53167         (TCP_FASTOPEN): Define.
53168         (tcp_repair_opt): New structure.
53169         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53170         enum values.
53171         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53172         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53173         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53174         (tcp_cookie_transactions): New structure.
53176 2013-01-09  Anton Blanchard  <anton@samba.org>
53178         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53179         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53181         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53183 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53185         * include/features.h (__USE_ANSI): Remove.
53187 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53189         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53191         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53193 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53195         * sysdeps/s390/fpu/libm-test-ulps: Update.
53197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53199         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53200         (__acr): Likewise.
53201         (__cpy): Likewise.
53202         (norm): Likewise.
53203         (denorm): Likewise.
53204         (__mp_dbl): Likewise.
53205         (__dbl_mp): Likewise.
53206         (add_magnitudes): Likewise.
53207         (sub_magnitudes): Likewise.
53208         (__add): Likewise.
53209         (__sub): Likewise.
53210         (__mul): Likewise.
53211         (__inv): Likewise.
53212         (__dvd): Likewise.
53213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53214         (__acr): Likewise.
53215         (__cpy): Likewise.
53216         (norm): Likewise.
53217         (denorm): Likewise.
53218         (__mp_dbl): Likewise.
53219         (__dbl_mp): Likewise.
53220         (add_magnitudes): Likewise.
53221         (sub_magnitudes): Likewise.
53222         (__add): Likewise.
53223         (__sub): Likewise.
53224         (__mul): Likewise.
53225         (__inv): Likewise.
53226         (__dvd): Likewise.
53227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53228         (__acr): Likewise.
53229         (__cpy): Likewise.
53230         (norm): Likewise.
53231         (denorm): Likewise.
53232         (__mp_dbl): Likewise.
53233         (__dbl_mp): Likewise.
53234         (add_magnitudes): Likewise.
53235         (sub_magnitudes): Likewise.
53236         (__add): Likewise.
53237         (__sub): Likewise.
53238         (__mul): Likewise.
53239         (__inv): Likewise.
53240         (__dvd): Likewise.
53242 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53244         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53245         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53246         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53247         2 && __USE_EXTERN_INLINES]: Likewise.
53249 2013-01-08  Andreas Jaeger  <aj@suse.de>
53251         [BZ# 14985]
53252         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53253         Remove.
53254         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53255         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53257 2013-01-07  Anton Blanchard  <anton@samba.org>
53259         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53260         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53261         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53262         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53263         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53264         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53265         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53266         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53268         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53269         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53270         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53272         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53273         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53274         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53275         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53276         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53277         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53278         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53279         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53280         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53281         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53282         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53283         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53284         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53285         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53286         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53288         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53289         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53291         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53292         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53293         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53294         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53295         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53296         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53298         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53299         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53300         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53301         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53303 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53305         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53306         (__MALLOC_PMT): Likewise.
53307         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53308         [__GNUC__], only on [_LIBC].
53309         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53310         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53311         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53312         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53313         forward declaration.
53314         (realloc_hook_ini): Likewise.
53315         (memalign_hook_ini): Likewise.
53316         (__libc_memalign): Do not use __MALLOC_PMT in variable
53317         declaration.
53318         (__libc_valloc): Likewise.
53319         (__libc_pvalloc): Likewise.
53320         (__libc_calloc): Likewise.
53321         (__posix_memalign): Likewise.
53323         [BZ #14996]
53324         * math/s_casinh.c: Include <float.h>.
53325         (__casinh): Do not do computation with squaring and square root
53326         for large arguments.
53327         * math/s_casinhf.c: Include <float.h>.
53328         (__casinhf): Do not do computation with squaring and square root
53329         for large arguments.
53330         * math/s_casinhl.c: Include <float.h>.
53331         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53332         (__casinhl): Do not do computation with squaring and square root
53333         for large arguments.
53334         * math/libm-test.inc (casin_test): Add more tests.
53335         (casinh_test): Likewise.
53336         * sysdeps/i386/fpu/libm-test-ulps: Update.
53337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53339 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53341         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53342         (__x86_64_raw_data_cache_size): Likewise.
53343         (__x86_64_data_cache_size_half): Likewise.
53344         (__x86_64_raw_data_cache_size_half): Likewise.
53345         (__x86_64_shared_cache_size): Likewise.
53346         (__x86_64_raw_shared_cache_size): Likewise.
53347         (__x86_64_shared_cache_size_half): Likewise.
53348         (__x86_64_raw_shared_cache_size_half): Likewise.
53349         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53350         to ...
53351         (__x86_data_cache_size): This.
53352         (__x86_64_raw_data_cache_size): Renamed to ...
53353         (__x86_raw_data_cache_size): This.
53354         (__x86_64_data_cache_size_half): Renamed to ...
53355         (__x86_data_cache_size_half): This.
53356         (__x86_64_raw_data_cache_size_half): Renamed to ...
53357         (__x86_raw_data_cache_size_half): This.
53358         (__x86_64_shared_cache_size): Renamed to ...
53359         (__x86_shared_cache_size): This.
53360         (__x86_64_raw_shared_cache_size): Renamed to ...
53361         (__x86_raw_shared_cache_size): This.
53362         (__x86_64_shared_cache_size_half): Renamed to ...
53363         (__x86_shared_cache_size_half): This.
53364         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53365         (__x86_raw_shared_cache_size_half): This.
53366         * sysdeps/x86_64/memcpy.S: Updated.
53367         * sysdeps/x86_64/memset.S: Likewise.
53368         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53370         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53372 2013-01-04  David S. Miller  <davem@davemloft.net>
53374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53376 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53378         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53379         1 to avoid redefinition warning.
53380         (__USE_GNU): Don't define.
53381         (init_signaling_nan): Protoize.
53383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53385 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53387         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53389         (__cpymn): Likewise.
53390         (norm): Remove commented code.
53391         (denorm): Likewise.
53392         (__mp_dbl): Likewise.
53393         (__inv): Likewise.
53394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53395         (__cpymn): Likewise.
53396         (norm): Remove commented code.
53397         (denorm): Likewise.
53398         (__mp_dbl): Likewise.
53399         (__inv): Likewise.
53401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53402         mp_no value for 1.0 and 2.0.
53403         (norm): Use RADIXI instead of radixi.d.
53404         (denorm): Likewise.
53405         (__mul): Use 0.0 instead of zero.d.
53406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53407         mp_no value for 1.0 and 2.0.
53408         (norm): Use RADIXI instead of radixi.d.
53409         (denorm): Likewise.
53410         (__mul): Use 0.0 instead of zero.d.
53412 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53414         [BZ #14994]
53415         * math/s_casinh.c (__casinh): Reduce finite argument to first
53416         quadrant then set signs of results at the end.
53417         * math/s_casinhf.c (__casinhf): Likewise.
53418         * math/s_casinhl.c (__casinhl): Likewise.
53419         * math/libm-test.inc (casin_test): Add more tests.
53420         (casinh_test): Likewise.
53421         * sysdeps/i386/fpu/libm-test-ulps: Update.
53422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53424 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53426         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53428         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53430         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53431         declarations.
53432         (denorm): Likewise.
53433         (__mp_dbl): Likewise.
53434         (__inv): Likewise.
53436         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53437         and adjust the header comment.
53439         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53440         variable name from declaration.
53442 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53445         Initialize COMMON_CPUID_INDEX_7 element.
53446         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53447         (CPUID_RTM): Likewise.
53448         (HAS_RTM): Likewise.
53449         (COMMON_CPUID_INDEX_7): New enum.
53451 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53453         [BZ #14981]
53454         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53455         size is zero, record memory as freed.
53457 2013-01-03  Andreas Jaeger  <aj@suse.de>
53459         * po/ia.po: Add new Interlingua translation.
53461 2012-01-03  Allan McRae  <allan@archlinux.org>
53463         * locale/programs/localedef.c: Fix description of '--posix' flag.
53465 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53467         * NEWS: Update dates in second copyright notice.
53468         * README: Update copyright dates in example.
53469         * manual/libc.texinfo: Update copyright dates.
53470         * scripts/test-installation.pl: Update copyright date in --version
53471         output.
53473         * hurd/ctty-input.c: Fix copyright notice formatting.
53474         * hurd/ctty-output.c: Likewise.
53475         * hurd/dtable.c: Likewise.
53476         * hurd/hurd-raise.c: Likewise.
53477         * hurd/hurdprio.c: Likewise.
53478         * hurd/msgportdemux.c: Likewise.
53479         * misc/sys/file.h: Likewise.
53480         * misc/sys/ioctl.h: Likewise.
53481         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53482         * sysdeps/mach/hurd/chdir.c: Likewise.
53483         * sysdeps/mach/hurd/fchdir.c: Likewise.
53484         * sysdeps/mach/hurd/rename.c: Likewise.
53485         * sysdeps/mach/hurd/rmdir.c: Likewise.
53486         * sysdeps/mach/hurd/seekdir.c: Likewise.
53487         * sysdeps/mach/hurd/setsid.c: Likewise.
53488         * sysdeps/posix/wait3.c: Likewise.
53490         * All files with FSF copyright notices: Update copyright dates
53491         using scripts/update-copyrights.
53492         * intl/plural.c: Regenerated.
53493         * locale/programs/charmap-kw.h: Likewise.
53494         * locale/programs/locfile-kw.h: Likewise.
53496 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53498         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53499         four values.
53501         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53502         calculation loop and add branch prediction.
53504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53505         check access beyond bounds of m1np.
53507         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53508         MPTWO.
53509         (__inv): Remove local variable MPTWO to use the global
53510         constant.
53511         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53512         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53513         variable MPTWO.
53514         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53515         MP3HALFS static const.
53517 2013-01-01  David S. Miller  <davem@davemloft.net>
53519         * po/ca.po: Update from translation team.
53521 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53523         * scripts/update-copyrights: New file.
53524         * Makeconfig: Reformat copyright notice.
53525         * ctype/ctype.h: Likewise.
53526         * debug/swprintf_chk.c: Likewise.
53527         * elf/dl-cache.c: Likewise.
53528         * elf/dl-debug.c: Likewise.
53529         * elf/dl-object.c: Likewise.
53530         * grp/initgroups.c: Likewise.
53531         * hurd/Makefile: Likewise.
53532         * hurd/hurd/signal.h: Likewise.
53533         * hurd/hurdfault.c: Likewise.
53534         * hurd/hurdioctl.c: Likewise.
53535         * hurd/hurdlookup.c: Likewise.
53536         * hurd/intr-msg.c: Likewise.
53537         * iconv/gconv_open.c: Likewise.
53538         * libio/swprintf.c: Likewise.
53539         * locale/lc-ctype.c: Likewise.
53540         * locale/nl_langinfo.c: Likewise.
53541         * mach/Machrules: Likewise.
53542         * mach/Makefile: Likewise.
53543         * malloc/obstack.h: Likewise.
53544         * manual/Makefile: Likewise.
53545         * manual/tsort.awk: Likewise.
53546         * misc/bits/stab.def: Likewise.
53547         * nis/nis_print_group_entry.c: Likewise.
53548         * nis/nis_table.c: Likewise.
53549         * nis/nss_compat/compat-pwd.c: Likewise.
53550         * nis/nss_compat/compat-spwd.c: Likewise.
53551         * po/Makefile: Likewise.
53552         * posix/fnmatch.c: Likewise.
53553         * posix/regex.h: Likewise.
53554         * resolv/Makefile: Likewise.
53555         * resolv/nss_dns/dns-network.c: Likewise.
53556         * resolv/res_hconf.c: Likewise.
53557         * scripts/gen-sorted.awk: Likewise.
53558         * soft-fp/soft-fp.h: Likewise.
53559         * stdio-common/printf.h: Likewise.
53560         * stdlib/monetary.h: Likewise.
53561         * stdlib/random.c: Likewise.
53562         * stdlib/random_r.c: Likewise.
53563         * sysdeps/generic/Makefile: Likewise.
53564         * sysdeps/gnu/Makefile: Likewise.
53565         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53567         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53572         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53575         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53576         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53577         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53578         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53579         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53581         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53585         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53586         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53587         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53588         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53589         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53590         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53592         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53593         * sysdeps/mach/hurd/errnos.awk: Likewise.
53594         * sysdeps/mach/hurd/fork.c: Likewise.
53595         * sysdeps/mach/hurd/getcwd.c: Likewise.
53596         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53597         * sysdeps/mach/hurd/mmap.c: Likewise.
53598         * sysdeps/mach/hurd/utimes.c: Likewise.
53599         * sysdeps/mach/hurd/xmknod.c: Likewise.
53600         * sysdeps/posix/profil.c: Likewise.
53601         * sysdeps/posix/readdir_r.c: Likewise.
53602         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53603         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53604         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53605         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53607         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53608         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53609         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53611         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53612         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53613         * sysdeps/pthread/lio_listio.c: Likewise.
53614         * sysdeps/sparc/dl-procinfo.h: Likewise.
53615         * sysdeps/unix/i386/sysdep.S: Likewise.
53616         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53617         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53618         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53619         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53621         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53622         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53623         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53624         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53625         * sysdeps/wordsize-32/divdi3.c: Likewise.
53626         * time/sys/time.h: Likewise.
53627         * wcsmbs/Makefile: Likewise.
53629 2013-01-01  David S. Miller  <davem@davemloft.net>
53631         * po/fr.po: Update from translation team.
53633         * catgets/gencat.c: Update copyright year.
53634         * csu/version.c: Likewise.
53635         * debug/catchsegv.sh: Likewise.
53636         * debug/pcprofiledump.c: Likewise.
53637         * debug/xtrace.sh: Likewise.
53638         * elf/ldconfig.c: Likewise.
53639         * elf/ldd.bash.in: Likewise.
53640         * elf/pldd.c: Likewise.
53641         * elf/sotruss.ksh: Likewise.
53642         * elf/sprof.c: Likewise.
53643         * iconv/iconv_prog.c: Likewise.
53644         * iconv/iconvconfig.c: Likewise.
53645         * locale/programs/locale.c: Likewise.
53646         * locale/programs/localedef.c: Likewise.
53647         * login/programs/pt_chown.c: Likewise.
53648         * malloc/memusage.sh: Likewise.
53649         * malloc/memusagestat.c: Likewise.
53650         * malloc/mtrace.pl: Likewise.
53651         * nscd/nscd.c: Likewise.
53652         * nss/getent.c: Likewise.
53653         * nss/makedb.c: Likewise.
53654         * posix/getconf.c: Likewise.
53656 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53658         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53659         numbers.
53661 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53663         * math/bits/mathcalls.h (modf): Use __nonnull.
53665 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53667         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53668         (split): Use macro CN instead of the bare value.
53669         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53670         could be used.
53671         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53672         instead of the bare value.
53673         (power1): Likewise.
53675 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53677         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53678         __ATAN_TWOM.
53679         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53681         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53682         their values.
53683         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53684         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53685         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53686         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53688 2012-12-28  Andreas Jaeger  <aj@suse.de>
53690         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53691         values are from Linux 3.7.
53693         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53694         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53696 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53698         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53699         TRUE case.
53701         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53702         (norm): Likewise.
53703         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53704         variables with preprocessor constants.
53705         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53706         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53707         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53709 2012-12-27  Bruno Haible  <bruno@clisp.org>
53711         [BZ #14317]
53712         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53713         only if needed.
53715 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53718         and use variable directly.
53719         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53721         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53722         MPONE.
53723         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53725         variable MPONE.
53726         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53727         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53728         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53729         include directive.  Remove local variable MPONE.
53730         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53731         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53734 2012-12-25  David S. Miller  <davem@davemloft.net>
53736         * version.h (RELEASE): Set to "development".
53737         (VERSION): Set to "2.17.90".
53738         * NEWS: Add 2.18 section.
53740 2012-12-21  David S. Miller  <davem@davemloft.net>
53742         * po/hr.po: Update from translation team.
53744 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53746         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53748 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53750         * NEWS:  Mention new memcpy for MIPS.
53752 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53754         * manual/contrib.texi (Contributors): Spelling correction.
53756 2012-12-15  David S. Miller  <davem@davemloft.net>
53758         * po/ru.po: Update from translation team.
53760 2012-12-13  David S. Miller  <davem@davemloft.net>
53762         * NEWS: Mention IFUNC testsuite enhancements.
53764         * po/pl.po: Update from translation team.
53765         * po/bg.po: Likewise.
53767         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53768         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53770 2012-12-11  David S. Miller  <davem@davemloft.net>
53772         * po/sv.po: Update from translation team.
53774         * po/vi.po: Update from translation team.
53776         * po/cs.po: Update from translation team.
53778         * po/de.po: Update from translation team.
53779         * po/eo.po: Likewise.
53780         * po/nl.po: Likewise.
53782 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53784         [BZ #14246]
53785         * manual/argp.texi (Argp Helper Functions): Move node to follow
53786         Argp Parsing State.
53788         [BZ #14872]
53789         * manual/conf.texi (Limits on File System Capacity): Mention if
53790         terminating null is included in the max size.
53792 2012-12-10  Andreas Jaeger  <aj@suse.de>
53794         * po/cs.po: Update from translation team.
53796 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53798         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53799         void pointer and cast to uintptr_t.
53800         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53801         path.
53802         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53803         * sysdeps/s390/s390-64/memset.S: Likewise.
53805 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53807         [BZ #14833]
53808         * menual/message.texi (Message Translation): Fix typos.
53809         (Helper programs for gettext): Likewise.
53811 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53813         [BZ #14898]
53814         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53815         Change to -1.
53817 2012-12-07  David S. Miller  <davem@davemloft.net>
53819         * po/libc.pot: Update.
53821 2012-12-07  Richard Henderson  <rth@redhat.com>
53823         [BZ #10114]
53824         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53825         normal/normal case to before the switch.
53826         (_FP_DIV): Likewise.
53828 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53829             Mike Frysinger  <vapier@gentoo.org>
53831         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53832         check for __NR_fadvise64_64.
53834 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53836         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53837         0, not just to plain "0" as a statement.
53838         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53839         with cw.
53841 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53843         * NEWS: Use sourceware.org in Bugzilla URL.
53845 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53848         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53850         * stdio-common/tst-put-error.c (do_test): Add newline to the
53851         padded test to ensure flush.
53853 2012-12-05  Jeff Law  <law@redhat.com>
53855         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53857 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53859         * README: Don't refer to ports add-on as distributed separately.
53860         Mention AArch64 in list of systems supported in the ports add-on.
53862         * LICENSES: Add more non-FSF copyright and license notices.
53864         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53865         ((unused)).
53867         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53869         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53870         10000 as width of padded output.
53872 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53874         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53876         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53877         variable LX with __attribute__ ((unused)).
53878         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53879         Likewise.
53880         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53883         with __attribute__ ((unused)).
53885 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53887         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53889 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53891         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53892         (CFLAGS-nldbl-acos.c): New variable.
53893         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53894         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53895         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53896         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53897         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53898         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53899         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53900         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53901         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53902         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53903         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53904         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53905         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53906         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53907         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53908         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53909         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53910         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53911         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53912         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53913         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53914         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53915         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53916         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53917         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53918         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53919         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53920         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53921         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53922         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53923         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53924         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53925         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53926         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53927         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53928         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53929         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53930         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53931         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53932         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53933         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53934         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53935         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53936         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53937         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53938         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53939         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53940         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53941         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53942         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53943         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53944         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53945         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53946         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53947         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53948         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53949         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53950         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53951         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53952         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53953         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53954         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53955         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53956         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53957         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53958         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53959         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53960         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53961         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53962         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53963         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53964         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53965         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53966         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53967         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53968         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53969         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53970         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53971         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53972         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53973         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53974         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53975         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53976         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53977         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53978         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53979         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53980         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53981         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53982         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53983         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53984         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53985         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53986         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53987         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53988         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53989         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53992         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53994         [BZ #14914]
53995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53996         whole low double instead of just low 47 bits when splitting values
53997         into two parts.
53999 2012-12-03  Allan McRae  <allan@archlinux.org>
54001         * manual/stdio.texi (Predefined Printf Handlers): Remove
54002         @hsep and @vsep usage.
54004 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54006         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54007         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54009 2012-12-03  Jeff Law  <law@redhat.com>
54011         * time/sys/time.h (settimeofday): Do not mark TV argument
54012         as __nonnull.
54014 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54016         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54017         when currently writing and seek to current position when not.
54018         * libio/Makefile (tests): Remove bug-fclose1.
54019         * libio/bug-fclose1.c: Delete.
54021 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54023         * manual/arith.texi (feenableexcept): Fix typo.
54024         (fedisableexcept): Likewise.
54026 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54028         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54029         second, differently-typed declaration, rather than a cast.
54031 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54033         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54034         * include/rpc/svc.h: ... here.
54036 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54038         [BZ #13013]
54039         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54040         depending n and resplen2 to catch cases where answer
54041         equals answerp2.
54043 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54045         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54046         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54048 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54050         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54052 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54054         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54056 2012-11-28  Jeff Law  <law@redhat.com>
54058         [BZ #13761]
54059         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54060         dataset_temporary.  Track alloca usage into alloca_used.
54061         If dataset is large allocate and release it via malloc/free.
54063 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54065         [BZ #14197]
54066         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54068 2012-11-28  David S. Miller  <davem@davemloft.net>
54070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54072 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54074         [BZ #14803]
54075         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54076         of pi/2 rounded to nearest to 64 bits.
54077         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54078         nearest to 64 bits.
54079         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54080         bits.
54082 2012-11-28  Jeff Law <law@redhat.com>
54083             Martin Osvald <mosvald@redhat.com>
54085         [BZ #14889]
54086         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54087         * sunrpc/svc.c: Include time.h.
54088         (__svc_accept_failed): New function.
54089         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54090         any reason other than EINTR, call __svc_accept_failed.
54091         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54092         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54094 2012-11-28  Andreas Schwab  <schwab@suse.de>
54096         * scripts/abilist.awk: Also handle indirect functions in .opd
54097         section.
54099 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54101         [BZ #13881]
54102         * sysdeps/x86/fpu/powl_helper.c: New file.
54103         * sysdeps/x86/fpu/Makefile: Likewise.
54104         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54105         (p3): New object.
54106         (__ieee754_powl): Use __powl_helper for finite arguments except
54107         integer exponents below 8.
54108         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54109         (p3): New object.
54110         (__ieee754_powl): Use __powl_helper for finite arguments except
54111         integer exponents below 8.
54112         * math/libm-test.inc (pow_test): Add more tests and enable some
54113         previously disabled tests.
54114         * sysdeps/i386/fpu/libm-test-ulps: Update.
54115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54117 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54118             Carlos O'Donell  <carlos_odonell@mentor.com>
54120         * nss/makedb.c (is_prime): Assert that input is odd and greater
54121         than 4.  Note that fact in a comment too.
54122         (next_prime): Add 4 to input.
54124 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54126         [BZ #11741]
54127         * libio/Makefile (tests): Add test case tst-fwrite-error.
54128         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54129         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54130         * libio/tst-fwrite-error.c: New test case.
54132 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54134         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54135         before casting to void *.
54136         * include/libc-internal.h (__pointer_type): New macro.
54137         (__integer_if_pointer_type_sub): Likewise.
54138         (__integer_if_pointer_type): Likewise.
54139         (cast_to_integer): Likewise.
54140         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54141         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54142         before casting to atomic64_t.
54143         (atomic_exchange_acq): Likewise.
54144         (__arch_exchange_and_add_body): Likewise.
54145         (__arch_add_body): Likewise.
54146         (atomic_add_negative): Likewise.
54147         (atomic_add_zero): Likewise.
54149 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54151         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54152         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54153         (add_fdes): Likewise.
54154         (linear_search_fdes): Likewise.
54155         (binary_search_unencoded_fdes): Likewise.
54157 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54159         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54161 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54163         * configure.in: Autodetect C++ header directories.
54164         * configure: Regenerated.
54166 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54168         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54170 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54174 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54176         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54177         LDBL_MANT_DIG == 106]: Disable some tests.
54178         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54179         Likewise.
54180         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54181         Likewise.
54183         [BZ #14871]
54184         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54185         input for small inputs.  Return +/- pi/2 for large inputs.
54186         * math/libm-test.inc (atan_test): Add more tests.
54188         * sysdeps/generic/unwind-dw2-fde-glibc.c
54189         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54190         __attribute__ ((unused)).
54192         [BZ #14645]
54193         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54194         x * y if x and y are nonzero and z is zero.
54196         [BZ #14811]
54197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54198         nonzero exponents with absolute value below 0x1p-117 to +/-
54199         0x1p-117.
54201         [BZ #14869]
54202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54203         up arguments below 2**-450, not just those below 2**-500.
54204         * math/libm-test.inc (hypot_test): Add another test.
54206         [BZ #14868]
54207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54208         Return a+b for ratio over 2**120, not 2**60.
54209         * math/libm-test.inc (hypot_test): Add another test.
54211         * math/libm-test.inc (clog_test): Use
54212         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54213         (clog10_test): Likewise.
54215         [BZ #6778]
54216         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54218 2012-11-22  Andreas Schwab  <schwab@suse.de>
54220         * sysdeps/i386/fpu/libm-test-ulps: Update.
54222 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54224         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54225         printf output with newline.
54227 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54229         [BZ #14865]
54230         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54231         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54232         -z nodlopen, -z initfirst and -z execstack support.
54233         * configure: Regenerated.
54235         * elf/elf.h (DF_1_NODIRECT): New macro.
54236         (DF_1_IGNMULDEF): Likewise.
54237         (DF_1_NOKSYMS): Likewise.
54238         (DF_1_NOHDR): Likewise.
54239         (DF_1_EDITED): Likewise.
54240         (DF_1_NORELOC): Likewise.
54241         (DF_1_SYMINTPOSE): Likewise.
54242         (DF_1_GLOBAUDIT): Likewise.
54243         (DF_1_SINGLETON): Likewise.
54244         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54245         DT_1_SUPPORTED_MASK bits.
54246         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54248 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54250         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54252 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54254         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54255         macro.
54257         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54258         (sendmmsg): Move declarations...
54259         * socket/sys/socket.h: ... here.
54260         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54261         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54262         include it from...
54263         * socket/recvmmsg.c: ... this new file.
54264         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54265         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54266         definition of __sendmmsg hidden.
54267         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54268         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54269         Move ENOSYS stub into and include it from...
54270         * socket/sendmmsg.c: ... this new file.
54271         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54272         (sysdep_routines): Move recvmmsg and sendmmsg...
54273         * socket/Makefile (routines): ... here.
54274         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54275         (GLIBC_PRIVATE): Add __sendmmsg.
54276         * include/sys/socket.h (__sendmmsg): Add declarations.
54277         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54278         sendmmsg.
54280 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54282         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54283         variable I1 with __attribute__ ((unused)).
54284         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54286 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54288         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54289         DUMMY variables with __attribute__ ((unused)).
54291         * bits/byteswap.h: Include <bits/types.h>.
54292         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54294 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54296         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54297         string_t.  Do not manually set errno.
54298         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54299         length with __strnlen.  Make sure to both set errno and return it on
54300         failure.
54302 2012-11-19  David S. Miller  <davem@davemloft.net>
54304         With help from Joseph Myers.
54305         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54306         very large arguments properly.
54307         * math/libm-test.inc (atan_test): New tests.
54308         (atan2_test): New tests.
54309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54312 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54314         [BZ #14856]
54315         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54316         Define to 3.
54318         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54319         [POSIX] (EADDRNOTAVAIL): Likewise.
54320         [POSIX] (EAFNOSUPPORT): Likewise.
54321         [POSIX] (EALREADY): Likewise.
54322         [POSIX] (ECONNABORTED): Likewise.
54323         [POSIX] (ECONNREFUSED): Likewise.
54324         [POSIX] (ECONNRESET): Likewise.
54325         [POSIX] (EDESTADDRREQ): Likewise.
54326         [POSIX] (EDQUOT): Likewise.
54327         [POSIX] (EHOSTUNREACH): Likewise.
54328         [POSIX] (EIDRM): Likewise.
54329         [POSIX] (EISCONN): Likewise.
54330         [POSIX] (ELOOP): Likewise.
54331         [POSIX] (EMULTIHOP): Likewise.
54332         [POSIX] (ENETDOWN): Likewise.
54333         [POSIX] (ENETUNREACH): Likewise.
54334         [POSIX] (ENOBUFS): Likewise.
54335         [POSIX] (ENODATA): Likewise.
54336         [POSIX] (ENOLINK): Likewise.
54337         [POSIX] (ENOMSG): Likewise.
54338         [POSIX] (ENOPROTOOPT): Likewise.
54339         [POSIX] (ENOSR): Likewise.
54340         [POSIX] (ENOSTR): Likewise.
54341         [POSIX] (ENOTCONN): Likewise.
54342         [POSIX] (ENOTSOCK): Likewise.
54343         [POSIX] (EOPNOTSUPP): Likewise.
54344         [POSIX] (EOVERFLOW): Likewise.
54345         [POSIX] (EPROTO): Likewise.
54346         [POSIX] (EPROTONOSUPPORT): Likewise.
54347         [POSIX] (EPROTOTYPE): Likewise.
54348         [POSIX] (ESTALE): Likewise.
54349         [POSIX] (ETIME): Likewise.
54350         [POSIX] (ETXTBSY): Likewise.
54351         [POSIX] (EWOULDBLOCK): Likewise.
54352         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54353         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54354         [POSIX] (SEEK_CUR): Likewise.
54355         [POSIX] (SEEK_END): Likewise.
54356         [POSIX || UNIX98] (mode_t): Do not require.
54357         [POSIX] (off_t): Likewise.
54358         [POSIX] (pid_t): Likewise.
54359         [POSIX] (sys/stat.h): Do not allow header.
54360         [POSIX] (unistd.h): Likewise.
54361         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54362         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54363         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54364         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54365         require.
54366         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54367         sigevent): Specify elements.
54368         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54369         entry.
54370         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54371         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54373         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54374         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54375         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54376         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54377         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54378         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54379         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54380         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54381         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54382         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54383         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54384         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54385         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54386         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54387         Likewise.
54388         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54389         Likewise.
54390         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54391         Likewise.
54392         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54393         Likewise.
54394         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54395         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54396         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54397         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54398         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54399         Specify lower bound on value.
54400         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54401         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54402         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54403         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54404         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54405         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54406         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54407         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54408         value.
54409         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54410         as optional.
54411         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54412         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54413         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54414         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54415         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54416         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54417         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54418         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54419         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54420         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54421         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54422         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54423         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54424         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54425         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54426         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54427         entry.
54428         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54429         optional.
54430         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54431         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54432         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54433         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54434         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54435         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54436         Likewise.
54437         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54438         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54439         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54440         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54441         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54442         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54443         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54444         as optional.
54445         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54446         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54447         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54448         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54449         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54450         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54451         specify as optional.
54452         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54453         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54454         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54455         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54456         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54457         [XPG3] (NL_LANGMAX): Likewise.
54458         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54459         [POSIX || XPG3] (NL_NMAX): Likewise.
54460         [POSIX || XPG3] (NL_SETMAX): Likewise.
54461         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54462         [XPG3] (NZERO): Likewise.
54463         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54464         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54465         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54466         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54467         (REG_ERANGE): Expect.
54468         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54469         optional-constant.
54470         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54471         Use (void) in prototype.
54472         [POSIX] (*_t): Allow.
54473         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54474         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54475         (WRDE_BADVAL): Expect.
54477         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54478         expect.
54479         [XPG3 || XPG4] (O_RSYNC): Likewise.
54480         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54481         Likewise.
54482         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54483         [XPG3 || XPG4] (sigqueue): Likewise.
54484         [XPG3 || XPG4] (sigtimedwait): Likewise.
54485         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54486         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54487         [XPG3 || XPG4] (vsnprintf): Likewise.
54488         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54489         Likewise.
54490         [XPG3 || XPG4] (blksize_t): Likewise.
54491         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54492         Likewise.
54493         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54494         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54495         [XPG3 || XPG4] (struct itimerspec): Likewise.
54496         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54497         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54498         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54499         [XPG3 || XPG4] (clockid_t): Likewise.
54500         [XPG3 || XPG4] (timer_t): Likewise.
54501         [XPG3 || XPG4] (clock_getres): Likewise.
54502         [XPG3 || XPG4] (clock_gettime): Likewise.
54503         [XPG3 || XPG4] (clock_settime): Likewise.
54504         [XPG3 || XPG4] (nanosleep): Likewise.
54505         [XPG3 || XPG4] (timer_create): Likewise.
54506         [XPG3 || XPG4] (timer_delete): Likewise.
54507         [XPG3 || XPG4] (timer_gettime): Likewise.
54508         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54509         [XPG3 || XPG4] (timer_settime): Likewise.
54510         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54511         [XPG3 || XPG4] (getlogin_r): Likewise.
54512         [XPG3 || XPG4] (pread): Likewise.
54513         [XPG3 || XPG4] (pthread_atfork): Likewise.
54514         [XPG3 || XPG4] (pwrite): Likewise.
54516         [BZ #14835]
54517         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54518         <bits/siginfo.h>.
54520 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54522         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54523         finalizing MALLSTREAM.
54525         * sysdeps/mach/hurd/syncfs.c: New file.
54527 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54529         [BZ #14719]
54530         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54531         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54532         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54533         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54534         (_nss_dns_gethostbyname4_r): Likewise.
54535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54536         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54538 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54540         [BZ #13763]
54541         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54543 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54545         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54546         * elf/cache.c (print_entry): Print ",AArch64" for
54547         FLAG_AARCH64_LIB64
54549         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54550         * elf/cache.c (print_entry): Print ",hard-float" for
54551         FLAG_ARM_LIBHF.
54553 2012-11-18  David S. Miller  <davem@davemloft.net>
54555         With help from Joseph Myers.
54556         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54557         cutoff to 2**-13.
54558         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54559         cutoff to 2**-25.
54560         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54561         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54562         small.
54563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54564         * math/libm-test.inc (y0_test): New tests.
54565         (y1_test): New tests.
54566         * sysdeps/i386/fpu/libm-test-ulps: Update.
54567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54570 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54572         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54573         64-bit targets.
54574         * configure: Regenerated.
54576 2012-11-17  David S. Miller  <davem@davemloft.net>
54578         [BZ #14811]
54579         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54580         nonzero exponents with absolute value below 0x1p-128 to +/-
54581         0x1p-128.
54583 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54585         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54587         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54589         * posix/getconf-speclist.c: New file.
54590         * posix/posix-envs.def: Likewise.
54591         * posix/confstr.c (START_ENV_GROUP): New macro.
54592         (END_ENV_GROUP): Likewise.
54593         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54594         (KNOWN_PRESENT_ENV_STRING): Likewise.
54595         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54596         (UNKNOWN_ENVIRONMENT): Likewise.
54597         (confstr): Include posix-envs.def instead of handling
54598         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54599         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54600         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54601         (END_ENV_GROUP): Likewise.
54602         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54603         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54604         (UNKNOWN_ENVIRONMENT): Likewise.
54605         (__sysconf): Include posix-envs.def instead of handling associated
54606         cases directly here.
54607         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54608         preprocessing getconf-speclist.c rather than running getconf or
54609         generating empty file.
54611 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54613         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54615 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54617         [BZ #14672]
54618         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54620 2012-11-16  David S. Miller  <davem@davemloft.net>
54622         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54623         smaller than LDBL_EPSILON/2.0L, just return xm1.
54625 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54627         * elf/tst-array1.c (init): Set constructor priority to 1000.
54628         (fini): Set destructor priority to 1000.
54629         * elf/tst-array2dep.c: Likewise.
54631 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54633         [BZ #11741]
54634         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54635         (_IO_new_file_xsputn): Also return EOF if none of the input
54636         data was written when overflow failed.
54637         * libio/iopadn.c (_IO_padn): Likewise.
54638         * libio/iowpadn.c (_IO_wpadn): Likewise.
54639         * stdio-common/tst-put-error.c: Add copyright notice.
54640         (do_test): Add case for printing padded string.
54641         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54642         _IO_padn returned error.
54643         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54644         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54645         return EOF.
54647 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54649         * libio/libioP.h: Add comment note that the references to C++
54650         bits are now obsolete.
54652 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54654         * math/libm-test.inc (check_complex): Use asprintf.
54656 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54658         * debug/pcprofiledump.c (print_version): Update copyright year.
54659         * malloc/memusagestat.c (print_version): Likewise.
54661 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54663         [BZ #14831]
54664         * elf/Makefile (tests): Add tst-audit8.
54665         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54666         ($(objpfx)tst-audit8.out): New target.
54667         (tst-audit8-ENV): New variable.
54668         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54669         audit if l_reloc_result is NULL.
54670         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54671         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54672         * elf/tst-audit8.c: New file.
54674 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54676         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54677         * misc/Makefile (CFLAGS-select.c): Define.
54678         * posix/Makefile (CFLAGS-pause.c): Define.
54680 2012-11-13  David S. Miller  <davem@davemloft.net>
54682         * crypt/Makefile: Move test targets after toplevel Rules
54683         inclusion.  Grab any necessary sysdep routines when linking.
54684         * crypt/md5.c (md5_process_block): Remove define, we will always
54685         name it __md5_process_block.
54686         (md5_finish_ctx): Update md5_process_block call.
54687         (md5_stream): Likewise.
54688         (md5_process_bytes): Likewise.
54689         (md5_process_block): Rename to __md5_process_block and move to ...
54690         * crypt/md5-block.c: ... here.
54691         * crypt/sha256.c (sha256_process_block): Move to ...
54692         * crypt/sha256-block.c: ... here.
54693         * crypt/sha512.c (sha512_process_block): Move to ...
54694         * crypt/sha512-block.c: ... here.
54695         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54696         path.
54697         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54698         * sysdeps/sparc/sparc64/multiarch/Makefile
54699         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54700         crypt subdir.
54701         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54702         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54703         multiarch changes.
54704         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54705         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54706         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54707         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54708         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54709         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54710         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54711         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54712         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54713         file.
54714         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54715         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54716         file.
54717         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54719 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54721         * timezone/tzselect.ksh: Update from tzcode git revision
54722         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54723         * timezone/zdump.c: Likewise.
54724         * timezone/zic.c: Likewise.
54725         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54726         in TZVERSION setting, not $(PKGVERSION).
54727         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54728         REPORT_BUGS_TO settings.
54730         [BZ #14838]
54731         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54732         macro.
54734 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54736         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54737         detection to immediately after _FP_ROUND().
54738         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54739         bits are 0.
54741 2012-11-11  David S. Miller  <davem@davemloft.net>
54743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54744         inttypes.h
54745         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54746         __close rather than their public counterparts.
54748 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54750         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54751         file.
54752         [UNIX98] (sem_timedwait): Do not expect.
54753         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54754         [XPG4 || UNIX98] (sockatmark): Do not expect.
54755         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54756         (clock_getcpuclockid): Do not expect.
54757         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54758         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54759         Do not expect.
54760         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54761         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54762         [UNIX98] (vwscanf): Likewise.
54763         [UNIX98] (vswscanf): Likewise.
54765 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54767         * timezone/version.h: Remove file.
54768         * timezone/README: Do not refer to version.h.
54769         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54770         $(objpfx)version.h.
54771         ($(objpfx)zdump.o): Likewise.
54772         ($(objpfx)version.h): New target.
54774         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54775         2012i.
54776         * timezone/README: Don't mention modification to tzselect.ksh.
54777         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54778         work on unmodified tzselect.ksh.  Substitute version numbers in
54779         tzselect.ksh.
54781         * Makefile (format-me): Remove.
54782         (INSTALL): Adjust indentation.  Use commands directly instead of
54783         using $(format-me).
54785         * aclocal.m4 (ACX_PKGVERSION): New macro.
54786         (ACX_BUGURL): Likewise.
54787         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54788         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54789         (REPORT_BUGS_TO): Likewise.
54790         * configure: Regenerated.
54791         * config.h.in (PKGVERSION): New macro.
54792         (REPORT_BUGS_TO): Likewise.
54793         * config.make.in (PKGVERSION): New variable.
54794         (PKGVERSION_TEXI): Likewise.
54795         (REPORT_BUGS_TO): Likewise.
54796         (REPORT_BUGS_TEXI): Likewise.
54797         * Makefile (format-me): Use -I$(common-objpfx)manual.
54798         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54799         ($(common-objpfx)manual/%): New target.
54800         (manual/%): Remove target.
54801         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54802         (print_version): Use PKGVERSION.
54803         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54804         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54805         and REPORT_BUGS_TO.
54806         ($(objpfx)xtrace): Likewise.
54807         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54808         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54809         (print_version): Use PKGVERSION.
54810         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54811         (do_version): Use PKGVERSION.
54812         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54813         REPORT_BUGS_TO.
54814         (common-ldd-rewrite): Likewise.
54815         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54816         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54817         (print_version): Use PKGVERSION.
54818         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54819         * elf/pldd.c (argp_program_bug_address): Remove variable.
54820         (more_help): New function.
54821         (argp): Use more_help.
54822         (print_version): Use PKGVERSION.
54823         * elf/sln.c (main): Use PKGVERSION.
54824         (usage): Use REPORT_BUGS_TO.
54825         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54826         (top level): Use PKGVERSION.
54827         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54828         (print_version): Use PKGVERSION.
54829         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54830         (print_version): Use PKGVERSION.
54831         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54832         (print_version): Use PKGVERSION.
54833         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54834         (print_version): Use PKGVERSION.
54835         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54836         (print_version): Use PKGVERSION.
54837         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54838         (print_version): Use PKGVERSION.
54839         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54840         and BUGURL.
54841         ($(objpfx)memusage): Likewise.
54842         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54843         (do_version): Use PKGVERSION.
54844         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54845         (print_version): Use PKGVERSION.
54846         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54847         ($PKGVERSION): New variable.
54848         ($REPORT_BUGS_TO): Likewise.
54849         (usage): Use $REPORT_BUGS_TO.
54850         (top level): Use $PKGVERSION.
54851         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54852         ($(objpfx)pkgvers.texi): New rule.
54853         ($(objpfx)stamp-pkgvers): Likewise.
54854         * manual/install.texi: Include pkgvers.texi.
54855         (--with-pkgversion): Document new configure option.
54856         (--with-bugurl): Likewise.
54857         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54858         than necessarily for this particular distribution.  Use
54859         REPORT_BUGS_TO for where to report bugs.
54860         * INSTALL: Regenerated.
54861         * manual/libc.texinfo: Include pkgvers.texi.
54862         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54863         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54864         (print_version): Use PKGVERSION.
54865         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54866         (print_version): Use PKGVERSION.
54867         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54868         (print_version): Use PKGVERSION.
54869         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54870         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54871         macro.
54872         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54873         (print_version): Use PKGVERSION.
54874         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54875         (print_version): Use PKGVERSION.
54876         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54877         and PKGVERSION.
54879         * timezone/checktab.awk: Update from tzcode 2012i.
54880         * timezone/ialloc.c: Likewise.
54881         * timezone/private.h: Likewise.
54882         * timezone/scheck.c: Likewise.
54883         * timezone/tzfile.h: Likewise.
54884         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54885         (TZVERSION): Hardcode tzcode version number.
54886         * timezone/zdump.c: Update from tzcode 2012i.
54887         * timezone/zic.c: Likewise.
54888         * timezone/version.h: New file.
54889         * timezone/README: Describe version.h.  Update upstream location.
54891         [BZ #14824]
54892         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54893         (mktemp): Enable declaration.
54894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54895         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54897         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54898         Likewise.
54899         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54900         Likewise.
54901         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54902         Likewise.
54903         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54904         Likewise.
54905         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54906         Likewise.
54907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54908         Likewise.
54910         [BZ #14821]
54911         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54912         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54913         for copies of such integer values.
54914         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54915         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54917 2012-11-09  Andreas Jaeger  <aj@suse.de>
54919         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54920         definitions and declarations that are provided by
54921         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54923 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54925         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54926         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54927         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54928         definition.
54930 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54932         * elf/elf.h: Update comment before AArch64 relocations.
54934 2012-11-07  David S. Miller  <davem@davemloft.net>
54936         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54937         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54938         (__start_context): Declare.
54939         (__makecontext_ret): Delete.
54940         (__makecontext): Hook up __start_context instead of
54941         __makecontext_ret.
54942         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54943         (sysdep_routines): Add __start_context when in stdlib.
54945 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54947         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54948         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54949         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54950         hardcoded "nm".
54951         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54952         (READELF): New variable.  Use it instead of hardcoded "readelf".
54954 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54956         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54957         * sysdeps/x86/Makefile: Here.
54958         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54959         * sysdeps/x86/tst-xmmymm.sh: This.
54961 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54963         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54964         expectations.
54965         [UNIX98] (pthread_barrier_t): Do not expect.
54966         [UNIX98] (pthread_barrierattr_t): Likewise.
54967         [UNIX98] (pthread_spinlock_t): Likewise.
54968         [UNIX98] (pthread_barrier_destroy): Likewise.
54969         [UNIX98] (pthread_barrier_init): Likewise.
54970         [UNIX98] (pthread_barrier_wait): Likewise.
54971         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54972         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54973         [UNIX98] (pthread_barrierattr_init): Likewise.
54974         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54975         [UNIX98] (pthread_getcpuclockid): Likewise.
54976         [UNIX98] (pthread_mutex_timedlock): Likewise.
54977         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54978         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54979         [UNIX98] (pthread_sigmask): Likewise.
54980         [UNIX98] (pthread_spin_destroy): Likewise.
54981         [UNIX98] (pthread_spin_init): Likewise.
54982         [UNIX98] (pthread_spin_lock): Likewise.
54983         [UNIX98] (pthread_spin_trylock): Likewise.
54984         [UNIX98] (pthread_spin_unlock): Likewise.
54985         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54986         Do not expect.
54987         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54988         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54989         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54990         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54991         [XPG3 || XPG4] (pthread_key_t): Likewise.
54992         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54993         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54994         [XPG3 || XPG4] (pthread_once_t): Likewise.
54995         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54996         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54997         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54998         [XPG3 || XPG4] (pthread_t): Likewise.
55000         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55001         not expect.
55002         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55004         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55005         Change function return type to int.
55007         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55008         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55009         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55010         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55011         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55012         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55013         [!POSIX] (posix_madvise): Likewise.
55014         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55015         && !UNIX98].
55016         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55017         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55018         (mode_t): Likewise.
55019         (posix_mem_offset): Likewise.
55020         (posix_typed_mem_get_info): Likewise.
55021         (posix_typed_mem_open): Likewise.
55023         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55024         Change condition to [XOPEN2K8].
55026         * conform/conformtest.pl: Preprocess allow-header data with -x c
55027         instead of from stdin.
55028         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55029         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55030         [C99-based standards] (cerfc): Likewise.
55031         [C99-based standards] (cexp2): Likewise.
55032         [C99-based standards] (cexpm1): Likewise.
55033         [C99-based standards] (clog10): Likewise.
55034         [C99-based standards] (clog1p): Likewise.
55035         [C99-based standards] (clog2): Likewise.
55036         [C99-based standards] (clgamma): Likewise.
55037         [C99-based standards] (ctgamma): Likewise.
55038         [C99-based standards] (cerff): Likewise.
55039         [C99-based standards] (cerfcf): Likewise.
55040         [C99-based standards] (cexp2f): Likewise.
55041         [C99-based standards] (cexpm1f): Likewise.
55042         [C99-based standards] (clog10f): Likewise.
55043         [C99-based standards] (clog1pf): Likewise.
55044         [C99-based standards] (clog2f): Likewise.
55045         [C99-based standards] (clgammaf): Likewise.
55046         [C99-based standards] (ctgammaf): Likewise.
55047         [C99-based standards] (cerfl): Likewise.
55048         [C99-based standards] (cerfcl): Likewise.
55049         [C99-based standards] (cexp2l): Likewise.
55050         [C99-based standards] (cexpm1l): Likewise.
55051         [C99-based standards] (clog10l): Likewise.
55052         [C99-based standards] (clog1pl): Likewise.
55053         [C99-based standards] (clog2l): Likewise.
55054         [C99-based standards] (clgammal): Likewise.
55055         [C99-based standards] (ctgammal): Likewise.
55056         * conform/data/inttypes.h-data [C99-based standards]: Include
55057         stdint.h-data.  Remove all expectations for stdint.h contents.
55058         [C99-based standards] (PRI*): Do not allow.
55059         [C99-based standards] (SCN*): Likewise.
55060         [C99-based standards] (*_t): Likewise.
55061         [C99-based-standards] (PRId8): Expect macro.
55062         [C99-based-standards] (PRIi8): Likewise.
55063         [C99-based-standards] (PRIo8): Likewise.
55064         [C99-based-standards] (PRIu8): Likewise.
55065         [C99-based-standards] (PRIx8): Likewise.
55066         [C99-based-standards] (PRIX8): Likewise.
55067         [C99-based-standards] (SCNd8): Likewise.
55068         [C99-based-standards] (SCNi8): Likewise.
55069         [C99-based-standards] (SCNo8): Likewise.
55070         [C99-based-standards] (SCNu8): Likewise.
55071         [C99-based-standards] (SCNx8): Likewise.
55072         [C99-based-standards] (PRIdLEAST8): Likewise.
55073         [C99-based-standards] (PRIiLEAST8): Likewise.
55074         [C99-based-standards] (PRIoLEAST8): Likewise.
55075         [C99-based-standards] (PRIuLEAST8): Likewise.
55076         [C99-based-standards] (PRIxLEAST8): Likewise.
55077         [C99-based-standards] (PRIXLEAST8): Likewise.
55078         [C99-based-standards] (SCNdLEAST8): Likewise.
55079         [C99-based-standards] (SCNiLEAST8): Likewise.
55080         [C99-based-standards] (SCNoLEAST8): Likewise.
55081         [C99-based-standards] (SCNuLEAST8): Likewise.
55082         [C99-based-standards] (SCNxLEAST8): Likewise.
55083         [C99-based-standards] (PRIdFAST8): Likewise.
55084         [C99-based-standards] (PRIiFAST8): Likewise.
55085         [C99-based-standards] (PRIoFAST8): Likewise.
55086         [C99-based-standards] (PRIuFAST8): Likewise.
55087         [C99-based-standards] (PRIxFAST8): Likewise.
55088         [C99-based-standards] (PRIXFAST8): Likewise.
55089         [C99-based-standards] (SCNdFAST8): Likewise.
55090         [C99-based-standards] (SCNiFAST8): Likewise.
55091         [C99-based-standards] (SCNoFAST8): Likewise.
55092         [C99-based-standards] (SCNuFAST8): Likewise.
55093         [C99-based-standards] (SCNxFAST8): Likewise.
55094         [C99-based-standards] (PRId16): Likewise.
55095         [C99-based-standards] (PRIi16): Likewise.
55096         [C99-based-standards] (PRIo16): Likewise.
55097         [C99-based-standards] (PRIu16): Likewise.
55098         [C99-based-standards] (PRIx16): Likewise.
55099         [C99-based-standards] (PRIX16): Likewise.
55100         [C99-based-standards] (SCNd16): Likewise.
55101         [C99-based-standards] (SCNi16): Likewise.
55102         [C99-based-standards] (SCNo16): Likewise.
55103         [C99-based-standards] (SCNu16): Likewise.
55104         [C99-based-standards] (SCNx16): Likewise.
55105         [C99-based-standards] (PRIdLEAST16): Likewise.
55106         [C99-based-standards] (PRIiLEAST16): Likewise.
55107         [C99-based-standards] (PRIoLEAST16): Likewise.
55108         [C99-based-standards] (PRIuLEAST16): Likewise.
55109         [C99-based-standards] (PRIxLEAST16): Likewise.
55110         [C99-based-standards] (PRIXLEAST16): Likewise.
55111         [C99-based-standards] (SCNdLEAST16): Likewise.
55112         [C99-based-standards] (SCNiLEAST16): Likewise.
55113         [C99-based-standards] (SCNoLEAST16): Likewise.
55114         [C99-based-standards] (SCNuLEAST16): Likewise.
55115         [C99-based-standards] (SCNxLEAST16): Likewise.
55116         [C99-based-standards] (PRIdFAST16): Likewise.
55117         [C99-based-standards] (PRIiFAST16): Likewise.
55118         [C99-based-standards] (PRIoFAST16): Likewise.
55119         [C99-based-standards] (PRIuFAST16): Likewise.
55120         [C99-based-standards] (PRIxFAST16): Likewise.
55121         [C99-based-standards] (PRIXFAST16): Likewise.
55122         [C99-based-standards] (SCNdFAST16): Likewise.
55123         [C99-based-standards] (SCNiFAST16): Likewise.
55124         [C99-based-standards] (SCNoFAST16): Likewise.
55125         [C99-based-standards] (SCNuFAST16): Likewise.
55126         [C99-based-standards] (SCNxFAST16): Likewise.
55127         [C99-based-standards] (PRId32): Likewise.
55128         [C99-based-standards] (PRIi32): Likewise.
55129         [C99-based-standards] (PRIo32): Likewise.
55130         [C99-based-standards] (PRIu32): Likewise.
55131         [C99-based-standards] (PRIx32): Likewise.
55132         [C99-based-standards] (PRIX32): Likewise.
55133         [C99-based-standards] (SCNd32): Likewise.
55134         [C99-based-standards] (SCNi32): Likewise.
55135         [C99-based-standards] (SCNo32): Likewise.
55136         [C99-based-standards] (SCNu32): Likewise.
55137         [C99-based-standards] (SCNx32): Likewise.
55138         [C99-based-standards] (PRIdLEAST32): Likewise.
55139         [C99-based-standards] (PRIiLEAST32): Likewise.
55140         [C99-based-standards] (PRIoLEAST32): Likewise.
55141         [C99-based-standards] (PRIuLEAST32): Likewise.
55142         [C99-based-standards] (PRIxLEAST32): Likewise.
55143         [C99-based-standards] (PRIXLEAST32): Likewise.
55144         [C99-based-standards] (SCNdLEAST32): Likewise.
55145         [C99-based-standards] (SCNiLEAST32): Likewise.
55146         [C99-based-standards] (SCNoLEAST32): Likewise.
55147         [C99-based-standards] (SCNuLEAST32): Likewise.
55148         [C99-based-standards] (SCNxLEAST32): Likewise.
55149         [C99-based-standards] (PRIdFAST32): Likewise.
55150         [C99-based-standards] (PRIiFAST32): Likewise.
55151         [C99-based-standards] (PRIoFAST32): Likewise.
55152         [C99-based-standards] (PRIuFAST32): Likewise.
55153         [C99-based-standards] (PRIxFAST32): Likewise.
55154         [C99-based-standards] (PRIXFAST32): Likewise.
55155         [C99-based-standards] (SCNdFAST32): Likewise.
55156         [C99-based-standards] (SCNiFAST32): Likewise.
55157         [C99-based-standards] (SCNoFAST32): Likewise.
55158         [C99-based-standards] (SCNuFAST32): Likewise.
55159         [C99-based-standards] (SCNxFAST32): Likewise.
55160         [C99-based-standards] (PRId64): Likewise.
55161         [C99-based-standards] (PRIi64): Likewise.
55162         [C99-based-standards] (PRIo64): Likewise.
55163         [C99-based-standards] (PRIu64): Likewise.
55164         [C99-based-standards] (PRIx64): Likewise.
55165         [C99-based-standards] (PRIX64): Likewise.
55166         [C99-based-standards] (SCNd64): Likewise.
55167         [C99-based-standards] (SCNi64): Likewise.
55168         [C99-based-standards] (SCNo64): Likewise.
55169         [C99-based-standards] (SCNu64): Likewise.
55170         [C99-based-standards] (SCNx64): Likewise.
55171         [C99-based-standards] (PRIdLEAST64): Likewise.
55172         [C99-based-standards] (PRIiLEAST64): Likewise.
55173         [C99-based-standards] (PRIoLEAST64): Likewise.
55174         [C99-based-standards] (PRIuLEAST64): Likewise.
55175         [C99-based-standards] (PRIxLEAST64): Likewise.
55176         [C99-based-standards] (PRIXLEAST64): Likewise.
55177         [C99-based-standards] (SCNdLEAST64): Likewise.
55178         [C99-based-standards] (SCNiLEAST64): Likewise.
55179         [C99-based-standards] (SCNoLEAST64): Likewise.
55180         [C99-based-standards] (SCNuLEAST64): Likewise.
55181         [C99-based-standards] (SCNxLEAST64): Likewise.
55182         [C99-based-standards] (PRIdFAST64): Likewise.
55183         [C99-based-standards] (PRIiFAST64): Likewise.
55184         [C99-based-standards] (PRIoFAST64): Likewise.
55185         [C99-based-standards] (PRIuFAST64): Likewise.
55186         [C99-based-standards] (PRIxFAST64): Likewise.
55187         [C99-based-standards] (PRIXFAST64): Likewise.
55188         [C99-based-standards] (SCNdFAST64): Likewise.
55189         [C99-based-standards] (SCNiFAST64): Likewise.
55190         [C99-based-standards] (SCNoFAST64): Likewise.
55191         [C99-based-standards] (SCNuFAST64): Likewise.
55192         [C99-based-standards] (SCNxFAST64): Likewise.
55193         [C99-based-standards] (PRIdMAX): Likewise.
55194         [C99-based-standards] (PRIiMAX): Likewise.
55195         [C99-based-standards] (PRIoMAX): Likewise.
55196         [C99-based-standards] (PRIuMAX): Likewise.
55197         [C99-based-standards] (PRIxMAX): Likewise.
55198         [C99-based-standards] (PRIXMAX): Likewise.
55199         [C99-based-standards] (SCNdMAX): Likewise.
55200         [C99-based-standards] (SCNiMAX): Likewise.
55201         [C99-based-standards] (SCNoMAX): Likewise.
55202         [C99-based-standards] (SCNuMAX): Likewise.
55203         [C99-based-standards] (SCNxMAX): Likewise.
55204         [C99-based-standards] (PRIdPTR): Likewise.
55205         [C99-based-standards] (PRIiPTR): Likewise.
55206         [C99-based-standards] (PRIoPTR): Likewise.
55207         [C99-based-standards] (PRIuPTR): Likewise.
55208         [C99-based-standards] (PRIxPTR): Likewise.
55209         [C99-based-standards] (PRIXPTR): Likewise.
55210         [C99-based-standards] (SCNdPTR): Likewise.
55211         [C99-based-standards] (SCNiPTR): Likewise.
55212         [C99-based-standards] (SCNoPTR): Likewise.
55213         [C99-based-standards] (SCNuPTR): Likewise.
55214         [C99-based-standards] (SCNxPTR): Likewise.
55215         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55216         allow.
55217         * conform/data/stdint.h-data: Update comments to clarify
55218         requirements.
55219         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55220         type.
55221         [C99-based standards] (INT8_MAX): Likewise.
55222         [C99-based standards] (INT16_MIN): Likewise.
55223         [C99-based standards] (INT16_MAX): Likewise.
55224         [C99-based standards] (INT32_MIN): Likewise.
55225         [C99-based standards] (INT32_MAX): Likewise.
55226         [C99-based standards] (INT64_MIN): Likewise.
55227         [C99-based standards] (INT64_MAX): Likewise.
55228         [C99-based standards] (UINT8_MAX): Likewise.
55229         [C99-based standards] (UINT16_MAX): Likewise.
55230         [C99-based standards] (UINT32_MAX): Likewise.
55231         [C99-based standards] (UINT64_MAX): Likewise.
55232         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55233         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55234         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55235         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55236         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55237         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55238         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55239         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55240         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55241         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55242         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55243         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55244         [C99-based standards] (INT_FAST8_MIN): Likewise.
55245         [C99-based standards] (INT_FAST8_MAX): Likewise.
55246         [C99-based standards] (INT_FAST16_MIN): Likewise.
55247         [C99-based standards] (INT_FAST16_MAX): Likewise.
55248         [C99-based standards] (INT_FAST32_MIN): Likewise.
55249         [C99-based standards] (INT_FAST32_MAX): Likewise.
55250         [C99-based standards] (INT_FAST64_MIN): Likewise.
55251         [C99-based standards] (INT_FAST64_MAX): Likewise.
55252         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55253         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55254         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55255         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55256         [C99-based standards] (INTPTR_MIN): Likewise.
55257         [C99-based standards] (INTPTR_MAX): Likewise.
55258         [C99-based standards] (UINTPTR_MAX): Likewise.
55259         [C99-based standards] (INTMAX_MIN): Likewise.
55260         [C99-based standards] (INTMAX_MAX): Likewise.
55261         [C99-based standards] (UINTMAX_MAX): Likewise.
55262         [C99-based standards] (PTRDIFF_MIN): Likewise.
55263         [C99-based standards] (PTRDIFF_MAX): Likewise.
55264         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55265         [C99-based standards] (SIZE_MAX): Likewise.
55266         [C99-based standards] (WCHAR_MAX): Likewise.
55267         [C99-based standards] (WINT_MAX): Likewise.
55268         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55269         constraint on value.
55270         [C99-based standards] (WCHAR_MIN): Likewise.
55271         [C99-based standards] (WINT_MIN): Likewise.
55272         [C99-based standards] (*_t): Allow.
55273         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55274         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55275         Include math.h-data and complex.h-data.  Remove all expectations
55276         of math.h and complex.h contents.
55277         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55278         at end of line.
55279         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55280         (struct tm): Expect tag.
55281         [C99-based-standards] (wcstof): Expect function.
55282         [C99-based-standards] (wcstold): Likewise.
55283         [C99-based-standards] (wcstoll): Likewise.
55284         [C99-based-standards] (wcstoull): Likewise.
55285         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55286         macro-int-constant.  Specify type.
55287         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55288         constraint on value.
55289         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55290         Specify type.
55291         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55292         Specify value.
55293         [ISO C standards]: Do not allow headers.
55294         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55295         wcs[abcdefghijklmnopqrstuvwxyz]*.
55296         [ISO C standards] (*_t): Do not allow.
55297         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55298         Expect function.
55299         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55300         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55301         Specify type.
55302         [ISO C standards]: Do not allow headers.
55303         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55304         is[abcdefghijklmnopqrstuvwxyz]*.
55305         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55306         to[abcdefghijklmnopqrstuvwxyz]*.
55307         [ISO C standards] (*_t): Do not allow.
55308         * conform/data/stdalign.h-data: New file.
55309         * conform/data/stdbool.h-data: Likewise.
55310         * conform/data/stdnoreturn.h-data: Likewise.
55312 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55314         [BZ #14815]
55315         * manual/filesys.texi (Directory Entries): Typo fix.
55316         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55318 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55320         * elf/elf.h (EM_AARCH64): New macro.
55321         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55322         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55323         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55324         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55325         (R_AARCH64_TLSDESC): Likewise.
55326         (NT_ARM_TLS): Likewise.
55327         (NT_ARM_HW_BREAK): Likewise.
55328         (NT_ARM_HW_WATCH): Likewise.
55330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55332         [BZ #14811]
55333         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55334         (__ieee754_powl): Saturate nonzero exponents with absolute value
55335         below 0x1p-79 to +/- 0x1p-79.
55336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55337         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55338         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55339         nonzero exponents with absolute value below 0x1p-32 to +/-
55340         0x1p-32.
55341         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55342         (__ieee754_powl): Saturate nonzero exponents with absolute value
55343         below 0x1p-79 to +/- 0x1p-79.
55344         * math/libm-test.inc (pow_test): Add more tests.
55346 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55348         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55349         _dl_s390_cap_flags with kernel. Increase string length.
55350         (_dl_s390_platforms): Add z196 and zEC12.
55352 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55354         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55355         Change XOPEN21K to XOPEN2K.
55357 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55359         * string/memmove.c: Use memcpy when possible.
55361 2012-11-06  Andreas Jaeger  <aj@suse.de>
55363         * po/eo.po: Update from translation team.
55365 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55367         [BZ #14793]
55368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55369         exponent and small x and y exponents, scale x or y up.  Increase
55370         by 2 the exponent used in scaling up.
55371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55372         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55373         * math/libm-test.inc (fma_test): Add more tests.
55374         (fma_test_towardzero): Likewise.
55375         (fma_test_downward): Likewise.
55376         (fma_test_upward): Likewise.
55378 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55380         [BZ #14805]
55381         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55382         fenv_t *.
55384         [BZ #14801]
55385         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55386         namespace for names of struct fields.
55387         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55388         fenv_t fields.
55389         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55390         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55392 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55394         [BZ #3665]
55395         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55397 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55399         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55400         PTR_DEMANGLE.
55402         [BZ #5246]
55403         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55404         PTR_DEMANGLE.
55406 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55408         [BZ #14797]
55409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55410         definitely overflow as x * y not x * y + z.
55411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55413         * math/libm-test.inc (fma_test): Add more tests.
55414         (fma_test_towardzero): Likewise.
55415         (fma_test_downward): Likewise.
55416         (fma_test_upward): Likewise.
55418 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55420         [BZ #157]
55422         * include/stub-tag.h: Remove file.
55423         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55424         '#include' of it.
55425         * manual/maint.texi (Porting): Don't reference it.
55426         * Makerules ($(objpfx)stubs): Likewise.
55427         * dirent/closedir.c: Don't include <stub-tag.h>.
55428         * dirent/dirfd.c: Likewise.
55429         * dirent/fdopendir.c: Likewise.
55430         * dirent/getdents.c: Likewise.
55431         * dirent/getdents64.c: Likewise.
55432         * dirent/opendir.c: Likewise.
55433         * dirent/readdir.c: Likewise.
55434         * dirent/readdir64.c: Likewise.
55435         * dirent/readdir64_r.c: Likewise.
55436         * dirent/readdir_r.c: Likewise.
55437         * dirent/rewinddir.c: Likewise.
55438         * dirent/seekdir.c: Likewise.
55439         * dirent/telldir.c: Likewise.
55440         * gmon/profil.c: Likewise.
55441         * grp/setgroups.c: Likewise.
55442         * inet/if_index.c: Likewise.
55443         * io/access.c: Likewise.
55444         * io/chdir.c: Likewise.
55445         * io/chmod.c: Likewise.
55446         * io/chown.c: Likewise.
55447         * io/close.c: Likewise.
55448         * io/dup.c: Likewise.
55449         * io/dup2.c: Likewise.
55450         * io/dup3.c: Likewise.
55451         * io/euidaccess.c: Likewise.
55452         * io/faccessat.c: Likewise.
55453         * io/fchdir.c: Likewise.
55454         * io/fchmod.c: Likewise.
55455         * io/fchmodat.c: Likewise.
55456         * io/fchown.c: Likewise.
55457         * io/fchownat.c: Likewise.
55458         * io/fcntl.c: Likewise.
55459         * io/flock.c: Likewise.
55460         * io/fstatfs.c: Likewise.
55461         * io/fstatfs64.c: Likewise.
55462         * io/fstatvfs.c: Likewise.
55463         * io/fstatvfs64.c: Likewise.
55464         * io/futimens.c: Likewise.
55465         * io/fxstat.c: Likewise.
55466         * io/fxstat64.c: Likewise.
55467         * io/fxstatat.c: Likewise.
55468         * io/fxstatat64.c: Likewise.
55469         * io/getcwd.c: Likewise.
55470         * io/isatty.c: Likewise.
55471         * io/lchmod.c: Likewise.
55472         * io/lchown.c: Likewise.
55473         * io/link.c: Likewise.
55474         * io/linkat.c: Likewise.
55475         * io/lseek.c: Likewise.
55476         * io/lseek64.c: Likewise.
55477         * io/lxstat64.c: Likewise.
55478         * io/mkdir.c: Likewise.
55479         * io/mkdirat.c: Likewise.
55480         * io/mkfifo.c: Likewise.
55481         * io/mkfifoat.c: Likewise.
55482         * io/open.c: Likewise.
55483         * io/open64.c: Likewise.
55484         * io/openat.c: Likewise.
55485         * io/openat64.c: Likewise.
55486         * io/pipe.c: Likewise.
55487         * io/pipe2.c: Likewise.
55488         * io/poll.c: Likewise.
55489         * io/posix_fadvise.c: Likewise.
55490         * io/posix_fadvise64.c: Likewise.
55491         * io/posix_fallocate.c: Likewise.
55492         * io/posix_fallocate64.c: Likewise.
55493         * io/read.c: Likewise.
55494         * io/readlink.c: Likewise.
55495         * io/readlinkat.c: Likewise.
55496         * io/rmdir.c: Likewise.
55497         * io/sendfile.c: Likewise.
55498         * io/sendfile64.c: Likewise.
55499         * io/statfs.c: Likewise.
55500         * io/statfs64.c: Likewise.
55501         * io/statvfs.c: Likewise.
55502         * io/statvfs64.c: Likewise.
55503         * io/symlink.c: Likewise.
55504         * io/symlinkat.c: Likewise.
55505         * io/ttyname.c: Likewise.
55506         * io/ttyname_r.c: Likewise.
55507         * io/umask.c: Likewise.
55508         * io/unlink.c: Likewise.
55509         * io/unlinkat.c: Likewise.
55510         * io/utime.c: Likewise.
55511         * io/utimensat.c: Likewise.
55512         * io/write.c: Likewise.
55513         * io/xmknod.c: Likewise.
55514         * io/xmknodat.c: Likewise.
55515         * io/xstat.c: Likewise.
55516         * io/xstat64.c: Likewise.
55517         * login/getpt.c: Likewise.
55518         * login/grantpt.c: Likewise.
55519         * login/unlockpt.c: Likewise.
55520         * math/e_acoshl.c: Likewise.
55521         * math/e_acosl.c: Likewise.
55522         * math/e_asinl.c: Likewise.
55523         * math/e_atan2l.c: Likewise.
55524         * math/e_atanhl.c: Likewise.
55525         * math/e_coshl.c: Likewise.
55526         * math/e_expl.c: Likewise.
55527         * math/e_fmodl.c: Likewise.
55528         * math/e_gammal_r.c: Likewise.
55529         * math/e_hypotl.c: Likewise.
55530         * math/e_j0l.c: Likewise.
55531         * math/e_j1l.c: Likewise.
55532         * math/e_jnl.c: Likewise.
55533         * math/e_lgammal_r.c: Likewise.
55534         * math/e_log10l.c: Likewise.
55535         * math/e_log2l.c: Likewise.
55536         * math/e_logl.c: Likewise.
55537         * math/e_powl.c: Likewise.
55538         * math/e_rem_pio2l.c: Likewise.
55539         * math/e_sinhl.c: Likewise.
55540         * math/e_sqrtl.c: Likewise.
55541         * math/fclrexcpt.c: Likewise.
55542         * math/fedisblxcpt.c: Likewise.
55543         * math/feenablxcpt.c: Likewise.
55544         * math/fegetenv.c: Likewise.
55545         * math/fegetexcept.c: Likewise.
55546         * math/fegetround.c: Likewise.
55547         * math/feholdexcpt.c: Likewise.
55548         * math/fesetenv.c: Likewise.
55549         * math/fesetround.c: Likewise.
55550         * math/feupdateenv.c: Likewise.
55551         * math/fgetexcptflg.c: Likewise.
55552         * math/fraiseexcpt.c: Likewise.
55553         * math/fsetexcptflg.c: Likewise.
55554         * math/ftestexcept.c: Likewise.
55555         * math/k_cosl.c: Likewise.
55556         * math/k_rem_pio2l.c: Likewise.
55557         * math/k_sinl.c: Likewise.
55558         * math/k_tanl.c: Likewise.
55559         * math/s_asinhl.c: Likewise.
55560         * math/s_atanl.c: Likewise.
55561         * math/s_cbrtl.c: Likewise.
55562         * math/s_erfl.c: Likewise.
55563         * math/s_expm1l.c: Likewise.
55564         * math/s_log1pl.c: Likewise.
55565         * math/s_tanhl.c: Likewise.
55566         * misc/acct.c: Likewise.
55567         * misc/brk.c: Likewise.
55568         * misc/chflags.c: Likewise.
55569         * misc/chroot.c: Likewise.
55570         * misc/fchflags.c: Likewise.
55571         * misc/fgetxattr.c: Likewise.
55572         * misc/flistxattr.c: Likewise.
55573         * misc/fremovexattr.c: Likewise.
55574         * misc/fsetxattr.c: Likewise.
55575         * misc/fsync.c: Likewise.
55576         * misc/ftruncate.c: Likewise.
55577         * misc/futimes.c: Likewise.
55578         * misc/futimesat.c: Likewise.
55579         * misc/getdomain.c: Likewise.
55580         * misc/getdtsz.c: Likewise.
55581         * misc/gethostid.c: Likewise.
55582         * misc/gethostname.c: Likewise.
55583         * misc/getloadavg.c: Likewise.
55584         * misc/getpagesize.c: Likewise.
55585         * misc/getsysstats.c: Likewise.
55586         * misc/getxattr.c: Likewise.
55587         * misc/gtty.c: Likewise.
55588         * misc/ioctl.c: Likewise.
55589         * misc/lgetxattr.c: Likewise.
55590         * misc/listxattr.c: Likewise.
55591         * misc/llistxattr.c: Likewise.
55592         * misc/lremovexattr.c: Likewise.
55593         * misc/lsetxattr.c: Likewise.
55594         * misc/lutimes.c: Likewise.
55595         * misc/madvise.c: Likewise.
55596         * misc/mincore.c: Likewise.
55597         * misc/mlock.c: Likewise.
55598         * misc/mlockall.c: Likewise.
55599         * misc/mmap.c: Likewise.
55600         * misc/mprotect.c: Likewise.
55601         * misc/msync.c: Likewise.
55602         * misc/munlock.c: Likewise.
55603         * misc/munlockall.c: Likewise.
55604         * misc/munmap.c: Likewise.
55605         * misc/preadv.c: Likewise.
55606         * misc/preadv64.c: Likewise.
55607         * misc/ptrace.c: Likewise.
55608         * misc/pwritev.c: Likewise.
55609         * misc/pwritev64.c: Likewise.
55610         * misc/readv.c: Likewise.
55611         * misc/reboot.c: Likewise.
55612         * misc/remap_file_pages.c: Likewise.
55613         * misc/removexattr.c: Likewise.
55614         * misc/revoke.c: Likewise.
55615         * misc/select.c: Likewise.
55616         * misc/setdomain.c: Likewise.
55617         * misc/setegid.c: Likewise.
55618         * misc/seteuid.c: Likewise.
55619         * misc/sethostid.c: Likewise.
55620         * misc/sethostname.c: Likewise.
55621         * misc/setregid.c: Likewise.
55622         * misc/setreuid.c: Likewise.
55623         * misc/setxattr.c: Likewise.
55624         * misc/sstk.c: Likewise.
55625         * misc/stty.c: Likewise.
55626         * misc/swapoff.c: Likewise.
55627         * misc/swapon.c: Likewise.
55628         * misc/sync.c: Likewise.
55629         * misc/syncfs.c: Likewise.
55630         * misc/syscall.c: Likewise.
55631         * misc/truncate.c: Likewise.
55632         * misc/ualarm.c: Likewise.
55633         * misc/usleep.c: Likewise.
55634         * misc/ustat.c: Likewise.
55635         * misc/utimes.c: Likewise.
55636         * misc/vhangup.c: Likewise.
55637         * misc/writev.c: Likewise.
55638         * posix/_exit.c: Likewise.
55639         * posix/alarm.c: Likewise.
55640         * posix/execve.c: Likewise.
55641         * posix/fexecve.c: Likewise.
55642         * posix/fork.c: Likewise.
55643         * posix/fpathconf.c: Likewise.
55644         * posix/getaddrinfo.c: Likewise.
55645         * posix/getegid.c: Likewise.
55646         * posix/geteuid.c: Likewise.
55647         * posix/getgid.c: Likewise.
55648         * posix/getgroups.c: Likewise.
55649         * posix/getlogin.c: Likewise.
55650         * posix/getlogin_r.c: Likewise.
55651         * posix/getpgid.c: Likewise.
55652         * posix/getpid.c: Likewise.
55653         * posix/getppid.c: Likewise.
55654         * posix/getresgid.c: Likewise.
55655         * posix/getresuid.c: Likewise.
55656         * posix/getsid.c: Likewise.
55657         * posix/getuid.c: Likewise.
55658         * posix/glob64.c: Likewise.
55659         * posix/nanosleep.c: Likewise.
55660         * posix/pathconf.c: Likewise.
55661         * posix/pause.c: Likewise.
55662         * posix/posix_madvise.c: Likewise.
55663         * posix/pread.c: Likewise.
55664         * posix/pread64.c: Likewise.
55665         * posix/pwrite.c: Likewise.
55666         * posix/pwrite64.c: Likewise.
55667         * posix/sched_getaffinity.c: Likewise.
55668         * posix/sched_getp.c: Likewise.
55669         * posix/sched_gets.c: Likewise.
55670         * posix/sched_primax.c: Likewise.
55671         * posix/sched_primin.c: Likewise.
55672         * posix/sched_rr_gi.c: Likewise.
55673         * posix/sched_setaffinity.c: Likewise.
55674         * posix/sched_setp.c: Likewise.
55675         * posix/sched_sets.c: Likewise.
55676         * posix/sched_yield.c: Likewise.
55677         * posix/setgid.c: Likewise.
55678         * posix/setlogin.c: Likewise.
55679         * posix/setpgid.c: Likewise.
55680         * posix/setresgid.c: Likewise.
55681         * posix/setresuid.c: Likewise.
55682         * posix/setsid.c: Likewise.
55683         * posix/setuid.c: Likewise.
55684         * posix/sleep.c: Likewise.
55685         * posix/spawni.c: Likewise.
55686         * posix/sysconf.c: Likewise.
55687         * posix/times.c: Likewise.
55688         * posix/wait.c: Likewise.
55689         * posix/wait3.c: Likewise.
55690         * posix/wait4.c: Likewise.
55691         * posix/waitpid.c: Likewise.
55692         * resolv/gai_sigqueue.c: Likewise.
55693         * resource/getpriority.c: Likewise.
55694         * resource/getrlimit.c: Likewise.
55695         * resource/getrusage.c: Likewise.
55696         * resource/nice.c: Likewise.
55697         * resource/setpriority.c: Likewise.
55698         * resource/setrlimit.c: Likewise.
55699         * resource/ulimit.c: Likewise.
55700         * rt/aio_cancel.c: Likewise.
55701         * rt/aio_fsync.c: Likewise.
55702         * rt/aio_read.c: Likewise.
55703         * rt/aio_sigqueue.c: Likewise.
55704         * rt/aio_suspend.c: Likewise.
55705         * rt/aio_write.c: Likewise.
55706         * rt/clock_getres.c: Likewise.
55707         * rt/clock_gettime.c: Likewise.
55708         * rt/clock_nanosleep.c: Likewise.
55709         * rt/clock_settime.c: Likewise.
55710         * rt/lio_listio.c: Likewise.
55711         * rt/mq_close.c: Likewise.
55712         * rt/mq_getattr.c: Likewise.
55713         * rt/mq_notify.c: Likewise.
55714         * rt/mq_open.c: Likewise.
55715         * rt/mq_receive.c: Likewise.
55716         * rt/mq_send.c: Likewise.
55717         * rt/mq_setattr.c: Likewise.
55718         * rt/mq_timedreceive.c: Likewise.
55719         * rt/mq_timedsend.c: Likewise.
55720         * rt/mq_unlink.c: Likewise.
55721         * rt/shm_open.c: Likewise.
55722         * rt/shm_unlink.c: Likewise.
55723         * rt/timer_create.c: Likewise.
55724         * rt/timer_delete.c: Likewise.
55725         * rt/timer_getoverr.c: Likewise.
55726         * rt/timer_gettime.c: Likewise.
55727         * rt/timer_settime.c: Likewise.
55728         * setjmp/__longjmp.c: Likewise.
55729         * setjmp/setjmp.c: Likewise.
55730         * signal/kill.c: Likewise.
55731         * signal/killpg.c: Likewise.
55732         * signal/raise.c: Likewise.
55733         * signal/sigaction.c: Likewise.
55734         * signal/sigaltstack.c: Likewise.
55735         * signal/sigblock.c: Likewise.
55736         * signal/sigignore.c: Likewise.
55737         * signal/sigintr.c: Likewise.
55738         * signal/signal.c: Likewise.
55739         * signal/sigpause.c: Likewise.
55740         * signal/sigpending.c: Likewise.
55741         * signal/sigqueue.c: Likewise.
55742         * signal/sigreturn.c: Likewise.
55743         * signal/sigset.c: Likewise.
55744         * signal/sigsetmask.c: Likewise.
55745         * signal/sigstack.c: Likewise.
55746         * signal/sigsuspend.c: Likewise.
55747         * signal/sigtimedwait.c: Likewise.
55748         * signal/sigvec.c: Likewise.
55749         * signal/sigwait.c: Likewise.
55750         * signal/sigwaitinfo.c: Likewise.
55751         * signal/sysv_signal.c: Likewise.
55752         * socket/accept.c: Likewise.
55753         * socket/accept4.c: Likewise.
55754         * socket/bind.c: Likewise.
55755         * socket/connect.c: Likewise.
55756         * socket/getpeername.c: Likewise.
55757         * socket/getsockname.c: Likewise.
55758         * socket/getsockopt.c: Likewise.
55759         * socket/isfdtype.c: Likewise.
55760         * socket/listen.c: Likewise.
55761         * socket/recv.c: Likewise.
55762         * socket/recvfrom.c: Likewise.
55763         * socket/recvmsg.c: Likewise.
55764         * socket/send.c: Likewise.
55765         * socket/sendmsg.c: Likewise.
55766         * socket/sendto.c: Likewise.
55767         * socket/setsockopt.c: Likewise.
55768         * socket/shutdown.c: Likewise.
55769         * socket/sockatmark.c: Likewise.
55770         * socket/socket.c: Likewise.
55771         * socket/socketpair.c: Likewise.
55772         * stdio-common/ctermid.c: Likewise.
55773         * stdio-common/cuserid.c: Likewise.
55774         * stdio-common/remove.c: Likewise.
55775         * stdio-common/rename.c: Likewise.
55776         * stdio-common/renameat.c: Likewise.
55777         * stdio-common/tempname.c: Likewise.
55778         * stdlib/getcontext.c: Likewise.
55779         * stdlib/makecontext.c: Likewise.
55780         * stdlib/setcontext.c: Likewise.
55781         * stdlib/swapcontext.c: Likewise.
55782         * stdlib/system.c: Likewise.
55783         * streams/fattach.c: Likewise.
55784         * streams/fdetach.c: Likewise.
55785         * streams/getmsg.c: Likewise.
55786         * streams/getpmsg.c: Likewise.
55787         * streams/putmsg.c: Likewise.
55788         * streams/putpmsg.c: Likewise.
55789         * sysdeps/unix/bsd/getpt.c: Likewise.
55790         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55791         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55792         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55794         Likewise.
55795         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55796         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55797         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55798         * sysvipc/msgctl.c: Likewise.
55799         * sysvipc/msgget.c: Likewise.
55800         * sysvipc/msgrcv.c: Likewise.
55801         * sysvipc/msgsnd.c: Likewise.
55802         * sysvipc/semctl.c: Likewise.
55803         * sysvipc/semget.c: Likewise.
55804         * sysvipc/semop.c: Likewise.
55805         * sysvipc/semtimedop.c: Likewise.
55806         * sysvipc/shmat.c: Likewise.
55807         * sysvipc/shmctl.c: Likewise.
55808         * sysvipc/shmdt.c: Likewise.
55809         * sysvipc/shmget.c: Likewise.
55810         * termios/tcdrain.c: Likewise.
55811         * termios/tcflow.c: Likewise.
55812         * termios/tcflush.c: Likewise.
55813         * termios/tcgetattr.c: Likewise.
55814         * termios/tcgetpgrp.c: Likewise.
55815         * termios/tcsendbrk.c: Likewise.
55816         * termios/tcsetattr.c: Likewise.
55817         * termios/tcsetpgrp.c: Likewise.
55818         * time/adjtime.c: Likewise.
55819         * time/clock.c: Likewise.
55820         * time/getitimer.c: Likewise.
55821         * time/gettimeofday.c: Likewise.
55822         * time/setitimer.c: Likewise.
55823         * time/settimeofday.c: Likewise.
55824         * time/stime.c: Likewise.
55825         * time/time.c: Likewise.
55827 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55829         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55830         /usr/old/bin.
55832         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55833         instead of spaces.
55834         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55836 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55838         [BZ #14796]
55839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55840         FE_TONEAREST before applying Dekker multiplication and Knuth
55841         addition.  Clear inexact exceptions and check for exact zero
55842         results afterwards.
55843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55844         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55846         * math/libm-test.inc (fma_test): Add more tests.
55847         (fma_test_towardzero): Likewise.
55848         (fma_test_downward): Likewise.
55849         (fma_test_upward): Likewise.
55850         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55851         function.
55852         (libc_fesetround): New macro.
55853         (libc_fesetroundf): Likewise.
55854         (libc_fesetroundl): Likewise.
55855         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55856         function.
55857         (libc_fesetround_387): Likewise.
55858         (libc_fesetroundf): New macro.
55859         (libc_fesetround): Likewise.
55860         (libc_fesetroundl): Likewise.
55861         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55862         function.
55863         (libc_fesetroundf): New macro.
55864         (libc_fesetround): Likewise.
55865         (libc_fesetroundl): Likewise.
55866         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55867         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55868         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55869         libm_hidden_ver.
55870         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55871         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55872         libm_hidden_def.
55873         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55874         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55875         libm_hidden_ver.
55876         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55877         libm_hidden_def.
55879         [BZ #3439]
55880         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55881         integer constant usable in #if and use that to give value to enum
55882         constant.
55883         (FE_DIVBYZERO): Likewise.
55884         (FE_UNDERFLOW): Likewise.
55885         (FE_OVERFLOW): Likewise.
55886         (FE_INVALID): Likewise.
55887         (FE_INVALID_SNAN): Likewise.
55888         (FE_INVALID_ISI): Likewise.
55889         (FE_INVALID_IDI): Likewise.
55890         (FE_INVALID_ZDZ): Likewise.
55891         (FE_INVALID_IMZ): Likewise.
55892         (FE_INVALID_COMPARE): Likewise.
55893         (FE_INVALID_SOFTWARE): Likewise.
55894         (FE_INVALID_SQRT): Likewise.
55895         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55896         (FE_TONEAREST): Likewise.
55897         (FE_TOWARDZERO): Likewise.
55898         (FE_UPWARD): Likewise.
55899         (FE_DOWNWARD): Likewise.
55900         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55901         (FE_DIVBYZERO): Likewise.
55902         (FE_OVERFLOW): Likewise.
55903         (FE_UNDERFLOW): Likewise.
55904         (FE_INEXACT): Likewise.
55905         (FE_TONEAREST): Likewise.
55906         (FE_DOWNWARD): Likewise.
55907         (FE_UPWARD): Likewise.
55908         (FE_TOWARDZERO): Likewise.
55909         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55910         (FE_UNDERFLOW): Likewise.
55911         (FE_OVERFLOW): Likewise.
55912         (FE_DIVBYZERO): Likewise.
55913         (FE_INVALID): Likewise.
55914         (FE_TONEAREST): Likewise.
55915         (FE_TOWARDZERO): Likewise.
55916         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55917         (FE_OVERFLOW): Likewise.
55918         (FE_UNDERFLOW): Likewise.
55919         (FE_DIVBYZERO): Likewise.
55920         (FE_INEXACT): Likewise.
55921         (FE_TONEAREST): Likewise.
55922         (FE_TOWARDZERO): Likewise.
55923         (FE_UPWARD): Likewise.
55924         (FE_DOWNWARD): Likewise.
55925         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55926         (FE_DIVBYZERO): Likewise.
55927         (FE_OVERFLOW): Likewise.
55928         (FE_UNDERFLOW): Likewise.
55929         (FE_INEXACT): Likewise.
55930         (FE_TONEAREST): Likewise.
55931         (FE_DOWNWARD): Likewise.
55932         (FE_UPWARD): Likewise.
55933         (FE_TOWARDZERO): Likewise.
55935 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55937         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55939 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55941         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55942         commands.  Quote $PWD.
55943         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55944         -x" by "export".
55945         (remove_newlines): Remove.
55947 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55949         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55950         * stdlib/stdlib.h (atof): Moved to ...
55951         * include/bits/stdlib-float.h: Here.  New file.
55952         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55953         * stdlib/bits/stdlib-float.h: New file.
55954         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55955         -mno-sse -mno-mmx.
55956         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55957         <xmmintrin.h>.
55959 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55961         * conform/conformtest.pl (@headers): Add fenv.h.
55962         * conform/data/fenv.h-data: New file.
55963         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55964         include of <math/fenv.h>.
55966         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55967         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55968         && !UNIX98].  Enables tests for XOPEN2K8.
55969         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55970         POSIX2008]: Likewise.
55972         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55973         (struct rusage): Do not expect type or its members.
55975         [BZ #3439]
55976         * math/math.h (FP_NAN): Define macro to integer constant usable in
55977         #if and use that to give value to enum constant.
55978         (FP_INFINITE): Likewise.
55979         (FP_ZERO): Likewise.
55980         (FP_SUBNORMAL): Likewise.
55981         (FP_NORMAL): Likewise.
55983 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55985         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55986         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55987         arguments.
55989 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55991         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55992         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55993         autoconf-time if not.
55994         * configure.in: Remove AC_PREREQ.
55996 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55998         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55999         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56000         of the internal implementation.
56002 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56004         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56005         except include of <misc/sys/syslog.h>.
56007 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56010         function returns with a NULL context exit with zero.
56012 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56014         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56016 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56018         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56019         (run_program_cmd): This.
56020         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56021         (tst_langinfo): New variable.  Use it.
56023 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56025         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56026         floating point opcodes.
56028 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56030         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56031         variable.
56033         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56035         * sysdeps/mach/hurd/powerpc: Remove directory.
56036         * sysdeps/mach/powerpc: Likewise.
56038 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56040         * scripts/check-local-headers.sh: Ignore c++ headers.
56042 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56044         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56045         __libc_cleanup_region_start argument.
56047 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56049         [BZ #14784]
56050         [BZ #14785]
56051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56052         x * y using scaling, not as x * y + z.
56053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56055         * math/libm-test.inc (fma_test): Add more tests.
56056         (fma_test_towardzero): Likewise.
56057         (fma_test_downward): Likewise.
56058         (fma_test_upward): Likewise.
56060 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56062         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56064 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56066         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56067         New variable.
56069 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56071         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56073 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56076         Fix sort order.
56077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56078         Likewise.
56080 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56083         Fix the order of the list for glibc 2.17.
56084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56085         Likewise.
56087 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56091 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56093         [BZ #14610]
56094         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56095         for low part of x being zero before using __atanl (y).
56096         * math/libm-test.inc (atan2_test): Add another test.
56098         * manual/install.texi (Configuring and compiling): Document
56099         general use of test-wrapper and test-wrapper-env.
56100         * INSTALL: Regenerated.
56102         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56103         (__fma): Do not extract and scale down low bits on after-rounding
56104         systems when result rounded to normal precision would have normal
56105         exponent.
56106         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56107         (__fmal): Do not extract and scale down low bits on after-rounding
56108         systems when result rounded to normal precision would have normal
56109         exponent.
56110         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56111         (__fmal): Do not extract and scale down low bits on after-rounding
56112         systems when result rounded to normal precision would have normal
56113         exponent.
56114         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56115         macro.
56116         (fma_test): Add more tests.
56117         (fma_test_towardzero): Likewise.
56118         (fma_test_downward): Likewise.
56119         (fma_test_upward): Likewise.
56121 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56123         * sysdeps/i386/tininess.h: Renamed to ...
56124         * sysdeps/x86/tininess.h: This.
56125         * sysdeps/x86_64/tininess.h: Removed.
56127 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56129         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56130         input.  Use $(build-program-cmd).
56131         ($(objpfx)tst-array1-static.out): Likewise.
56132         ($(objpfx)tst-array2.out): Likewise.
56133         ($(objpfx)tst-array3.out): Likewise.
56134         ($(objpfx)tst-array4.out): Likewise.
56135         ($(objpfx)tst-array5.out): Likewise.
56136         ($(objpfx)tst-array5-static.out): Likewise.
56138 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56140         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56141         if defined.
56143         * nss/nsswitch.h (nss_interface_function): Provide new
56144         macro for use with NSS functions.
56145         * grp/initgroups.c: Use new macro.
56146         * nss/getXXbyYY.c: Likewise.
56147         * nss/getXXbyYY_r.c: Likewise.
56148         * nss/getXXent.c: Likewise.
56149         * nss/getXXent_r.c: Likewise.
56150         * sysdeps/posix/getaddrinfo.c: Likewise.
56152 2012-10-30  Andreas Jaeger  <aj@suse.de>
56154         * po/ru.po: Update Russion translation from translation project.
56156 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56158         [BZ #14152]
56159         [BZ #14783]
56160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56161         result and shift together with sticky bit instead of replicating
56162         round-to-nearest rounding.
56163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56164         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56165         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56166         missing underflow exceptions.
56167         (fma_test_towardzero): Add more tests.
56168         (fma_test_downward): Likewise.
56169         (fma_test_upward): Likewise.
56171         [BZ #14047]
56172         * sysdeps/generic/tininess.h: New file.
56173         * sysdeps/i386/tininess.h: Likewise.
56174         * sysdeps/sh/tininess.h: Likewise.
56175         * sysdeps/x86_64/tininess.h: Likewise.
56176         * stdlib/tst-strtod-underflow.c: Likewise.
56177         * stdlib/tst-tininess.c: Likewise.
56178         * stdlib/strtod_l.c: Include <tininess.h>.
56179         (round_and_return): Do not set errno for exact underflow cases.
56180         Force an underflow exception when setting errno for underflow.
56181         Determine underflow based on rounding to normal precision if
56182         TININESS_AFTER_ROUNDING.
56183         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56184         ERANGE for exact underflow cases.
56185         * stdlib/Makefile (tests): Add tst-tininess and
56186         tst-strtod-underflow.
56187         ($(objpfx)tst-tininess): Use $(link-libm).
56188         ($(objpfx)tst-strtod-underflow): Likewise.
56190 2012-10-30  Andreas Jaeger  <aj@suse.de>
56192         [BZ#14767]
56193         * elf/Makefile (tests): Remove conditional for have-initfini-array
56194         since this is now always required and the variable does not exist
56195         anymore.
56196         (tests-static): Likewise.
56197         (modules-names): Likewise.
56199         * po/eo.po: Add Esperanto translation from translation project.
56201         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56202         merged with constructor/destructor.
56203         (init_array): Likewise.
56204         * elf/tst-array2dep.c (fini_array): Likewise.
56205         (init_array): Likewise.
56207 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56209         * manual/message.texi: Delete @cartouche tags.
56211 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56213         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56214         EOPNOTSUPP.
56215         * sysdeps/mach/hurd/fsync.c: Likewise.
56217         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56218         [_POSIX_REALTIME_SIGNALS]: Change condition to
56219         [_POSIX_REALTIME_SIGNALS > 0].
56221 2012-10-27  Andreas Jaeger  <aj@suse.de>
56223         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56224         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56226         [__WORDSIZE != 64]: Likewise.
56228 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56230         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56231         *  iconvdata/tst-tables.sh: Likewise.
56233 2012-10-25  David S. Miller  <davem@davemloft.net>
56235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56236         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56237         of strtoull.
56239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56240         ifunc-impl-list.c
56241         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56242         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56243         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56244         file.
56246 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56249         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56250         __getdirentries.
56252 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56253             Jim Blandy  <jimb@codesourcery.com>
56255         * scripts/cross-test-ssh.sh: New file.
56256         * manual/install.texi (Configuring and compiling): Document use of
56257         cross-test-ssh.sh.
56258         * INSTALL: Regenerated.
56260 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56262         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56263         EOPNOTSUPP.
56265 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56267         * Makeconfig (run-program-prefix): Fix comment.
56269 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56270             Jim Blandy  <jimb@codesourcery.com>
56272         * Makeconfig (test-wrapper): New variable,
56273         (test-wrapper-env): Likewise.
56274         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56275         (run-built-tests): Define to yes.
56276         (run-program-prefix): Use $(test-wrapper).
56277         (built-program-cmd): Likewise.
56278         * Rules (make-test-out): Use $(test-wrapper-env) and
56279         $(host-built-program-cmd).
56280         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56281         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56282         tst-pathopt.sh.
56283         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56284         $(test-wrapper-env) to tst-rtld-load-self.sh.
56285         ($(objpfx)order2.out): Use $(test-wrapper).
56286         ($(objpfx)tst-initorder.out): Likewise.
56287         ($(objpfx)tst-initorder2.out): Likewise.
56288         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56289         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56290         (test_wrapper_env): New variable.  Use it to run ld.so.
56291         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56292         Use it to run ld.so.
56293         (test_wrapper_env): Likewise.
56294         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56295         $(test-wrapper) to run-iconv-test.sh.
56296         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56297         (ICONV): Use $test_wrapper.
56298         * posix/Makefile ($(objpfx)globtest.out): Pass
56299         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56300         globtest.sh, not $(run-program-prefix).
56301         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56302         (test_wrapper): Likewise.
56303         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56304         set together with run_via_rtld_prefix.
56305         (run_program_prefix): Define in terms of test_wrapper and
56306         run_via_rtld_prefix.
56308 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56310         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56311         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56312         Targets removed.
56314         [BZ #14743]
56315         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56316         Declare __clock_getres, __clock_gettime, __clock_settime,
56317         __clock_nanosleep, and __clock_getcpuclockid.
56318         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56319         Remove librt_hidden_def (clock_gettime).
56320         * sysdeps/unix/clock_gettime.c: Likewise.
56321         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56323         * rt/clock_getres.c: Define __clock_getres as an alias.
56324         * sysdeps/posix/clock_getres.c: Likewise.
56325         * rt/clock_settime.c: Define __clock_settime as an alias.
56326         * sysdeps/unix/clock_settime.c: Likewise.
56327         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56328         * sysdeps/unix/clock_nanosleep.c: Likewise.
56329         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56330         * rt/clock-compat.c: New file.
56331         * rt/Makefile (librt-routines): Add clock-compat and move
56332         $(clock-routines) to ...
56333         (routines): ... here, new variable.
56334         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56335         Don't add get_clockfreq here.
56336         * rt/Versions (libc: GLIBC_2.17): New version set.
56337         Add clock_* symbols here.
56338         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56339         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56340         (GLIBC_2.17): Add clock_* symbols.
56341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56343         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56345         Likewise.
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56347         Likewise.
56348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56352         * NEWS: Mention the move.
56354         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56355         Use __open, __read, __close rather than their public counterparts.
56356         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56357         (__get_clockfreq_via_cpuinfo): Likewise.
56358         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56359         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56361         * config.h.in (HAVE_IFUNC): New #undef.
56362         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56363         was successful.
56364         * configure: Regenerated.
56366 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56368         * configure.in: Move READELF check to start of file.
56369         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56370         libc_cv_asm_gnu_indirect_function in the process.
56371         * configure: Regenerated.
56373 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56375         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56376         send the output to /dev/null.
56377         (libc_cv_cc_with_libunwind): Likewise.
56378         (libc_cv_as_noexecstack): Likewise.
56379         * configure: Regenerate.
56381 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56383         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56385         * posix/globtest.sh (TMPDIR): Do not set.
56386         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56387         (testout): Likewise.
56389 2012-10-24  Andreas Jaeger  <aj@suse.de>
56391         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56392         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56393         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56394         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56395         posix_fadvise64, posix_fallocate64.
56397         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56398         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56399         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56400         Likewise.
56401         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56402         Likewise.
56403         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56406         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56407         <bits/fcntl-linux.h>.
56408         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56411         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56412         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56413         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56414         [__WORDSIZE != 64]: Likewise.
56416 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56418         * Makeconfig (run-built-tests): New variable.
56419         * Rules [$(cross-compiling) = yes]: Change condition to
56420         [$(run-built-tests) = no].
56421         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56422         to [$(run-built-tests) = yes].
56423         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56424         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56425         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56426         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56427         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56428         * io/Makefile [$(cross-compiling) = no]: Likewise.
56429         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56430         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56431         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56432         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56433         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56434         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56435         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56436         * string/Makefile [$(cross-compiling) = no]: Likewise.
56438         * posix/Makefile ($(objpfx)globtest.out): Pass
56439         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56440         $(rtld-installed-name).
56441         * posix/globtest.sh (elf_objpfx): Remove variable.
56442         (rtld_installed_name): Likewise.
56443         (library_path): Likewise.
56444         (run_program_prefix): New variable.  Use for running globtest
56445         binary.
56447 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56448             Joseph Myers  <joseph@codesourcery.com>
56450         * Makeconfig (host-built-program-cmd): New variable.
56451         * elf/Makefile (tst-stackguard1-ARGS): Use
56452         $(host-built-program-cmd).
56453         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56454         (tst-spawn-ARGS): Likewise.
56455         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56457 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56458             Jim Blandy  <jimb@codesourcery.com>
56460         * Makeconfig (run-via-rtld-prefix): New variable.
56461         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56462         (built-program-cmd): Likewise.
56464 2012-10-22  Andreas Jaeger  <aj@suse.de>
56466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56467         __O_RSYNC if it exists, otherwise to O_SYNC.
56469 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56470             Joseph Myers  <joseph@codesourcery.com>
56472         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56473         /dev/null.
56474         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56475         from /dev/null
56476         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56477         /dev/null.
56479 2012-10-22  Andreas Jaeger  <aj@suse.de>
56481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56482         Define always.
56483         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56486         bits/fcntl-linux.h.
56488         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56489         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56492         to __O_LARGEFILE.
56493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56494         to __O_LARGEFILE.
56496 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56497             Joseph Myers  <joseph@codesourcery.com>
56499         * config.make.in (NM): New variable.
56501 2012-10-21  Andreas Jaeger  <aj@suse.de>
56503         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56504         definitions and declarations that are provided by
56505         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56507 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56509         [BZ #14683]
56510         * elf/Makefile (tests-static): Add tst-leaks1-static.
56511         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56512         ($(objpfx)tst-leaks1-static): New rule.
56513         ($(objpfx)tst-leaks1-static-mem): Likewise.
56514         (tst-leaks1-static-ENV): New macro.
56515         * elf/dl-open.c (dl_open_worker): Check the main application
56516         only if SHARED is defined.
56517         * elf/tst-leaks1-static.c: New file.
56519 2012-10-20  Andreas Jaeger  <aj@suse.de>
56521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56522         generic values for Linux.
56523         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56524         and declarations that are provided by <bits/fcntl-linux.h> and
56525         include <bits/fcntl-linux.h>.
56526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56529 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56531         * io/fcntl.h: Move include of <bits/types.h> to the top and
56532         include it unconditionally.
56534 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56536         * wcsmbs/Makefile (tests-ifunc): New variable.
56537         (tests): Add $(tests-ifunc).
56538         * wcsmbs/test-wcschr-ifunc.c: New file.
56539         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56540         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56541         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56542         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56543         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56545         * string/Makefile (tests-ifunc): New variable.
56546         (tests): Add $(tests-ifunc).
56547         * string/test-memccpy.c (TEST_NAME): New macro.
56548         * string/test-memchr.c (TEST_NAME): Likewise.
56549         * string/test-memcmp.c (TEST_NAME): Likewise.
56550         * string/test-memcpy.c (TEST_NAME): Likewise.
56551         * string/test-memmem.c (TEST_NAME): Likewise.
56552         * string/test-memmove.c (TEST_NAME): Likewise.
56553         * string/test-memset.c (TEST_NAME): Likewise.
56554         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56555         * string/test-stpcpy.c (TEST_NAME): Likewise.
56556         * string/test-stpncpy.c (TEST_NAME): Likewise.
56557         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56558         * string/test-strcasestr.c (TEST_NAME): Likewise.
56559         * string/test-strcat.c (TEST_NAME): Likewise.
56560         * string/test-strchr.c (TEST_NAME): Likewise.
56561         * string/test-strcmp.c(TEST_NAME): Likewise.
56562         * string/test-strcpy.c (TEST_NAME): Likewise.
56563         * string/test-strcspn.c (TEST_NAME): Likewise.
56564         * string/test-strlen.c (TEST_NAME): Likewise.
56565         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56566         * string/test-strncmp.c (TEST_NAME): Likewise.
56567         * string/test-strncpy.c (TEST_NAME): Likewise.
56568         * string/test-strnlen.c (TEST_NAME): Likewise.
56569         * string/test-strpbrk.c (TEST_NAME): Likewise.
56570         * string/test-strrchr.c (TEST_NAME): Likewise.
56571         * string/test-strspn.c (TEST_NAME): Likewise.
56572         * string/test-strstr.c (TEST_NAME): Likewise.
56573         * string/test-bcopy-ifunc.c: New file.
56574         * string/test-bzero-ifunc.c: Likewise.
56575         * string/test-memccpy-ifunc.c: Likewise.
56576         * string/test-memchr-ifunc.c: Likewise.
56577         * string/test-memcmp-ifunc.c: Likewise.
56578         * string/test-memcpy-ifunc.c: Likewise.
56579         * string/test-memmem-ifunc.c: Likewise.
56580         * string/test-memmove-ifunc.c: Likewise.
56581         * string/test-mempcpy-ifunc.c: Likewise.
56582         * string/test-memset-ifunc.c: Likewise.
56583         * string/test-rawmemchr-ifunc.c: Likewise.
56584         * string/test-stpcpy-ifunc.c: Likewise.
56585         * string/test-stpncpy-ifunc.c: Likewise.
56586         * string/test-strcasecmp-ifunc.c: Likewise.
56587         * string/test-strcasestr-ifunc.c: Likewise.
56588         * string/test-strcat-ifunc.c: Likewise.
56589         * string/test-strchr-ifunc.c: Likewise.
56590         * string/test-strchrnul-ifunc.c: Likewise.
56591         * string/test-strcmp-ifunc.c: Likewise.
56592         * string/test-strcpy-ifunc.c: Likewise.
56593         * string/test-strcspn-ifunc.c: Likewise.
56594         * string/test-strlen-ifunc.c: Likewise.
56595         * string/test-strncasecmp-ifunc.c: Likewise.
56596         * string/test-strncat-ifunc.c: Likewise.
56597         * string/test-strncmp-ifunc.c: Likewise.
56598         * string/test-strncpy-ifunc.c: Likewise.
56599         * string/test-strnlen-ifunc.c: Likewise.
56600         * string/test-strpbrk-ifunc.c: Likewise.
56601         * string/test-strrchr-ifunc.c: Likewise.
56602         * string/test-strspn-ifunc.c: Likewise.
56603         * string/test-strstr-ifunc.c: Likewise.
56605         * debug/Makefile (tests-ifunc): New variable.
56606         (tests): Add $(tests-ifunc).
56607         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56608         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56609         * debug/test-stpcpy_chk-ifunc.c: New file.
56610         * debug/test-strcpy_chk-ifunc.c: Likewise.
56612 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56614         [BZ #13601]
56615         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56616         header is not read in.
56618 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56620         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56621         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56622         directly.  Pass built executable to script as
56623         $(built-program-cmd).
56624         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56625         $testprogram without using LD_LIBRARY_PATH and $ldso.
56627         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56628         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56629         $(rtld-installed-name).
56630         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56631         (rtld_installed_name): Likewise.
56632         (library_path): Likewise.
56633         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56634         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56635         $(run-program-prefix) to tst-tables.sh.
56636         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56637         it to run tst-table-from and tst-table-to.
56638         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56639         Pass it to tst-table.sh.
56640         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56641         $(run-program-prefix) to tst-gettext.sh.
56642         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56643         tst-translit.sh.
56644         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56645         tst-gettext2.sh.
56646         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56647         to run tst-gettext.
56648         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56649         to run tst-gettext2.
56650         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56651         to run tst-translit.
56652         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56653         $(run-program-prefix) to tst-mtrace.sh.
56654         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56655         to run tst-mtrace.
56656         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56657         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56658         $(rtld-installed-name).
56659         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56660         (rtld_installed_name): Likewise.
56661         (run_program_prefix): New variable.  Use it to run wordexp-test.
56663         * Makeconfig (ARCH): Remove all definitions.
56664         (machine): Likewise.
56665         [ARCH]: Remove conditional code.
56666         [!objdir]: Give error.
56667         [!objdir] (objpfx): Remove.
56668         [!objdir] (common-objpfx): Likewise.
56669         [!objdir] (common-objdir): Likewise.
56670         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56671         AC_CONFIG_FILES call.
56672         * configure: Regenerated.
56674         [BZ #13888]
56675         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56676         or TMPDIR.
56677         (testout): Likewise.
56679         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56680         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56681         $(rtld-installed-name).
56682         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56683         (rtld_installed_name): Likwise.
56684         (runit): Remove function.
56685         (run_getconf): New variable,  Use it for running getconf binary.
56687 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56689         [BZ #14716]
56690         * string/test-memmem.c (check_result): New function.
56691         (do_one_test): Use it.
56692         (check1): New function.
56693         (test_main): Use it.
56695 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56697         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56699 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56701         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56702         (_G_LSEEK64): Likewise.
56703         (_G_MMAP64): Likewise.
56704         (_G_FSTAT64): Likewise.
56705         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56706         (_G_LSEEK64): Likewise.
56707         (_G_MMAP64): Likewise.
56708         (_G_FSTAT64): Likewise.
56709         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56710         unconditional.  Call __mmap64 directly.
56711         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56712         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56713         __lseek64 directly.
56714         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56715         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56716         __mmap64 directly.
56717         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56718         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56719         __lseek64 directly.
56720         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56721         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56722         __lseek64 directly.
56723         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56724         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56725         __lseek64 directly.
56726         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56727         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56728         __fxstat64 directly.
56729         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56730         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56731         unconditional.
56732         (freopen64) [!_G_OPEN64]: Remove conditional code.
56733         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56734         unconditional.
56735         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56736         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56737         unconditional.
56738         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56739         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56740         unconditional.
56741         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56742         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56743         unconditional.
56744         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56745         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56746         unconditional.
56747         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56748         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56749         unconditional.
56750         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56751         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56752         unconditional.
56753         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56755 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56757         [BZ #12140]
56758         * manual/memory.texi (Malloc Tunable Parameters): Add note
56759         about free list pointers overwriting some perturb bytes.
56760         Wording suggested by Roland McGrath.
56762 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56764         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56765         (lgamma_test): Likewise.
56766         (tgamma_test): Likewise.
56768 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56770         [BZ #14700]
56771         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56772         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56774 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56776         * NEWS: Mention BZ #14716.
56777         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56778         when removing AVAILABLE1_USES_J macro.
56780 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56782         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56783         (__bswap_64): __uint64_t for unsigned 64-bit int.
56785 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56787         * include/string.h (memmem): Declare libc hidden alias.
56788         * string/memmem.c (memmem): Define libc hidden alias.
56789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56790         __read, __close instead of open, read, close.
56792 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56795         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56796         global and hidden.
56797         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56798         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56799         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56800         Likewise.
56801         (__rawmemchr_sse2): Likewise.
56802         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56803         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56804         (__strchr_sse2): Likewise.
56805         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56806         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56807         (__strcasecmp_sse2): Likewise.
56808         (__strncasecmp_sse2): Likewise.
56809         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56810         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56811         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56812         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56813         (__strrchr_sse2): Likewise.
56814         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56815         ifunc-impl-list.c.
56816         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56817         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56818         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56819         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56820         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56821         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56822         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56823         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56824         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56825         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56826         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56827         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56828         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56829         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56830         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56831         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56832         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56833         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56834         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56835         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56836         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56837         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56838         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56839         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56840         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56841         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56842         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56843         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56844         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56845         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56847         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56848         global and hidden.
56849         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56850         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56851         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56852         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56853         Likewise.
56854         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56855         Likewise.
56856         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56857         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56858         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56859         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56860         ifunc-impl-list.c.
56861         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56862         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56863         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56864         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56865         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56866         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56867         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56869         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56870         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56871         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56872         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56873         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56874         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56875         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56877         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56878         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56879         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56880         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56881         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56882         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56883         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56884         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56885         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56886         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56887         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56888         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56889         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56890         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56891         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56892         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56893         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56894         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56895         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56896         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56897         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56898         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56899         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56900         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56901         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56903         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56904         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56905         * include/ifunc-impl-list.h: New file.
56906         * misc/ifunc-impl-list.c: Likewise.
56907         * misc/Makefile (routines): Add ifunc-impl-list.
56908         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56909         * string/test-string.h: Include <ifunc-impl-list.h>.
56910         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56911         TEST_NAME]: New variables.
56912         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56913         are defined.
56914         (test_init): Call __libc_ifunc_impl_list to initialize
56915         func_list if TEST_IFUNC and TEST_NAME are defined.
56917         * string/Makefile (strop-tests): Add bcopy and bzero.
56918         * string/test-bcopy.c: New file.
56919         * string/test-bzero.c: Likewise.
56920         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56921         defined.
56922         * string/test-memset.c: Support bzero test if TEST_BZERO is
56923         defined.
56924         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56925         __libc_memmove.
56926         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56927         __libc_memset.
56928         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56929         of memset.
56931 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56933         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56934         * configure: Regenerated.
56936         * Makeconfig (+link-static-before-libc): Don't include
56937         $(link-static-libc).
56939         * libio/libio.h (_IO_pos_t): Remove.
56941 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56943         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56944         McGrath.
56946 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56948         * crypt/crypt-entry.c: Include fips-private.h.
56949         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56950         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56951         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56952         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56954 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56956         * crypt/crypt-private.h: Include stdbool.h.
56957         (_ufc_setup_salt_r): Return bool.
56958         * crypt/crypt-entry.c: Include errno.h.
56959         (__crypt_r): Return NULL with EINVAL for bad salt.
56960         * crypt/crypt_util.c (bad_for_salt): New.
56961         (_ufc_setup_salt_r): Check that salt is long enough and within
56962         the specified alphabet.
56963         * crypt/badsalttest.c: New file.
56964         * crypt/Makefile (tests): Add it.
56965         ($(objpfx)badsalttest): New.
56967 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56969         * NEWS: Add entry for BZ #14602.
56971 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56973         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56974         type-generic.
56975         * math/libm-test.inc: Update comment listing what functions and
56976         macros are tested.
56977         (isgreater_test): New function.
56978         (isgreaterequal_test): Likewise.
56979         (isless_test): Likewise.
56980         (islessequal_test): Likewise.
56981         (islessgreater_test): Likewise.
56982         (isunordered_test): Likewise.
56983         (main): Call the new functions.
56985 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56987         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56988         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56989         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56990         * sysdeps/i386/configure: Regenerated.
56991         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56992         * sysdeps/mach/configure: Regenerated.
56993         * sysdeps/mach/hurd/configure: Regenerated.
56994         * sysdeps/powerpc/configure: Regenerated.
56995         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56996         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56997         * sysdeps/s390/s390-32/configure: Regenerated.
56998         * sysdeps/s390/s390-64/configure: Regenerated.
56999         * sysdeps/sh/configure: Regenerated.
57000         * sysdeps/sparc/configure: Regenerated.
57001         * sysdeps/unix/sysv/linux/configure: Regenerated.
57002         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57003         * sysdeps/x86_64/configure: Regenerated.
57005         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57006         defined.  Don't check if MAP is NULL.
57008 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57010         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57011         (_G_stat64): Likewise.
57012         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57013         (_G_stat64): Likewise.
57014         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57015         instead of struct _G_stat64.
57016         * libio/fileops.c (mmap_remap_check): Likewise.
57017         (decide_maybe_mmap): Likewise.
57018         (_IO_new_file_seekoff): Likewise.
57019         (_IO_file_stat): Likewise.
57020         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57021         _G_off64_t.
57022         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57023         instead of struct _G_stat64.
57024         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57026 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57028         [BZ #14602]
57029         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57030         Replace with ...
57031         (CHECK_EOL): New macro.
57032         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57033         CHECK_EOL.
57034         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57035         Replace with CHECK_EOL.
57036         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57037         Replace with CHECK_EOL.
57039 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57041         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57042         type-generic.
57043         * math/libm-test.inc: Update comment listing what functions and
57044         macros are tested.
57045         (finite_test): New function.
57046         (isinf_test): Likewise.
57047         (isnan_test): Likewise.
57048         (fpclassify_test): Test subnormal input.
57049         (isfinite_test): Likewise.
57050         (isnormal_test): Likewise.
57051         (main): Call the new functions.
57053 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57055         [BZ #14660]
57056         * Makerules (%.dynsym): Force C locale when running
57057         $(OBJDUMP) --dynamic-syms.
57059 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57061         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57062         <stdint.h>.
57064 2012-10-06  David S. Miller  <davem@davemloft.net>
57066         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57067         upper 32-bits of the length value in %o2 since we use branch-on-register
57068         tests which consider the entire 64-bit register.
57070 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57072         * string/test-strstr.c (check2): Add a test for page boundary.
57074 2012-10-05  David S. Miller  <davem@davemloft.net>
57076         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57077         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57078         file.
57079         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57080         sysdep_routines.
57081         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57082         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57083         and bzero when HWCAP_SPARC_CRYPTO is present.
57085 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57087         [BZ #14602]
57088         * string/test-strstr.c (check2): New function.
57089         (test_main): Call check2.
57091         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57092         and bug-strchr1.
57093         * string/bug-strcasestr1.c (do_test): Moved to ...
57094         * string/test-strcasestr.c (check1): Here.  New function.
57095         (do_one_test): Break out result checking code into ...
57096         (check_result): This.  New function.
57097         (do_one_test): Call check_result.
57098         (test_main): Call check1.
57099         * string/bug-strchr1.c (do_test): Moved to ...
57100         * string/test-strchr.c (check1): Here.  New function.
57101         (do_one_test): Break out result checking code into ...
57102         (check_result): This.  New function.
57103         (do_one_test): Call check_result.
57104         (test_main): Call check1.
57105         * string/bug-strstr1.c (main): Moved to ...
57106         * string/test-strstr.c (check1): Here.  New function.
57107         (do_one_test): Break out result checking code into ...
57108         (check_result): This.  New function.
57109         (do_one_test): Call check_result.
57110         (test_main): Call check1.
57111         * string/bug-strcasestr1.c: Removed.
57112         * string/bug-strchr1.c: Likewise.
57113         * string/bug-strstr1.c: Likewise.
57115         * elf/Makefile (dl-routines): Add hwcaps.
57116         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57117         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57118         (_dl_important_hwcaps): Moved to ...
57119         * elf/dl-hwcaps.c: Here.  New file.
57120         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57122         [BZ #14557]
57123         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57124         if IS_IN_rtld isn't defined.
57126         * elf/dl-support.c (_dl_sysinfo_map): New.
57127         Include "get-dynamic-info.h" and "setup-vdso.h".
57128         (_dl_non_dynamic_init): Call setup_vdso.
57129         * elf/dynamic-link.h: Don't include <assert.h>.
57130         (elf_get_dynamic_info): Moved to ...
57131         * elf/get-dynamic-info.h: Here.  New file.
57132         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57133         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57134         * elf/setup-vdso.h: Here.  New file.
57135         * elf/rtld.c: Include "setup-vdso.h".
57136         (dl_main): Call setup_vdso.
57138 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57140         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57141         creal in comment listing functions tested.  List finite, isinf,
57142         isnan, isless, islessequal, isgreater, isgreaterequal,
57143         islessgreater, isunordered, lgamma_r and pow10 as functions and
57144         macros not tested.  Mention which functions not tested are aliases
57145         for other functions.  Fix typo.  Note that signs of NaNs are not
57146         tested.
57148         * scripts/config.guess: Update from config.git.
57149         * scripts/config.sub: Likewise.
57151 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57153         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57154         * misc/madvise.c (madvise): Renamed to __madvise.
57155         Make madvise a weak alias.
57156         * include/sys/mman.h: Declare __madvise.
57157         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57158         * sysdeps/unix/syscalls.list
57159         (madvise): Make __madvise the strong name, and madvise a weak alias.
57160         * sysdeps/unix/sysv/linux/syscalls.list
57161         (madvise, mmap): Remove redundant entries.
57162         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57163         * malloc/malloc.c (mtrim): Likewise.
57164         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57166 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57168         * sysdeps/mach/hurd/dl-cache.c: File removed.
57169         * config.h.in (USE_LDCONFIG): New #undef.
57170         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57171         * configure: Regenerated.
57172         * elf/Makefile (dl-routines): Add dl-cache only under
57173         [$(use-ldconfig) = yes].
57174         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57175         cache on [USE_LDCONFIG].
57176         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57177         [USE_LDCONFIG].
57178         * elf/rtld.c (dl_main): Likewise.
57180 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57182         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57183         _SC_LEVEL4_CACHE_LINESIZE.
57185 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57187         * sysdeps/unix/bsd/confstr.h: File removed.
57189 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57191         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57192         sys/sdt-config.h.
57194 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57196         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57197         Make 'mapoff' field ElfW(Off) rather than off_t.
57199 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57201         * nscd/Makefile: Remove nscd-cflags and all its users.
57202         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57203         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57205         [BZ #10631]
57206         * malloc.c (malloc_printerr): Clarify error message.
57208 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57210         [BZ #14648]
57211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57212         Set bit_FMA_Usable if FMA is supported.
57213         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57214         macro.
57215         (bit_FMA4_Usable): Updated.
57216         (index_FMA_Usable): New macro.
57217         (CPUID_FMA): Likewise.
57218         (HAS_FMA): Defined with bit_FMA_Usable.
57220 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57222         * bits/types.h (__swblk_t): Type removed.
57223         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57224         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57225         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57226         (__SWBLK_T_TYPE): Likewise.
57227         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57228         (__SWBLK_T_TYPE): Likewise.
57229         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57230         (__SWBLK_T_TYPE): Likewise.
57231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57232         (__SWBLK_T_TYPE): Likewise.
57234 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57235             Honza Horak <hhorak@redhat.com>
57237         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57238         (xdr_mapname): Use YPMAXMAP as maxsize.
57239         (xdr_peername): Use YPMAXPEER as maxsize.
57240         (xdr_keydat): Use YPAXRECORD as maxsize.
57241         (xdr_valdat): Use YPMAXRECORD as maxsize.
57243 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57245         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57247         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57248         * csu/init-first.c: ... here.
57249         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57250         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57251         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57252         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57253         * sysdeps/i386/init-first.c: File removed.
57254         * sysdeps/sh/init-first.c: File removed.
57256 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57258         [BZ #14645]
57259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57260         if x * y might underflow to zero and z is zero.
57261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57262         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57263         * math/libm-test.inc (min_subnorm_value): New variable.
57264         (fma_test): Add more tests.
57265         (fma_test_towardzero): Likewise.
57266         (fma_test_downward): Likewise.
57267         (fma_test_upward): Likewise.
57268         (initialize): Set min_subnorm_value.
57270 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57272         [BZ #14638]
57273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57274         0 + 0.
57275         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57276         mode for addition resulting in exact zero.
57277         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57279         exact 0 + 0.
57280         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57282         * math/libm-test.inc (fma_test): Add more tests.
57283         (fma_test_towardzero): New function.
57284         (fma_test_downward): Likewise.
57285         (fma_test_upward): Likewise.
57286         (main): Call the new functions.
57288 2012-09-28  David S. Miller  <davem@davemloft.net>
57290         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57292 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57294         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57295         instead of SIGALRM.
57297         * sysdeps/gnu/_G_config.h: Moved to ...
57298         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57299         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57300         * sysdeps/generic/_G_config.h: ... here.
57302         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57304         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57306         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57307         Conditionalize target on [libnss_test1.so-version].
57309         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57311         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57312         (elfobjdir): Move out of conditionals.
57314         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57315         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57316         (__nss_lookup_function): Conditionalize label remove_from_tree on
57317         [!DO_STATIC_NSS || SHARED], matching its only use.
57319 2012-09-28  David S. Miller  <davem@davemloft.net>
57321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57322         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57323         file.
57324         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57325         sysdep_routines.
57326         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57328         when HWCAP_SPARC_CRYPTO is present.
57330 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57332         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57334 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57336         [BZ #6530]
57337         * stdio-common/vfprintf.c (process_string_arg): Revert
57338         2000-07-22 change.
57340 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57342         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57343         for testcase.
57344         * stdio-common/tst-sprintf.c: Include <locale.h>
57345         (main): Test sprintf's handling of incomplete multibyte
57346         characters.
57348 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57350         * elf/dl-runtime.c (VERSYMIDX): Removed.
57351         * elf/dl-version.c (VERSYMIDX): Likewise.
57352         * elf/do-rel.h (VERSYMIDX): Likewise.
57353         (VALIDX): Likewise.
57354         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57355         * elf/rtld.c (VALIDX): Likewise.
57356         (ADDRIDX): Likewise.
57357         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57358         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57359         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57360         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57361         (VALIDX): Likewise.
57362         (ADDRIDX): Likewise.
57364 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57366         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57368 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57370         [BZ #11438]
57371         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57372         to global scope.
57373         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57374         addresses are in the same scope as 192.0.2/24.
57375         * posix/gai.conf: Document new scope table defaults.
57377 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57379         [BZ #5298]
57380         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57381         for ftell.  Compute offsets from write pointers instead.
57382         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57384 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57386         [BZ #14543]
57387         * libio/Makefile (tests): New test case tst-fseek.
57388         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57389         combination works in wide mode.
57390         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57391         state when the external buffer state changes.
57393 2012-09-27  David S. Miller  <davem@davemloft.net>
57395         [BZ #14376]
57396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57397         pass reloc->r_addend in as the 'high' argument to
57398         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57402 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57404         * rt/tst-aio2.c: Include <pthread.h>.
57405         * rt/tst-aio3.c: Likewise.
57407 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57409         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57411 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57413         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57414         contents on [SHARED].
57416 2012-09-26  Marek Polacek  <polacek@redhat.com>
57418         [BZ #14530]
57419         [BZ #13741]
57420         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57421         for C++ and GCC <4.3 as well as for non GCC compilers.
57423 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57427 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57429         * Makefile.in (all, install): Declare with .PHONY.
57430         Reported by Michael Hope <michael.hope@linaro.org>.
57432 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57434         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57435         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57436         system header.
57437         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57438         Likewise.
57439         (sydep_routines): Add the new and the internal functions.
57440         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57441         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57443         (GLIBC_2.17): Add the new function.
57444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57445         (GLIBC_2.17): Likewise.
57446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57447         (GLIBC_2.17): Likewise.
57448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57449         (GLIBC_2.17): Likewise.
57450         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57452 2012-09-25  Alan Modra  <amodra@gmail.com>
57454         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57455         Add release barrier before setting once_control to say
57456         initialisation is done.  Add hints on lwarx.  Use macro in
57457         place of isync.
57458         (clear_once_control): Add release barrier.
57460 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57462         [BZ #13629]
57463         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57464         specially.
57465         * math/s_clog10.c (__clog10): Likewise.
57466         * math/s_clog10f.c (__clog10f): Likewise.
57467         * math/s_clog10l.c (__clog10l): Likewise.
57468         * math/s_clogf.c (__clogf): Likewise.
57469         * math/s_clogl.c (__clogl): Likewise.
57470         * math/Makefile (libm-calls): Add x2y2m1.
57471         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57472         (__x2y2m1): Likewise.
57473         (__x2y2m1l): Likewise.
57474         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57475         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57476         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57477         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57478         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57479         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57480         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57481         * sysdeps/i386/fpu/libm-test-ulps: Update.
57482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57484         [BZ #14621]
57485         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57486         int as type of variable DEPTH.
57487         (glob): Use size_t instead of int as type of variables NEWCOUNT
57488         and OLD_PATHC.
57490 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57492         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57493         Add s_sincosf-sse2.
57494         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57495         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57496         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57497         macros for using routine as __sincosf_ia32.
57498         Use macro for function declaration and weak_alias.
57499         * sysdeps/i386/fpu/libm-test-ulps: Update.
57501         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57504         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57505         subnormal argument.
57506         * math/s_cexpf.c (__cexpf): Likewise.
57507         * math/s_csinf.c (__csinf): Likewise.
57508         * math/s_csinhf.c (__csinhf): Likewise.
57509         * math/s_ctanf.c (__ctanf): Likewise.
57510         * math/s_ctanhf.c (__ctanhf): Likewise.
57511         * math/s_ccosh.c (__ccoshf): Likewise.
57512         * math/s_cexp.c (__cexpl): Likewise.
57513         * math/s_csin.c (__csin): Likewise.
57514         * math/s_csinh.c (__csinh): Likewise.
57515         * math/s_ctan.c (__ctan): Likewise.
57516         * math/s_ctanh.c (ctanh): Likewise.
57517         * math/s_ccoshl.c (__ccoshl): Likewise.
57518         * math/s_cexpl.c (__cexpl): Likewise.
57519         * math/s_csinl.c (__csinl): Likewise.
57520         * math/s_csinhl.c (__csinhl): Likewise.
57521         * math/s_ctanl.c (__ctanl): Likewise.
57522         * math/s_ctanhl.c (__ctanhl): Likewise.
57524 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57526         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57527         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57528         (_IO_off_t): Define to __off_t, not _G_off_t.
57529         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57530         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57531         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57532         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57533         type of __dummy and __dummy2 fields.
57534         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57535         (_G_ssize_t): Likewise.
57536         (_G_off_t): Likewise.
57537         (_G_pid_t): Likewise.
57538         (_G_uid_t): Likewise.
57539         (_G_wchar_t): Likewise.
57540         (_G_wint_t): Likewise.
57541         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57542         (_G_ssize_t): Likewise.
57543         (_G_off_t): Likewise.
57544         (_G_pid_t): Likewise.
57545         (_G_uid_t): Likewise.
57546         (_G_wchar_t): Likewise.
57547         (_G_wint_t): Likewise.
57548         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57549         (_G_ssize_t): Likewise.
57550         (_G_off_t): Likewise.
57551         (_G_pid_t): Likewise.
57552         (_G_uid_t): Likewise.
57553         (_G_wchar_t): Likewise.
57554         (_G_wint_t): Likewise.
57556 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57558         * malloc/arena.c: Include malloc-sysdep.h.
57559         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57560         is sufficient to shrink the heap or an unmap is needed.
57561         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57562         new function check_may_shrink_heap.
57563         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57564         new function check_may_shrink_heap.
57566 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57568         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57569         comments.
57571 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57573         * catgets/test-gencat.sh: Add "set -e".
57574         * elf/tst-pathopt.sh: Likewise.
57575         * grp/tst_fgetgrent.sh: Likewise.
57576         * iconvdata/run-iconv-test.sh: Likewise.
57577         * intl/tst-gettext.sh: Likewise.
57578         * intl/tst-gettext2.sh: Likewise.
57579         * intl/tst-gettext4.sh: Likewise.
57580         * intl/tst-gettext6.sh: Likewise.
57581         * intl/tst-translit.sh: Likewise.
57582         * io/ftwtest-sh: Likewise.
57583         * libio/test-freopen.sh: Likewise.
57584         * malloc/tst-mtrace.sh: Likewise.
57585         * posix/globtest.sh: Likewise.
57586         * posix/tst-getconf.sh: Likewise.
57587         * posix/wordexp-tst.sh: Likewise.
57588         * stdio-common/tst-printf.sh: Likewise.
57589         * stdio-common/tst-unbputc.sh: Likewise.
57590         * stdlib/tst-fmtmsg.sh: Likewise.
57591         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57592         * catgets/Makefile: Do not specify -e option when running
57593         testsuite shell scripts.
57594         * elf/Makefile: Likewise.
57595         * grp/Makefile: Likewise.
57596         * iconvdata/Makefile: Likewise.
57597         * intl/Makefile: Likewise.
57598         * io/Makefile: Likewise.
57599         * libio/Makefile: Likewise.
57600         * malloc/Makefile: Likewise.
57601         * posix/Makefile: Likewise.
57602         * stdio-common/Makefile: Likewise.
57603         * stdlib/Makefile: Likewise.
57604         * sysdeps/x86_64/Makefile: Likewise.
57606         * io/ftwtest-sh: Add copyright header.
57607         * posix/globtest.sh: Likewise.
57608         * posix/tst-getconf.sh: Likewise.
57609         * posix/wordexp-tst.sh: Likewise.
57610         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57612 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57614         [BZ #13679]
57615         * Makeconfig (+link): Defined as $(+link-static) if
57616         $(build-shared) isn't yes.
57617         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57618         isn't yes.
57619         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57621         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57623         [BZ #14562]
57624         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57625         new chunk size with MALLOC_ALIGN_MASK.
57627 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57629         [BZ #5044]
57630         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57631         <rounding-mode.h>.
57632         (__printf_fphex): Determine rounding using get_rounding_mode and
57633         round_away.
57634         * stdio-common/tst-printf-round.c (struct hex_test): New
57635         structure.
57636         (hex_tests): New variable.
57637         (test_hex_in_one_mode): New function.
57638         (do_test): Also run tests for hex float output.
57640 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57642         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57643         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57644         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57645         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57646         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57647         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57648         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57649         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57651 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57653         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57654         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57655         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57656         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57658 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57660         [BZ #14579]
57661         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57662         mode only.
57663         * elf/tst-rtld-load-self.sh: New test.
57664         * elf/Makefile: Run it.
57666 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57668         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57669         (tst-writev-ENV): Remove.
57670         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57672 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57674         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57676 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57678         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57679         unconditional.
57680         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57681         Likewise.
57682         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57683         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57684         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57685         Likewise.
57687 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57689         [BZ #14587]
57690         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57691         * config.make.in (have-cpp-asm-debuginfo): Removed.
57692         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57693         * configure: Regenerated.
57695 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57697         [BZ #5044]
57698         * stdio-common/printf_fp.c: Include <stdbool.h> and
57699         <rounding-mode.h>.
57700         (___printf_fp): Determine rounding using get_rounding_mode and
57701         round_away.
57702         * stdio-common/tst-printf-round.c: New file.
57703         * stdio-common/Makefile (tests): Add tst-printf-round.
57704         (link-libm): New variable.
57705         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57707 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57709         [BZ #14576]
57710         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57711         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57712         Likewise.
57713         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57714         Likewise.
57716 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57718         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57719         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57720         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57721         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57723 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57725         [BZ #14518]
57726         * include/rounding-mode.h: New file.
57727         * sysdeps/generic/get-rounding-mode.h: Likewise.
57728         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57729         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57730         (MAX_VALUE): New macro.
57731         (MIN_VALUE): Likewise.
57732         (overflow_value): New function.
57733         (underflow_value): Likewise.
57734         (round_and_return): Use overflow_value and underflow_value to
57735         determine return values in overflow and underflow cases.  Use
57736         round_away to determine rounding depending on rounding mode.
57737         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57738         determine return values in overflow and underflow cases.
57739         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57740         (struct test_results): New structure.
57741         (struct test): Use struct test_results to store expected results
57742         for all rounding modes.
57743         (TEST): Include expected results for all rounding modes.
57744         (test_in_one_mode): New function.
57745         (do_test): Use test_in_one_mode to compute and check results.
57746         Check results for all rounding modes.
57747         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57748         $(link-libm).
57750 2012-12-09  Allan McRae  <allan@archlinux.org>
57752         * sysdeps/i386/fpu/libm-test-ulps: Update
57754 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57756         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57757         (_G_int32_t): Likewise.
57758         (_G_uint16_t): Likewise.
57759         (_G_uint32_t): Likewise.
57760         (_G_HAVE_BOOL): Likewise.
57761         (_G_HAVE_ATEXIT): Likewise.
57762         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57763         (_G_HAVE_IO_FILE_OPEN): Likewise.
57764         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57765         (_G_int32_t): Likewise.
57766         (_G_uint16_t): Likewise.
57767         (_G_uint32_t): Likewise.
57768         (_G_HAVE_BOOL): Likewise.
57769         (_G_HAVE_ATEXIT): Likewise.
57770         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57771         (_G_HAVE_IO_FILE_OPEN): Likewise.
57772         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57773         (_G_int32_t): Likewise.
57774         (_G_uint16_t): Likewise.
57775         (_G_uint32_t): Likewise.
57776         (_G_HAVE_BOOL): Likewise.
57777         (_G_HAVE_ATEXIT): Likewise.
57778         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57779         (_G_HAVE_IO_FILE_OPEN): Likewise.
57781 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57783         * csu/libc-tls.c: Update copyright years.
57785 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57787         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57788         [!_G_USING_THUNKS]: Remove conditional code.
57789         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57790         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57792         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57793         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57794         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57795         (_G_VTABLE_LABEL_PREFIX): Likewise.
57796         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57797         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57798         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57799         (_G_VTABLE_LABEL_PREFIX): Likewise.
57800         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57801         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57802         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57803         (_G_VTABLE_LABEL_PREFIX): Likewise.
57804         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57806 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57808         * libio/Makefile: Include ../Makeconfig before tests.
57809         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57810         only if $(build-shared) is yes.
57812         * iconv/gconv_db.c: Update copyright years.
57814 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57816         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57817         unwind info if defined PIC. Fix special cases description.
57818         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57820         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57821         DP_HI_MASK entry.
57822         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57824 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57826         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57828         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57829         is NULL.
57831         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57832         (LDLIBS-tst-chk4): This.
57833         (LDFLAGS-tst-chk5): Renamed to ...
57834         (LDLIBS-tst-chk5): This.
57835         (LDFLAGS-tst-chk6): Renamed to ...
57836         (LDLIBS-tst-chk6): This.
57837         (LDFLAGS-tst-lfschk4): Renamed to ...
57838         (LDLIBS-tst-lfschk4): This.
57839         (LDFLAGS-tst-lfschk5): Renamed to ...
57840         (LDLIBS-tst-lfschk5): This.
57841         (LDFLAGS-tst-lfschk6): Renamed to ...
57842         (LDLIBS-tst-lfschk6): This.
57844         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57845         on $(common-objpfx)soversions.mk.
57847 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57849         [BZ #10014]
57850         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57851         example host name.
57853 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57855         * malloc/arena.c (arena_get_retry): New function that gets
57856         another arena for the caller to try its request on.
57857         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57858         current arena cannot fulfill the request.
57859         (__libc_memalign): Likewise.
57860         (__libc_memalign): Likewise.
57861         (__libc_pvalloc): Likewise.
57862         (__libc_calloc): Likewise.
57864 2012-09-05  John Tobey  <john.tobey@gmail.com>
57866         [BZ #13542]
57867         * manual/arith.texi (Operations on Complex): Fix description
57868         of carg branch cut.
57870 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57872         [BZ #10014]
57873         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57874         host name.
57876         [BZ #10038]
57877         * manual/memory.texi (Memory): Make order of menu items match
57878         order of sections.
57880 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57882         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57883         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57884         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57886 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57888         * csu/libc-tls.c (static_dtv): Renamed to ...
57889         (_dl_static_dtv): This.  Make it global.
57890         (_dl_initial_dtv): Removed.
57891         (__libc_setup_tls): Updated.
57892         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57893         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57894         DL_INITIAL_DTV.
57896 2012-09-06  Petr Machata  <pmachata@redhat.com>
57898         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57899         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57900         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57901         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57903 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57905         [BZ #14545]
57906         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57907         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57908         freeing dtv[-1].
57910 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57912         [BZ #14544]
57913         * Makeconfig (link-static-before-libc): Replace $(+prector)
57914         with $(+prectorT).
57915         (link-static-after-libc): Replace $(+postctor) with
57916         $(+postctorT).
57917         (link-bounded): Replace $(+prector)/$(+postctor) with
57918         $(+prectorT)/$(+postctorT).
57919         (+prectorT): New macro.
57920         (+postctorT): Likewise.
57922 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57924         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57925         (round_str): Handle values above the maximum for IBM long double
57926         as inexact.
57927         * stdlib/tst-strtod-round.c (tests): Regenerated.
57929 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57931         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57932         assembler flag.
57933         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57934         zarch_nohighgprs around the zarch optimized routines.
57935         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57936         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57937         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57938         for zarch.
57940 2012-09-05  David S. Miller  <davem@davemloft.net>
57942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57944         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57945         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57946         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57947         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57948         entries.
57950 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57952         * malloc/arena.c: Fold copyright years.
57953         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57955 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57957         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57959 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57961         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57965         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57966         change internal state upon failure.
57968 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57970         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57971         * malloc/memusage.c (mmap): Likewise.
57972         (mmap64, mremap): Likewise.  Adjust name in comment.
57974 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57976         * libio/fileops.c: Fix typos in comments.
57977         * libio/oldfileops.c: Likewise.
57978         * libio/wfileops.c: Likewise.
57980 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57982         [BZ #1349]
57983         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57984         (tst-malloc-usable-ENV): Set environment for test case.
57985         * malloc/hooks.c (malloc_check_get_size): New function to get
57986         requested size.
57987         * malloc/malloc.c (musable): Use malloc_check_get_size.
57988         * malloc/tst-malloc-usable.c: New test case.
57990 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57992         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57994 2012-09-05  Allan McRae  <allan@archlinux.org>
57996         [BZ #13966]
57997         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57998         determine header location.
57999         * configure: Regenerated.
58001 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58003         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58004         float format.
58005         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58006         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58007         format.
58008         (test): Regenerate.
58010 2012-09-04  David S. Miller  <davem@davemloft.net>
58012         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58013         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58014         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58016 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58018         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58019         failures.
58021         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58023 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58025         [BZ #9914]
58026         * libio/iogetdelim.c: Include <limits.h>.
58027         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58028         + len + 1 would overflow.
58030 2012-09-03  Andreas Jaeger  <aj@suse.de>
58032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58033         * sysdeps/i386/fpu/libm-test-ulps: Update.
58035 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58037         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58038         Add s_sinf-sse2, s_conf-sse2.
58040         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58041         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58042         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58043         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58045         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58046         for using routine as __sinf_ia32.
58047         Use macro for function declaration and weak_alias.
58048         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58049         for using routine as __cosf_ia32.
58050         Use macro for function declaration and weak_alias.
58052         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58053         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58055         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58056         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58059         * math/libm-test.inc (cos_test): Add more test cases.
58060         (sin_test): Likewise.
58061         (sincos_test): Likewise.
58063 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58065         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58066         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58067         hidden.
58068         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58070 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58072         [BZ #14538]
58073         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58074         first element of the GOT.
58075         (elf_machine_load_address): Return the difference between
58076         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58078 2012-09-01  Allan McRae  <allan@archlinux.org>
58080         [BZ #13412]
58081         * configure.in (AWK): Require gawk version 3.0 or later.
58082         * configure: Regenerated.
58084 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58086         * sysdeps/unix/sysv/linux/kernel-features.h
58087         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58088         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58089         [__NR_clock_getres]: Make code unconditional.
58090         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58091         (clock_getcpuclockid): Remove code left unreachable by removal of
58092         conditionals.
58093         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58094         code unconditional.
58095         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58096         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58097         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58098         Make code unconditional.
58099         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58100         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58101         * sysdeps/unix/sysv/linux/clock_settime.c
58102         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58103         conditional code.
58104         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58105         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58107 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58109         [BZ #14476]
58110         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58111         scripts/test-installation.pl.
58113         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58114         and $ld_so_version if it is set.
58116 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58118         [BZ #14516]
58119         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58120         failure if reading from procfs failed.
58121         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58123 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58125         * sysdeps/unix/sysv/linux/kernel-features.h
58126         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58127         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58128         Remove conditional code.
58129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58130         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58131         Remove conditional code.
58132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58133         * sysdeps/unix/sysv/linux/i386/fxstat.c
58134         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58136         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58137         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58139         * sysdeps/unix/sysv/linux/i386/lxstat.c
58140         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58142         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58143         Remove conditional code.
58144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58145         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58146         Remove conditional code.
58147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58148         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58149         <kernel-features.h>.
58150         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58151         Remove.
58152         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58153         Remove conditional code.
58154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58155         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58156         Remove conditional.
58158 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58160         [BZ #5400]
58161         * NEWS: Add fixed bug number.
58163 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58165         [BZ #14519]
58166         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58167         underflowing exponent in case of negative sign.
58168         * stdlib/tst-strtod-round-data: Add more tests.
58169         * stdlib/tst-strtod-round.c (tests): Regenerated.
58171         [BZ #3479]
58172         * stdlib/strtod_l.c (NDIG): Remove.
58173         (HEXNDIG): Likewise.
58174         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58175         smallest representable value.
58176         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58177         lie within an exact representation of 1/2 ulp of the result.
58178         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58179         unconditionally.
58180         (TENS_P9_IDX): Define unconditionally.
58181         (TENS_P9_SIZE): Likewise.
58182         (TENS_P10_IDX): Likewise.
58183         (TENS_P10_SIZE): Likewise.
58184         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58185         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58186         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58187         entries for 10^2^13 and 10^2^14.
58188         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58189         (TENS_P13_IDX): Define.
58190         (TENS_P13_SIZE): Likewise.
58191         (TENS_P14_IDX): Likewise.
58192         (TENS_P14_SIZE): Likewise.
58193         (_fpioconst_pow10): Change array size to
58194         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58195         unconditional.
58196         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58197         1024]: Add entries for 10^2^13 and 10^2^14.
58198         [LAST_POW10 > _LAST_POW10]: Remove #error.
58199         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58200         (_fpioconst_pow10): Change array size to
58201         FPIOCONST_POW10_ARRAY_SIZE.
58202         * stdlib/gen-fpioconst.c: New file.
58203         * stdlib/gen-tst-strtod-round.c: Likewise.
58204         * stdlib/tst-strtod-round-data: Likewise.
58205         * stdlib/tst-strtod-round.c: Likewise.
58206         * stdlib/Makefile (tests): Add tst-strtod-round.
58208         [BZ #14459]
58209         * stdlib/strtod_l.c: Include <stdint.h>.
58210         (NDEBUG): Do not define.
58211         (round_and_return): Change EXPONENT parameter to type intmax_t.
58212         Rearrange calculations to avoid internal overflow possibilities.
58213         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58214         Rearrange calculations to avoid internal overflow possibilities.
58215         Assert that number fits inside MPNSIZE limbs.
58216         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58217         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58218         calculations and add assertions to avoid internal overflow
58219         possibilities.  Add casts to avoid signed/unsigned operations.
58220         * stdlib/tst-strtod-overflow.c: New file.
58221         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58223 2012-08-25  Marek Polacek  <polacek@redhat.com>
58225         * time/time.h: Fix some typos in comments.
58227 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58229         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58230         * posix/tst-rfc3484-2.c: Likewise.
58231         * posix/tst-rfc3484-3.c: Likewise.
58233 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58235         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58236         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58238 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58240         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58241         #include of fxstatat64.c.
58243 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58245         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58246         * shadow/getspent_r.c: Likewise.
58247         * shadow/getspnam.c: Likewise.
58248         * shadow/getspnam_r.c: Likewise.
58249         * gshadow/getsgent.c: Likewise.
58250         * gshadow/getsgent_r.c: Likewise.
58251         * gshadow/getsgnam.c: Likewise.
58252         * gshadow/getsgnam_r.c: Likewise.
58253         * inet/getnetbyad.c: Likewise.
58254         * inet/getnetbyad_r.c: Likewise.
58255         * inet/getnetbynm.c: Likewise.
58256         * inet/getnetbynm_r.c: Likewise.
58257         * inet/getnetent.c: Likewise.
58258         * inet/getnetent_r.c: Likewise.
58259         * inet/getproto.c: Likewise.
58260         * inet/getproto_r.c: Likewise.
58261         * inet/getprtent.c: Likewise.
58262         * inet/getprtent_r.c: Likewise.
58263         * inet/getprtname.c: Likewise.
58264         * inet/getprtname_r.c: Likewise.
58265         * inet/getrpcbyname.c: Likewise.
58266         * inet/getrpcbyname_r.c: Likewise.
58267         * inet/getrpcbynumber.c: Likewise.
58268         * inet/getrpcbynumber_r.c: Likewise.
58269         * inet/getrpcent.c: Likewise.
58270         * inet/getrpcent_r.c: Likewise.
58271         * inet/getaliasent.c: Likewise.
58272         * inet/getaliasent_r.c: Likewise.
58273         * inet/getaliasname.c: Likewise.
58274         * inet/getaliasname_r.c: Likewise.
58275         * nscd/getgrgid_r.c: Likewise.
58276         * nscd/getgrnam_r.c: Likewise.
58277         * nscd/gethstbyad_r.c: Likewise.
58278         * nscd/gethstbynm3_r.c: Likewise.
58279         * nscd/getpwnam_r.c: Likewise.
58280         * nscd/getpwuid_r.c: Likewise.
58281         * nscd/getsrvbynm_r.c: Likewise.
58282         * nscd/getsrvbypt_r.c: Likewise.
58283         * nscd/gai.c: Likewise.
58285         * configure.in (build_nscd): New substituted variable, set
58286         by --disable-build-nscd and defaults to $use_nscd.
58287         * configure: Regenerated.
58288         * config.make.in (build-nscd): New substituted variable.
58289         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58290         Change conditional to require [$(build-nscd) = yes] as well.
58291         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58293         [BZ# 13696]
58294         * configure.in (use_nscd): New substituted variable, set by
58295         --disable-nscd.  If enabled, define USE_NSCD.
58296         * configure: Regenerated.
58297         * config.h.in: Add USE_NSCD.
58298         * config.make.in (use-nscd): New substituted variable.
58299         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58300         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58301         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58302         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58303         (CFLAGS-getgrnam_r.c): Likewise.
58304         (CFLAGS-initgroups.c): Likewise.
58305         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58306         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58307         Variables removed.
58308         * inet/getnetgrent_r.c
58309         (nscd_setnetgrent): New function, broken out of ...
58310         (setnetgrent): ... here.  Call it.
58311         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58312         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58313         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58314         * nscd/Makefile (routines, aux): Move definitions after include of
58315         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58316         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58317         Conditionalize on [USE_NSCD].
58318         (is_nscd, nscd_init_cb): Likewise.
58319         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58320         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58321         * nss/nss_db/db-init.c: Likewise.
58322         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58323         [USE_NSCD].
58324         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58325         (make_request): Use it.
58326         (cache_valid_p): New function.
58327         (__check_pf): Use it.
58328         * NEWS: Add item for --disable-nscd.
58330 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58332         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58333         to support sed >= 4.2.1-20-ga9bf076.
58334         * configure: Regenerated.
58336 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58338         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58339         Conditionalize whole body on [IREL].
58341 2012-08-22  Jeff Law <law@redhat.com>
58343         [BZ #14505]
58344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58345         if the family is PF_UNSPEC.
58347 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58349         * Makerules (lib-version): Rename from V.
58350         (install-lib-nosubdir): Change V to lib-version.
58352 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58354         [BZ #14252]
58355         * powerpc32/power6/wcschr.c: New file.
58356         * powerpc32/power6/wcscpy.c: New file.
58357         * powerpc32/power6/wcsrchr.c: New file.
58358         * powerpc64/power6/wcschr.c: New file.
58359         * powerpc64/power6/wcscpy.c: New file.
58360         * powerpc64/power6/wcsrchr.c: New file.
58362 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58364         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58365         (two_way_short_needle): Use it.
58366         * string/strstr.c (AVAILABLE1_USES_J): Define.
58367         * string/strcasestr.c: Likewise.
58369         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58370         array references.
58371         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58373         [BZ #11607]
58374         * NEWS: Add an entry.
58375         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58376         define their defaults.
58377         (two_way_short_needle): Detect end-of-string on-the-fly.
58378         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58379         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58380         * string/bug-strcasestr1.c: New test.
58381         * string/Makefile: Run it.
58383 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58385         [BZ #11607]
58386         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58387         the first character.
58389 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58391         * csu/elf-init.c (__libc_csu_irel): Function removed.
58392         * csu/libc-start.c (apply_irel): New function.
58393         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58395 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58397         * sysdeps/unix/sysv/linux/kernel-features.h
58398         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58399         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58400         <kernel-features.h>.
58401         [__NR_fadvise64_64]: Make code unconditional.
58402         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58403         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58404         !__NR_fadvise64_64)]: Likewise.
58405         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58406         !__NR_fadvise64_64))]: Likewise.
58407         [__NR_fadvise64]: Make code unconditional.
58408         [!__NR_fadvise64]: Remove conditional code.
58409         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58410         <kernel-features.h>.
58411         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58412         unconditional.
58413         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58414         conditional code.
58415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58416         not include <kernel-features.h>.
58417         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58418         unconditional.
58419         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58420         conditional code.
58421         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58422         include <kernel-features.h>.
58423         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58424         unconditional.
58425         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58426         conditional code.
58428 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58430         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58431         slight instruction rearrangements per scrollpipe analysis.
58432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58434 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58436         * manual/syslog.texi (syslog; vsyslog, closelog):
58437         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58438         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58440         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58441         DSOCAPS to match condition on defining it.
58443 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58445         * sysdeps/unix/sysv/linux/kernel-features.h
58446         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58448         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58449         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58451         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58452         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58454         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58455         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58457         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58458         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58460         * sysdeps/unix/sysv/linux/kernel-features.h
58461         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58462         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58463         unconditional.
58464         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58465         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58466         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58467         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58468         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58469         Make code unconditional.
58470         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58471         (__mmap64) [!__NR_mmap2]: Likewise.
58472         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58473         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58474         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58475         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58476         [__NR_mmap2]: Make code unconditional.
58477         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58478         (__mmap64) [!__NR_mmap2]: Likewise.
58480 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58482         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58484 2012-08-18  Andreas Jaeger  <aj@suse.de>
58486         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58488 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58490         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58491         * include/unistd.h (__have_sock_cloexec): Likewise.
58492         (__have_pipe2): Likewise.
58493         (__have_dup3): Likewise.
58495 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58497         [BZ #9685]
58498         * include/unistd.h (__have_pipe2): Change define into an extern int.
58499         (__have_dup3): Likewise.
58500         * socket/have_sock_cloexec.c: Include fcntl.h.
58501         (__have_pipe2): New variable.
58502         (__have_dup3): Likewise.
58504 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58506         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58508 2012-08-17  Marek Polacek  <polacek@redhat.com>
58510         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58511         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58513 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58515         * configure.in: Add AC_SUBST for sysheaders.
58516         * configure: Regenerated.
58517         * config.make.in (sysheaders): New substituted variable.
58519         * sysdeps/unix/mkfifo.c: Moved ...
58520         * sysdeps/posix/mkfifo.c: ... here.
58521         * sysdeps/unix/mkfifoat.c: Moved ...
58522         * sysdeps/posix/mkfifoat.c: ... here.
58524         * sysdeps/unix/utime.c: Moved ...
58525         * sysdeps/posix/utime.c: ... here.
58527         * sysdeps/unix/time.c: Moved ...
58528         * sysdeps/posix/time.c: ... here.
58529         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58530         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58532         * sysdeps/unix/nice.c: Moved ...
58533         * sysdeps/posix/nice.c: ... here.
58535         * sysdeps/unix/alarm.c: Moved ...
58536         * sysdeps/posix/alarm.c: ... here.
58538         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58540 2012-08-17  Jeff Law <law@redhat.com>
58542         * intl/Makefile (codeset_mo): New variable.
58543         ($(codeset_mo)): New target.
58544         (tst-codeset.out): Depend on that.  Remove explicit rule.
58545         (tst-gettext3.out, tst-gettext5.out): Likewise.
58546         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58547         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58548         * intl/tst-codeset.sh: Remove.
58549         * intl/tst-gettext3.sh: Likewise.
58550         * intl/tst-gettext5.sh: Likewise.
58552 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58554         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58555         * sysdeps/unix/syscalls.list: ... here.
58557         * sysdeps/posix/getaddrinfo.c
58558         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58559         (gaiconf_init, gaiconf_reload): Use them.
58560         [!_STATBUF_ST_NSEC]
58561         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58562         Define using time_t rather than struct timespec.
58564         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58565         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58566         Macros removed.
58567         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58568         [!NO_THREADS].
58569         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58570         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58571         Likewise.
58573         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58574         __libc_cleanup_push argument.
58576         * bits/param.h: New file.
58577         * misc/sys/param.h: New file.
58578         * include/sys/param.h: New file.
58579         * misc/Makefile (headers): Add bits/param.h.
58580         * sysdeps/generic/sys/param.h: File removed.
58581         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58582         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58583         * sysdeps/mach/hurd/bits/param.h: New file.
58584         * sysdeps/mach/hurd/sys/param.h: File removed.
58586         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58587         last change.
58589         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58590         [_IO_MTSAFE_IO].
58591         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58592         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58593         New macros.
58595         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58596         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58597         rather than -D_IO_MTSAFE_IO conditionally.
58598         * stdio-common/Makefile (CPPFLAGS): Likewise.
58599         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58600         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58601         Use $(libio-mtsafe).
58602         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58603         of -D_IO_MTSAFE_IO.
58604         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58605         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58606         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58607         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58608         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58609         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58610         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58611         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58612         (CFLAGS-fread_u_chk.c): Likewise.
58613         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58614         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58615         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58616         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58617         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58618         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58619         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58620         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58621         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58623         * libio/Makefile: Test [$(libc-reentrant) = yes]
58624         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58626         * Makeconfig
58627         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58628         * sysdeps/pthread/configure: File removed.
58629         * sysdeps/pthread/Makeconfig: New file.
58630         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58631         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58633 2012-08-16  Gary Benson  <gbenson@redhat.com>
58635         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58636         unmapping the first object in a namespace.
58638 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58640         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58641         (__internal_setnetgrent): ... this.  Add internal_function to
58642         definition.  Add libc_hidden_def.
58643         (setnetgrent): Update caller.
58644         (internal_endnetgrent): Renamed to ...
58645         (__internal_endnetgrent): ... this.  Add internal_function to
58646         definition.  Add libc_hidden_def.
58647         (endnetgrent): Update caller.
58648         (internal_getnetgrent_r): Renamed to ...
58649         (__internal_getnetgrent_r): ... this.  Add internal_function to
58650         definition.  Add libc_hidden_def.
58651         (__getnetgrent_r): Update caller.
58652         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58654 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58656         * stdlib/longlong.h: Update from GCC.
58658 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58660         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58661         on _QL, which is set by umul_ppmm but never used.
58662         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58663         variables, which are set by GMP macros but never used.
58664         * stdio-common/_itowa.c (_itowa): Likewise.
58665         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58666         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58668 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58670         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58671         struct La_sh_regs is not constant.
58672         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58673         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58674         and struct La_sparc64_regs are not constant.
58676 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58678         * sysdeps/unix/sysv/linux/kernel-features.h
58679         (__ASSUME_POSIX_TIMERS): Remove.
58680         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58681         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58682         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58683         Make code unconditional.
58684         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58685         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58686         Make code unconditional.
58687         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58688         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58689         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58690         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58691         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58692         Make code unconditional.
58693         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58694         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58695         (__libc_missing_posix_timers): Remove.
58697 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58699         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58700         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58702         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58704         * elf/dl-sym.c: Include <stdlib.h>.
58706         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58707         constants, which avoids warnings in 32-bit builds.
58709         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58710         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58712         * misc/lseek.c: File moved to ...
58713         * io/lseek.c: ... here.
58715         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58717         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58718         shifting LEN more than 31 bits at once.
58720 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58722         [BZ #14195]
58723         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58724         segmentation fault for a case of two empty input strings.
58725         * string/test-strncasecmp.c (check1): Renamed to...
58726         (bz12205): ...this.
58727         (bz14195): Add new testcase for two empty input strings and N > 0.
58728         (test_main): Call new testcase, adapt for renamed function.
58730 2012-08-15  Andreas Jaeger  <aj@suse.de>
58732         [BZ #14090]
58733         * crypt/md5test2.c: New test, based on test supplied by Serge
58734         Belyshev <belyshev@depni.sinp.msu.ru>.
58735         * crypt/Makefile (xtests): Add md5test-giant..
58736         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58738 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58740         [BZ #14090]
58741         * crypt/md5.c (md5_process_block): Don't assume the buffer
58742         length is less than 2**32.
58743         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58744         length is less than 2**64.
58746 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58748         * string/str-two-way.h: Include <sys/param.h>.
58749         (MAX): Macro removed.
58751         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58752         Move #define and #undef of memmove to just before and after
58753         including <string.h>.
58755         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58756         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58757         and after including <string.h>.  Move declarations of
58758         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58759         to before #include "string/memmove.c".
58761         * include/dirent.h: Declare __getdirentries.
58763         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58764         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58766 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58768         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58769         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58770         * sysdeps/i386/configure: Regenerated.
58771         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58772         STABS_CURRENT_FILE, and STABS_FUN.
58773         (END): Remove call to STABS_FUN_END.
58774         (STABS_CURRENT_FILE1): Delete.
58775         (STABS_CURRENT_FILE): Likewise.
58776         (STABS_FUN): Likewise.
58777         (STABS_FUN_END): Likewise.
58778         (STABS_FUN2): Likewise.
58779         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58780         * sysdeps/x86_64/configure: Regenerated.
58782 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58784         * elf/dl-open.c: Include <atomic.h>.
58785         * elf/dl-lookup.c: Likewise.
58787 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58789         * sysdeps/unix/sysv/linux/kernel-features.h
58790         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58791         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58792         unconditionally.
58793         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58794         unconditionally.
58795         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58796         condition on __ASSUME_CLONE_THREAD_FLAGS.
58798 2012-08-14  Andreas Jaeger  <aj@suse.de>
58800         * sysdeps/i386/fpu/libm-test-ulps: Update.
58802 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58804         * include/atomic.h (atomic_exchange_and_add): Split into ...
58805         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58806         New atomic macros.
58808 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58812 2012-08-13  Jeff Law <law@redhat.com>
58814         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58815         null byte in the output string.
58817 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58819         * sysdeps/unix/sysv/linux/kernel-features.h
58820         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58821         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58822         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58823         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58824         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58825         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58826         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58828 2012-08-09  Jeff Law <law@redhat.com>
58830         [BZ #13939]
58831         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58832         When avoid_arena is set, don't retry in the that arena.  Pick the
58833         next one, whatever it might be.
58834         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58835         (arena_lock): Pass in new parameter to arena_get2.
58836         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58837         arena_get2.
58838         (__libc_malloc): Unify retrying after main arena failure with
58839         __libc_memalign version.
58840         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58842 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58844         [BZ #14166]
58845         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58846         to __redirect_strstr.
58847         (__strstr_sse42): Use typeof __redirect_strstr.
58848         (__strstr_ia32): Likewise.
58849         (__libc_strstr): New prototype.
58850         (strstr): Renamed to ...
58851         (__libc_strstr): This.
58852         (strstr): New strong alias of __libc_strstr.
58853         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58854         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58855         __redirect_time.
58856         Include <time.h>.
58857         (__libc_time): New prototype.
58858         (time_ifunc): Replace time with __libc_time.
58859         (time): New strong alias and hidden definition of __libc_time.
58860         (__GI_time): Remove strong alias.
58861         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58862         Include <stddef.h>.
58863         (memmove): Redefined to __redirect_memmove.
58864         (__memmove_sse2): Use typeof __redirect_memmove.
58865         (__memmove_ssse3): Likewise.
58866         (__memmove_ssse3_back): Likewise.
58867         (__libc_memmove): New prototype.
58868         (memmove): Renamed to ...
58869         (__libc_memmove): This.
58870         (memmove): New strong alias of __libc_memmove.
58872 2012-08-08  Mark Salter  <msalter@redhat.com>
58874         * elf/elf.h
58875         (R_MN10300_TLS_GD): Define.
58876         (R_MN10300_TLS_LD): Likewise.
58877         (R_MN10300_TLS_LDO): Likewise.
58878         (R_MN10300_TLS_GOTIE): Likewise.
58879         (R_MN10300_TLS_IE): Likewise.
58880         (R_MN10300_TLS_LE): Likewise.
58881         (R_MN10300_TLS_DTPMOD): Likewise.
58882         (R_MN10300_TLS_DTPOFF): Likewise.
58883         (R_MN10300_TLS_TPOFF): Likewise.
58884         (R_MN10300_SYM_DIFF): Likewise.
58885         (R_MN10300_ALIGN): Likewise.
58886         (R_MN10300_NUM): Update.
58888 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58891         Remove.
58893 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58895         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58897         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58898         sysdeps/unix -> sysdeps/posix move.
58899         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58901 2012-08-07      Allan McRae     <allan@archlinux.org>
58903         [BZ #14303]
58904         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58905         (SUNOS_CPP): Likewise.
58906         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58907         not found.
58908         (open_input): Call CPP using execvp.
58910 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58912         * sysdeps/unix/sysv/linux/kernel-features.h
58913         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58914         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58915         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58916         (__ASSUME_WAITID_SYSCALL): Likewise.
58917         * sysdeps/unix/sysv/linux/dl-execstack.c
58918         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58919         code unconditional.
58920         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58921         conditional code.
58922         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58923         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58924         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58925         code.
58926         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58927         unconditional.
58928         [__ASSUME_WAITID_SYSCALL]: Likewise.
58929         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58931 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58933         * sysdeps/unix/closedir.c: Renamed to ...
58934         * sysdeps/posix/closedir.c: ... here.
58935         * sysdeps/unix/dirfd.c: Renamed to ...
58936         * sysdeps/posix/dirfd.c: ... here.
58937         * sysdeps/unix/dirstream.h: Renamed to ...
58938         * sysdeps/posix/dirstream.h: ... here.
58939         * sysdeps/unix/fdopendir.c: Renamed to ...
58940         * sysdeps/posix/fdopendir.c: ... here.
58941         * sysdeps/unix/opendir.c: Renamed to ...
58942         * sysdeps/posix/opendir.c: ... here.
58943         * sysdeps/unix/readdir.c: Renamed to ...
58944         * sysdeps/posix/readdir.c: ... here.
58945         * sysdeps/unix/readdir_r.c: Renamed to ...
58946         * sysdeps/posix/readdir_r.c: ... here.
58947         * sysdeps/unix/rewinddir.c: Renamed to ...
58948         * sysdeps/posix/rewinddir.c: ... here.
58949         * sysdeps/unix/seekdir.c: Renamed to ...
58950         * sysdeps/posix/seekdir.c: ... here.
58951         * sysdeps/unix/telldir.c: Renamed to ...
58952         * sysdeps/posix/telldir.c: ... here.
58953         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58954         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58955         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58956         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58958         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58959         * bits/fcntl.h: ... here.
58961         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58962         not 0.
58963         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58964         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58965         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58966         (struct flock): Move l_start, l_len to the beginning.
58967         Use __pid_t for l_pid.
58968         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58969         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58970         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58971         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58972         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58973         [__USE_LARGEFILE64] (struct flock64): New type.
58974         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58976         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58977         * bits/dirent.h: ... here.
58979         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58980         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58982 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58984         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58985         Change from 2.6.0 to 2.6.16.
58986         * sysdeps/unix/sysv/linux/configure: Regenerated.
58987         * sysdeps/unix/sysv/linux/kernel-features.h
58988         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58989         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58990         version.
58991         (__ASSUME_UTIMES): Likewise.
58992         (__ASSUME_CLONE_STOPPED): Remove.
58993         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58994         architectures, not kernel version.
58995         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58996         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58997         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58998         (__ASSUME_WAITID_SYSCALL): Likewise.
58999         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59000         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59001         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59002         refer to older versions.
59004 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59006         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59007         Define alphasort64 as an alias.
59008         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59009         Define versionsort64 as an alias.
59010         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59011         Define scandir64 as an alias.
59012         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59013         Define scandirat64 as an alias.
59014         * dirent/alphasort64.c (alphasort64):
59015         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59016         * dirent/versionsort64.c: Likewise.
59017         * dirent/scandir64.c: Likewise.
59018         * dirent/scandirat64.c: Likewise.
59019         * sysdeps/wordsize-64/alphasort.c: File removed.
59020         * sysdeps/wordsize-64/alphasort64.c: File removed.
59021         * sysdeps/wordsize-64/scandir.c: File removed.
59022         * sysdeps/wordsize-64/scandir64.c: File removed.
59023         * sysdeps/wordsize-64/scandirat.c: File removed.
59024         * sysdeps/wordsize-64/scandirat64.c: File removed.
59025         * sysdeps/wordsize-64/versionsort.c: File removed.
59026         * sysdeps/wordsize-64/versionsort64.c: File removed.
59027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59029         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59030         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59031         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59032         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59033         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59034         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59036         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59038         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59040         [defined __arch64__ || defined __sparcv9]
59041         (__INO_T_MATCHES_INO64_T): New macro.
59042         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59043         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59044         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59045         * sysdeps/unix/sysv/linux/bits/dirent.h
59046         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59047         (_DIRENT_MATCHES_DIRENT64): New macro.
59049         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59050         Define lockf64 as an alias.
59051         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59052         Define fseeko64 as an alias.
59053         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59054         Define ftello64 as an alias.
59055         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59056         Define _IO_fgetpos64 and fgetpos64 as aliases.
59057         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59058         Define _IO_fsetpos64 and fsetpos64 as aliases.
59059         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59060         Conditionalize body on this.
59061         * libio/fseeko64.c: Likewise.
59062         * libio/ftello64.c: Likewise.
59063         * libio/iofgetpos64.c: Likewise.
59064         * libio/iofsetpos64.c: Likewise.
59065         * sysdeps/wordsize-64/lockf.c: File removed.
59066         * sysdeps/wordsize-64/lockf64.c: File removed.
59067         * sysdeps/wordsize-64/fseeko.c: File removed.
59068         * sysdeps/wordsize-64/fseeko64.c: File removed.
59069         * sysdeps/wordsize-64/ftello.c: File removed.
59070         * sysdeps/wordsize-64/ftello64.c: File removed.
59071         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59072         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59073         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59074         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59075         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59076         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59077         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59078         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59079         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59080         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59081         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59082         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59083         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59084         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59086         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59087         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59088         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59089         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59090         [defined __arch64__ || defined __sparcv9]
59091         (__OFF_T_MATCHES_OFF64_T): New macro.
59092         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59093         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59095         (__OFF_T_MATCHES_OFF64_T): New macro.
59097 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59099         * stdlib/secure-getenv.c (__secure_getenv): Replace
59100         GLIBC_2_16 with GLIBC_2_17.
59102 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59104         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59105         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59107 2012-08-03  David S. Miller  <davem@davemloft.net>
59109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59111 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59114         Remove.
59115         (__ASSUME_CORRECT_SI_PID): Likewise.
59116         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59117         (__ASSUME_TMPFS_NAME): Likewise.
59118         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59119         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59120         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59121         (HAVE_AUX_SECURE): Make definition unconditional.
59122         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59123         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59125 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59127         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59128         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59129         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59130         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59131         __eloop_threshold instead of SYMLOOP_MAX.
59133         * sysdeps/generic/eloop-threshold.h: New file.
59134         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59135         of MAXSYMLINKS.
59136         * elf/chroot_canon.c (chroot_canon): Likewise.
59138 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59140         [BZ #13717]
59141         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59142         Change to 2.6.0 everywhere.
59143         * sysdeps/unix/sysv/linux/configure: Regenerated.
59144         * sysdeps/unix/sysv/linux/kernel-features.h
59145         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59146         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59147         kernel versions.
59148         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59149         (__ASSUME_FUTEX_REQUEUE): Remove.
59150         (__ASSUME_STATFS64): Define unconditionally.
59151         (__ASSUME_AT_SECURE): Likewise.
59152         (__ASSUME_CORRECT_SI_PID): Likewise.
59153         (__ASSUME_TGKILL): Define without depending on kernel version for
59154         i386.
59155         (__ASSUME_UTIMES): Likewise.
59156         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59157         kernel version.
59158         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59159         (__ASSUME_TMPFS_NAME): Likewise.
59160         * README: Update reference to Linux kernel versions.
59162 2012-08-02  Marek Polacek  <polacek@redhat.com>
59164         [BZ# 14150]
59165         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59166         libc_cv_asm_type_prefix with %.
59167         * configure: Regenerated.
59168         * include/libc-symbols.h: Remove comment about
59169         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59170         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59171         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59172         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59173         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59174         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59175         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59176         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59177         * elf/tst-unique2mod1.c: Likewise.
59178         * elf/tst-unique1mod2.c: Likewise.
59179         * elf/tst-unique1mod1.c: Likewise.
59180         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59181         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59182         Replace ASM_TYPE_DIRECTIVE with .type.
59183         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59184         * sysdeps/i386/sysdep.h: Likewise.
59185         * sysdeps/x86_64/sysdep.h: Likewise.
59186         * sysdeps/sh/sysdep.h: Likewise.
59187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59188         Do not define ASM_TYPE_DIRECTIVE.
59189         * sysdeps/powerpc/sysdep.h: Likewise.
59190         * sysdeps/powerpc/powerpc32/sysdep.h:
59191         Replace ASM_TYPE_DIRECTIVE with .type.
59192         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59193         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59194         * sysdeps/i386/fpu/e_powf.S: Likewise.
59195         * sysdeps/i386/fpu/e_expl.S: Likewise.
59196         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59197         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59198         * sysdeps/i386/fpu/e_pow.S: Likewise.
59199         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59200         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59201         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59202         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59203         * sysdeps/i386/fpu/e_log2.S: Likewise.
59204         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59205         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59206         * sysdeps/i386/fpu/e_powl.S: Likewise.
59207         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59208         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59209         * sysdeps/i386/fpu/e_logl.S: Likewise.
59210         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59211         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59212         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59213         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59214         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59215         * sysdeps/i386/fpu/e_log.S: Likewise.
59216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59217         * sysdeps/i386/fpu/e_logf.S: Likewise.
59218         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59219         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59220         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59221         * sysdeps/i386/fpu/e_log10.S: Likewise.
59222         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59223         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59224         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59225         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59226         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59227         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59228         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59229         * sysdeps/i386/i686/strtok.S: Likewise.
59230         * sysdeps/i386/i386-mcount.S: Likewise.
59231         * sysdeps/i386/strtok.S: Likewise.
59232         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59236         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59237         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59238         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59239         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59240         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59241         * sysdeps/x86_64/_mcount.S: Likewise.
59242         * sysdeps/x86_64/strtok.S: Likewise.
59243         * sysdeps/sh/_mcount.S: Likewise.
59245 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59247         * libio/iofopen.c: Include <fcntl.h>.
59248         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59249         (_IO_fopen64, fopen64): Define as aliases.
59250         * libio/iofopen64.c: Include <fcntl.h>.
59251         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59252         Conditionalize body on this.
59253         * sysdeps/wordsize-64/iofopen.c: File removed.
59254         * sysdeps/wordsize-64/iofopen64.c: File removed.
59256 2012-08-01  Marek Polacek  <polacek@redhat.com>
59258         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59259         Use dlfcn directly instead of a variable.
59260         (binfmt-subdir): Do not define.
59261         (dlfcn): Likewise.
59263 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59266         Remove all definitions.
59267         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59268         <kernel-features.h>.
59269         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59270         (miss_F_GETOWN_EX): Remove all definitions.
59271         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59272         macro definition.
59273         [!__ASSUME_FCNTL64]: Remove conditional code.
59274         [__ASSUME_FCNTL64]: Make code unconditional.
59275         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59276         <kernel-features.h>.
59277         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59278         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59279         (lockf64) [__NR_fcntl64]: Make code unconditional.
59280         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59282         * sysdeps/unix/sysv/linux/kernel-features.h
59283         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59284         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59285         Make code unconditional.
59286         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59287         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59289         [__NR_vfork]: Make code unconditional.
59290         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59291         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59293         [__NR_vfork]: Make code unconditional.
59294         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59295         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59297 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59299         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59300         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59302         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59303         Define mkstemp64 as an alias.
59304         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59305         Define mkstemps64 as an alias.
59306         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59307         Define mkostemp64 as an alias.
59308         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59309         Define mkostemps64 as an alias.
59310         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59311         Conditionalize body on this.
59312         * misc/mkostemp64.c: Likewise.
59313         * misc/mkostemps64.c: Likewise.
59314         * misc/mkstemps64.c: Likewise.
59315         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59316         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59317         * sysdeps/wordsize-64/mkostemp.c: File removed.
59318         * sysdeps/wordsize-64/mkstemp.c: File removed.
59319         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59320         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59321         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59322         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59324         [BZ #14138]
59325         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59326         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59327         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59328         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59330         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59331         compat_symbol macros from <shlib-compat.h> rather than the underlying
59332         default_symbol_version and symbol_version macros, so that DEFAULT
59333         lines in shlib-versions are respected.
59334         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59336 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59338         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59339         Declare with warn_unused_result.
59340         (setgid, setregid, setegid, setresgid): Likewise.
59341         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59342         Likewise.
59343         * WUR-REPORT: Remove set*id functions.
59345 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59347         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59349 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59351         [BZ #10191]
59352         * include/sys/socket.h (__libc_accept, __libc_accept4):
59353         Add attribute_hidden.
59354         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59356         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59357         use of PTR_MANGLE.
59358         * inet/getnetgrent_r.c (setup): Likewise.
59360         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59362 2012-07-31  David S. Miller  <davem@davemloft.net>
59364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59366 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59368         [BZ #13629]
59369         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59370         value between 1.0 and 2.0 and smaller part has absolute value less
59371         than 1.0.
59372         * math/s_clog10.c (__clog10): Likewise.
59373         * math/s_clog10f.c (__clog10f): Likewise.
59374         * math/s_clog10l.c (__clog10l): Likewise.
59375         * math/s_clogf.c (__clogf): Likewise.
59376         * math/s_clogl.c (__clogl): Likewise.
59377         * math/libm-test.inc (clog_test): Add more tests.
59378         (clog10_test): Likewise.
59379         * sysdeps/i386/fpu/libm-test-ulps: Update.
59380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59382 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59384         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59385         Exit with zero in case no suitable GID is found, and write a
59386         message to standard error.
59388 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59390         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59391         rather than to 1.
59392         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59393         (MAXPATHLEN): Removed.
59394         (NOGROUP, NODEV): New macros.
59395         (setbit, clrbit, isset, isclr): New macros.
59396         (howmany, roundup, powerof2): New macros.
59397         (DEV_BSIZE): New macro.
59399         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59400         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59402         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59403         definition on [!__NO_LONG_DOUBLE_MATH].
59405         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59406         PTR_MANGLE and PTR_DEMANGLE.
59408         * socket/accept4.c (accept4): Rename to __libc_accept4.
59409         Define accept4 as a weak alias.
59411         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59412         on [_DIRENT_HAVE_D_TYPE].
59413         * io/ftw.c (ftw_dir): Likewise.
59415         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59417         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59419         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59420         Use the BSD numbers rather than the arbitrary ones we had.
59421         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59422         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59423         (SIGXCPU, SIGXFSZ): New macros.
59424         (_NSIG): Now 32.
59426         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59427         initializer on [_LIBC_REENTRANT].
59429         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59430         definitions inside [_POSIX_MAPPED_FILES].
59432         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59434         * dirent/opendir.c: Include <fcntl.h>.
59436         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59437         (__libc_getspecific): Likewise.
59438         (__libc_key_create): Likewise.
59440         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59441         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59442         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59443         (tmpfile64): Define as alias.
59444         * sysdeps/wordsize-64/tmpfile.c: File removed.
59445         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59446         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59447         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59449         * stdio-common/vfscanf.c: Include <stdbool.h>.
59450         * nss/makedb.c: Likewise.
59451         * stdio-common/_i18n_number.h: Likewise.
59452         * argp/argp-help.c: Likewise.
59453         * posix/wordexp.c: Likewise.
59454         * sysdeps/posix/spawni.c: Likewise.
59455         * nss/nss_files/files-initgroups.c: Likewise.
59456         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59457         * nss/nss_files/files-initgroups.c: Likewise.
59458         * nss/nss_db/db-netgrp.c: Likewise.
59459         * nss/nss_db/db-initgroups.c: Likewise.
59460         * io/fchmodat.c: Include <sys/stat.h>.
59462         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59463         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59465         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59466         [HAVE_MMAP].
59468         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59469         Add multiple inclusion protection.
59471 2012-07-27  David S. Miller  <davem@davemloft.net>
59473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59475 2012-07-27  Gary Benson  <gbenson@redhat.com>
59477         [BZ #14298]
59478         * elf/rtld.c: Include <stap-probe.h>.
59479         (dl_main): Added static probes "init_start" and "init_complete".
59480         * elf/dl-load.c: Include <stap-probe.h>.
59481         (lose): Take new parameter "nsid".
59482         Added static probe "map_failed".
59483         (_dl_map_object_from_fd): Pass namespace id to lose.
59484         Added static probe "map_start".
59485         (open_verify): Pass namespace id to lose.
59486         * elf/dl-open.c: Include <stap-probe.h>.
59487         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59488         and "reloc_complete".
59489         * elf/dl-close.c: Include <stap-probe.h>.
59490         (_dl_close_worker): Added static probes "unmap_start" and
59491         "unmap_complete".
59492         * elf/rtld-debugger-interface.txt: New file documenting the above.
59494 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59496         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59497         rather than a string variable.
59498         * sunrpc/rpc_main.c (h_output): Likewise.
59499         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59501 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59503         * inet/check_native.c: New file.
59505 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59507         [BZ #13629]
59508         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59509         if larger part has absolute value 1.0.
59510         * math/s_clog10.c (__clog10): Likewise.
59511         * math/s_clog10f.c (__clog10f): Likewise.
59512         * math/s_clog10l.c (__clog10l): Likewise.
59513         * math/s_clogf.c (__clogf): Likewise.
59514         * math/s_clogl.c (__clogl): Likewise.
59515         * math/libm-test.inc (clog_test): Add more tests.
59516         (clog10_test): Likewise.
59517         * sysdeps/i386/fpu/libm-test-ulps: Update.
59518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59520         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59521         (pltexit): Likewise.
59522         (La_regs): Likewise.
59523         (La_retval): Likewise.
59524         (int_retval): Likewise.
59525         Update #error for removed macros to refer only to definitions in
59526         tst-audit.h.
59527         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59528         macro.
59529         (pltexit): Likewise.
59530         (La_regs): Likewise.
59531         (La_retval): Likewise.
59532         (int_retval): Likewise.
59533         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59534         macro.
59535         (pltexit): Likewise.
59536         (La_regs): Likewise.
59537         (La_retval): Likewise.
59538         (int_retval): Likewise.
59539         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59540         macro.
59541         (pltexit): Likewise.
59542         (La_regs): Likewise.
59543         (La_retval): Likewise.
59544         (int_retval): Likewise.
59545         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59546         macro.
59547         (pltexit): Likewise.
59548         (La_regs): Likewise.
59549         (La_retval): Likewise.
59550         (int_retval): Likewise.
59551         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59552         macro.
59553         (pltexit): Likewise.
59554         (La_regs): Likewise.
59555         (La_retval): Likewise.
59556         (int_retval): Likewise.
59557         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59558         macro.
59559         (pltexit): Likewise.
59560         (La_regs): Likewise.
59561         (La_retval): Likewise.
59562         (int_retval): Likewise.
59563         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59564         macro definitions in tst-audit.h.
59565         * sysdeps/i386/tst-audit.h: New file.
59566         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59567         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59568         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59569         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59570         * sysdeps/sh/tst-audit.h: Likewise.
59571         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59572         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59573         * sysdeps/x86_64/tst-audit.h: Likewise.
59575 2012-07-26  Andreas Jaeger  <aj@suse.de>
59577         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59578         ptrace.
59580         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59581         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59582         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59583         PTRACE_O_MASK.
59584         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59585         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59586         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59588         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59589         value.
59591         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59592         _sigsys.
59593         (si_call_addr, si_syscall, si_arch): Define new macro.
59594         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59595         _sigsys.
59596         (si_call_addr, si_syscall, si_arch): Define new marcro.
59597         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59598         _sigsys.
59599         (si_call_addr, si_syscall, si_arch): Define new macro.
59600         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59601         _sigsys.
59602         (si_call_addr, si_syscall, si_arch): Define new macro.
59604 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59606         [BZ #13717]
59607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59608         Change to 2.4.21 where previously 2.4.1.
59609         * sysdeps/unix/sysv/linux/configure: Regenerated.
59610         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59611         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59612         Linux kernel version.
59613         (__ASSUME_STD_AUXV): Remove.
59614         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59615         kernel version.
59616         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59617         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59618         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59619         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59620         (__ASSUME_NETLINK_SUPPORT): Likewise.
59621         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59622         (__no_netlink_support): Remove conditional definition.
59623         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59624         Remove.
59625         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59626         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59627         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59628         (if_nameindex_ioctl): Remove.
59629         (if_nameindex_netlink): Do not handle __no_netlink_support.
59630         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59631         code.
59632         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59633         Remove conditional code.
59634         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59635         code.
59636         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59637         unconditional.
59638         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59639         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59640         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59641         Remove.
59642         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59643         [!__ASSUME_STD_AUXV]: Remove conditional code.
59644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59645         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59646         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59648         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59649         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59650         code.
59651         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59653         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59654         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59655         conditional code.
59656         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59658         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59659         code.
59660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59661         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59662         conditional code.
59663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59664         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59665         code unconditional.
59666         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59667         conditional code.
59668         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59669         unconditional.
59670         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59671         conditional code.
59672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59673         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59674         unconditional.
59675         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59676         conditional code.
59677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59678         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59679         code unconditional.
59680         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59681         conditional code.
59682         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59683         unconditional.
59684         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59685         conditional code.
59686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59687         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59688         code unconditional.
59689         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59690         conditional code.
59691         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59692         unconditional.
59693         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59694         conditional code.
59696 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59698         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59699         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59700         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59701         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59702         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59703         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59704         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59705         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59706         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59707         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59708         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59709         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59710         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59711         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59712         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59713         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59714         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59715         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59716         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59718         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59719         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59720         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59722 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59724         * Versions.def: Add GLIBC_2.17.
59725         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59726         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59727         Introduce __libc_secure_getenv.
59728         * stdlib/Versions (2.17): Add secure_getenv
59729         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59730         * stdlib/secure-getenv.c: Rename __secure_getenv to
59731         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59732         symbol __secure_getenv for GLIBC_2.0.
59733         * stdlib/tst-secure-getenv.c: New.
59734         * stdlib/Makefile (tests): Add testcase.
59735         * manual/startup.texi (Environment Access): Document
59736         secure_getenv.
59737         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59738         __libc_secure_getenv.
59739         * inet/ruserpass.c (ruserpass): Likewise.
59740         * malloc/mtrace.c (mtrace): Likewise.
59741         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59742         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59743         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59744         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59745         HAVE_SECURE_GETENV.
59746         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59747         __secure_getenv to __libc_secure_getenv.
59748         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59750         Likewise.
59751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59752         Likewise.
59753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59755         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59761 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59763         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59764         (struct La_i86_retval): Likewise.
59765         (struct La_x86_64_regs): Likewise.
59766         (struct La_x86_64_retval): Likewise.
59767         (struct La_x32_regs): Likewise.
59768         (struct La_x32_retval): Likewise.
59769         (struct La_ppc32_regs): Likewise.
59770         (struct La_ppc32_retval): Likewise.
59771         (struct La_ppc64_regs): Likewise.
59772         (struct La_ppc64_retval): Likewise.
59773         (struct La_sh_regs): Likewise.
59774         (struct La_sh_retval): Likewise.
59775         (struct La_s390_32_regs): Likewise.
59776         (struct La_s390_32_retval): Likewise.
59777         (struct La_s390_64_regs): Likewise.
59778         (struct La_s390_64_retval): Likewise.
59779         (struct La_sparc32_regs): Likewise.
59780         (struct La_sparc32_retval): Likewise.
59781         (struct La_sparc64_regs): Likewise.
59782         (struct La_sparc64_retval): Likewise.
59783         (struct audit_ifaces): Remove architecture-specific pltenter and
59784         pltexit members.
59785         * sysdeps/i386/ldsodefs.h: New file.
59786         * sysdeps/powerpc/ldsodefs.h: Likewise.
59787         * sysdeps/s390/ldsodefs.h: Likewise.
59788         * sysdeps/sh/ldsodefs.h: Likewise.
59789         * sysdeps/sparc/ldsodefs.h: Likewise.
59790         * sysdeps/x86_64/ldsodefs.h: Likewise.
59792 2012-07-25  Marek Polacek  <polacek@redhat.com>
59794         [BZ #6808]
59795         * math/libm-test.inc (yn_test): Add another test.
59796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59797         to ERANGE when the result is +-Inf.
59798         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59800         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59801         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59803 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59805         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59806         equal to 0.
59807         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59808         clock_t.
59809         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59811 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59813         * configure.in <sysdeps resolving>: Correct printing
59814         Implies_before.
59815         * configure: Regenerate.
59817 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59819         * math/w_ilogb.c: Include <limits.h>.
59820         * math/w_ilogbl.c: Likewise.
59822 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59824         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59825         va_copy.  Document allowing for unavailable va_copy only as
59826         pre-C99 compatibility.
59827         * manual/string.texi (Copying and Concatenation): Use va_copy
59828         instead of __va_copy in concat example.
59830 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59832         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59833         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59834         it if not null.
59836         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59837         with O_NOLINK passed to __file_name_lookup.
59839         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59840         with O_NOLINK passed to __file_name_lookup.
59842         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59843         negative N or less than NGIDS.
59845         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59846         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59847         enough.  Use memcpy instead of strncpy.
59849 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59851         * elf/Makefile (check-data): Remove.
59852         (localplt.data): New vpath directive.
59853         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59854         instead of $(check-data).
59855         * scripts/data/localplt-generic.data: Move to ...
59856         * sysdeps/generic/localplt.data: ... here.
59857         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59858         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59859         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59861         ... here.
59862         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59864         ... here.
59865         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59867         ... here.
59868         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59870         ... here.
59871         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59873         ... here.
59874         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59876         ... here.
59878 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59880         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59881         PPC32 and PPC64 files.
59882         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59883         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59885 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59887         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59888         __makecontext_ret to ...
59889         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59890         ... here and call exit if uc_link is NULL.  New file.
59891         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59892         __makecontext_ret.S.
59893         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59894         __makecontext_ret to ...
59895         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59896         ... here and call exit if uc_link is NULL.  New file.
59897         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59898         __makecontext_ret.S.
59900 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59902         * elf/elf.h (R_390_IRELATIVE): New definition.
59903         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59904         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59905         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59906         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59907         (elf_machine_lazy_rel): Likewise.
59908         * sysdeps/s390/dl-irel.h: New file.
59909         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59910         * sysdeps/s390/s390-64/memset.S: New asm code.
59911         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59912         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59913         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59914         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59915         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59916         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59918         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59919         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59920         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59921         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59922         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59923         * sysdeps/s390/s390-32/memset.S: New asm code.
59924         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59926 2012-07-17  Marek Polacek  <polacek@redhat.com>
59928         [BZ #14349]
59929         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59930         * sysdeps/s390/s390-64/configure.in: Likewise.
59931         * sysdeps/sparc/configure.in: Likewise.
59932         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59933         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59934         * sysdeps/i386/configure.in: Likewise.
59935         * sysdeps/x86_64/configure.in: Likewise.
59936         * sysdeps/sh/configure.in: Likewise.
59937         * sysdeps/s390/s390-32/configure: Regenerated.
59938         * sysdeps/s390/s390-64/configure: Likewise.
59939         * sysdeps/x86_64/configure: Likewise.
59940         * sysdeps/sh/configure: Likewise.
59941         * sysdeps/powerpc/powerpc64/configure: Likewise.
59942         * sysdeps/powerpc/powerpc32/configure: Likewise.
59943         * sysdeps/sparc/configure: Likwise.
59944         * sysdeps/i386/configure: Likewise.
59946         * elf/dl-open.c: Comment fixes.
59948 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59950         * Makefile [CXX] (check-data): Remove.
59951         [CXX] (c++-types.data): New vpath directive.
59952         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59953         vpath.  Do not allow for C++ type data being missing.
59954         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59955         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59956         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59957         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59958         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59959         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59960         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59962         ... here.
59963         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59965         ... here.
59966         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59968         ... here.
59969         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59971         ... here.
59972         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59974         ... here.
59975         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59977         ... here.
59978         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59980         ... here.
59981         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59984         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59985         definitions to architecture-specific files.
59986         (TLS_IE): Likewise.
59987         (TLS_LD): Likewise.
59988         (TLS_GD): Likewise.
59989         * sysdeps/i386/tls-macros.h: New file.
59990         * sysdeps/powerpc/tls-macros.h: Likewise.
59991         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59992         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59993         * sysdeps/sh/tls-macros.h: Likewise.
59994         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59995         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59996         * sysdeps/x86_64/tls-macros.h: Likewise.
59998 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60000         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60001         zero value for regular exit case.
60003         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60004         (__start_context): Preserve zero value for regular exit case.
60006 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60007             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60009         * manual/setjmp.texi (setcontext): Clarify normal process
60010         termination when uc_link is the null pointer.
60011         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60012         exit call.
60014 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60016         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60017         preprocessor.  Test for each exception mask separately.
60019 2012-07-16  Andreas Jaeger  <aj@suse.de>
60021         * po/ru.po: Update from translation team.
60023 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60025         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60026         equal to 0.
60027         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60028         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60029         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60030         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60033 2012-07-13  Andreas Jaeger  <aj@suse.de>
60035         * po/fr.po: Update from translation team.
60037 2012-07-12  Marek Polacek  <polacek@redhat.com>
60039         [BZ #14173]
60040         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60041         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60042         loop condition.
60044 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60046         [BZ #13717]
60047         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60048         Change to 2.4.1 where previously 2.4.0.
60049         * sysdeps/unix/sysv/linux/configure: Regenerated.
60050         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60051         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60052         version.
60053         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60054         (__ASSUME_AT_CLKTCK): Remove.
60055         (__ASSUME_AT_PAGESIZE): Likewise.
60056         (__ASSUME_AT_XID): Likewise.
60057         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60058         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60059         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60060         unconditionally.
60061         (HAVE_AUX_PAGESIZE): Likewise.
60062         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60063         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60064         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60066 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60068         [BZ #14307]
60069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60070         the temporary buffer used to invoke __gethostbyname2_r,
60071         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60072         host_data / struct gaih_addrtuple.
60073         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60074         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60075         header file nss/nsswitch.h.
60076         * nss/nsswitch.h (global scope): Add definition of implementation
60077         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60078         resolv/nss_dns/dns-host.c).
60080 2012-07-11  Andreas Jaeger  <aj@suse.de>
60082         * po/fr.po: Update from translation team.
60084         * po/sv.po: Update from translation team
60085         * po/fr.po: Another update from translation team.
60087 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60089         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60090         for subnormals or multiply small sinh result by itself.
60091         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60094 2012-07-11  David S. Miller  <davem@davemloft.net>
60096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60098 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60100         [BZ #14347]
60101         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60102         (INTERNAL_MARK): Shift it here.
60104 2012-07-10  Marek Polacek  <polacek@redhat.com>
60106         [BZ #14151]
60107         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60108         libc_cv_asm_global_directive with .globl.
60109         * configure: Regenerated.
60110         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60111         with .globl.
60112         * sysdeps/i386/configure: Regenerated.
60113         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60114         with .globl.
60115         * sysdeps/x86_64/configure: Regenerated.
60116         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60117         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60118         * elf/tst-unique2mod2.c: Likewise.
60119         * elf/tst-unique2mod1.c: Likewise.
60120         * elf/tst-unique1mod2.c: Likewise.
60121         * elf/tst-unique1mod1.c: Likewise.
60122         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60123         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60125         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60126         * sysdeps/mach/sysdep.h: Likewise.
60127         * sysdeps/i386/sysdep.h: Likewise.
60128         * sysdeps/i386/i386-mcount.S: Likewise.
60129         * sysdeps/x86_64/_mcount.S: Likewise.
60130         * sysdeps/x86_64/sysdep.h: Likewise.
60131         * sysdeps/sh/_mcount.S: Likewise.
60132         * sysdeps/sh/sysdep.h: Likewise.
60133         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60134         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60135         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60136         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60137         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60138         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60139         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60140         * locale/localeinfo.h: Likewise.
60141         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60142         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60144 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60146         [BZ #14336]
60147         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60148         system".
60149         * manual/message.texi (The Uniforum approach): Likewise.
60150         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60151         (glibc iconv Implementation): Likewise.
60153 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60155         [BZ #14337]
60156         * math/s_clog.c (__clog): Avoid scaling a value down where that
60157         could result in underflow.
60158         * math/s_clog10.c (__clog10): Likewise.
60159         * math/s_clog10f.c (__clog10f): Likewise.
60160         * math/s_clog10l.c (__clog10l): Likewise.
60161         * math/s_clogf.c (__clogf): Likewise.
60162         * math/s_clogl.c (__clogl): Likewise.
60163         * math/libm-test.inc (clog_test): Add more tests.
60164         (clog10_test): Likewise.
60165         * sysdeps/i386/fpu/libm-test-ulps: Update.
60166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60168 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60170         [BZ #14283]
60171         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60172         by 7 not 8 to examine high bit of fractional part.
60174         [BZ #14042]
60175         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60176         for call to __mcount_internal.
60177         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60178         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60179         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60181 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60183         [BZ #14154]
60184         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60185         approximation for values within 0x1p-13f of an odd multiple of
60186         pi/4.
60187         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60188         exception.  Add more tests.
60189         * sysdeps/i386/fpu/libm-test-ulps: Update.
60191         [BZ #6778]
60192         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60193         inputs and return -1 for them.  Do not check for +Inf in case not
60194         reachable for +Inf.
60195         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60196         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60197         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60198         and return -1 for them.  Do not check for +Inf in case not
60199         reachable for +Inf.
60200         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60201         define.
60202         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60203         and return -1 for them.  Do not check for +Inf in case not
60204         reachable for +Inf.
60205         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60206         spurious underflow.
60207         * sysdeps/i386/fpu/libm-test-ulps: Update.
60208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60210 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60212         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60214 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60216         [BZ #14157]
60217         [BZ #14331]
60218         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60219         could result in spurious underflow.  Scale down values above
60220         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60221         * math/s_csqrtf.c (__csqrtf): Likewise.
60222         * math/s_csqrtl.c (__csqrtl): Likewise.
60223         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60224         spurious underflow.
60225         * sysdeps/i386/fpu/libm-test-ulps: Update.
60226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60228 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60230         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60231         xopen-msg.sed.
60232         * catgets/xopen-msg.awk: New file.
60233         * catgets/xopen-msg.sed: Removed.
60235         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60236         po2text.sed.
60237         * intl/po2test.awk: New file.
60238         * intl/po2test.sed: Removed.
60240 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60242         [BZ #14328]
60243         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60244         or multiply small sinh result by itself.
60245         * math/s_ctanf.c (__ctanf): Likewise.
60246         * math/s_ctanh.c (__ctanh): Likewise.
60247         * math/s_ctanhf.c (__ctanhf): Likewise.
60248         * math/s_ctanhl.c (__ctanhl): Likewise.
60249         * math/s_ctanl.c (__ctanl): Likewise.
60250         * math/libm-test.inc (ctan_test_tonearest): New function.
60251         (ctan_test_towardzero): Likewise.
60252         (ctan_test_downward): Likewise.
60253         (ctan_test_upward): Likewise.
60254         (ctanh_test_tonearest): Likewise.
60255         (ctanh_test_towardzero): Likewise.
60256         (ctanh_test_downward): Likewise.
60257         (ctanh_test_upward): Likewise.
60258         (main): Call these new functions.
60259         * sysdeps/i386/fpu/libm-test-ulps: Update.
60260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60262 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60264         * .gitignore: Delete /ports entry.
60266 2012-07-03  Andreas Jaeger  <aj@suse.de>
60268         * po/bg.po: Update from translation team.
60269         * po/cs.po: Likewise.
60270         * po/de.po: Likewise.
60271         * po/hr.po: Likewise.
60272         * po/nl.pl: Likewise.
60273         * po/pl.po: Likewise.
60274         * po/vi.po: Likewise.
60276 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60278         * Makeconfig [!+link] (+link-before-libc): New variable.
60279         [!+link] (+link-after-libc): Likewise.
60280         [!+link] (+link-tests): Likewise.
60281         [!+link] (+link): Define in terms of $(+link-before-libc) and
60282         $(+link-after-libc).
60283         [!+link-static] (+link-static-before-libc): New variable.
60284         [!+link-static] (+link-static-after-libc): Likewise.
60285         [!+link-static] (+link-static-tests): Likewise.
60286         [!+link-static] (+link-static): Define in terms of
60287         $(+link-static-before-libc) and $(+link-static-after-libc).
60288         [build-shared] (link-libc-before-gnulib): New variable.
60289         [build-shared] (link-libc-tests): Likewise.
60290         [build-shared] (link-libc): Define in terms of
60291         $(link-libc-before-gnulib).
60292         [!build-shared] (link-libc-tests): New variable.
60293         (link-libc-static-tests): New variable.
60294         [!gnulib] (gnulib-arch): New variable.
60295         [!gnulib] (gnulib-tests): Likewise.
60296         [!gnulib] (static-gnulib-arch): Likewise.
60297         [!gnulib] (static-gnulib-tests): Likewise.
60298         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60299         Define with "=" instead of ":=".
60300         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60301         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60302         * Rules (binaries-all-notests): New variable.
60303         (binaries-all-tests): Likewise.
60304         (binaries-static-notests): Likewise.
60305         (binaries-static-tests): Likewise.
60306         (binaries-all): Define using $(binaries-all-notests) and
60307         $(binaries-all-tests).
60308         (binaries-static): Define using $(binaries-static-notests) and
60309         $(binaries-static-tests).
60310         (binaries-shared-tests): New variable.
60311         (binaries-shared-notests): Likewise.
60312         (binaries-shared): Remove variable.
60313         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60314         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60315         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60316         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60317         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60318         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60319         * elf/Makefile (sln-modules): New variable.
60320         (extra-objs): Add $(sln-modules:=.o).
60321         (ldconfig-modules): Add static-stubs.
60322         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60323         * elf/static-stubs.c: New file.
60325         [BZ #14283]
60326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60327         by 7 not 8 to examine high bit of fractional part.  Use volatile
60328         variables when splitting into final array of floats if
60329         __FLT_EVAL_METHOD__ != 0.
60330         * math/libm-test.inc (cos_test): Add another test.
60331         (sin_test): Likewise.
60332         * sysdeps/i386/fpu/libm-test-ulps: Update.
60334         [BZ #14273]
60335         * math/libm-test.inc (cosh_test): Add more tests.
60337         * version.h (RELEASE): Set to "development".
60338         (VERSION): Set to "2.16.90".
60340 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60342         * NEWS: Update copyright. Remove last-updated date.
60343         Mention math library bug fixes and timezone data changes.
60344         * README: Mention GNU/Hurd, x32, and HPPA support status.
60346 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60348         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60350 2012-06-27  Andreas Jaeger  <aj@suse.de>
60352         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60354 2012-06-25  Andreas Jaeger  <aj@suse.de>
60356         * sysdeps/s390/fpu/libm-test-ulps: Update.
60358 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60359             Thomas Schwinge  <thomas@codesourcery.com>
60361         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60362         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60364         fanotify_mark.
60366 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60368         * sysdeps/mach/start.c: Remove file.
60369         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60370         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60371         * sysdeps/sh/init-first.c: Likewise.
60373         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60374         registers for frame unwinding purposes, add CFI directives.
60375         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60376         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60377         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60378         Likewise.
60380         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60381         __fortify_fail returning.
60382         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60384         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60385         sysdeps/sh/____longjmp_chk.S.
60386         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60387         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60388         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60389         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60391         * sysdeps/sh/abort-instr.h: New file.
60392         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60393         process in case exit returns.
60395         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60396         initialize the GOT register before use.
60398         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60399         calculation of ARGC > 4.
60401         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60402         meaningful names to some local labels.
60404 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60405             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60407         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60408         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60409         (__arch_compare_and_exchange_val_16_acq): Likewise.
60410         (__arch_compare_and_exchange_val_32_acq): Likewise.
60411         (atomic_exchange_and_add): Fix gUSA sequence.
60412         (atomic_add): Likewise.
60413         (atomic_add_negative): Likewise.
60414         (atomic_add_zero): Likewise.
60415         (atomic_bit_test_set): Likewise.
60417 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60419         [BZ #13579]
60420         * include/link.h (struct link_map): Add l_free_initfini.
60421         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60422         l_initfini.
60423         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60424         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60425         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60426         set.
60428 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60430         * configure.in: Use AC_LANG_SOURCE.
60431         * configure: Regenerate.
60433 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60435         * configure.in (libc_cv_localstatedir): New substituted variable.
60436         * configure: Regenerated.
60437         * config.make.in (localstatedir): New variable, substituted from
60438         libc_cv_localstatedir.
60439         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60440         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60441         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60442         * sysdeps/gnu/configure: Regenerated.
60444 2012-06-21  Jeff Law  <law@redhat.com>
60446         [BZ #14277]
60447         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60448         free.  Simplify list management for _LIBC case.
60450 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60452         [BZ #14273]
60453         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60454         Clear sign bit of 64-bit integer value before comparing against
60455         overflow value.
60457         * sysdeps/mach/configure: Regenerated.
60459 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60461         [BZ #14278]
60462         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60464 2012-06-21  Jeff Law  <law@redhat.com>
60466         [BZ #13882]
60467         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60468         uint16_t for elements in the "seen" array to avoid char overflows.
60469         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60470         * elf/dl-open.c (dl_open_worker): Likewise.
60472 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60474         * scripts/list-sources.sh: Scan PORTS for translations.
60475         * po/libc.pot: Regenerated.
60477 2012-06-21  Andreas Jaeger  <aj@suse.de>
60479         [BZ #12194]
60480         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60481         warning.
60482         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60483         * bits/byteswap-16.h (__bswap_16): Likewise.
60484         * bits/byteswap.h (__bswap_constant_16): Likewise.
60486 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60488         [BZ #14117]
60489         * sysdeps/i386/fpu_control.h: Removed.
60490         * sysdeps/x86_64/fpu_control.h: Moved to ...
60491         * sysdeps/x86/fpu_control.h: Here.
60493         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60494         (_FPU_SETCW): Likewise.
60496 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60498         [BZ #14117]
60499         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60500         * sysdeps/x86/fpu/bits/mathinline.h: This.
60501         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60503         [BZ #14050]
60504         [BZ #14117]
60505         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60506         functions if __x86_64__ is defined.
60508 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60510         * string/endian.h: Add !__ASSEMBLER__ condition for including
60511         conversion interfaces.
60513 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60515         [BZ #14241]
60516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60517         of ABS(x) in calculating zero to negative powers other than odd
60518         integers.
60519         * math/libm-test.inc (pow_test): Add more tests.
60521 2012-06-15  Andreas Jaeger  <aj@suse.de>
60523         * manual/contrib.texi (Contributors): Update entry of Liubov
60524         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60525         Machado Filho.
60527 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60529         * string/string.h: Add __wur to GNU version of strerror_r.
60531 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60533         [BZ #14229]
60534         * string/Makefile (tests): Add tst-strtok_r.
60535         * string/tst-strtok_r.c: New file.
60536         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60537         RAX_LP/RDX_LP on SAVE_PTR.
60539 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60541         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60543 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60545         * libm_test.inc (csqrt_test): Allow more spurious underflow
60546         exceptions.
60547         (j0_test): Likewise.
60548         (j1_test): Likewise.
60549         (y0_test): Likewise.
60550         (y1_test): Likewise.
60552 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60554         * po/Makefile (libc.pot): Use UTF-8 charset.
60556 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60558         [BZ #14210]
60559         Suppress sign-conversion warning from FD_SET.
60560         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60561         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60562         not unsigned long int.
60563         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60565 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60567         [BZ #14050]
60568         [BZ #14117]
60569         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60570         __extern_always_inline instead of __extern_inline.
60571         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60572         (__signbit): Likewise.
60573         (__signbitl): Support C++ namespace.
60574         (lrintf): New inline function.
60575         (lrint): Likewise.
60576         (llrintf): Likewise.
60577         (llrint): Likewise.
60578         (fmaxf): Likewise.
60579         (fmax): Likewise.
60580         (fminf): Likewise.
60581         (fmin): Likewise.
60582         (rint): Likewise.
60583         (rintf): Likewise.
60584         (ceil): Likewise.
60585         (ceilf): Likewise.
60586         (floor): Likewise.
60587         (floorf): Likewise.
60588         (nearbyint): Likewise.
60589         (nearbyintf): Likewise.
60591 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60593         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60594         non-default versions.
60596 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60598         [BZ #14218]
60599         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60601 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60603         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60604         (FE_UPWARD, FE_DOWNWARD): Don't define.
60605         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60606         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60608         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60609         reading it.
60610         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60611         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60613 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60615         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60616         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60617         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60618         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60620 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60622         [BZ #14117]
60623         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60624         * sysdeps/i386/fpu/Implies: New file.
60625         * sysdeps/x86_64/fpu/Implies: Likewise.
60626         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60627         * sysdeps/x86/fpu/bits/fenv.h: This.
60629         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60630         __SSE_MATH__.
60632 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60634         [BZ #14134]
60635         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60636         character 0xffff that matches the last element of the
60637         conversion table.
60639 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60642         fmodl commit.
60644 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60646         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60647         values higher than 25.6283.
60649 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60651         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60652         subnormal exponent extraction and add some __builtin_expect.
60653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60654         Fix for subnormal mantissa calculation.
60656 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60658         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60659         cpu2 is -1 and errno is not ENOSYS.
60661 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60663         [BZ #14117]
60664         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60665         * sysdeps/x86/bits/string.h: This.
60666         * sysdeps/x86_64/bits/string.h: Removed.
60668         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60669         if not compiling for x86-64, but compiling for >= i486.
60671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60672         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60674         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60675         New macro from Linux kernel 3.4.0.
60676         (FP_XSTATE_MAGIC2): Likewise.
60677         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60678         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60679         (struct _fpx_sw_bytes): New struct.
60680         (struct _xsave_hdr): Likewise.
60681         (struct _ymmh_state): Likewise.
60682         (struct _xstate): Likewise.
60684         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60685         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60686         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60687         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60688         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60689         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60691         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60692         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60693         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60694         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60695         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60696         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60698 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60700         [BZ #13743]
60701         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60702         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60703         (sysdep_headers): Include sys/platform/ppc.h.
60704         * sysdeps/powerpc/test-gettimebase.c: Test for
60705         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60706         * manual/Makefile (appendices): Include platform.texi.
60707         * manual/contrib.texi (Contributors): Update @node pointers.
60708         * manual/maint.texi (Maintenance): Likewise.
60709         (Platform): New node.
60710         * manual/platform.texi: New file.  Document the new features.
60712 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60713             Jakub Jelinek  <jakub@redhat.com>
60715         [BZ #14188]
60716         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60717         where __builtin_expect is unavailable.
60719 2012-06-03  David S. Miller  <davem@davemloft.net>
60721         * stdlib/longlong.h: Updated from GCC.
60723 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60725         [BZ #14042]
60726         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60727         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60728         __mcount_internal.
60729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60730         (GLIBC_2.16): Likewise.
60732 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60734         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60736 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60739         (default-abi): New variable.
60740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60741         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60742         variable.
60743         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60744         Likewise.
60745         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60746         Likewise.
60747         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60748         Likewise.
60750         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60751         definition.  Document in comment.
60753 2012-06-01  David S. Miller  <davem@davemloft.net>
60755         * stdlib/longlong.h: Updated from GCC.
60757 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60759         [BZ #14117]
60760         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60761         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60762         sys/debugreg.h sys/io.h here.
60763         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60764         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60765         sys/io.h.
60766         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60767         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60768         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60769         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60770         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60771         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60773         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60774         Define only if __x86_64__ is defined.
60776 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60778         [BZ #14048]
60779         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60780         Use int64_t for variable i.
60781         * math/libm-test.inc (fmod_test): Add more tests.
60783         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60784         z computation is not scheduled after fetestexcept.
60785         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60786         Use math_force_eval instead of asm to ensure calculation scheduled
60787         before exception test.
60788         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60789         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60791 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60794         computation is not scheduled after fetestexcept.
60796 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60798         [BZ #14117]
60799         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60800         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60802 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60804         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60805         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60807 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60809         [BZ #14117]
60810         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60811         <bits/wordsize.h>.
60812         (__WCHAR_MIN): Support __WORDSIZE == 64.
60813         (__WCHAR_MAX): Likewise.
60815         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60816         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60818         [BZ #14183]
60819         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60820         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60822         [BZ #14117]
60823         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60824         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60826         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60827         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60829         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60830         Defined to 1 if __x86_64__ isn't defined.
60831         (_STAT_VER_LINUX_OLD): New.
60832         (st_atime): Remove duplicate.
60833         (st_mtime): Likewise.
60834         (st_ctime): Likewise.
60836 2012-05-31  David S. Miller  <davem@davemloft.net>
60838         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60839         entries.
60841 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60843         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60844         gen-libm-test.pl.
60846         [BZ #14132]
60847         * elf/dl-reloc.c: Include <_itoa.h>.
60848         (_dl_reloc_bad_type): Remove use of INTUSE.
60849         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60850         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60851         * stdio-common/psiginfo.c (psiginfo): Likewise.
60852         * stdio-common/psignal.c (psignal): Likewise.
60853         * string/strsignal.c (strsignal): Likewise.
60854         * include/signal.h (_sys_siglist): Declare hidden proto.
60855         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60856         INTVARDEF with libc_hidden_data_def.
60857         * stdio-common/itoa-udigits.c: Likewise.
60858         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60859         (_itoa_lower_digits_internal): Remove declaration.
60860         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60861         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60862         (_sys_sigabbrev_internal): Remove aliases.
60863         (_sys_siglist): Define hidden alias.
60865 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60868         bits/sysctl.h.
60870 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60872         [BZ #14117]
60873         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60874         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60876         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60877         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60878         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60879         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60880         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60881         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60883         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60884         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60885         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60887         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60888         with __addr.
60889         (insw): Likewise.
60890         (insl): Likewise.
60891         (outsb): Likewise.
60892         (outsw): Likewise.
60893         (outsl): Likewise.
60895         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60896         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60897         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60899         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60900         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60901         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60902         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60903         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60904         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60906         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60907         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60909         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60910         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60912         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60914         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60916         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60917         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60918         to ...
60919         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60921         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60922         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60923         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60925         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60926         for x86-64.
60927         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60929 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60931         * math/math.h (M_El): Use two more decimal places.
60932         (M_LOG2El): Likewise.
60933         (M_LOG10El): Likewise.
60934         (M_LN2l): Likewise.
60935         (M_LN10l): Likewise.
60936         (M_PIl): Likewise.
60937         (M_PI_2l): Likewise.
60938         (M_PI_4l): Likewise.
60939         (M_1_PIl): Likewise.
60940         (M_2_PIl): Likewise.
60941         (M_2_SQRTPIl): Likewise.
60942         (M_SQRT2l): Likewise.
60943         (M_SQRT1_2l): Likewise.
60945 2012-05-31  David S. Miller  <davem@davemloft.net>
60947         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60948         values between float registers.
60949         * sysdeps/sparc/sparc64/memset.S: Likewise.
60950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60952 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60954         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60955         -D_FORTIFY_SOURCE=1.
60956         (CPPFLAGS-tst-longjmp_chk.c): Define.
60957         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60958         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60959         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60960         CFLAGS-tst-wchar-h.c.
60962 2012-05-31  Marek Polacek  <polacek@redhat.com>
60964         [BZ #14132]
60965         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60966         __endmntent_internal): Remove declaration.
60967         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60968         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60969         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60971 2012-05-30  David S. Miller  <davem@davemloft.net>
60973         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60974         (___Q_simulate_exceptions): Use real FP ops rather than writing
60975         into the %fsr.
60976         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60977         Likewise.
60979 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60981         [BZ #14117]
60982         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60983         * sysdeps/x86/bits/xtitypes.h: This.
60985         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60986         * sysdeps/x86/bits/wordsize.h: This.
60988         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60989         * sysdeps/x86/bits/huge_vall.h: This.
60991         * sysdeps/i386/bits/select.h: Removed.
60992         * sysdeps/x86_64/bits/select.h: Renamed to ...
60993         * sysdeps/x86/bits/select.h: This.
60995         * sysdeps/i386/bits/setjmp.h: Removed.
60996         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60997         * sysdeps/x86/bits/setjmp.h: This.
60999         * sysdeps/i386/bits/mathdef.h: Removed.
61000         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61001         * sysdeps/x86/bits/mathdef.h: This.
61003 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61005         [BZ #14132]
61006         * include/sys/socket.h (__connect_internal)
61007         (__libc_sa_len_internal): Remove declaration.
61008         (__connect, __libc_sa_len): Declare hidden_proto.
61009         (SA_LEN): Remove use of INTUSE.
61010         * socket/connect.c: Add libc_hidden_def.
61011         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61012         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61013         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61014         alias.
61015         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61016         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61017         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61018         of adding _internal alias.
61020 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61022         [BZ #14117]
61023         * sysdeps/i386/bits/link.h: Removed.
61024         * sysdeps/i386/bits/linkmap.h: Likewise.
61025         * sysdeps/x86_64/bits/link.h: Renamed to ...
61026         * sysdeps/x86/bits/link.h: This.
61027         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61028         * sysdeps/x86/bits/linkmap.h: This.
61030         * sysdeps/i386/bits/endian.h: Removed.
61031         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61032         * sysdeps/x86/bits/endian.h: This.
61034         * sysdeps/i386/bits/byteswap.h: Removed.
61035         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61036         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61037         * sysdeps/x86/bits/byteswap.h: This.
61038         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61039         * sysdeps/x86/bits/byteswap-16.h: This.
61040         * sysdeps/i386/Implies: Add x86.
61041         * sysdeps/x86_64/Implies: Likewise.
61043 2012-05-30  David S. Miller  <davem@davemloft.net>
61045         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61046         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61047         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61048         (FP_TRAPPING_EXCEPTIONS): Define.
61049         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61050         (FP_TRAPPING_EXCEPTIONS): Define.
61051         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61052         subnormals only when inexact has been signalled or underflow
61053         exceptions are enabled.
61054         (_FP_PACK_CANONICAL): Likewise.
61056 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61058         [BZ #14183]
61059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61060         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61062 2012-05-30  Richard Henderson  <rth@twiddle.net>
61064         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61065         with #ifndef NOT_IN_libc.
61067         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61068         marked to avoid plt entry.
61070 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61072         [BZ #14112]
61073         * Makeconfig (default-abi): New macro.
61074         (abi-includes): Likewise.
61075         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61076         $(abi-$(default-abi)-lib-soname) for soname if defined.
61077         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61078         abi-variants.
61079         * Makefile (installed-stubs): Likewise.
61080         * include/stubs-biarch.h: Removed.
61081         * scripts/lib-names.awk: Only handle one library at a time.
61082         * scripts/soversions.awk: Remove WORDSIZE support.
61083         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61084         entries.
61085         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61086         Removed.
61087         (syscall-list-default-condition): Likewise.
61088         (syscall-list-default-condition): Likewise.
61089         (syscall-list-includes): Likewise.
61090         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61091         syscall-list-* with abi-*.  Handle undefined abi-variants.
61092         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61093         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61094         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61095         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61096         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61097         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61098         Removed.
61099         (syscall-list-32-options): Likewise.
61100         (syscall-list-32-condition): Likewise.
61101         (syscall-list-64-options): Likewise.
61102         (syscall-list-64-condition): Likewise.
61103         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61104         macro.
61105         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61106         Renamed to ...
61107         (abi-*): This.
61108         (abi-64-ld-soname): New macro.
61109         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61110         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61111         Renamed to ...
61112         (abi-*): This.
61113         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61114         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61116 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61118         * sysdeps/unix/sysv/linux/kernel-features.h
61119         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61120         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61121         include <kernel-features.h>.
61122         [!__NR_ftruncate64]: Remove conditional code.
61123         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61124         [__NR_ftruncate64]: Make code unconditional.
61125         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61126         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61127         include <kernel-features.h>.
61128         [!__NR_ftruncate64]: Remove conditional code.
61129         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61130         [__NR_ftruncate64]: Make code unconditional.
61131         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61133         include <kernel-features.h>.
61134         [!__NR_ftruncate64]: Remove conditional code.
61135         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61136         [__NR_ftruncate64]: Make code unconditional.
61137         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61139         include <kernel-features.h>.
61140         [!__NR_ftruncate64]: Remove conditional code.
61141         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61142         [__NR_ftruncate64]: Make code unconditional.
61143         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61145         * configure.in (libc_cv_fpie): Weaken to a compile test using
61146         LIBC_TRY_CC_OPTION.
61147         * configure: Regenerated.
61149 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61155         Refreshed.
61156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61162         Refreshed.
61164 2012-05-27  David S. Miller  <davem@davemloft.net>
61166         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61167         (___Q_zero): New.
61168         (__Q_simulate_exceptions): Return void.  Change to simulate
61169         exceptions by writing into the %fsr.
61170         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61171         (__Qp_handle_exceptions): Likewise.
61172         (numbers): Delete.
61173         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61174         __Qp_handle_exceptions.
61175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61176         __Qp_handle_exceptions.
61177         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61178         as unused and give dummy FP_RND_NEAREST initializer.
61179         (FP_INHIBIT_RESULTS): Define.
61180         (___Q_simulate_exceptions): Update declaration.
61181         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61182         formatting.
61183         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61184         as unused and give dummy FP_RND_NEAREST initializer.
61185         (__Qp_handle_exceptions): Update declaration.
61186         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61187         formatting.
61189 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61191         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61192         the temporary FPU control word.
61193         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61194         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61195         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61196         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61198         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61199         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61200         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61201         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61202         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61203         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61205 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61207         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61208         fields.
61210 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61212         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61213         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61214         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61215         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61216         Likewise.
61217         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61218         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61219         Likewise.
61221 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61223         * po/h.po: Update from translation team.
61225 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61227         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61229         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61230         handling of denormals.
61231         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61232         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61233         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61234         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61237         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61238         Likewise.
61240 2012-05-26  Marek Polacek  <polacek@redhat.com>
61242         [BZ #14152]
61243         * math/libm-test.inc (fma_test): Don't always expect underflow
61244         exception.
61246 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61248         [BZ #12416]
61249         * elf/tst-execstack.c: Include stackinfo.h.
61250         (do_test): Adjust test case to ensure that pthread_getattr_np
61251         behaviour remains the same after marking stack executable.
61253 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61255         * sysdeps/unix/sysv/linux/kernel-features.h
61256         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61257         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61258         kernel-features.h.
61259         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61260         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61261         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61262         kernel-features.h.
61263         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61264         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61266 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61268         * configure.in: Define the default includes to being none.
61269         * configure: Regenerated.
61271 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61273         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61274         * sysdeps/x86_64/setjmp.S: Likewise.
61275         * sysdeps/i386/bsd-setjmp.S: Likewise.
61276         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61277         * sysdeps/i386/setjmp.S: Likewise.
61278         * sysdeps/i386/__longjmp.S: Likewise.
61279         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61280         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61282         * include/stap-probe.h: New file.
61283         * configure.in: Handle --enable-systemtap.
61284         * configure: Regenerated.
61285         * config.h.in (USE_STAP_PROBE): New #undef.
61286         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61287         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61288         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61290 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61292         [BZ #13717]
61293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61294         to 2.4.0 where earlier.
61295         * sysdeps/unix/sysv/linux/configure: Regenerated.
61296         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61297         <kernel-features.h>.
61298         [__ASSUME_32BITUIDS]: Make code unconditional.
61299         [!__ASSUME_32BITUIDS]: Remove conditional code.
61300         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61301         <kernel-features.h>.
61302         [__ASSUME_32BITUIDS]: Make code unconditional.
61303         [!__ASSUME_32BITUIDS]: Remove conditional code.
61304         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61305         [__ASSUME_32BITUIDS]: Make code unconditional.
61306         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61307         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61308         <kernel-features.h>.
61309         [__ASSUME_32BITUIDS]: Make code unconditional.
61310         [!__ASSUME_32BITUIDS]: Remove conditional code.
61311         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61312         <kernel-features.h>.
61313         [__ASSUME_32BITUIDS]: Make code unconditional.
61314         [!__ASSUME_32BITUIDS]: Remove conditional code.
61315         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61316         <kernel-features.h>.
61317         [__ASSUME_32BITUIDS]: Make code unconditional.
61318         [!__ASSUME_32BITUIDS]: Remove conditional code.
61319         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61320         <kernel-features.h>.
61321         [__ASSUME_32BITUIDS]: Make code unconditional.
61322         [!__ASSUME_32BITUIDS]: Remove conditional code.
61323         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61324         <kernel-features.h>.
61325         [__ASSUME_32BITUIDS]: Make code unconditional.
61326         [!__ASSUME_32BITUIDS]: Remove conditional code.
61327         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61328         <kernel-features.h>.
61329         [__ASSUME_32BITUIDS]: Make code unconditional.
61330         [!__ASSUME_32BITUIDS]: Remove conditional code.
61331         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61332         <kernel-features.h>.
61333         [__ASSUME_32BITUIDS]: Make code unconditional.
61334         [!__ASSUME_32BITUIDS]: Remove conditional code.
61335         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61336         <kernel-features.h>.
61337         [__ASSUME_32BITUIDS]: Make code unconditional.
61338         [!__ASSUME_32BITUIDS]: Remove conditional code.
61339         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61340         <kernel-features.h>.
61341         [__ASSUME_32BITUIDS]: Make code unconditional.
61342         [!__ASSUME_32BITUIDS]: Remove conditional code.
61343         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61344         <kernel-features.h>.
61345         [__ASSUME_32BITUIDS]: Make code unconditional.
61346         [!__ASSUME_32BITUIDS]: Remove conditional code.
61347         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61348         <kernel-features.h>.
61349         [__NR_setresgid] (__setresgid): Do not declare.
61350         [__ASSUME_32BITUIDS]: Make code unconditional.
61351         [!__ASSUME_32BITUIDS]: Remove conditional code.
61352         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61353         <kernel-features.h>.
61354         [__NR_setresuid] (__setresuid): Do not declare.
61355         [__ASSUME_32BITUIDS]: Make code unconditional.
61356         [!__ASSUME_32BITUIDS]: Remove conditional code.
61357         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61358         <kernel-features.h>.
61359         [__ASSUME_32BITUIDS]: Make code unconditional.
61360         [!__ASSUME_32BITUIDS]: Remove conditional code.
61361         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61362         <kernel-features.h>.
61363         [__ASSUME_32BITUIDS]: Make code unconditional.
61364         [!__ASSUME_32BITUIDS]: Remove conditional code.
61365         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61366         <kernel-features.h>.
61367         [__ASSUME_32BITUIDS]: Make code unconditional.
61368         [!__ASSUME_32BITUIDS]: Remove conditional code.
61369         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61370         <kernel-features.h>.
61371         [__ASSUME_32BITUIDS]: Make code unconditional.
61372         [!__ASSUME_32BITUIDS]: Remove conditional code.
61373         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61374         <kernel-features.h>.
61375         [__ASSUME_32BITUIDS]: Make code unconditional.
61376         [!__ASSUME_32BITUIDS]: Remove conditional code.
61377         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61378         <kernel-features.h>.
61379         [__ASSUME_32BITUIDS]: Make code unconditional.
61380         [!__ASSUME_32BITUIDS]: Remove conditional code.
61381         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61382         <kernel-features.h>.
61383         [__ASSUME_32BITUIDS]: Make code unconditional.
61384         [!__ASSUME_32BITUIDS]: Remove conditional code.
61385         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61386         <kernel-features.h>.
61387         [__ASSUME_32BITUIDS]: Make code unconditional.
61388         [!__ASSUME_32BITUIDS]: Remove conditional code.
61389         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61390         <kernel-features.h>.
61391         [__ASSUME_32BITUIDS]: Make code unconditional.
61392         [!__ASSUME_32BITUIDS]: Remove conditional code.
61393         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61394         <kernel-features.h>.
61395         [__ASSUME_32BITUIDS]: Make code unconditional.
61396         [!__ASSUME_32BITUIDS]: Remove conditional code.
61397         * sysdeps/unix/sysv/linux/kernel-features.h
61398         (__ASSUME_SETRESUID_SYSCALL): Remove.
61399         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61400         (__ASSUME_32BITUIDS): Likewise.
61401         (__ASSUME_LDT_WORKS): Likewise.
61402         (__ASSUME_O_DIRECTORY): Likewise.
61403         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61404         architecture but not kernel version.
61405         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61406         (__ASSUME_MMAP2_SYSCALL): Likewise.
61407         (__ASSUME_STAT64_SYSCALL): Likewise.
61408         (__ASSUME_IPC64): Likewise.
61409         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61410         <kernel-features.h>.
61411         [__ASSUME_32BITUIDS]: Make code unconditional.
61412         [!__ASSUME_32BITUIDS]: Remove conditional code.
61413         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61414         <kernel-features.h>.
61415         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61416         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61417         132096]: Remove conditional code.
61418         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61419         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61420         <kernel-features.h>.
61421         [__ASSUME_32BITUIDS]: Make code unconditional.
61422         [!__ASSUME_32BITUIDS]: Remove conditional code.
61423         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61424         <kernel-features.h>.
61425         [__ASSUME_32BITUIDS]: Make code unconditional.
61426         [!__ASSUME_32BITUIDS]: Remove conditional code.
61427         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61428         <kernel-features.h>.
61429         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61430         unconditional.
61431         (__setresgid): Do not declare.
61432         [__ASSUME_32BITUIDS]: Make code unconditional.
61433         [!__ASSUME_32BITUIDS]: Remove conditional code.
61434         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61435         <kernel-features.h>.
61436         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61437         unconditional.
61438         (__setresuid): Do not declare.
61439         [__ASSUME_32BITUIDS]: Make code unconditional.
61440         [!__ASSUME_32BITUIDS]: Remove conditional code.
61441         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61442         <kernel-features.h>.
61443         [__ASSUME_32BITUIDS]: Make code unconditional.
61444         [!__ASSUME_32BITUIDS]: Remove conditional code.
61445         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61446         <kernel-features.h>.
61447         [__ASSUME_32BITUIDS]: Make code unconditional.
61448         [!__ASSUME_32BITUIDS]: Remove conditional code.
61450 2012-05-25  Richard Henderson  <rth@twiddle.net>
61452         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61453         dl_hwcap to ifunc resolver.
61454         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61455         elf_ifunc_invoke.
61456         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61457         dl_hwcap to ifunc resolver.
61458         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61460 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #14153]
61463         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61464         for |x| <= 2**-26, not 2**-57.
61465         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61466         exception.
61468 2012-05-24  Jeff Law  <law@redhat.com>
61470         * stdio-common/Makefile (tests): Add bug25.
61471         * stdio-common/bug25.c: New test.
61473 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61475         [BZ #13576]
61476         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61477         multiple of MALLOC_ALIGNMENT in size.
61478         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61480 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61482         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61483         Require >= 256.
61484         (FILENAME_MAX): Use macro-int-constant.
61485         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61486         (_IOFBF): Use macro-int-constant.
61487         (_IOLBF): Likewise.
61488         (_IONBF): Likewise.
61489         (SEEK_CUR): Likewise.
61490         (SEEK_END): Likewise.
61491         (SEEK_SET): Likewise.
61492         (TMP_MAX): Likewise.
61493         (EOF): Use macro-int-constant.  Require < 0.
61494         (NULL): Use macro-constant.  Require == 0.
61495         (stdin): Require type to be FILE *.
61496         (stdout): Likewise.
61497         (stderr): Likewise.
61498         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61499         macro-int-constant.
61500         (EXIT_SUCCESS): Likewise.
61501         (NULL): Use macro-constant.  Require == 0.
61502         (RAND_MAX): Use macro-int-constant.
61503         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61504         [C99-based standards] (strtof): Require function.
61505         [C99-based standards] (strtold): Likewise.
61506         [C99-based standards] (strtoll): Likewise.
61507         [C99-based standards] (strtoull): Likewise.
61508         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61509         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61510         [ISO || ISO99 || ISO11] (math.h): Likewise.
61511         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61512         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61513         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61515 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61517         [BZ #14132]
61518         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61519         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61520         * intl/dgettext.c (DCGETTEXT): Likewise.
61521         * intl/gettext.c (DCGETTEXT): Likewise.
61522         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61523         * posix/regex_internal.h (gettext): Likewise.
61524         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61525         Remove declaration.
61526         * include/argz.h (__argz_count_internal)
61527         (__argz_stringify_internal): Remove declaration.
61528         (__argz_count, __argz_stringify): Declare hidden proto.
61529         * intl/dcgettext.c: Remove use of INTDEF.
61530         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61531         * string/argz-stringify.c: Likewise.
61532         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61533         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61534         Declare hidden proto.
61535         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61536         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61537         Declare hidden proto.
61538         * include/stdio.h (__asprintf_internal): Don't declare.
61539         (__asprintf): Don't define as macro.  Declare hidden proto.
61540         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61541         (__fsetlocking): Declare hidden proto.
61542         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61543         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61544         hidden proto.
61545         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61546         (_IO_setlinebuf): Remove use of INTUSE.
61547         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61548         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61549         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61550         Remove declaration.
61551         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61552         (_IO_do_flush): Remove use of INTUSE.
61553         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61554         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61555         (_IO_adjust_column, _IO_least_wmarker)
61556         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61557         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61558         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61559         (_IO_default_doallocate, _IO_wdefault_doallocate)
61560         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61561         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61562         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61563         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61564         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61565         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61566         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61567         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61568         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61569         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61570         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61571         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61572         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61573         proto.
61574         (_IO_flush_all_internal, _IO_adjust_column_internal)
61575         (_IO_default_uflow_internal, _IO_default_finish_internal)
61576         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61577         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61578         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61579         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61580         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61581         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61582         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61583         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61584         (_IO_file_close_internal, _IO_file_close_it_internal)
61585         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61586         (_IO_file_init_internal, _IO_file_attach_internal)
61587         (_IO_file_fopen_internal, _IO_file_read_internal)
61588         (_IO_file_sync_internal, _IO_file_seek_internal)
61589         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61590         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61591         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61592         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61593         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61594         (_IO_list_all_internal, _IO_link_in_internal)
61595         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61596         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61597         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61598         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61599         (_IO_do_write_internal, _IO_padn_internal)
61600         (_IO_getline_info_internal, _IO_getline_internal)
61601         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61602         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61603         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61604         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61605         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61606         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61607         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61608         with libc_hidden_ver, remove use of INTUSE.
61609         * libio/genops.c: Likewise.
61610         * libio/freopen.c: Likewise.
61611         * libio/freopen64.c: Likewise.
61612         * libio/iofclose.c: Likewise.
61613         * libio/iofdopen.c: Likewise.
61614         * libio/iofflush.c: Likewise.
61615         * libio/iofflush_u.c: Likewise.
61616         * libio/iofgets.c: Likewise.
61617         * libio/iofgets_u.c: Likewise.
61618         * libio/iofopen.c: Likewise.
61619         * libio/iofopncook.c: Likewise.
61620         * libio/iofread.c: Likewise.
61621         * libio/iofread_u.c: Likewise.
61622         * libio/ioftell.c: Likewise.
61623         * libio/iofwrite.c: Likewise.
61624         * libio/iogetline.c: Likewise.
61625         * libio/iogets.c: Likewise.
61626         * libio/iogetwline.c: Likewise.
61627         * libio/iopadn.c: Likewise.
61628         * libio/iopopen.c: Likewise.
61629         * libio/ioseekoff.c: Likewise.
61630         * libio/ioseekpos.c: Likewise.
61631         * libio/iosetbuffer.c: Likewise.
61632         * libio/iosetvbuf.c: Likewise.
61633         * libio/ioungetc.c: Likewise.
61634         * libio/ioungetwc.c: Likewise.
61635         * libio/iovdprintf.c: Likewise.
61636         * libio/iovsprintf.c: Likewise.
61637         * libio/iovsscanf.c: Likewise.
61638         * libio/memstream.c: Likewise.
61639         * libio/obprintf.c: Likewise.
61640         * libio/oldfileops.c: Likewise.
61641         * libio/oldiofclose.c: Likewise.
61642         * libio/oldiofdopen.c: Likewise.
61643         * libio/oldiofopen.c: Likewise.
61644         * libio/oldiopopen.c: Likewise.
61645         * libio/oldstdfiles.c: Likewise.
61646         * libio/putc.c: Likewise.
61647         * libio/setbuf.c: Likewise.
61648         * libio/setlinebuf.c: Likewise.
61649         * libio/stdfiles.c: Likewise.
61650         * libio/strops.c: Likewise.
61651         * libio/vasprintf.c: Likewise.
61652         * libio/vscanf.c: Likewise.
61653         * libio/vsnprintf.c: Likewise.
61654         * libio/vswprintf.c: Likewise.
61655         * libio/wfiledoalloc.c: Likewise.
61656         * libio/wfileops.c: Likewise.
61657         * libio/wgenops.c: Likewise.
61658         * libio/wmemstream.c: Likewise.
61659         * libio/wstrops.c: Likewise.
61660         * libio/__fpurge.c: Likewise.
61661         * libio/__fsetlocking.c: Likewise.
61662         * assert/assert.c: Likewise.
61663         * debug/fgets_chk.c: Likewise.
61664         * debug/fgets_u_chk.c: Likewise.
61665         * debug/fread_chk.c: Likewise.
61666         * debug/fread_u_chk.c: Likewise.
61667         * debug/gets_chk.c: Likewise.
61668         * debug/obprintf_chk.c: Likewise.
61669         * debug/vasprintf_chk.c: Likewise.
61670         * debug/vdprintf_chk.c: Likewise.
61671         * debug/vsnprintf_chk.c: Likewise.
61672         * debug/vsprintf_chk.c: Likewise.
61673         * malloc/mtrace.c: Likewise.
61674         * misc/error.c: Likewise.
61675         * misc/syslog.c: Likewise.
61676         * stdio-common/asprintf.c: Likewise.
61677         * stdio-common/fxprintf.c: Likewise.
61678         * stdio-common/getw.c: Likewise.
61679         * stdio-common/isoc99_fscanf.c: Likewise.
61680         * stdio-common/isoc99_scanf.c: Likewise.
61681         * stdio-common/isoc99_vfscanf.c: Likewise.
61682         * stdio-common/isoc99_vscanf.c: Likewise.
61683         * stdio-common/isoc99_vsscanf.c: Likewise.
61684         * stdio-common/printf-prs.c: Likewise.
61685         * stdio-common/printf_fp.c: Likewise.
61686         * stdio-common/printf_fphex.c: Likewise.
61687         * stdio-common/printf_size.c: Likewise.
61688         * stdio-common/putw.c: Likewise.
61689         * stdio-common/scanf.c: Likewise.
61690         * stdio-common/sprintf.c: Likewise.
61691         * stdio-common/tmpfile.c: Likewise.
61692         * stdio-common/vfprintf.c: Likewise.
61693         * stdio-common/vfscanf.c: Likewise.
61694         * stdlib/strfmon_l.c: Likewise.
61695         * sunrpc/openchild.c: Likewise.
61696         * sunrpc/xdr_stdio.c: Likewise.
61697         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61698         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61700 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61702         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61704         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61705         in the third column, to generate for the shared library an IFUNC
61706         that uses _dl_vdso_vsym.
61707         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61708         * Makeconfig (object-suffixes-noshared): New variable.
61710         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61711         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61712         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61713         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61715         [BZ #14132]
61716         * include/sys/time.h (__gettimeofday): Remove macro.
61717         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61718         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61719         Remove INTDEF.
61720         (__gettimeofday): Add libc_hidden_def.
61721         (gettimeofday): Add libc_hidden_weak.
61722         * sysdeps/mach/gettimeofday.c: Likewise.
61723         * sysdeps/posix/gettimeofday.c: Likewise.
61724         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61725         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61727         (__gettimeofday_internal): Remove strong_alias.
61728         (__gettimeofday): Add libc_hidden_def.
61729         (gettimeofday): Add libc_hidden_weak.
61730         * sysdeps/unix/syscalls.list (gettimeofday):
61731         Remove __gettimeofday_internal alias.
61733 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61734             H.J. Lu  <hongjiu.lu@intel.com>
61736         [BZ #12495]
61737         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61738         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61739         (largebin_index_32_big): New.
61740         (largebin_index): Use it for 16-byte alignment.
61741         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61742         correction with front_misalign.
61744 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61748         Likewise.
61749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61750         Likewise.
61751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61752         Likewise.
61753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61754         Likewise.
61755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61756         Likewise.
61757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61758         Likewise.
61759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61760         Likewise.
61761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61762         Likewise.
61763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61764         Likewise.
61765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61766         Likewise.
61767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61768         Likewise.
61769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61770         Likewise.
61772         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61773         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61775 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61777         [BZ #10846]
61778         [BZ #14036]
61779         * math/libm-test.inc (exp_test): Add test from bug 14036.
61780         (pow_test): Add test from bug 10846.
61782         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61783         and other flags.
61784         (special_function): Do not include flags in test name.
61785         (parse_args): Likewise.
61786         * sysdeps/i386/fpu/libm-test-ulps: Update.
61787         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61788         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61789         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61792         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61793         exceptions.
61794         * math/libm-test.inc ("Philosophy"): Update comment about
61795         exception testing.
61796         (UNDERFLOW_EXCEPTION): New macro.
61797         (UNDERFLOW_EXCEPTION_OK): Likewise.
61798         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61799         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61800         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61801         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61802         (INVALID_EXCEPTION_OK): Update value.
61803         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61804         (OVERFLOW_EXCEPTION_OK): Likewise.
61805         (IGNORE_ZERO_INF_SIGN): Likewise.
61806         (test_exceptions): Handle underflow exceptions.
61807         (acos_test): Update for underflow exception expectations.
61808         (cexp_test): Likewise.
61809         (clog_test): Likewise.
61810         (clog10_test): Likewise.
61811         (csqrt_test): Likewise.
61812         (ctan_test): Likewise.
61813         (ctanh_test): Likewise.
61814         (exp_test): Likewise.
61815         (exp10_test): Likewise.
61816         (exp2_test): Likewise.
61817         (expm1_test): Likewise.
61818         (fma_test): Likewise.
61819         (j0_test): Likewise.
61820         (jn_test): Likewise.
61821         (nexttoward_test): Likewise.
61822         (pow_test): Likewise.
61823         (scalbn_test): Likewise.
61824         (scalbln_test): Likewise.
61825         (tan_test): Likewise.
61826         (y1_test): Likewise.
61827         * sysdeps/i386/fpu/libm-test-ulps: Update.
61828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61830 2012-05-23  David S. Miller  <davem@davemloft.net>
61832         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61833         (__libc_sigaction): Remove unused local variables.
61835 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61837         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61839 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61841         mktime: avoid signed integer overflow
61842         * time/mktime.c (__mktime_internal): Do not mishandle the case
61843         where diff == INT_MIN.
61845         mktime: simplify computation of average
61846         * time/mktime.c (ranged_convert): Use new time_t_avg function
61847         instead of rolling our own (probably-slower) code.
61849         mktime: do not assume signed right shift propagates sign bit
61850         * time/mktime.c (isdst_differ): New static function.
61851         (__mktime_internal): No need to normalize tm_isdst now.
61852         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61853         tm_isdst values.
61855         mktime: merge another wrapv change from gnulib
61856         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61857         from some compilers.
61859         mktime: remove incorrect attempt at unusual arithmetics
61860         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61861         The code didn't really work on such machines anyway.
61862         (TYPE_MINIMUM): Assume two's complement.
61863         (twos_complement_arithmetic): Verify that long_int and time_t
61864         are two's complement (or unsigned, in the latter case).
61866         mktime: check signed shifts on long_int and time_t, too
61867         * time/mktime.c (SHR): Check that shifts work as desired
61868         on the types long_int and time_t too, as SHR is used on
61869         such types.
61871         mktime: do not assume 'long' is wide enough
61872         * time/mktime.c (verify): Move decl up.
61873         (long_int): New type.
61874         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61875         to remove assumption in the code that 'long' is wide enough to
61876         store year values.  This assumption is not true on x32 and on
61877         some non-glibc platforms.
61879         mktime: merge wrapv change from gnulib
61880         * time/mktime.c (WRAPV): New macro.
61881         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61882         (guess_time_tm, __mktime_internal): Do not assume that signed
61883         integer overflow wraps around; modern compilers generate code
61884         where this assumption is no longer valid.
61886 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61888         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61889         Replace "jmp L(pseudo_end)" with "ret".
61890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61891         Likewise.
61893 2012-05-23  Andreas Jaeger  <aj@suse.de>
61895         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61896         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61898 2012-05-23  Andreas Jaeger  <aj@suse.de>
61899             Maximilian Attems  <max@stro.at>
61901         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61902         New macros.
61904 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61906         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61907         code so that pseudo_end is just ret and the stack pointer is
61908         correct also for static library in error case.
61910 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61912         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61913         move to syscalls.list.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61919         * manual/install.texi (Running make install): Do not mention Linux
61920         kernel version for which pt_chown is not needed.
61921         (Linux): Do not mention problems with nscd with 2.0 kernels.
61922         * INSTALL: Regenerated.
61924 2012-05-23  Andreas Jaeger  <aj@suse.de>
61926         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61927         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61928         macro.
61929         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61930         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61931         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61932         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61933         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61934         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61935         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61936         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61937         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61938         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61939         * sysdeps/unix/sysv/linux/bits/in.h
61940         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61942 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61944         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61945         (PREPARE_VERSION): Just use assert instead, it will be elided
61946         under [NDEBUG] anyway.
61948 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61950         * sysdeps/unix/sysv/linux/Makefile: Include
61951         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61952         (sysdep_routines): Remove sysctl.
61953         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61954         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61955         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61956         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61957         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61959 2012-05-22  Andreas Jaeger  <aj@suse.de>
61961         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61962         that pseudo_end is just ret and the stack pointer is correct also
61963         for static library in error case.
61965 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61967         [BZ #14122]
61968         * nss/nsswitch.c (defconfig_entries): New variable.
61969         (__nss_database_lookup): Don't leak defconfig entries.
61970         (nss_parse_service_list): Don't leak on error paths.
61971         (free_database_entries): New function.
61972         (free_defconfig): New function.
61973         (free_mem): Move common code to free_database_entries.
61975 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61977         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61978         Add arch_prctl.
61979         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61981         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61982         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61984         New macro.
61985         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61986         (INTERNAL_SYSCALL_TYPES): Likewise.
61987         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61988         (LOAD_REGS_TYPES_[1-6]): Likewise.
61989         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61990         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61992 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61994         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61995         copysignl for GLIBC_2_0.
61996         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61997         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61999         logbl for GLIBC_2_0.
62000         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62001         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62003 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62005         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62006         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62008         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62009         Use "neg %eax".
62011         * time/mktime.c: Update copyright years.
62013 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62015         mktime: merge comment-quoting-style change from gnulib
62016         * time/mktime.c: Quote 'like this' in comments.
62017         The GNU coding standards suggest that we no longer quote `like this',
62018         as "`" and "'" are typically rendered asymmetrically nowadays.
62019         The typical gnulib style is to quote 'like this' when quoting
62020         code, and "like this" when quoting English.
62022         * time/mktime.c (compile-command): Add "-I.".
62024         mktime: merge mktime-internal.h change from gnulib
62025         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62027         mktime: merge time_r change from gnulib
62028         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62030         mktime: merge DEBUG change from gnulib
62031         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62032         case system <time.h> has a #define.
62034         mktime: merge <sys/types.h> change from gnulib
62035         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62036         since <time.t> is now guaranteed to define time_t.
62038         mktime: merge HAVE_CONFIG_H change from gnulib
62039         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62044         Use "neg %eax".
62046         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62047         __rlim_t cast.
62048         (struct rusage): Use anonymous union to pad each field to
62049         __syscall_slong_t.
62051 2012-05-21  David S. Miller  <davem@davemloft.net>
62053         * Makefules (o-iterator): Remove .s cases.
62054         (compile-command.s): Delete.
62055         (COMPILE.s): Delete.
62056         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62058 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62060         * configure.in (libc_cv_predef_stack_protector): Only consider
62061         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62062         * configure: Regenerated.
62064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62067         New macro.  Use R*LP on int and pointer.
62068         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62069         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62070         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62071         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62073         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62074         [__WORDSIZE_TIME64_COMPAT32] instead of
62075         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62076         (struct utmp): Likewise.
62077         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62078         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62079         Renamed to ...
62080         (__WORDSIZE_TIME64_COMPAT32): This.
62081         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62082         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62083         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62084         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62085         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62086         (__WORDSIZE_TIME64_COMPAT32): New macro.
62088 2012-05-21  Andreas Jaeger  <aj@suse.de>
62090         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62091         only if [SHARED]. Add prototype for __wcschr_ia32.
62093 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62095         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62096         of %rbp unmolested in the jmp_buf while mangling the low bits.
62097         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62098         unmolested high bits of %rbp while demangling the low bits.
62099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62101 2012-05-21  Andreas Jaeger  <aj@suse.de>
62103         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62104         * sunrpc/svc_simple.c: Use it for registerrpc.
62105         * sunrpc/xcrypt.c: Use it for passwd2des.
62107         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62109 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62111         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62112         Don't define if [__SYSCALL_WORDSIZE != 32].
62113         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62114         New macro.
62116 2012-05-21  Bruno Haible  <bruno@clisp.org>
62117             Andreas Jaeger  <aj@suse.de>
62119         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62120         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62121         inptr and inend for must_buffer_ch.
62122         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62123         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62124         * stdio-common/Makefile (tests): Remove bug15.
62125         (bug15-ENV): Remove macro.
62126         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62127         anymore.
62129 2012-05-19  Andreas Jaeger  <aj@suse.de>
62130             Roland McGrath  <roland@hack.frob.com>
62132         * manual/contrib.texi: Completely rewritten. It contains now an
62133         alphabetical list of contributors and their contributions.
62135 2012-05-21  Richard Henderson  <rth@twiddle.net>
62137         * misc/getauxval.c (__getauxval): Use unsigned long int.
62138         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62139         (getauxval): Use unsigned long int.
62141 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62143         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62145 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62147         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62148         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62149         __alignof__ (long double).
62151 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62155 2012-05-20  Richard Henderson  <rth@twiddle.net>
62157         * misc/getauxval.c: New file.
62158         * misc/sys/auxv.h: New file.
62159         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62160         (routines): Add getauxval.
62161         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62162         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62163         * elf/dl-sysdep.c (_dl_auxv): Remove.
62164         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62165         * elf/dl-support.c (_dl_auxv): New variable.
62166         (_dl_aux_init): Initialize it.
62167         * manual/startup.texi (Auxiliary Vector): New node.
62168         * sysdeps/generic/bits/hwcap.h: New file.
62169         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62170         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62171         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62172         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62173         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62174         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62176         Update.
62177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62186 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62190 2012-05-19  David S. Miller  <davem@davemloft.net>
62192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62194 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62196         [BZ #14123]
62197         * math/s_ccosh.c: Include <float.h>
62198         (__ccosh): Avoid internal overflow calculating sinh and cosh
62199         values before multiplying by sin and cos values.
62200         * math/s_ccoshf.c: Likewise.
62201         * math/s_ccoshl.c: Likewise.
62202         * math/s_csin.c: Likewise.
62203         * math/s_csinf.c: Likewise.
62204         * math/s_csinl.c: Likewise.
62205         * math/s_csinh.c: Likewise.
62206         * math/s_csinhf.c: Likewise.
62207         * math/s_csinhl.c: Likewise.
62208         * math/libm-test.inc (ccos_test): Add more tests.
62209         (ccosh_test): Likewise.
62210         (csin_test): Likewise.
62211         (csinh_test): Likewise.
62212         * sysdeps/i386/fpu/libm-test-ulps: Update.
62213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62215 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62217         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62218         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62220         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62222 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62224         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62225         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62226         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62227         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62228         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62229         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62230         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62231         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62232         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62233         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62234         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62235         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62236         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62237         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62238         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62239         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62240         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62241         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62242         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62243         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62244         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62245         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62246         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62247         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62248         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62249         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62250         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62251         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62252         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62253         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62254         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62256 2012-05-18  Andreas Jaeger  <aj@suse.de>
62258         * csu/.gitignore: Delete.
62260 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62262         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62263         (timex): Use __syscall_slong_t.
62265 2012-05-18  Andreas Jaeger  <aj@suse.de>
62266             Carlos O'Donell  <carlos_odonell@mentor.com>
62268         * manual/install.texi (Configuring and compiling): Update
62269         description about files modified in the source directory.
62270         * INSTALL: Regenerated.
62272 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62274         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62275         value.  Use "or" to set return value to -1.
62276         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62277         negate return value.
62279 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62281         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62282         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62283         failure if the compiler has Graphite support disabled.
62284         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62285         Likewise.
62286         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62287         (CFLAGS-memmove.c): Likewise.
62288         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62289         Likewise.
62291 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/x86_64/x32/_itoa.h: New file.
62295         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62296         getdents system call only if kernel and user dirents have the
62297         same d_ino and d_off.
62299         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62300         LLONG_MAX != LONG_MAX.
62301         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62302         (_fitoa_word): Likewise.
62304         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62305         years.
62306         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62307         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62308         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62310         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62311         include <bits/wordsize.h>.  Check __x86_64__ instead of
62312         __WORDSIZE.
62313         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62314         if __x86_64__ is defined.  Use anonymous union on fpstate.
62316         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62317         anonymous union.
62319 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62321         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62322         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62323         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62324         Refer to _rtld_local_ro instead of _rtld_global_ro.
62325         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62326         Likewise.
62327         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62328         Likewise.
62329         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62330         Likewise.
62331         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62332         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62333         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62335         [BZ #10882]
62336         * sysdeps/powerpc/powerpc32/dl-machine.c
62337         (__elf_machine_runtime_setup) [PROF]: Don't reference
62338         _dl_prof_resolve.
62340 2012-05-18  Andreas Jaeger  <aj@suse.de>
62342         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62343         function only available for GCCs before 3.4 since GCC 3.4
62344         introduced a builtin.
62345         (lrint): Likewise.
62346         (llrintf): Likewise.
62347         (llrint): Likewise.
62348         (fmaxf): Likewise.
62349         (fmax): Likewise.
62350         (fminf): Likewise.
62351         (fmin): Likewise.
62352         (rint): Likewise.
62353         (rintf): Likewise.
62354         (nearbyint): Likewise.
62355         (nearbyintf): Likewise.
62356         (ceil): Likewise.
62357         (ceilf): Likewise.
62358         (floor): Likewise.
62359         (floorf): Likewise.
62361 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62363         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62364         on both fields and cast pointer to __syscall_ulong_t.
62366         * bits/types.h (__fsword_t): New type.
62367         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62368         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62370         (__FSWORD_T_TYPE): Likewise.
62371         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62372         (__FSWORD_T_TYPE): Likewise.
62373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62374         (__FSWORD_T_TYPE): Likewise.
62375         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62376         (__FSWORD_T_TYPE): Likewise.
62377         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62378         __SWORD_TYPE with __fsword_t.
62379         (statfs64): Likewise.
62381 2012-05-17  David S. Miller  <davem@davemloft.net>
62383         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62385 2012-05-17  Andreas Jaeger  <aj@suse.de>
62387         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62388         warning.
62390 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62392         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62394 2012-05-17  Andreas Jaeger  <aj@suse.de>
62396         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62397         when it is used.
62399 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62401         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62403 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62405         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62406         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62408 2012-05-17  Andreas Jaeger  <aj@suse.de>
62409             Carlos O'Donell  <carlos_odonell@mentor.com>
62411         [BZ #14059]
62412         * sysdeps/x86_64/multiarch/init-arch.h
62413         (bit_YMM_Usable): Rename to...
62414         (bit_AVX_Usable): ... this.
62415         (bit_FMA4_Usable): New macro.
62416         (bit_XMM_state): New macro.
62417         (bit_YMM_state): New macro.
62418         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62419         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62420         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62421         (CPUID_OSXSAVE): New macro.
62422         (CPUID_AVX): New macro.
62423         (CPUID_FMA4): New macro.
62424         (index_YMM_Usable): Rename to...
62425         (index_AVX_Usable): ... this.
62426         (HAS_AVX): Use HAS_ARCH_FEATURE.
62427         (HAS_FMA4): Likewise.
62428         (HAS_YMM_USABLE): Remove.
62429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62430         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62431         are present.
62432         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62433         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62434         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62435         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62436         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62438 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62440         * math/libm-test.c: Support platforms without multiple rounding modes.
62441         * math/bug-nextafter.c: Support platforms without FP exceptions.
62442         * math/bug-nexttoward.c: Likewise.
62443         * math/test-fenv.c: Likewise.
62444         * math/test-misc.c: Likewise.
62445         * stdlib/bug-getcontext.c: Likewise.
62447 2012-05-17  Andreas Jaeger  <aj@suse.de>
62449         * manual/examples/search.c (critter_cmp): Change signature to
62450         avoid warnings.
62451         * manual/string.texi (Collation Functions): Likewise.
62453 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62455         * bits/types.h: Fold copyright years.
62456         * bits/typesizes.h: Likewise.
62457         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62461         * time/time.h: Likewise.
62463 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62465         [BZ #208]
62466         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62467         in instead of returning them.  Return void.
62468         (__libc_mallinfo): Accumulate over all arenas.
62469         (__malloc_stats): Adjust for change in int_mallinfo interface.
62471 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62473         [BZ #10375]
62474         * configure.in (NM): Add AC_CHECK_TOOL for it.
62475         (libc_extra_cflags): New substituted variable.
62476         Check for -fstack-protector being used implicitly.
62477         * configure: Regenerated.
62478         * config.make.in (config-extra-cflags): New variable,
62479         gets @libc_extra_cflags@.
62480         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62482         [BZ #10375]
62483         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62484         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62485         * configure: Regenerated.
62486         * config.make.in (CPPUNDEFS): New substituted variable.
62487         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62488         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62489         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62493         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62494         (mq_attr): Use __syscall_slong_t.
62496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62498         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62499         Check __x86_64__ instead of __WORDSIZE.
62500         (_STAT_VER_LINUX): Likewise.
62501         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62502         __syscall_ulong_t and __syscall_slong_t.
62503         (stat64): Likewise.
62505 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62509 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62511         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62515         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62516         __syscall_ulong_t.
62518         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62519         include <bits/wordsize.h>.  Check __x86_64__ instead of
62520         __WORDSIZE.
62521         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62522         defined.
62523         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62525         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62526         include <bits/wordsize.h>.  Check __x86_64__ instead of
62527         __WORDSIZE.
62528         (user_regs_struct): Use "__extension__ unsigned long long"
62529         instead of "unsigned long" if __x86_64__ is defined.
62530         (user): Likewise.  Pad after pointer field if __ILP32__ is
62531         defined.
62533 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62535         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62536         versions 5 to 9.
62537         * configure: Regenerated.
62538         * manual/install.texi (texinfo): Increase version requirement to
62539         4.5 or later.
62540         * INSTALL: Regenerated.
62542         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62544 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62546         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62548         * sysdeps/x86_64/x32/ffs.c: New file.
62550         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62551         __syscall_ulong_t.
62552         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62553         defined.  Use __syscall_ulong_t.
62554         (shminfo): Use __syscall_ulong_t.
62555         (shm_info): Likewise.
62557         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62558         __syscall_ulong_t.
62560         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62561         <bits/wordsize.h>.
62562         (msgqnum_t): Use __syscall_ulong_t.
62563         (msglen_t): Likewise.
62564         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62565         __syscall_ulong_t.
62567         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62568         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62570         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62572         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62573         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62575         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62576         __syscall_slong_t.
62578         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62579         include <bits/wordsize.h>.  Check __x86_64__ instead of
62580         __WORDSIZE.
62582         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62583         "unsigned long long int" if __x86_64__ is defined.
62584         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62586         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62587         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62588         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62590         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62591         <stdint.h>.
62592         (GET_PC): Cast to uintptr_t first.
62593         (GET_FRAME): Likewise.
62594         (GET_STACK): Likewise.
62596         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62597         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62598         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62599         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62600         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62601         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62602         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62603         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62604         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62605         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62606         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62607         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62608         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62609         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62610         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62611         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62612         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62613         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62614         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62615         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62616         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62617         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62618         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62619         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62620         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62621         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62622         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62623         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62624         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62626 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62628         * Makerules (+depfiles): Also collect depfiles from .oS in
62629         $(extra-objs).
62630         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62631         .oS, $(libnldbl-routines)).
62633         * Makerules (native-compile-mkdep-flags): Define.
62634         * sunrpc/Makefile (extra-objs): Add $(addprefix
62635         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62636         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62637         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62638         calling $(make-target-directory).
62640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62642         * bits/types.h (__snseconds_t): Removed.
62643         * time/time.h (struct timespec): Replace __snseconds_t with
62644         __syscall_slong_t.
62645         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62646         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62647         Likewise.
62648         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62649         (__SNSECONDS_T_TYPE): Likewise.
62650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62651         (__SNSECONDS_T_TYPE): Likewise.
62652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62653         (__SNSECONDS_T_TYPE): Likewise.
62655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/mach/hurd/bits/typesizes.h
62658         (__SYSCALL_SLONG_TYPE): New macro.
62659         (__SYSCALL_ULONG_TYPE): Likewise.
62661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62663         * bits/types.h (__syscall_slong_t): New type.
62664         (__syscall_ulong_t): Likewise.
62666         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62667         (__SYSCALL_ULONG_TYPE): Likewise.
62668         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62669         (__SYSCALL_SLONG_TYPE): Likewise.
62670         (__SYSCALL_ULONG_TYPE): Likewise.
62671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62672         (__SYSCALL_SLONG_TYPE): Likewise.
62673         (__SYSCALL_ULONG_TYPE): Likewise.
62674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62675         (__SYSCALL_SLONG_TYPE): Likewise.
62676         (__SYSCALL_ULONG_TYPE): Likewise.
62678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62680         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62681         Add sigaltstack-offsets.sym.
62682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62683         <sigaltstack-offsets.h>.
62684         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62685         longjmp_msg pointer.
62686         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62687         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62688         signal stack.
62689         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62691 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62693         * elf/stackguard-macros.h: Remove file.
62694         * sysdeps/generic/stackguard-macros.h: New file.
62695         * sysdeps/i386/stackguard-macros.h: Likewise.
62696         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62697         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62698         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62699         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62700         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62701         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62702         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62703         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62704         <elf/stackguard-macros.h>.
62706         [BZ #14109]
62707         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62708         __aligned__ in attribute.
62709         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62710         (gregset_t): Likewise.
62712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62714         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62715         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62716         * sysdeps/x86_64/x32/Implies-after: New file.
62718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62720         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62721         and access return value for _dl_profile_fixup.  Use R10_LP to
62722         load frame size.
62724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62726         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62730         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62731         * sysdeps/x86_64/x32/sysdep.h: New file.
62733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62735         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62736         * sysdeps/x86_64/setjmp.S: Likewise.
62738 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62740         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62741         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62742         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62743         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62744         remove unused global constant.
62746 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62748         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62749         include of <not-cancel.h>.
62751 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62753         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62755 2012-05-15  Jeff Law  <law@redhat.com>
62756             Andreas Jaeger  <aj@suse.de>
62758         [BZ #13594]
62759         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62760         out from...
62761         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62762         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62763         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62764         code changing __hst_map_handle.map.
62766 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62768         * configure.in (sysnames): Look for Implies-before and Implies-after
62769         files.
62770         * configure: Regenerated.
62772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62774         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62775         8-byte data alignment with LP_SIZE alignment.
62777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62780         into R10_LP.
62782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62784         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62788         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62789         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62790         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62791         Likewise.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62796         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62797         (stackinfo_sub_sp): Likewise.
62799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62801         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62802         RAX_LP.
62804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62806         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62807         into R*_LP.
62809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62811         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62812         sizes into R*_LP.
62814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62816         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62820         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62821         into R11_LP and load __x86_64_shared_cache_size_half into
62822         R8_LP.
62824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62826         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62827         R8_LP.
62829 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62832         logb for POWER7.
62833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62834         logbf for POWER7.
62835         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62836         logbl for POWER7.
62837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62838         powerpc32/power7/fpu/s_logb.c via #include.
62839         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62840         powerpc32/power7/fpu/s_logbf.c via #include.
62841         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62842         powerpc32/power7/fpu/s_logbl.c via #include.
62844 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62846         * README.libm: Remove file.
62848 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62850         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62851         count for x32.  Use R*_LP and omit operand-size suffix.
62853 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62855         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62856         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62857         * sysdeps/x86_64/x32/shlib-versions: New file.
62859 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62861         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62862         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62863         Use _dl_fatal_printf instead.
62865 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62867         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62868         set if not set by the user.  Do not allow for being unset.
62869         * sysdeps/unix/sysv/linux/configure: Regenerated.
62871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62873         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62874         the `q' suffix from lea and replace .quad with ASM_ADDR.
62876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62879         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62880         instead of $17.
62881         (PTR_DEMANGLE): Likewise.
62883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62885         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62886         (LP_OP): Likewise.
62887         (ASM_ADDR): Likewise.
62888         (RAX_LP): Likewise.
62889         (RBP_LP): Likewise.
62890         (RBX_LP): Likewise.
62891         (RCX_LP): Likewise.
62892         (RDI_LP): Likewise.
62893         (RSI_LP): Likewise.
62894         (RSP_LP): Likewise.
62895         (R8_LP): Likewise.
62896         (R9_LP): Likewise.
62897         (R10_LP): Likewise.
62898         (R10_LP): Likewise.
62899         (R11_LP): Likewise.
62900         (R12_LP): Likewise.
62901         (R13_LP): Likewise.
62902         (R14_LP): Likewise.
62903         (R15_LP): Likewise.
62905 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62907         * sysdeps/x86_64/x32/dl-machine.h: New file.
62909 2012-05-14  Andreas Jaeger  <aj@suse.de>
62911         * manual/Makefile (subdir): Remove export of subdir.
62912         (all): Remove target.
62913         (.PHONY): Remove all from list.
62914         (mkinstalldirs): Remove.
62915         (.PHONY): Remove installdirs from list.
62916         ($(inst_infodir)/libc.info): Use make-target-directory.
62917         (installdirs): Remove.
62918         (subdir_%): Remove.
62919         (glibc-targets): Remove.
62920         (lib): Remove.
62921         (stubs): Remove.
62922         ($(objpfx)stubs ../po/manual.pot): Remove.
62923         ($(objpfx)stamp%): Remove.
62924         (make-target-directory): Remove.
62925         (subdir_install): Remove.
62926         (routines): Remove.
62927         (aux): Remove.
62928         (sources): Remove.
62929         (objects): Remove.
62930         (headers): Remove.
62932         [BZ #13750]
62933         * manual/.gitignore: Remove, it's not needed anymore.
62934         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62935         all files in it.
62936         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62937         directory.
62938         (texis): Renamed to $(objpfx)texis.
62939         (texis-path): New, contains path to generated files.
62940         (chapters.%): Use texis-path for complete path, add extra argument
62941         libc-texinfo.sh.
62942         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62943         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62944         (summary,texi, stamp-summary): Use complete path of
62945         files. Generate files in build dir.
62946         (dir-add.texi): Build in build dir.
62947         (libm-err.texi,stamp-libm-err): Likewise.
62948         (version.texi, stamp-version): Likewise.
62949         (.%c.texi): Likewise.
62950         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62951         (mostlyclean): Remove target.
62952         (realclean): Remove target.
62953         (generated): Add new variable with contents from mostlyclean and
62954         realclean, remove entries duplicated in common-mostlyclean, add
62955         stamp-libm-err and stamp-version.
62956         (generated-dirs): Add libc directory.
62957         ($(inst_infodir)/libc.info): Install files from build dir.
62959         * manual/install.texi (Configuring and compiling): Adjust since
62960         the info files are not part of the tar ball anymore.
62962 2012-05-14  Andreas Jaeger  <aj@suse.de>
62964         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62965         variable.
62967 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62969         [BZ #13717]
62970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62971         to 2.2.0 where earlier.
62972         * sysdeps/unix/sysv/linux/configure: Regenerated.
62973         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62974         Remove conditional code.
62975         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62976         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62977         Remove conditional code.
62978         [!__NR_lchown]: Likewise.
62979         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62980         [__NR_lchown]: Likewise.
62981         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62982         comment referencing __ASSUME_LCHOWN_SYSCALL.
62983         * sysdeps/unix/sysv/linux/i386/sigaction.c
62984         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62985         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62986         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62987         Remove conditional code.
62988         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62989         (__protocol_available): Remove #if 0 code.
62990         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62991         conditional code.
62992         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62993         * sysdeps/unix/sysv/linux/kernel-features.h
62994         (__ASSUME_GETCWD_SYSCALL): Don't define.
62995         (__ASSUME_REALTIME_SIGNALS): Likewise.
62996         (__ASSUME_PREAD_SYSCALL): Likewise.
62997         (__ASSUME_PWRITE_SYSCALL): Likewise.
62998         (__ASSUME_POLL_SYSCALL): Likewise.
62999         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63000         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63001         non-SPARC.
63002         (__ASSUME_SIOCGIFNAME): Don't define.
63003         (__ASSUME_MSG_NOSIGNAL): Likewise.
63004         (__ASSUME_SENDFILE): Define unconditionally.
63005         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63006         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63007         conditional code.
63008         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63009         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63010         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63011         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63012         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63013         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63014         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63016         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63017         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63019         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63022         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63023         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63025         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63026         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63028         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63034         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63039         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63040         Remove conditional code.
63041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63042         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63043         Remove conditional code.
63044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63045         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63046         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63047         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63048         Remove conditional code.
63049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63050         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63051         Remove conditional code.
63052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63053         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63054         Remove conditional code.
63055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63056         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63057         Remove conditional code.
63058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63059         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63060         Remove conditional code.
63061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63062         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63063         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63065         * sysdeps/unix/sysv/linux/sigaction.c
63066         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63067         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63068         * sysdeps/unix/sysv/linux/sigpending.c
63069         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63070         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63071         * sysdeps/unix/sysv/linux/sigprocmask.c
63072         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63073         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63074         * sysdeps/unix/sysv/linux/sigsuspend.c
63075         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63076         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63077         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63078         (__libc_missing_rt_sigs): Remove.
63079         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63080         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63081         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63082         Remove conditional code.
63083         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63084         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63085         return 1.
63086         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63087         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63088         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63089         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63091 2012-05-14  Andreas Jaeger  <aj@suse.de>
63093         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63094         it's not used in glibc.
63095         (__coshm1): Likewise.
63096         (__acosh1p): Likewise.
63097         (__sgn): Likewise.
63099         * manual/string.texi (Copying and Concatenation): Add missing
63100         variable in concat example.
63101         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63105         [BZ #14103]
63106         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63107         __builtin_clzl with __builtin_clzll.
63109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63111         [BZ #14104]
63112         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63113         libc_freeres_ptr.
63115 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63117         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63118         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63119         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63120         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63122 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63124         * NEWS: Update ia64 info.
63126 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63128         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63129         used as bcopy.
63131 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63133         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63134         * sysdeps/unix/syscalls.list (dup3): Likewise.
63135         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63136         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63138 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63140         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63141         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63143 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63145         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63146         thread pointer.
63147         (TLS_IE): Use mov/add instead of movq/addq to load thread
63148         pointer.
63149         (TLS_GD_PREFIX): New.
63150         (TLS_GD): Use it.
63152 2012-05-11  David S. Miller  <davem@davemloft.net>
63154         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63155         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63156         (_FPU_SETCW): Likewise.
63158 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63160         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63161         is 32-byte aligned.
63163 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63165         [BZ #11837]
63166         * iconvdata/gb18030.c: Update tables.
63167         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63168         characters specially.
63169         (BODY for TO_LOOP): Add encoding of missing ranges.
63171 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63173         [BZ #13673]
63174         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63175         * sysdeps/mach/hurd/dup3.c: Likewise.
63176         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63177         * sysdeps/powerpc/memmove.c:: Likewise.
63179 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63182         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63186         * elf/elf.h (R_X86_64_RELATIVE64): New.
63187         (R_X86_64_NUM): Updated.
63188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63189         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63190         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63191         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63192         tst-quad1pie tst-quad2pie
63193         (modules-names): Add tst-quadmod1 tst-quadmod2.
63194         ($(objpfx)tst-quad1): New dependency.
63195         ($(objpfx)tst-quad2): Likewise.
63196         ($(objpfx)tst-quad1pie): Likewise.
63197         ($(objpfx)tst-quad2pie): Likewise.
63198         * sysdeps/x86_64/tst-quad1.c: New file.
63199         * sysdeps/x86_64/tst-quad1pie.c: New file.
63200         * sysdeps/x86_64/tst-quad2.c: Likewise.
63201         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63202         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63203         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63204         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63205         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63209         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63210         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63211         * streams/stropts.h (t_scalar_t): Define type.
63213         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63214         (_PATH_PRESERVE): Set to "/var/lib".
63215         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63217         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63218         instead of int.
63220         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63221         if __dir_mkfile succeeded.
63223         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63224         checking for _hurd_dtablesize.  Unlock it right after having
63225         finished _hurd_dtable allocation.
63227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63229         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63230         * sysdeps/mach/hurd/configure: Regenerated.
63231         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63232         special-casing to...
63233         * sysdeps/gnu/configure.in: ... this new file.
63234         * sysdeps/unix/sysv/linux/configure: Regenerated.
63235         * sysdeps/gnu/configure: New generated file.
63237         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63238         for Linux: use nsec instead of usec, as well as:
63239         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63240         members of type struct timespec.
63241         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63242         New macros.
63243         (struct stat64): Likewise.
63244         (_STATBUF_ST_NSEC): New macro.
63245         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63247         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63248         __strtoul_internal rather than strtoul.
63250 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63252         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63253         and reject them.
63255 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63257         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63258         which preserves existing values.
63259         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63261 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63263         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63264         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63265         greater than FD_SETSIZE.
63267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63269         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63270         allocated, call __vm_protect to finish enabling the existing space, and
63271         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63272         allocate the remainder.
63274 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63276         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63277         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63281         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63282         sysdeps/mach/hurd/readlink.c.
63284         * posix/tst-sysconf.c (posix_options): Only use
63285         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63286         _POSIX_SYNCHRONIZED_IO when they are defined
63287         * sysdeps/mach/hurd/bits/posix_opt.h:
63288         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63289         (_XOPEN_REALTIME): Undefine macro.
63290         (_XOPEN_REALTIME_THREADS): Undefine macro.
63291         (_XOPEN_SHM): Undefine macro.
63292         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63293         macro to -1.
63294         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63295         macro to -1.
63296         (_POSIX_ASYNC_IO): Undefine macro.
63297         (_POSIX_PRIORITIZED_IO): Undefine macro.
63298         (_POSIX_SPIN_LOCKS): Define macro to -1.
63300         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63301         SA_NODEFER, SA_RESETHAND.
63302         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63303         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63304         F_DUPFD_CLOEXEC.
63306 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63308         * elf/Makefile (pldd-modules): Define unconditionally.
63310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63312         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63314 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63316         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63317         Return ENOENT when name is empty.
63318         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63320 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63322         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63324         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63328         Fix mlock in all cases except non-readable pages.
63329         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63330         instead of VM_PROT_ALL as parameter to __vm_wire function.
63332         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63333         (__mkdir): When path is `/', just fail with EEXIST.
63334         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63336 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63338         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63339         <sys/uio.h> (for writev).
63340         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63341         and <sys/param.h> (for MIN).
63343 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63345         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63346         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63347         if interrupted.
63349 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63351         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63352         Depend on against $(link-rpcuserlibs).
63354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63356         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63357         (__libc_stack_end): Do not use attribute_relro.
63358         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63359         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63360         to libthread-provided value.
63361         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63362         attribute_relro.
63364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63366         [BZ #3748]
63367         * bits/libc-lock.h (__libc_once_get): New macro.
63368         * sysdeps/mach/bits/libc-lock.h: Likewise.
63369         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63370         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63371         instead of using implementation details.
63373         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63374         * libio/freopen.c: Likewise.
63375         * libio/freopen64.c: Likewise.
63376         * misc/syslog.c: Likewise.
63377         * nscd/connections.c: Likewise.
63378         * nscd/netgroupcache.c: Likewise.
63379         * sysdeps/posix/getcwd.c: Likewise.
63381 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63383         * math/w_ilogbf.c: Add #include <limits.h>.
63385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63387         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63388         path instead of returning without unlocking.
63390         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63391         immediate-write ioctls.
63392         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63396         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63397         __builtin_frame_address instead of making assumptions about the
63398         location of the return address relative to DATA.  Force early load of
63399         the return address.
63400         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63401         __builtin_frame_address.
63403         dup3 for GNU Hurd.
63404         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63405         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63406         implement dup3 and do some further code clean-ups.
63407         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63408         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63412         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63414         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63415         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63416         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63417         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63418         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63419         d->port.lock.
63421         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63422         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63423         when handler == SIG_ERR, not when handler != SIG_ERR.
63425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63427         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63428         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63429         definitions.
63431         accept4 for GNU Hurd.
63432         * include/sys/socket.h (__libc_accept4): New prototype.
63433         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63434         to implement __libc_accept4.
63435         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63436         __libc_accept4.
63437         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63439         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63440         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63441         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63442         signal-defines.sym.
63444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63446         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63450         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63451         assertion on O_CLOEXEC flag.
63452         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63453         * hurd/intern-fd.c: Likewise.
63454         * hurd/port2fd.c: Likewise.
63456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63458         [BZ #3906]
63459         * bits/in.h (IPV6_PKTINFO): Define new macro.
63460         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63462 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63464         [BZ #13954]
63465         [BZ #13955]
63466         [BZ #13956]
63467         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63468         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63469         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63470         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63471         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63472         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63473         * math/libm-test.inc (logb_test) : Additional logb tests.
63475 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63476             Andreas Jaeger  <aj@suse.de>
63478         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63479         * configure: Regenerated.
63480         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63481         * config.make.in (link-obsolete-rpc): New substituted variable.
63482         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63483         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63484         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63485         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63486         so that libc.a contains the symbols.
63487         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63488         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63489         * sunrpc/auth_none.c: Likewise.
63490         * sunrpc/auth_unix.c: Likewise.
63491         * sunrpc/authdes_prot.c: Likewise.
63492         * sunrpc/authuxprot.c: Likewise.
63493         * sunrpc/clnt_gen.c: Likewise.
63494         * sunrpc/clnt_perr.c: Likewise.
63495         * sunrpc/clnt_raw.c: Likewise.
63496         * sunrpc/clnt_simp.c: Likewise.
63497         * sunrpc/clnt_tcp.c: Likewise.
63498         * sunrpc/clnt_udp.c: Likewise.
63499         * sunrpc/clnt_unix.c: Likewise.
63500         * sunrpc/des_crypt.c: Likewise.
63501         * sunrpc/des_soft.c: Likewise.
63502         * sunrpc/get_myaddr.c: Likewise.
63503         * sunrpc/key_call.c: Likewise.
63504         * sunrpc/key_prot.c: Likewise.
63505         * sunrpc/netname.c: Likewise.
63506         * sunrpc/pm_getmaps.c: Likewise.
63507         * sunrpc/pm_getport.c: Likewise.
63508         * sunrpc/pmap_clnt.c: Likewise.
63509         * sunrpc/pmap_prot.c: Likewise.
63510         * sunrpc/pmap_prot2.c: Likewise.
63511         * sunrpc/pmap_rmt.c: Likewise.
63512         * sunrpc/publickey.c: Likewise.
63513         * sunrpc/rpc_cmsg.c: Likewise.
63514         * sunrpc/rpc_common.c: Likewise.
63515         * sunrpc/rpc_dtable.c: Likewise.
63516         * sunrpc/rpc_prot.c: Likewise.
63517         * sunrpc/rpc_thread.c: Likewise.
63518         * sunrpc/rtime.c: Likewise.
63519         * sunrpc/svc.c: Likewise.
63520         * sunrpc/svc_auth.c: Likewise.
63521         * sunrpc/svc_raw.c: Likewise.
63522         * sunrpc/svc_run.c: Likewise.
63523         * sunrpc/svc_tcp.c: Likewise.
63524         * sunrpc/svc_udp.c: Likewise.
63525         * sunrpc/svc_unix.c: Likewise.
63526         * sunrpc/svcauth_des.c: Likewise.
63527         * sunrpc/xcrypt.c: Likewise.
63528         * sunrpc/xdr.c: Likewise.
63529         * sunrpc/xdr_array.c: Likewise.
63530         * sunrpc/xdr_float.c: Likewise.
63531         * sunrpc/xdr_intXX_t.c: Likewise.
63532         * sunrpc/xdr_mem.c: Likewise.
63533         * sunrpc/xdr_rec.c: Likewise.
63534         * sunrpc/xdr_ref.c: Likewise.
63535         * sunrpc/xdr_sizeof.c: Likewise.
63536         * sunrpc/xdr_stdio.c: Likewise.
63538 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63540         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63541         change.  Update copyright years.
63543 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63545         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63547 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63548             Joseph Myers  <joseph@codesourcery.com>
63549             Paul Pluzhnikov  <ppluzhnikov@google.com>
63551         [BZ #14012]
63552         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63553         requiring rpcgen.
63554         [cross-compiling] (extra-libs): Likewise.
63555         [cross-compiling] (extra-libs-others): Likewise.
63556         [cross-compiling] (librpcsvc-routines): Likewise.
63557         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63558         [cross-compiling] (omit-deps): Likewise.
63559         (sunrpc-CPPFLAGS): New variable.
63560         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63561         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63562         (cross-rpcgen-objs): New variable.
63563         (extra-objs): Append $(cross-rpcgen-objs).
63564         ($(cross-rpcgen-objs)): New rule.
63565         ($(objpfx)cross-rpcgen): Likewise.
63566         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63567         comment.
63568         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63569         ($(objpfx)x%.stmp): Likewise.
63570         * sunrpc/proto.h [IS_IN_build] (_): Define.
63571         [IS_IN_build] (_libc_intl_domainname): Likewise.
63573 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63575         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63576         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63577         and R_X86_64_TPOFF64.
63579 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63581         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63582         sysdeps/unix/sysv/syscalls.list.
63583         (stime): Likewise.
63584         (utime): Likewise.
63585         * sysdeps/unix/sysv/syscalls.list: Remove file.
63587 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63589         [BZ #3440]
63590         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63591         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63592         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63593         (__LC_IDENTIFICATION): Make these macros useful in #if
63594         expressions, as required by C99.
63596 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63598         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63599         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63600         after this.
63602 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63604         * stdlib/longlong.h: Updated from GCC.
63606 2012-05-09  Andreas Jaeger  <aj@suse.de>
63608         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63609         default is first entry.
63610         (run_mode): Set type.
63611         (main): Remove informal message about syslog.
63612         (options): Fix typo.
63614         [BZ #14053]
63615         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63616         to asm.
63617         (lrint): Likewise.
63618         (llrintf): Likewise.
63619         (llrint): Likewise.
63620         (rint): Likewise.
63621         (rintf): Likewise.
63622         (nearbyint): Likewise.
63623         (nearbyintf): Likewise.
63625 2012-05-09  Andreas Jaeger  <aj@suse.de>
63626             Pedro Alves  <palves@redhat.com>
63628         * nscd/nscd.c (run_mode): Use enum.
63629         (main): Cleanup coding style issue.
63631 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63632             Andreas Jaeger  <aj@suse.de>
63634         * nscd/nscd.c (go_background): Replaced with...
63635         (run_mode): ... this.
63636         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63637         (options): Add -F --foreground.
63638         (main): Implement it.
63639         (parse_opt): Parse it.
63641 2012-05-09  Andreas Jaeger  <aj@suse.de>
63643         [BZ #14083]
63644         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63645         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63646         -Wconversion warning.
63647         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63648         Likewise.
63650 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63652         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63653         == 0.
63654         (LC_ALL): Use macro-int-constant.
63655         (LC_COLLATE): Likewise.
63656         (LC_CTYPE): Likewise.
63657         (LC_MESSAGES): Likewise.
63658         (LC_MONETARY): Likewise.
63659         (LC_NUMERIC): Likewise.
63660         (LC_TIME): Likewise.
63661         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63662         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63663         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63664         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63665         Specify type.
63666         [C99-based standards] (float_t): Expect type.
63667         [C99-based standards] (double_t): Expect type.
63668         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63669         type.
63670         [C99-based standards] (HUGE_VALL): Likewise.
63671         [C99-based standards] (INFINITY): Likewise.
63672         [C99-based standards] (NAN): Likewise.
63673         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63674         [C99-based standards] (FP_NAN): Likewise.
63675         [C99-based standards] (FP_NORMAL): Likewise.
63676         [C99-based standards] (FP_SUBNORMAL): Likewise.
63677         [C99-based standards] (FP_ZERO): Likewise.
63678         [C99-based standards] (FP_FAST_FMA): Use
63679         optional-macro-int-constant.  Specify type.  Require == 1.
63680         [C99-based standards] (FP_FAST_FMAF): Likewise.
63681         [C99-based standards] (FP_FAST_FMAL): Likewise.
63682         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63683         [C99-based standards] (FP_ILOGBNAN): Likewise.
63684         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63685         Specify type.
63686         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63687         [C99-based standards] (math_errhandling): Specify type.
63688         [ISO99 || ISO11] (signgam): Do not allow.
63689         [non-C99-based standards] (copysignf): Do not allow.
63690         [non-C99-based standards] (exp2f): Likewise.
63691         [non-C99-based standards] (log2f): Likewise.
63692         [non-C99-based standards] (modff): Allow.
63693         [non-C99-based standards] (erff): Do not allow.
63694         [non-C99-based standards] (erfcf): Likewise.
63695         [non-C99-based standards] (gammaf): Likewise.
63696         [non-C99-based standards] (hypotf): Likewise.
63697         [non-C99-based standards] (j0f): Likewise.
63698         [non-C99-based standards] (j1f): Likewise.
63699         [non-C99-based standards] (jnf): Likewise.
63700         [non-C99-based standards] (lgammaf): Likewise.
63701         [non-C99-based standards] (tgammaf): Likewise.
63702         [non-C99-based standards] (y0f): Likewise.
63703         [non-C99-based standards] (y1f): Likewise.
63704         [non-C99-based standards] (ynf): Likewise.
63705         [non-C99-based standards] (isnanf): Likewise.
63706         [non-C99-based standards] (acoshf): Likewise.
63707         [non-C99-based standards] (asinhf): Likewise.
63708         [non-C99-based standards] (atanhf): Likewise.
63709         [non-C99-based standards] (cbrtf): Likewise.
63710         [non-C99-based standards] (expm1f): Likewise.
63711         [non-C99-based standards] (ilogbf): Likewise.
63712         [non-C99-based standards] (log1pf): Likewise.
63713         [non-C99-based standards] (logbf): Likewise.
63714         [non-C99-based standards] (nextafterf): Likewise.
63715         [non-C99-based standards] (remainderf): Likewise.
63716         [non-C99-based standards] (rintf): Likewise.
63717         [non-C99-based standards] (scalbf): Likewise.
63718         [non-C99-based standards] (copysignl): Likewise.
63719         [non-C99-based standards] (exp2l): Likewise.
63720         [non-C99-based standards] (log2l): Likewise.
63721         [non-C99-based standards] (modfl): Allow.
63722         [non-C99-based standards] (erfl): Do not allow.
63723         [non-C99-based standards] (erfcl): Likewise.
63724         [non-C99-based standards] (gammal): Likewise.
63725         [non-C99-based standards] (hypotl): Likewise.
63726         [non-C99-based standards] (j0l): Likewise.
63727         [non-C99-based standards] (j1l): Likewise.
63728         [non-C99-based standards] (jnl): Likewise.
63729         [non-C99-based standards] (lgammal): Likewise.
63730         [non-C99-based standards] (tgammal): Likewise.
63731         [non-C99-based standards] (y0l): Likewise.
63732         [non-C99-based standards] (y1l): Likewise.
63733         [non-C99-based standards] (ynl): Likewise.
63734         [non-C99-based standards] (isnanl): Likewise.
63735         [non-C99-based standards] (acoshl): Likewise.
63736         [non-C99-based standards] (asinhl): Likewise.
63737         [non-C99-based standards] (atanhl): Likewise.
63738         [non-C99-based standards] (cbrtl): Likewise.
63739         [non-C99-based standards] (expm1l): Likewise.
63740         [non-C99-based standards] (ilogbl): Likewise.
63741         [non-C99-based standards] (log1pl): Likewise.
63742         [non-C99-based standards] (logbl): Likewise.
63743         [non-C99-based standards] (nextafterl): Likewise.
63744         [non-C99-based standards] (remainderl): Likewise.
63745         [non-C99-based standards] (rintl): Likewise.
63746         [non-C99-based standards] (scalbl): Likewise.
63747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63748         [non-C99-based standards] (FP_*): Do not allow.
63749         [C99-based standards] (FP_*): Change to
63750         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63751         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63752         allow.
63753         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63754         (SIG_ERR): Likewise.
63755         [X/Open-based standards] (SIG_HOLD): Likewise.
63756         (SIG_IGN): Likewise.
63757         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63758         positive value.
63759         (SIGFPE): Likewise.
63760         (SIGILL): Likewise.
63761         (SIGINT): Likewise.
63762         (SIGSEGV): Likewise.
63763         (SIGTER): Likewise.
63764         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63765         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63766         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63767         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63768         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63769         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63770         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63771         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63772         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63773         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63774         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63775         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63776         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63777         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63778         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63779         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63780         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63781         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63782         [X/Open-based standards] (SIGTRAP): Likewise.
63783         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63784         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63785         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63786         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63787         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63788         allow.
63790 2012-05-08  Ian Wienand  <ianw@vmware.com>
63792         [BZ #14080]
63793         * time/tzset.c (__tzset_parse_tz): Update default rules for
63794         daylight time changes in the Energy Policy Act of 2005.
63796 2012-05-09  Andreas Jaeger  <aj@suse.de>
63798         [BZ #13983]
63799         * elf/ldconfig.c (parse_conf): Change string to make clear that
63800         ldconfig only issued a warning if ld.so.conf does not exist.
63802 2012-05-08  David S. Miller  <davem@davemloft.net>
63804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63805         movxtod instead of popping the value on the stack.
63807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63809 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63811         * config.h.in: Add HAVE_ARM_PCS_VFP.
63813 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63815         [BZ #13979]
63816         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63817         checking but the checks are disabled for any reason.
63819 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63821         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63822         and ELF64_R_TYPE with ELFW(R_TYPE).
63824 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63826         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63827         (ulimit): Likewise.
63829         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63830         (settimeofday): Likewise.
63832 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63834         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63835         a struct th_u2 inside the union, and move tu_block/tu_code into
63836         a new th_u3 union of tu_block/tu_code inside of that.  Move
63837         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63838         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63839         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63840         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63841         (th_stuff): Change to th_u1.tu_stuff.
63842         (th_data): Define.
63843         (th_msg): Change to th_u1.th_u2.tu_data.
63845 2012-05-07  David S. Miller  <davem@davemloft.net>
63847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63849         [BZ #14074]
63850         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63851         (SETUP_PIC_REG): Use it.
63852         (SETUP_PIC_REG_LEAF): Use it.
63854 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63856         [BZ #13885]
63857         [BZ #13923]
63858         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63859         USE_AS_EXPM1L.
63860         (EXPL_FINITE): Likewise.
63861         (FLDLOG): Likewise.
63862         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63863         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63864         e_expl.S.
63865         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63866         USE_AS_EXPM1L.
63867         (EXPL_FINITE): Likewise.
63868         (FLDLOG): Likewise.
63869         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63870         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63871         e_expl.S.
63872         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63873         test of -max_value argument for long double.
63874         * sysdeps/i386/fpu/libm-test-ulps: Update.
63875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63877 2012-05-06  David S. Miller  <davem@davemloft.net>
63879         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63880         quad soft-float symbols whose references which are compiler
63881         generated.
63882         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63884 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63886         [BZ #13884]
63887         [BZ #13914]
63888         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63889         USE_AS_EXP10L.
63890         (EXPL_FINITE): Likewise.
63891         (FLDLOG): Likewise.
63892         (c0): Likewise.
63893         (c1): Likewise.
63894         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63895         Adjust comments for base varying.
63896         (__expl_finite): Change alias to EXPL_FINITE.
63897         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63898         e_expl.S.
63899         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63900         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63901         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63902         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63904         USE_AS_EXP10L.
63905         (EXPL_FINITE): Likewise.
63906         (FLDLOG): Likewise.
63907         (c0): Likewise.
63908         (c1): Likewise.
63909         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63910         Adjust comments for base varying.
63911         (__expl_finite): Change alias to EXPL_FINITE.
63912         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63913         tests for bugs.
63914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63916         [BZ #14064]
63917         * math/libm-test.inc (check_float_internal): Correct ulp
63918         calculation for subnormal expected results.
63920 2012-05-06  Andreas Jaeger  <aj@suse.de>
63922         * Makeconfig (+math-flags): New, set to -frounding-math.
63923         (+cflags): Add +math-flags so that all of glibc gets compiled with
63924         it.
63926         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63928 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63930         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63931         Disable one test.
63933         [BZ #13787]
63934         [BZ #13922]
63935         [BZ #14036]
63936         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63937         (__ieee754_expl): Allow for and saturate large arguments.
63938         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63939         (u_threshold): Likewise.
63940         (__exp): Call __ieee754_exp before checking for overflow and
63941         underflow.
63942         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63943         (u_threshold): Likewise.
63944         (__expf): Call __ieee754_expf before checking for overflow and
63945         underflow.
63946         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63947         (u_threshold): Likewise.
63948         (__expl): Call __ieee754_expl before checking for overflow and
63949         underflow.
63950         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63951         (__ieee754_expl): Allow for and saturate large arguments.
63952         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63953         missing overflow exception on overflow.
63954         (expm1_test): Do not allow missing overflow exception on overflow.
63956         * sysdeps/i386/fpu/e_expl.c: Move to ...
63957         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63958         rather than using inline asm.
63959         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63960         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63961         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63963         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63964         (nice): Likewise.
63965         (poll): Likewise.
63966         (signal): Likewise.
63967         (time): Likewise.
63968         (times): Likewise.
63970 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63972         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63973         sysdeps/unix/common/syscalls.list.
63974         (fchmod): Likewise.
63975         (fchown): Likewise.
63976         (ftruncate): Likewise.
63977         (getrusage): Likewise.
63978         (gettimeofday): Likewise.
63979         (setpgid): Likewise.
63980         (setregid): Likewise.
63981         (setreuid): Likewise.
63982         (sigaction): Likewise.
63983         (truncate): Likewise.
63984         (vhangup): Likewise.
63985         * sysdeps/unix/common/syscalls.list: Remove file.
63986         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63987         * sysdeps/unix/sysv/linux/Implies: Likewise.
63989 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63991         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63993         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63994         Moved to ...
63995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63996         Here.
63997         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63998         to ...
63999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64000         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64001         to ...
64002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64003         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64004         to ...
64005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64006         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64007         to ...
64008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64009         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64010         to ...
64011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64012         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64013         to ...
64014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64015         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64016         to ...
64017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64018         Here.
64019         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64020         to ...
64021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64022         Here.
64023         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64024         to ...
64025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64026         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64027         Moved to ...
64028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64029         Here.
64030         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64031         to ...
64032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64034 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64036         * sysdeps/unix/common/bits/dirent.h: Remove file.
64037         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64039         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64040         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64041         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64042         * sysdeps/unix/bsd/isatty.c: Likewise.
64043         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64044         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64045         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64047 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64049         [BZ #13563]
64050         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64051         long double comparison inaccuracies.
64052         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64055 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64057         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64058         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64060 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64062         [BZ #14049]
64063         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64064         nonzero digits before rounding a hex value.
64065         * stdlib/tst-strtod.c (tests): Add another test.
64067 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64069         * sysdeps/s390/fpu/libm-test-ulps: Update.
64071 2012-05-03  Andreas Jaeger  <aj@suse.de>
64073         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64074         does not get optimized out.
64075         (malloc_opt_barrier): New.
64077 2012-05-03  Andreas Jaeger  <aj@suse.de>
64078             Roland McGrath  <roland@hack.frob.com>
64080         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64081         intermediate file deletion.
64082         (generated): Add .symlist files.
64084 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64086         [BZ #13775]
64087         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64088         Redirect under this condition.
64089         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64090         [__USE_GNU] (__dprintf_chk): Not under this condition.
64091         [__USE_GNU] (__vdprintf_chk): Likewise.
64092         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64093         under this condition.
64094         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64095         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64096         [__USE_XOPEN2K8] (vdprintf): Likewise.
64097         [__USE_GNU] (__dprintf_chk): Not under this condition.
64098         [__USE_GNU] (__vdprintf_chk): Likewise.
64099         [__USE_GNU] (dprintf): Likewise.
64100         [__USE_GNU] (vdprintf): Likewise.
64102 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64104         * elf/Makefile (common-generated): Set this instead of generated for
64105         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64106         $(all-built-dso)-derived lists.
64108 2012-05-03  Andreas Jaeger  <aj@suse.de>
64110         * sysdeps/i386/fpu/libm-test-ulps: Update.
64112         * FAQ: Removed.
64113         * FAQ.in: Likewise.
64114         * scripts/gen-FAQ.pl: Likewise.
64115         * manual/install.texi (Installation): Point to online location of
64116         FAQ.
64117         * Makefile (files-for-dist): Remove FAQ.
64118         (FAQ): Remove.
64120 2012-05-02  Allan McRae  <allan@archlinux.org>
64122         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64123         (LDFLAGS-reldepmod5.so): Likewise.
64124         (LDFLAGS-reldep6mod1.so): Likewise.
64125         (LDFLAGS-reldep6mod4.so): Likewise.
64126         (LDFLAGS-reldep8mod3.so): Likewise.
64127         (LDFLAGS-unload4mod1.so): Likewise.
64128         (LDFLAGS-unload4mod2.so): Likewise.
64129         (LDFLAGS-tst-initorder): Likewise.
64130         (LDFLAGS-tst-initordera2.so): Likewise.
64131         (LDFLAGS-tst-initordera3.so): Likewise.
64132         (LDFLAGS-tst-initordera4.so): Likewise.
64133         (LDFLAGS-tst-initorderb2.so): Likewise.
64134         (LDFLAGS-noload): Likewise.
64135         (LDFLAGS-next): Likewise.
64136         (LDFLAGS-order2mod1.so): Likewise.
64137         (LDFLAGS-order2mod2.so): Likewise.
64138         (LDFLAGS-tst-initorder2): Likewise.
64139         (LDFLAGS-tst-initorder2a.so): Likewise.
64140         (LDFLAGS-tst-initorder2b.so): Likewise.
64141         (LDFLAGS-tst-initorder2c.so): Likewise.
64142         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64144 2012-05-02  David S. Miller  <davem@davemloft.net>
64146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64148 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64150         [BZ #14055]
64151         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64153 2012-05-02  Andreas Jaeger  <aj@suse.de>
64155         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64156         since we manipulate rounding mode.
64157         (CPPFLAGS-test-idouble.c): Likewise.
64158         (CPPFLAGS-test-ifloat.c): Likewise.
64159         (CFLAGS-test-ldouble.c): Likewise.
64160         (CFLAGS-test-double.c): Likewise.
64161         (CFLAGS-test-float.c): Likewise.
64162         (CFLAGS-test-misc.c): Likewise.
64163         (CFLAGS-test-test-fenv.c): Likewise.
64165 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64167         [BZ #2550]
64168         [BZ #2570]
64169         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64170         comparisons to determine direction to adjust input.
64172 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64174         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64175         output to the target.
64177         * scripts/localplt.awk: New file.
64178         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64179         (check-localplt-CFLAGS): Variable removed.
64180         ($(all-built-dso:=.jmprel)): New static pattern rule.
64181         (generated): Add those targets.
64182         (localplt-built-dso): New variable.
64183         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64185         * elf/check-localplt.c: File removed.
64187         * scripts/check-execstack.awk: New file.
64188         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64189         (check-execstack-CFLAGS): Variable removed.
64190         ($(objpfx)check-execstack.h): Target removed.
64191         ($(objpfx)execstack-default): New target.
64192         (generated): Add that instead of check-execstack.h.
64193         ($(all-built-dso:=.phdr)): New static pattern rule.
64194         (generated): Add those targets.
64195         * elf/check-execstack.c: File removed.
64197         * scripts/check-textrel.awk: New file.
64198         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64199         (check-textrel-CFLAGS): Variable removed.
64200         (all-built-dso): Use := to define.o
64201         ($(all-built-dso:=.dyn)): New static pattern rule.
64202         (generated): Add those targets.
64203         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64204         * config.make.in (READELF): New substituted variable.
64205         * elf/check-textrel.c: File removed.
64207 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64209         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64210         allow.
64211         * conform/data/ctype.h-data [C99-based standards] (isblank):
64212         Expect function.
64213         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64214         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64216         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64217         Specify type.  Require positive value.
64218         (EILSEQ): Likewise.
64219         (ERANGE): Likewise.
64220         [ISO || POSIX] (EILSEQ): Do not expect.
64221         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64222         Specify type.  Require positive value.
64223         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64224         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64225         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64226         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64227         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64228         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64229         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64230         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64231         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64232         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64233         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64234         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64235         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64236         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64237         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64238         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64239         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64240         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64241         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64242         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64243         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64244         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64245         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64246         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64247         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64248         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64249         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64250         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64251         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64252         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64253         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64254         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64255         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64256         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64257         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64258         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64259         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64260         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64261         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64262         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64263         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64264         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64265         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64266         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64267         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64268         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64269         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64270         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64271         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64272         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64273         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64274         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64275         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64276         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64277         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64278         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64279         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64280         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64281         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64282         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64283         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64284         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64285         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64286         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64287         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64288         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64289         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64290         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64291         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64292         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64293         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64294         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64295         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64296         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64297         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64298         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64299         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64300         Require >= 2.
64301         (FLT_ROUNDS): Expect as macro, not constant.
64302         (FLT_MANT_DIG): Use macro-int-constant.
64303         (DBL_MANT_DIG): Likewise.
64304         (LDBL_MANT_DIG): Likewise.
64305         (FLT_DIG): Likewise.
64306         (DBL_DIG): Likewise.
64307         (LDBL_DIG): Likewise.
64308         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64309         (DBL_MIN_EXP): Likewise.
64310         (LDBL_MIN_EXP): Likewise.
64311         (FLT_MAX_EXP): Use macro-int-constant.
64312         (DBL_MAX_EXP): Likewise.
64313         (LDBL_MAX_EXP): Likewise.
64314         (FLT_MAX_10_EXP): Likewise.
64315         (DBL_MAX_10_EXP): Likewise.
64316         (LDBL_MAX_10_EXP): Likewise.
64317         (FLT_MAX): Use macro-constant.
64318         (DBL_MAX): Likewise.
64319         (LDBL_MAX): Likewise.
64320         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64321         (DBL_EPSILON): Likewise.
64322         (LDBL_EPSILON): Likewise.
64323         (FLT_MIN): Likewise.
64324         (DBL_MIN): Likewise.
64325         (LDBL_MIN): Likewise.
64326         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64327         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64328         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64329         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64330         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64331         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64332         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64333         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64334         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64335         [ISO11] (FLT_TRUE_MIN): Likewise.
64336         [ISO11] (LDBL_TRUE_MIN): Likewise.
64337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64338         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64339         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64340         (SCHAR_MAX): Likewise.
64341         (UCHAR_MAX): Likewise.
64342         (CHAR_MIN): Likewise.
64343         (CHAR_MAX): Likewise.
64344         (MB_LEN_MAX): Use macro-int-constant.
64345         (SHRT_MIN): Use macro-int-constant.  Specify type.
64346         (SHRT_MAX): Likewise.
64347         (USHRT_MAX): Likewise.
64348         (INT_MAX): Likewise.
64349         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64350         bound negative.
64351         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64352         bound with "U".
64353         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64354         bound with "L".
64355         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64356         bound negative.  Suffix upper bound with "L".
64357         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64358         bound with "UL".
64359         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64360         Specify type.
64361         [C99-based standards] (LLONG_MAX): Likewise.
64362         [C99-based standards] (ULLONG_MAX): Likewise.
64363         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64364         == 0.
64365         [ISO11] (max_align_t): Require type.
64366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64368         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64369         from $CFLAGS, without defining away __attribute__ calls.
64370         (checknamespace): Use $CFLAGS_namespace.
64372         * conform/conformtest.pl (@keywords): Only include C99 keywords
64373         for standards based on C99 or C11.
64375         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64376         Disable tests.
64377         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64378         UNIX98]: Likewise.
64380         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64381         usability of symbols in #if.
64383         * conform/conformtest.pl: If macro or constant types start
64384         "promoted:", expect the symbol to be of the following type
64385         promoted by the integer promotions.
64387         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64388         in one place.  Also handle "macro-constant".
64390         * conform/conformtest.pl: Only accept expected macro values with
64391         "==".  Parse all "macro" lines in one place.
64392         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64394         * conform/conformtest.pl: Handle braced types on "constant" lines
64395         instead of handling "typed-constant".
64396         * conform/data/signal.h-data: Use "constant" instead of
64397         "typed-constant".
64399         * conform/conformtest.pl: Handle "optional-" at start of lines in
64400         one place rather than duplicating several cases.  Handle each
64401         format of "macro" line with initial "optional-".
64403         * conform/conformtest.pl: Only accept expected constant or
64404         optional-constant values with "==".  Parse all "constant" lines in
64405         one place.  Parse all "optional-constant" lines in one place.
64406         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64407         * conform/data/fmtmsg.h-data: Likewise.
64408         * conform/data/netinet/in.h-data: Likewise.
64409         * conform/data/tar.h-data: Likewise.
64410         * conform/data/limits.h-data: Use "==" form on "constant" and
64411         "optional-constant" lines.
64413         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64414         Use -std=c99 for XOPEN2K.
64415         (@knownproblems): Remove.
64416         (newtoken): Don't check %isknown.
64418         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64419         Do not expect macro.
64420         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64421         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64422         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64423         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64424         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64425         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64426         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64427         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64428         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64429         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64430         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64431         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64432         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64433         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64434         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64435         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64436         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64437         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64438         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64439         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64440         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64441         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64442         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64443         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64444         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64445         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64446         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64447         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64448         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64449         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64450         [XPG3] (acosh): Likewise.
64451         [XPG3] (asinh): Likewise.
64452         [XPG3] (atanh): Likewise.
64453         [XPG3] (cbrt): Likewise.
64454         [XPG3] (expm1): Likewise.
64455         [XPG3] (ilogb): Likewise.
64456         [XPG3] (log1p): Likewise.
64457         [XPG3] (logb): Likewise.
64458         [XPG3] (nextafter): Likewise.
64459         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64460         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64461         [XPG3] (remainder): Likewise.
64462         [XPG3] (rint): Likewise.
64463         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64464         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64465         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64466         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64467         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64468         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64469         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64470         [UNIX98 || XOPEN2K] (scalb): Expect.
64471         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64472         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64473         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64474         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64475         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64476         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64477         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64478         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64479         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64480         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64481         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64482         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64483         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64484         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64485         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64486         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64487         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64488         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64489         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64490         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64491         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64492         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64493         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64494         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64495         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64496         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64497         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64498         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64499         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64500         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64501         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64502         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64503         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64504         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64505         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64506         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64507         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64508         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64509         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64510         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64511         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64512         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64513         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64514         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64515         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64516         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64517         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64518         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64519         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64520         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64521         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64522         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64523         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64524         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64525         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64526         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64527         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64528         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64529         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64530         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64531         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64532         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64533         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64534         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64535         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64536         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64537         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64538         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64539         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64540         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64541         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64542         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64543         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64544         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64545         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64546         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64547         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64548         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64549         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64550         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64551         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64552         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64553         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64554         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64555         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64556         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64557         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64558         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64559         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64560         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64561         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64562         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64563         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64564         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64565         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64566         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64567         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64568         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64569         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64570         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64571         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64572         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64573         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64574         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64575         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64576         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64577         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64578         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64579         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64580         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64581         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64582         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64583         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64584         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64585         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64586         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64587         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64588         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64589         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64590         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64591         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64592         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64593         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64594         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64595         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64596         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64597         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64598         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64599         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64600         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64601         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64602         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64603         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64604         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64605         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64606         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64607         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64609         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64610         _XOPEN_SOURCE_EXTENDED for XPG4.
64612         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64614         * Makeconfig (localtime): Remove variable.
64615         (inst_localtime-file): Likewise.
64617 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64620         Update.
64621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64622         Update.
64623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64624         Update.
64625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64626         Update.
64627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64628         Update.
64629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64630         Update.
64631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64632         Update.
64633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64634         Update.
64635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64636         Update.
64638 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64640         [BZ #2550]
64641         [BZ #2570]
64642         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64643         comparisons to determine direction to adjust input.
64644         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64645         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64646         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64647         Likewise.
64648         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64649         Likewise.
64650         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64651         Likewise.
64652         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64653         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64654         Likewise.
64655         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64656         Likewise.
64657         * math/libm-test.inc (nexttoward_test): Add more tests.
64659 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64661         [BZ #14040]
64662         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64663         in version GLIBC_2.1, not GLIBC_2.0.
64664         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64665         Likewise.
64667 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64669         [BZ #13942]
64670         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64671         (1 - x) * (1 + x).
64672         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64673         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64674         * math/libm-test.inc (acos_test): Add more tests.
64675         (asin_test): Likewise.
64676         * sysdeps/i386/fpu/libm-test-ulps: Update.
64677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64679         [BZ #14034]
64680         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64681         of square root.
64682         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64683         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64684         * math/libm-test.inc (acos_test_tonearest): New function.
64685         (acos_test_towardzero): Likewise.
64686         (acos_test_downward): Likewise.
64687         (acos_test_upward): Likewise.
64688         (asin_test_tonearest): Likewise.
64689         (asin_test_towardzero): Likewise.
64690         (asin_test_downward): Likewise.
64691         (asin_test_upward): Likewise.
64692         (main): Call the new functions.
64693         * sysdeps/i386/fpu/libm-test-ulps: Update.
64694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64696         [BZ #13884]
64697         [BZ #13924]
64698         * math/e_exp10.c: Include <float.h>.
64699         (__ieee754_exp10): Handle underflow here rather than multiplying
64700         large negative argument by M_LN10.
64701         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64702         of __ieee754_expf.
64703         * math/e_exp10l.c: Include <float.h>.
64704         (__ieee754_exp10l): Handle underflow here rather than multiplying
64705         large negative argument by M_LN10l.
64706         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64707         spurious overflow exception on underflow.
64709 2012-04-29  Marek Polacek  <polacek@redhat.com>
64711         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64712         (__fortify_function): New macro.
64713         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64714         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64715         __extern_always_inline.
64716         * libio/bits/stdio2.h: Likewise.
64717         * libio/bits/stdio.h: Likewise.
64718         * string/string.h: Likewise.
64719         * string/bits/string3.h: Likewise.
64720         * include/stdio.h: Likewise.
64721         * stdlib/bits/stdlib.h: Likewise.
64722         * stdlib/stdlib.h: Likewise.
64723         * rt/bits/mqueue2.h: Likewise.
64724         * rt/mqueue.h: Likewise.
64725         * posix/bits/unistd.h: Likewise.
64726         * posix/unistd.h: Likewise.
64727         * io/bits/poll2.h: Likewise.
64728         * io/bits/fcntl2.h: Likewise.
64729         * io/fcntl.h: Likewise.
64730         * io/sys/poll.h: Likewise.
64731         * misc/bits/syslog.h: Likewise.
64732         * misc/bits/syslog-ldbl.h: Likewise.
64733         * misc/sys/syslog.h: Likewise.
64734         * socket/bits/socket2.h: Likewise.
64735         * socket/sys/socket.h: Likewise.
64736         * debug/tst-chk1.c: Likewise.
64737         * wcsmbs/bits/wchar2.h: Likewise.
64738         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64739         * wcsmbs/wchar.h: Likewise.
64741 2012-04-29  Andreas Jaeger  <aj@suse.de>
64743         * Makerules (tests): Remove enable-check-abi protection.
64744         (check-abi-warn): Remove.
64745         (check-abi-%): Remove check-abi-warn usage.
64747         * configure.in: Remove check-abi configure option.
64748         * configure: Regenerated.
64749         * config.make.in (enable-check-abi): Remove.
64751 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64753         [BZ #14033]
64754         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64755         double functions to double *_finite functions.
64757         [BZ #13941]
64758         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64759         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64760         LDBL_MIN_EXP.
64761         * stdio-common/Makefile (tests): Add tst-sprintf3.
64762         * stdio-common/tst-sprintf3.c: New file.
64764         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64765         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64767 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64769         * conform/conformtest.pl: Remove duplicate typed-constant
64770         handling.
64772 2012-04-28  David S. Miller  <davem@davemloft.net>
64774         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64775         (check-abi-%): Remove AWK script prerequisite and explicit
64776         abilist directory.
64777         (check-abi): Rewrite to just diff the symlist with the abilist.
64778         (config-tls, config-abi-config): Delete, no longer used.
64779         (update-abi-%): Remove AWK script and explicit abilist directory.
64780         (update-abi): Rewrite to simply compare and conditionally copy the
64781         symlist and the sysdep abilist file.  Remove update-abi-config
64782         checks.
64783         * abilist/ld.abilist: Remove.
64784         * abilist/libBrokenLocale.abilist: Remove.
64785         * abilist/libanl.abilist: Remove.
64786         * abilist/libcrypt.abilist: Remove.
64787         * abilist/libdl.abilist: Remove.
64788         * abilist/librt.abilist: Remove.
64789         * abilist/libthread_db.abilist: Remove.
64790         * abilist/libutil.abilist: Remove.
64791         * scripts/extract-abilist.awk: Remove.
64792         * scripts/merge-abilist.awk: Remove.
64793         * sysdeps/generic/libcidn.abilist: New file.
64794         * sysdeps/generic/libnss_compat.abilist: New file.
64795         * sysdeps/generic/libnss_db.abilist: New file.
64796         * sysdeps/generic/libnss_dns.abilist: New file.
64797         * sysdeps/generic/libnss_files.abilist: New file.
64798         * sysdeps/generic/libnss_hesiod.abilist: New file.
64799         * sysdeps/generic/libnss_nis.abilist: New file.
64800         * sysdeps/generic/libnss_nisplus.abilist: New file.
64801         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64802         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64803         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64804         file.
64805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64806         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64807         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64808         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64809         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64810         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64811         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64812         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64813         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64814         file.
64815         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64816         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64817         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64818         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64819         file.
64820         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64821         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64822         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64823         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64824         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64825         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64826         file.
64827         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64828         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64829         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64830         file.
64831         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64833         New file.
64834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64835         New file.
64836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64837         New file.
64838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64839         New file.
64840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64841         New file.
64842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64843         New file.
64844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64845         New file.
64846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64847         New file.
64848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64849         New file.
64850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64851         New file.
64852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64853         New file.
64854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64855         New file.
64856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64857         New file.
64858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64859         file.
64860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64861         New file.
64862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64863         New file.
64864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64865         file.
64866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64867         New file.
64868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64869         New file.
64870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64871         file.
64872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64873         New file.
64874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64875         New file.
64876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64877         New file.
64878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64879         New file.
64880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64881         New file.
64882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64883         New file.
64884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64886         file.
64887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64888         New file.
64889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64890         file.
64891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64892         file.
64893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64894         file.
64895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64896         file.
64897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64898         file.
64899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64900         New file.
64901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64902         file.
64903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64904         file.
64905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64906         New file.
64907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64908         file.
64909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64911         file.
64912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64913         New file.
64914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64915         file.
64916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64917         file.
64918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64919         file.
64920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64921         file.
64922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64923         file.
64924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64925         New file.
64926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64927         file.
64928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64929         file.
64930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64931         New file.
64932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64933         file.
64934         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64935         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64936         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64937         file.
64938         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64939         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64940         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64941         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64942         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64943         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64944         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64945         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64946         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64947         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64950         file.
64951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64952         New file.
64953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64954         file.
64955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64956         file.
64957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64958         file.
64959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64960         file.
64961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64962         file.
64963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64964         New file.
64965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64966         New file.
64967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64968         file.
64969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64970         New file.
64971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64972         file.
64973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64975         file.
64976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64977         New file.
64978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64979         file.
64980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64981         file.
64982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64983         file.
64984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64985         file.
64986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64987         file.
64988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64989         New file.
64990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64991         New file.
64992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64993         file.
64994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64995         New file.
64996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64997         file.
64999 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65001         * conform/conformtest.pl: Fix typo in handling typed-constant from
65002         allow-header.
65004 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65006         * README: Cut down references to pre-2.6 Linux kernels and
65007         Linuxthreads.  Update lists of configurations in libc and ports
65008         and sort alphabetically.  Say "or newer" with Linux kernel version
65009         requirements.
65011         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65013 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65015         [BZ #887]
65016         * math/libm-test.inc (logb_test_downward): New test to expose
65017         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65018         rounding mode.
65020 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65022         [BZ #14027]
65023         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65024         to be done.
65025         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65026         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65028 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65030         * sysdeps/unix/i386/brk.S: Remove file.
65031         * sysdeps/unix/i386/dl-brk.S: Likewise.
65032         * sysdeps/unix/i386/pipe.S: Likewise.
65033         * sysdeps/unix/i386/sigreturn.S: Likewise.
65034         * sysdeps/unix/i386/syscall.S: Likewise.
65035         * sysdeps/unix/i386/vfork.S: Likewise.
65036         * sysdeps/unix/i386/wait.S: Likewise.
65038         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65039         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65041         * configure.in (arm*-none*): Do not allow without
65042         --enable-hacker-mode.
65043         (netbsd*): Remove case setting base_os.
65044         (386bsd*): Likewise.
65045         (freebsd*): Likewise.
65046         (bsdi*): Likewise.
65047         (osf*): Likewise.
65048         (sunos*): Likewise.
65049         (ultrix*): Likewise.
65050         (newsos*): Likewise.
65051         (dynix*): Likewise.
65052         (*bsd*): Likewise.
65053         (sysv*): Likewise.
65054         (isc*): Likewise.
65055         (esix*): Likewise.
65056         (sco*): Likewise.
65057         (minix*): Likewise.
65058         (irix4*): Likewise.
65059         (irix6*): Likewise.
65060         (solaris[2-9]*): Likewise.
65061         (none): Likewise.
65062         * configure: Regenerated.
65064 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65066         [BZ #11521]
65067         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65068         overflow or cancellation in calculating denominator.
65069         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65071         down expression to avoid unexpected rounding in newer GCCs.
65072         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65074 2012-04-26  David S. Miller  <davem@davemloft.net>
65076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65077         long-double compat symbols.
65078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65092 2012-04-25  David S. Miller  <davem@davemloft.net>
65094         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65095         HWCAP_* values only after the memory barriers have been defined.
65096         (atomic_full_barrier): Define.
65097         (atomic_read_barrier): Define.
65098         (atomic_write_barrier): Define.
65100 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65102         * shlib-versions: Add libgcc_s version information.
65103         * sysdeps/generic/libgcc_s.h: Remove.
65104         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65105         libgcc_s.h.
65106         * sysdeps/gnu/unwind-resume.c: Likewise.
65107         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65109 2012-04-25  David S. Miller  <davem@davemloft.net>
65111         * sysdeps/unix/sparc/brk.S: Delete.
65112         * sysdeps/unix/sparc/dl-brk.S: Delete.
65113         * sysdeps/unix/sparc/pipe.S: Delete.
65114         * sysdeps/unix/sparc/sysdep.S: Delete.
65115         * sysdeps/unix/sparc/sysdep.h: Delete.
65116         * sysdeps/unix/sparc/vfork.S: Delete.
65117         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65118         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65120         (ret_ERRVAL, r0, r1, MOVE): Define.
65121         (JUMPTARGET): Remove.
65122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65123         sysdeps/unix/sparc/sysdep.h
65124         (ENTRY, END): Remove.
65125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65127 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65129         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65130         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65131         -DIS_IN_build.
65133         * timezone/README: Update upstream location and email address for
65134         tzcode and tzdata.
65135         * timezone/zdump.c: Update from tzcode 2012b.
65136         * timezone/zic.c: Likewise.
65138         * configure.in (libc_cv_as_needed): Remove test.
65139         * configure: Regenerated.
65140         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65141         conditional definition.
65142         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65143         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65144         * config.make.in (have-as-needed): Remove variable.
65146 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65147             Paul Pluzhnikov  <ppluzhnikov@google.com>
65149         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65150         strings correctly.
65152 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65154         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65155         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65156         * sysdeps/sh/strlen.S: Likewise.
65158 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65160         * sysdeps/unix/fork.S: Remove file.
65161         * sysdeps/unix/i386/fork.S: Likewise.
65162         * sysdeps/unix/sparc/fork.S: Likewise.
65164         * sysdeps/unix/system.c: Remove file.
65165         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65167         * sysdeps/unix/getegid.S: Remove file.
65168         * sysdeps/unix/geteuid.S: Likewise.
65170 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65172         * scripts/check-localplt.awk: New file.
65173         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65174         of diff.
65175         * scripts/data/localplt-generic.data: Add a comment.
65177         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65178         NODE when __dir_mkfile failed.
65179         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65180         Reported by Ludovic Courtès <ludo@gnu.org>.
65182 2012-04-24  Andreas Jaeger  <aj@suse.de>
65184         * Makerules (common-clean): Also remove gen-as-const-headers
65185         files.
65187 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65189         * Makerules (native-compile): Do not change working directory for
65190         build.  Use $(OUTPUT_OPTION) in command.
65191         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65193 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65195         [BZ #13886]
65196         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65197         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65198         * math/libm-test.inc (floor_test): Add more tests.
65199         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65201 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65203         * sysdeps/unix/getdents.c: Remove file.
65204         * sysdeps/unix/sysv/getdents.c: Likewise.
65205         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65207         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65208         sysdeps/unix/mman/syscalls.list.
65209         (mmap): Likewise.
65210         (mprotect): Likewise.
65211         (msync): Likewise.
65212         (munmap): Likewise.
65213         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65214         * sysdeps/unix/mman/syscalls.list: Remove.
65215         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65217         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65218         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65219         * configure: Regenerated.
65220         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65221         $(libgcc_s_suffix).
65222         * config.make.in (libgcc_s_suffix): Remove variable.
65224 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65226         * sysdeps/unix/sysv/gethostname.c: Move to ...
65227         * sysdeps/posix/gethostname.c: ... here.
65229         * sysdeps/unix/execve.S: Remove file.
65231         * sysdeps/unix/_exit.S: Remove file.
65233 2012-04-23  Andreas Jaeger  <aj@suse.de>
65235         [BZ #13739]
65236         * manual/Makefile: Remove make dist support, there's no
65237         need for a stand-alone documentation tar ball.
65238         (TEXI2DVI): Define always, it's not in Makeconfig.
65239         (dist): Removed.
65240         (tar-it): Removed.
65241         (edition): Removed.
65242         (glibc-doc-$(edition).tar): Removed
65243         (%.Z): Removed.
65244         (%.gz): Removed.
65245         (%.uu): Removed.
65246         (ETAGS): Remove, it's in Makeconfig.
65247         (move-if-change): Remove, it's in Makeconfig.
65249 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65251         [BZ #13970]
65252         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65253         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65254         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65255         (strtod_l, strtof_l, strtold_l): Remove __wur.
65256         It is not necessarily an error to ignore strtol's return value.
65257         One can reliably look at the stored endptr to decide whether
65258         the number had valid syntax.
65260 2012-04-21  Andreas Jaeger  <aj@suse.de>
65262         [BZ #13739]
65263         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65265 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65267         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65268         * sysdeps/unix/sysv/Versions: Remove file.
65270 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65272         [BZ #13927]
65273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65275 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65277         [BZ #7064]
65278         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65279         version from __vm86.
65281 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65283         * sysdeps/unix/common/lxstat.c: Remove file.
65284         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65286         * sysdeps/unix/sysv/Makefile: Remove file.
65288         * sysdeps/unix/sysv/direct.h: Remove file.
65290         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65291         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65292         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65293         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65294         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65295         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65296         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65298         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65300         * sysdeps/unix/xmknod.c: Remove file.
65301         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65303         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65305         * sysdeps/unix/sysv/i386/time.S: Remove file.
65307         * sysdeps/unix/fxstat.c: Remove file.
65308         * sysdeps/unix/xstat.c: Likewise.
65309         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65311         * sysdeps/unix/sysv/sigaction.c: Remove file.
65313         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65314         (sysdep_headers): Remove variable.
65315         [termio.h not in sysdep_headers] (generated): Likewise.
65316         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65317         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65318         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65319         * sysdeps/unix/sysv/tcflow.c: Likewise.
65320         * sysdeps/unix/sysv/tcflush.c: Likewise.
65321         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65322         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65323         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65324         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65325         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65327         * sysdeps/unix/siglist.c: Remove file.
65329         * sysdeps/unix/getppid.S: Remove file.
65331         * sysdeps/unix/mkdir.c: Remove file.
65332         * sysdeps/unix/rmdir.c: Likewise.
65334 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65336         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65337         ERR_MAX value.
65338         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65339         errlist-compat value.
65341 2012-04-18  David S. Miller  <davem@davemloft.net>
65343         * sysdeps/generic/memcopy.h (reg_char): Delete.
65344         * debug/strcat_chk.c: Use char, not reg_char.
65345         * debug/strcpy_chk.c: Likewise.
65346         * debug/strncat_chk.c: Likewise.
65347         * debug/strncpy_chk.c: Likewise.
65348         * string/memchr.c: Likewise.
65349         * string/memrchr.c: Likewise.
65350         * string/rawmemchr.c: Likewise.
65351         * string/strcat.c: Likewise.
65352         * string/strchr.c: Likewise.
65353         * string/strchrnul.c: Likewise.
65354         * string/strcmp.c: Likewise.
65355         * string/strcpy.c: Likewise.
65356         * string/strncat.c: Likewise.
65357         * string/strncmp.c: Likewise.
65358         * string/strncpy.c: Likewise.
65360 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65362         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65363         __builtin_memcopy is called when src and dest ranges are known to not
65364         overlap.
65366 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65368         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65369         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65370         fwd_align_merge macro call.
65371         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65372         bwd_align_merge macro call.
65373         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65375 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65377         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65378         bwd_align_merge macros.
65379         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65380         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65381         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65383 2012-04-18  David S. Miller  <davem@davemloft.net>
65385         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65387 2012-04-18  Andreas Jaeger  <aj@suse.de>
65389         [BZ# 6794]
65390         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65391         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65392         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65394         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65395         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65396         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65398         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65399         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65400         Adjust for changed ldbl-128 files.
65402         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65403         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65404         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65406 2012-04-17  David S. Miller  <davem@davemloft.net>
65408         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65410 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65412         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65413         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65414         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65415         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65416         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65417         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65419 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65421         [BZ #6794]
65422         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65423         * math/libm-test.inc: Add ilogb errno and exception tests.
65424         * math/w_ilogb.c: New file: ilogb wrapper.
65425         * math/w_ilogbf.c: New file: ilogbf wrapper.
65426         * math/w_ilogbl.c: New file: ilogbl wrapper.
65427         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65428         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65429         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65430         exception being thrown with 0.0 as argument.
65431         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65432         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65433         exception being thrown with 0.0 as argument.
65434         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65435         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65436         exception being thrown with 0.0 as argument.
65437         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65438         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65439         exception being thrown with 0.0 as argument.
65440         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65441         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65442         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65443         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65444         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65445         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65446         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65447         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65448         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65450 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65452         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65453         with altivec.
65455 2012-04-16  Marek Polacek  <polacek@redhat.com>
65457         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65459 2012-04-16  Marek Polacek  <polacek@redhat.com>
65461         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65462         operands of fdivp instruction.
65464 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65466         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65467         * elf/tst-auditmod3b.c: Likewise.
65468         * elf/tst-auditmod4b.c: Likewise.
65469         * elf/tst-auditmod5b.c: Likewise.
65470         * elf/tst-auditmod6b.c: Likewise.
65471         * elf/tst-auditmod6c.c: Likewise.
65472         * elf/tst-auditmod7b.c: Likewise.
65473         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65474         * sysdeps/x86_64/preconfigure.in: Likewise.
65475         * sysdeps/x86_64/preconfigure: Regenerated.
65477 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65479         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65480         __ILP32__.
65482 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65484         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65485         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65487 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65489         [BZ #13973]
65490         * locale/iso-639.def: Fix gl language name. Spotted by
65491         Yaron Shahrabani.
65493 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65495         [BZ #2074]
65496         * libio/libio.h (__io_write_fn): Update comment.
65498 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65500         [BZ #2074]
65501         * stdio.texi (Hook Functions): The user provided writer function
65502         is not allowed to return -1.
65504 2012-04-11  David S. Miller  <davem@davemloft.net>
65506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65508 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65510         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65511         Add a leading slash to rtkaio.
65513 2012-04-11  Jim Meyering  <meyering@redhat.com>
65515         [BZ #11959]
65516         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65517         It is not necessarily an error to ignore fwrite's return
65518         value.  One can reliably use ferror to test for errors after
65519         the fact.
65521 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65523         * bits/types.h (__snseconds_t): New type.
65524         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65526         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65527         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65528         (__SNSECONDS_T_TYPE): Likewise.
65529         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65530         (__SNSECONDS_T_TYPE): Likewise.
65531         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65532         (__SNSECONDS_T_TYPE): Likewise.
65534 2012-04-10  Andreas Jaeger  <aj@suse.de>
65536         [BZ #2636]
65537         * manual/time.texi (Processor Time): Return type of times is
65538         elapsed real time since an arbitrary point in the past.
65539         (CPU Time): Move CLK_TCK from here...
65540         (Processor Time): ...to here.  Correct description.
65541         * manual/conf.texi (Constants for Sysconf): Correct description of
65542         _SC_CLK_TCK.
65544 2012-04-10  David S. Miller  <davem@davemloft.net>
65546         [BZ #13967]
65547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65548         where the is a gap between DT_REL(A) and DT_JMPREL.
65550 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65552         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65553         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65554         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65556 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65558         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65559         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65560         (dl_main): Handle --inhibit-cache.
65561         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65562         _dl_inhibit_cache.
65563         * elf/dl-load.c (_dl_map_object): Use it.
65564         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65566 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65568         [BZ #13872]
65569         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65570         (__ieee754_powl): Saturate large exponents rather than testing for
65571         overflow of y*log2(x).
65572         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65573         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65574         exceptions.
65576         [BZ #11521]
65577         * math/s_ctan.c: Include <float.h>.
65578         (__ctan): Avoid internal overflow or cancellation in calculating
65579         denominator.
65580         * math/s_ctanf.c: Likewise.
65581         * math/s_ctanl.c: Likewise.
65582         * math/s_ctanh.c: Likewise.
65583         * math/s_ctanhf.c: Likewise.
65584         * math/s_ctanhl.c: Likewise.
65585         * math/libm-test.inc (ctan_test): Add more tests.
65586         (ctanh_test): Likewise.
65587         * sysdeps/i386/fpu/libm-test-ulps: Update.
65588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65590 2012-04-09  Andreas Jaeger  <aj@suse.de>
65592         [BZ #6894]
65593         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65594         is an optional BSD extension.
65596         [BZ #10254]
65597         * manual/stdio.texi (Opening Streams): Document additional fopen
65598         parameters.
65600 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65602         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65603         %eax without telling the compiler.
65605 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65607         [BZ # 13963]
65608         * manual/install.texi: Use sourceware.org.
65610 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65612         [BZ #13873]
65613         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65614         (__ieee754_pow): Generate overflow and underflow using huge*huge
65615         and tiny*tiny rather than just returning constant infinity or zero
65616         for large exponents.
65617         * math/libm-test.inc (pow_test): Require overflow exceptions for
65618         applicable cases of large exponents.
65620         [BZ #706]
65621         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65622         (__ieee754_pow): Use iterative multiplication algorithm only for
65623         integer exponents with absolute value below 1024.  Check for odd
65624         integer exponents when using algorithm for real exponents.
65625         * math/libm-test.inc (pow_test): Add more tests.
65626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65628 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65630         [BZ #13705]
65631         * math/libm-test.inc (exp_test): Do not allow overflow exception
65632         on underflow test.
65634 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65636         [BZ #13705]
65637         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65638         instead of __kernel_standard_f.
65640 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65642         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65643         * sysdeps/x86_64/memset_chk.S: Likewise.
65645 2012-04-08  Andreas Jaeger  <aj@suse.de>
65647         [BZ #10153]
65648         * manual/startup.texi (Environment Access): Describe return value
65649         for putenv and setenv.
65651         [BZ #6895]
65652         * manual/filesys.texi (Directory Entries): Add description for
65653         DT_LNK.
65655         [BZ #6890]
65656         * manual/filesys.texi (Directory Entries): Clarify that it's file
65657         system not operating system in the description of DT_UNKNOWN.
65659         [BZ #6578]
65660         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65662 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65664         [BZ #6649]
65665         * manual/llio.texi (Opening and Closing Files): Add cross
65666         reference to explain mode argument.
65668 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65670         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65671         * sysdeps/x86_64/memset_chk.S: Likewise.
65673 2012-04-07  David S. Miller  <davem@davemloft.net>
65675         * elf/elf.h (R_SPARC_WDISP10): Define.
65676         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65677         R_SPARC_SIZE32.
65678         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65679         R_SPARC_SIZE64 and R_SPARC_H34.
65681 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65683         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65684         conditions and remove no longer applicable assertion.
65686 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65688         * bits/byteswap.h: Include <features.h>.
65689         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65690         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65692 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65694         * bits/byteswap.h (__bswap_16): Removed.
65695         Include <bits/byteswap-16.h> to get __bswap_16.
65696         * sysdeps/i386/bits/byteswap.h: Likewise.
65697         * sysdeps/s390/bits/byteswap.h: Likewise.
65698         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65699         * bits/byteswap-16.h: New file.
65700         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65701         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65702         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65703         * string/Makefile (headers): Add bits/byteswap-16.h.
65705 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65707         [BZ #13895]
65708         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65709         extra indirection.
65710         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65711         * nss/tst-nss-static.c: New.
65713 2012-04-06  Robert Millan  <rmh@gnu.org>
65715         [BZ #6486]
65716         * manual/llio.texi (File Position Primitive): lseek
65717         refers to WHENCE when it really means OFFSET.
65719 2012-04-06  Andreas Jaeger  <aj@suse.de>
65721         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65722         strncmp declarations.
65724         * abilist/libc.abilist: Add __poll and __ppoll.
65726 2012-04-05  David S. Miller  <davem@davemloft.net>
65728         * scripts/check-local-headers.sh: Accept a host triplet in the
65729         path matched by the exclude regexp.
65731         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65732         definition.
65733         * sysdeps/powerpc/powerpc32/dl-machine.h
65734         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65735         * sysdeps/s390/s390-32/dl-machine.h
65736         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65737         * sysdeps/sparc/sparc32/dl-machine.h
65738         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65739         * sysdeps/sparc/sparc64/dl-machine.h
65740         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65742         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65743         lazy binding.
65744         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65745         undefined symbol errors.
65747         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65748         DT_NEEDED entries.
65750 2012-04-05  Michael Matz  <matz@suse.de>
65752         [BZ #13592]
65753         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65755 2012-04-05  Andreas Jaeger  <aj@suse.de>
65757         [BZ #13908]
65758         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65759         comment.
65761 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65763         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65764         which ROUND is no valid rounding mode.
65766 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65768         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65769         read again.
65770         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65772 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65774         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65775         an exception using FPU order intentionally.
65777 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65779         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65780         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65781         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65782         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65784 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65786         [BZ #12340]
65787         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65788         EINVAL when BUFLEN is too smal.
65790 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65792         [BZ #13553]
65793         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65794         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65796 2012-04-03  Andreas Jaeger  <aj@suse.de>
65798         [BZ #13938]
65799         * manual/setjmp.texi (System V contexts): Fix sentence.
65801         [BZ #13926]
65802         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65803         New macro for this case.
65804         [!__GNUC__] (__bswap_64): New inline function for this case.
65805         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65806         * bits/byteswap.h: Likewise.
65807         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65808         ull, guard with __GLIBC_HAVE_LONG_LONG.
65810         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65811         __GLIBC_HAVE_LONG_LONG.
65813         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65814         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65816 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65818         [BZ #13691]
65819         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65820         inptr and inend, rather than using last_ch.
65822 2012-04-02  David S. Miller  <davem@davemloft.net>
65824         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65825         * stdio-common/printf-parse.h (read_int): Change return type to
65826         'int', return -1 on INT_MAX overflow.
65827         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65828         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65829         overflows INT_MAX.  Check for overflow of in-format-string precision
65830         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65831         SIZE_MAX not INT_MAX for integer overflow test.
65832         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65833         skip the construct in the format string but do not record anything.
65834         * stdio-common/bug22.c: Adjust to test both width/prevision
65835         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65836         explicitly for proper errno values.
65838 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65840         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65841         CHAR_MAX.
65842         * string/test-strcmp.c [! WIDE]: Likewise.
65843         * time/tst-mktime2.c: Likewise for INT_MAX.
65844         * string/test-string.h: #include <sys/param.h> for MIN.
65846         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65847         * sysdeps/i386/init-first.c (init): Likewise.
65848         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65849         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65850         * sysdeps/sh/init-first.c (init): Likewise.
65852 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65854         * po/ru.po: Update from translation team.
65855         * po/vi.po: Likewise.
65857 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65859         * resolv/nss_dns/dns-host.c: Merge copyright years.
65861 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65864         Optimize memcpy with prefetch if
65865         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65866         src, dst pointers have unequal 16 byte alignments.
65868 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65870         [BZ #13928]
65871         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65872         from a CNAME entry and return the minimum ttl for the query.
65873         (gaih_getanswer_slice): Likewise.
65875 2012-03-30  Jeff Law  <law@redhat.com>
65877         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65878         due to long keys.
65879         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65880         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65882         * resolv/nss_dns/dns-host.c: Update copyright year.
65884 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65886         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65887         requests to save a system call.  Fix check that all bytes are sent.
65889         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65890         comments for sendmmsg.
65892 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65894         [BZ #13691]
65895         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65896         with only 1 character between 0x0041 and 0x01b0.
65897         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65898         * wcsmbs/tst-mbsnrtowcs.c: New file.
65900 2012-03-29  David S. Miller  <davem@davemloft.net>
65902         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65903         small copies by hand.
65905 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65907         [BZ #13761]
65908         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65909         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65910         group memberships.
65912 2012-03-28  David S. Miller  <davem@davemloft.net>
65914         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65915         that branches into memcpy.
65916         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65917         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65919         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65921         bits.
65922         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65923         implementation too.
65924         * sysdeps/sparc/mempcpy.S: New file.
65926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65927         the IFUNC routine in the libc case.
65928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65930         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65931         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65932         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65933         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65934         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65935         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65936         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65937         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65939         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65940         loop to 256 bytes instead of 64 bytes and fix test signedness.
65942         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65943         * sysdeps/sparc/sparc32/Makefile: rather than here...
65944         * sysdeps/sparc/sparc64/Makefile: and here.
65946 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65948         * malloc/mallocbug.c: Avoid warnings about unused variables.
65950 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65952         [BZ #13760]
65953         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65954         in the right place. Discard and retry query if response is
65955         larger than input buffer size.
65957 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65959         [BZ #369]
65960         [BZ #2678]
65961         [BZ #3866]
65962         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65963         x for large integer exponent.
65964         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65965         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65966         sign of result as needed afterwards.
65967         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65968         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65969         result for underflowing pow the same as for overflow.
65970         (__kernel_standard_l): Handle powl overflow and underflow here
65971         rather than calling __kernel_standard.
65972         * math/libm-test.inc (pow_test): Add more tests.
65974         [BZ #3868]
65975         [BZ #13879]
65976         [BZ #13910]
65977         [BZ #13911]
65978         [BZ #13912]
65979         [BZ #13913]
65980         [BZ #13915]
65981         [BZ #13916]
65982         [BZ #13917]
65983         [BZ #13918]
65984         [BZ #13919]
65985         [BZ #13920]
65986         [BZ #13921]
65987         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65988         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65989         (__kernel_standard_l): New function.
65990         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65991         __kernel_standard.
65992         * math/w_acosl.c (__acosl): Likewise.
65993         * math/w_asinl.c (__asinl): Likewise.
65994         * math/w_atan2l.c (__atan2l): Likewise.
65995         * math/w_atanhl.c (__atanhl): Likewise.
65996         * math/w_coshl.c (__coshl): Likewise.
65997         * math/w_exp10l.c (__exp10l): Likewise.
65998         * math/w_exp2l.c (__exp2l): Likewise.
65999         * math/w_fmodl.c (__fmodl): Likewise.
66000         * math/w_hypotl.c (__hypotl): Likewise.
66001         * math/w_j0l.c (__j0l, __y0l): Likewise.
66002         * math/w_j1l.c (__j1l, __y1l): Likewise.
66003         * math/w_jnl.c (__jnl, __ynl): Likewise.
66004         * math/w_lgammal.c (__lgammal): Likewise.
66005         * math/w_log10l.c (__log10l): Likewise.
66006         * math/w_log2l.c (__log2l): Likewise.
66007         * math/w_logl.c (__logl): Likewise.
66008         * math/w_powl.c (__powl): Likewise.
66009         * math/w_remainderl.c (__remainderl): Likewise.
66010         * math/w_scalbl.c (sysv_scalbl): Likewise.
66011         * math/w_sinhl.c (__sinhl): Likewise.
66012         * math/w_sqrtl.c (__sqrtl): Likewise.
66013         * math/w_tgammal.c (__tgammal): Likewise.
66014         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66015         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66016         * math/libm-test.inc (acos_test): Add more tests.
66017         (acosh_test): Likewise.
66018         (asin_test): Likewise.
66019         (atanh_test): Likewise.
66020         (exp_test): Likewise.
66021         (exp10_test): Likewise.
66022         (exp2_test): Likewise.
66023         (expm1_test): Likewise.
66024         (lgamma_test): Likewise.
66025         (log_test): Likewise.
66026         (log10_test): Likewise.
66027         (log1p_test): Likewise.
66028         (log2_test): Likewise.
66029         (pow_test): Do not allow some spurious overflow exceptions.
66030         (sqrt_test): Add more tests.
66031         (tgamma_test): Likewise.
66032         (y0_test): Likewise.
66033         (y1_test): Likewise.
66034         (yn_test): Likewise.
66036 2012-03-27  Anton Blanchard  <anton@samba.org>
66038         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66039         MAP_HUGETLB.
66040         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66041         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66042         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66044 2012-03-27  David S. Miller  <davem@davemloft.net>
66046         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66048         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66049         have-as-vis3 check.
66051 2012-03-27  Andreas Jaeger  <aj@suse.de>
66053         * sysdeps/x86_64/elf/configure.in: Moved to ...
66054         * sysdeps/x86_64/configure.in: ... here.
66055         * sysdeps/x86_64/elf/start.S: Moved to ...
66056         * sysdeps/x86_64/start.S: ... here.
66057         * sysdeps/x86_64/elf/configure: Delete.
66059         * sysdeps/x86_64/configure.in: Merge contents from
66060         sysdeps/i386/configure.in (without i686 check).
66062         * sysdeps/i386/elf/Versions: Merge into ...
66063         * sysdeps/i386/Versions: ... this.
66064         * sysdeps/i386/elf/Versions: Delete file.
66065         * sysdeps/i386/elf/start.S: Moved to ...
66066         * sysdeps/i386/start.S: ...here.
66067         * sysdeps/i386/elf/configure.in: Merge into...
66068         * sysdeps/i386/configure.in: ...here.
66069         * sysdeps/i386/elf/configure.in: Delete file.
66070         * sysdeps/i386/elf/configure: Delete file.
66072         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66073         * debug/backtracesyms.c: ... here.
66074         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66075         * debug/backtracesymsfd.c: ... here.
66076         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66077         * sysdeps/generic/ifunc-sel.h: ... here.
66079         * sysdeps/unix/i386/start.c: Delete file.
66080         * sysdeps/unix/sparc/start.c: Delete file.
66081         * sysdeps/unix/start.c: Delete file.
66083         * sysdeps/sh/elf/configure.in: Moved to ...
66084         * sysdeps/sh/configure.in: ... here.
66085         * sysdeps/sh/elf/start.S: Moved to ...
66086         * sysdeps/sh/start.S: ... here.
66087         * sysdeps/sh/elf/configure: Delete file.
66089         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66090         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66091         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66092         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66093         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66094         * sysdeps/powerpc/powerpc64/start.S: here.
66095         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66096         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66097         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66098         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66099         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66101         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66102         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66103         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66104         * sysdeps/powerpc/powerpc32/start.S: ... here.
66105         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66106         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66107         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66109         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66110         * sysdeps/powerpc/ifunc-sel.h: ... here.
66111         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66112         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66114         * sysdeps/sparc/elf/configure.in: Moved to ...
66115         * sysdeps/sparc/configure.in: ... here.
66116         * sysdeps/sparc/elf/configure: Delete file.
66117         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66118         * sysdeps/sparc/sparc32/start.S: ... here.
66119         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66120         * sysdeps/sparc/sparc64/start.S: ... here.
66121         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66122         * sysdeps/sparc/sparc32/Makefile: ... this.
66123         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66124         * sysdeps/sparc/sparc64/Makefile: ... this.
66126         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66127         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66128         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66129         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66130         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66131         * sysdeps/s390/s390-32/setjmp.S: ... here.
66132         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66133         * sysdeps/s390/s390-32/configure.in: ... here.
66134         * sysdeps/s390/s390-32/elf/configure: Delete file.
66135         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66136         * sysdeps/s390/s390-32/start.S: ... here.
66138         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66139         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66140         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66141         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66142         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66143         * sysdeps/s390/s390-64/setjmp.S: ... here.
66144         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66145         * sysdeps/s390/s390-64/configure.in: ... here
66146         * sysdeps/s390/s390-64/elf/configure: Delete file.
66147         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66148         * sysdeps/s390/s390-64/start.S: ... here.
66149         * sysdeps/s390/s390-64/elf/configure: Delete.
66151         * configure.in: Remove support for elf directories in sysdeps.
66153         * configure: Regenerated.
66154         * sysdeps/i386/configure: Regenerated.
66155         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66156         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66157         * sysdeps/s390/s390-32/configure: Regenerated.
66158         * sysdeps/s390/s390-64/configure: Regenerated.
66159         * sysdeps/sh/configure: Regenerated.
66160         * sysdeps/sparc/configure: Regenerated.
66161         * sysdeps/x86_64/configure: Regenerated.
66163 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66168         denormal result into account.
66170 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66172         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66173         Reported by Allan McRae <allan@archlinux.org>.
66175 2012-03-23  Jeff Law  <law@redhat.com>
66177         * nss/getnssent.c (__nss_getent): Fix typo.
66179 2012-03-23  David S. Miller  <davem@davemloft.net>
66181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66183 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66185         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66186         to pad to uint64_t for each field.
66187         (dl_tls_index): Replace unsigned long with uint64_t.
66189 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66190         Paul Pluzhnikov  <ppluzhnikov@google.com>
66192         [BZ #6528]
66193         * grp/Makefile (otherlibs): Don't set it.
66194         * inet/Makefile (otherlibs): Likewise.
66195         * login/Makefile (otherlibs): Likewise.
66196         * nscd/Makefile (otherlibs): Likewise.
66197         * posix/Makefile (otherlibs): Likewise.
66198         * pwd/Makefile (otherlibs): Likewise.
66199         * rt/Makefile (otherlibs): Likewise.
66200         * sunrpc/Makefile (otherlibs): Likewise.
66201         * nss/Makefile (otherlibs): Likewise.
66202         Add libnss_files to routines and static-only-routines.
66203         ($(objpfx)getent): Remove rule.
66204         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66205         static-only-routines.
66207 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66209         [BZ #13892]
66210         * math/s_cexp.c: Include <float.h>.
66211         (__cexp): Handle exp result overflowing not necessarily
66212         overflowing both real and imaginary parts of result.
66213         * math/s_cexpf.c: Likewise.
66214         * math/s_cexpl.c: Likewise.
66215         * math/libm-test.inc (cexp_test): Add more tests.
66216         * sysdeps/i386/fpu/libm-test-ulps: Update.
66217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66219 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66221         * include/link.h (ELFW): New macro.
66222         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66223         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66225 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66227         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66228         with uint64_t.
66230 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66232         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66233         declaration.
66234         (struct La_x32_retval): Likewise.
66236 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66238         * sysdeps/x86_64/preconfigure.in: New file.
66239         * sysdeps/x86_64/preconfigure: New generated file.
66241 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66243         [BZ #13824]
66244         * math/e_exp2l.c: Include <float.h>.
66245         (__ieee754_exp2l): Handle overflow and underflow cases
66246         separately.  Only pass fractional part of argument to
66247         __ieee754_expl.
66248         * math/libm-test.inc (exp2_test): Add more tests.
66250         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66251         negating x to take absolute value.
66252         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66253         Likewise.
66254         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66255         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66256         Likewise.
66257         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66258         computing low part if x was negated.
66259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66261 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66263         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66264         la_x32_gnu_pltexit.
66265         (pltexit): Cast int_retval to ptrdiff_t.
66266         * elf/tst-auditmod3b.c: Likewise.
66267         * elf/tst-auditmod4b.c: Likewise.
66268         * elf/tst-auditmod5b.c: Likewise.
66269         * elf/tst-auditmod6b.c: Likewise.
66270         * elf/tst-auditmod6c.c: Likewise.
66271         * elf/tst-auditmod7b.c: Likewise.
66273         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66274         and x32_gnu_pltexit.
66276         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66277         __ELF_NATIVE_CLASS.
66278         (La_x32_regs): New macro.
66279         (La_x32_retval): Likewise.
66280         (la_x32_gnu_pltenter): New function prototype.
66281         (la_x32_gnu_pltexit): Likewise.
66283 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66286         exponent.
66288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66290         * configure.in (libc_cv_cc_nofma): Check for option to disable
66291         generation of FMA instructions.
66292         * configure: Regenerate.
66293         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66294         * sysdeps/ieee754/dbl-64/Makefile: New file.
66295         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66296         Remove brandred-fma4.
66297         (CFLAGS-brandred-fma4.c): Remove.
66298         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66299         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66300         define.
66301         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66302         define.
66304 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66306         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66307         LLONG_MAX != LONG_MAX.
66308         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66309         (_fitoa_word): Likewise.
66310         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66311         LLONG_MAX != LONG_MAX.
66312         * stdio-common/_itowa.h: Include <_itoa.h>.
66313         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66314         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66315         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66316         only if not defined.
66317         (_ITOA_WORD_TYPE): Likewise.
66318         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66319         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66321 2012-03-21  David S. Miller  <davem@davemloft.net>
66323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66325 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66327         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66328         of x86_64 when setting libc_cv_slibdir, libdir and
66329         libc_cv_localedir.
66330         * sysdeps/unix/sysv/linux/configure: Regenerated.
66332 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66334         * manual/lang.texi (Old Varargs): Remove section.
66335         (How Variadic): Update menu.
66336         (va_start): Do not mention varargs.h.
66338 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66339             Joseph Myers  <joseph@codesourcery.com>
66341         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66342         link test.
66343         * configure: Regenerated.
66345 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66347         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66348         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66349         conformtest.pl
66351 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66353         * NOTES: Remove.
66354         * Makefile (files-for-dist): Remove NOTES.
66355         (NOTES): Remove rule.
66356         * README: Don't refer to NOTES.
66357         * manual/creature.texi: Don't include macros.texi.
66358         * manual/intro.texi (creature.texi): Remove comment referring to
66359         NOTES.
66361         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66362         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66363         * configure: Regenerated.
66364         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66365         LIBC_TRY_CC_OPTION.
66366         (libc_cv_as_i686): Likewise.
66367         (libc_cv_cc_avx): Likewise.
66368         (libc_cv_cc_sse2avx): Likewise.
66369         (libc_cv_cc_fma4): Likewise.
66370         (libc_cv_cc_novzeroupper): Likewise.
66371         * sysdeps/i386/configure: Regenerated.
66373         [BZ #13883]
66374         * sysdeps/i386/fpu/s_cexp.S: Remove.
66375         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66376         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66377         * math/libm-test.inc (cexp_test): Add more tests.
66378         * sysdeps/i386/fpu/libm-test-ulps: Update.
66379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66381 2012-03-21  Allan McRae  <allan@archlinux.org>
66383         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66385 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66387         [BZ #13871]
66388         * math/w_exp2.c: Do not include <float.h>.
66389         (o_threshold, u_threshold): Remove.
66390         (__exp2): Calculate result before checking finiteness and calling
66391         __kernel_standard.
66392         * math/w_exp2f.c: Likewise.
66393         * math/w_exp2l.c: Likewise.
66394         * math/libm-test.inc (exp2_test): Require overflow exception for
66395         1e6 input.
66397         [BZ #3866]
66398         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66399         range of signed 64-bit integers before using fistpll.  Remove
66400         checks for whether integers fit in mantissa bits.
66401         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66402         the range of signed 32-bit integers before using fistpl.  Remove
66403         checks for whether integers fit in mantissa bits.
66404         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66405         (__ieee754_powl): Test for y outside the range of signed 64-bit
66406         integers before using fistpll.  Reduce 64-bit values to 63-bit
66407         ones as needed.
66408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66409         divide-by-zero is raised for zero to large negative powers.
66410         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66411         (__ieee754_powl): Test for y outside the range of signed 64-bit
66412         integers before using fistpll.  Reduce 64-bit values to 63-bit
66413         ones as needed.
66414         * math/libm-test.inc (pow_test): Add more tests.
66416 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66418         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66419         <stdio-common/_itoa.h>.
66420         * debug/segfault.c: Likewise.
66421         * elf/dl-cache.c: Likewise.
66422         * elf/dl-minimal.c: Likewise.
66423         * elf/dl-misc.c: Likewise.
66424         * elf/dl-sysdep.c: Likewise.
66425         * elf/dl-version.c: Likewise.
66426         * elf/rtld.c: Likewise.
66427         * hurd/hurdsock.c: Likewise.
66428         * hurd/lookup-retry.c: Likewise.
66429         * malloc/malloc.c: Likewise.
66430         * malloc/mtrace.c: Likewise.
66431         * nscd/nscd_getgr_r.c: Likewise.
66432         * nscd/nscd_getpw_r.c: Likewise.
66433         * nscd/nscd_getserv_r.c: Likewise.
66434         * posix/getopt_init.c: Likewise.
66435         * posix/wordexp.c: Likewise.
66436         * stdio-common/_itoa.c: Likewise.
66437         * stdio-common/printf_fphex.c: Likewise.
66438         * stdio-common/vfprintf.c: Likewise.
66439         * string/_strerror.c: Likewise.
66440         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66441         * sysdeps/i386/i686/hp-timing.h: Likewise.
66442         * sysdeps/mach/_strerror.c: Likewise.
66443         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66444         * sysdeps/mach/hurd/sethostid.c: Likewise.
66445         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66446         * sysdeps/mach/xpg-strerror.c: Likewise.
66447         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66449         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66450         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66451         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66452         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66453         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66454         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66455         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66456         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66457         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66458         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66459         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66460         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66461         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66462         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66463         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66464         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66465         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66466         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66467         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66469         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66471         * stdio-common/_itoa.h: Moved to ...
66472         * sysdeps/generic/_itoa.h: Here.
66474         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66476         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66477         instead of "_itoa.h" and "_itowa.h".
66478         * stdio-common/vfprintf.: Likewise.
66480 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66482         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66483         <bits/wordsize.h>.
66484         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66485         (__signbit): Likwise.
66486         (llrintf): Likwise.
66487         (llrint): Likwise.
66489 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66491         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66492         __WORDSIZE != 64.
66494 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66496         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66497         OVERFLOW_EXCEPTION_OK.
66498         * math/libm-test.inc ("Philosophy"): Update comment about
66499         exception testing.
66500         (OVERFLOW_EXCEPTION): Define.
66501         (OVERFLOW_EXCEPTION_OK): Likewise.
66502         (INVALID_EXCEPTION_OK): Renumber.
66503         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66504         (IGNORE_ZERO_INF_SIGN): Likewise.
66505         (test_exceptions): Handle FE_OVERFLOW.
66506         (exp10_test): Expect overflow exceptions.
66507         (exp2_test): Likewise.
66508         (expm1_test): Likewise.
66509         (nextafter_test): Likewise.
66510         (pow_test): Likewise.
66511         (scalbn_test): Likewise.
66512         (scalbln_test): Likewise.
66514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66516         * sysdeps/x86_64/bits/atomic.h
66517         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66518         64bit integer.
66519         (atomic_exchange_acq): Likewise.
66520         (__arch_exchange_and_add_body): Likewise.
66521         (__arch_add_body): Likewise.
66522         (atomic_add_negative): Likewise.
66523         (atomic_add_zero): Likewise.
66525 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66527         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66528         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66532         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66533         Check __x86_64__ instead of __WORDSIZE.
66535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66537         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66539 2012-03-19  David S. Miller  <davem@davemloft.net>
66541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66543         * sysdeps/sparc/fpu/fenv_private.h: New file.
66544         * sysdeps/sparc/fpu/math_private.h: Use it.
66545         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66546         Remove.
66547         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66548         (libc_feholdexcept_setroundl): Remove.
66549         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66550         Remove.
66551         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66552         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66556         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66557         int64_t instead of long int.
66558         (INSERT_WORDS64): Likwise.
66560 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66562         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66563         _Unwind_GetCFA return to _Unwind_Ptr first.
66565 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66567         [BZ #13629]
66568         * math/s_clog.c: Include <float.h>.
66569         (__clog): Scale large or subnormal inputs.
66570         * math/s_clogf.c: Likewise.
66571         * math/s_clogl.c: Likewise.
66572         * math/s_clog10.c: Include <float.h>.
66573         (M_LOG10_2): Define.
66574         (__clog10): Scale large or subnormal inputs.
66575         * math/s_clog10f.c: Likewise.
66576         * math/s_clog10l.c: Likewise.
66577         * math/libm-test.inc (clog_test): Add more tests.
66578         (clog10_test): Likewise.
66579         * sysdeps/i386/fpu/libm-test-ulps: Update.
66580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66582         [BZ #11451]
66583         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66584         x and y.
66585         * math/libm-test.inc (atan2_test): Add another test.
66587         * Makerules (common-objdir-compile): Remove.
66588         * sysdeps/unix/Makefile (config-generated): Do not add
66589         $(unix-generated) to variable.
66590         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66591         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66592         Remove rule.
66593         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66594         Likewise.
66595         [generic bits/local_lim.h] (before-compile): Do not append to
66596         variable.
66597         [generic bits/local_lim.h] (common-generated): Likewise.
66598         [generic sys/param.h] (before-compile): Do not append to variable.
66599         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66600         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66601         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66602         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66603         include.
66604         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66605         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66606         [generic sys/param.h] ($(addprefix
66607         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66608         [generic sys/param.h] (common-generated): Do not append to
66609         variable.
66610         [generic sys/param.h] (sysdep_headers): Likewise.
66611         [generic bits/errno.h] (before-compile): Do not append to
66612         variable.
66613         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66614         rule.
66615         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66616         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66617         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66618         [generic bits/errno.h] (common-generated): Do not append to
66619         variable.
66620         [generic bits/ioctls.h] (before-compile): Do not append to
66621         variable.
66622         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66623         rule.
66624         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66625         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66626         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66627         rule.
66628         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66629         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66630         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66631         [generic bits/ioctls.h] (common-generated): Do not append to
66632         variable.
66633         [generic sys/syscall.h] (syscall.h): Remove variable.
66634         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66635         rule.
66636         [generic sys/syscall.h] (before-compile): Do not append to
66637         variable.
66638         [generic sys/syscall.h] (common-generated): Likewise.
66639         * sysdeps/unix/errnos-tmpl.c: Remove file.
66640         * sysdeps/unix/errnos.awk: Likewise.
66641         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66642         * sysdeps/unix/ioctls.awk: Likewise.
66643         * sysdeps/unix/mk-local_lim.c: Likewise.
66644         * sysdeps/unix/snarf-ioctls: Likewise.
66646 2012-03-19  Richard Henderson  <rth@twiddle.net>
66648         * sysdeps/i386/fpu/fenv_private.h: New file.
66649         * sysdeps/i386/fpu/math_private.h: Use it.
66650         (math_opt_barrier, math_force_eval): Remove.
66651         (libc_feholdexcept_setround_53bit): Remove.
66652         (libc_feupdateenv_53bit): Remove.
66653         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66654         (math_opt_barrier, math_force_eval): Remove.
66655         (libc_feholdexcept): Remove.
66656         (libc_feholdexcept_setround): Remove.
66657         (libc_fetestexcept, libc_fesetenv): Remove.
66658         (libc_feupdateenv_test): Remove.
66659         (libc_feupdateenv, libc_feholdsetround): Remove.
66660         (libc_feresetround): Remove.
66662         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66663         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66665         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66666         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66667         (libc_feupdateenv_testl): New.
66668         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66669         (libc_feupdateenv_testf): New.
66670         (libc_feupdateenv): Use libc_feupdateenv_test.
66671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66672         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66674         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66675         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66676         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66677         (libc_feresetround_noex): New.
66678         (libc_feresetround_noexf): New.
66679         (libc_feresetround_noexl): New.
66680         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66681         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66682         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66683         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66684         SET_RESTORE_ROUND.
66685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66686         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66687         (__cos): Likewise.
66688         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66689         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66690         SET_RESTORE_ROUND_NOEX.
66691         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66692         SET_RESTORE_ROUND_NOEXF.
66693         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66694         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66695         (libc_feholdsetroundf): New.
66696         (libc_feresetround, libc_feresetroundf): New.
66698         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66699         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66700         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66702         * sysdeps/generic/math_private.h: Include <fenv.h>.
66703         (default_libc_feholdexcept): New.
66704         (default_libc_feholdexcept_setround): New.
66705         (default_libc_fesetenv, default_libc_feupdateenv): New.
66706         (libc_feholdexcept): Only define if undefined.
66707         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66708         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66709         (libc_feholdexcept_setroundl): Likewise.
66710         (libc_feholdexcept_setround_53bit): Likewise.
66711         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66712         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66713         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66714         (libc_feupdateenv_53bit): Likewise.
66715         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66716         (libc_feholdexcept): Convert from macro to inline function.
66717         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66718         (libc_fesetenv, libc_feupdateenv): Likewise.
66720         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66721         not previously defined.
66722         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66723         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66724         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66725         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66726         * sysdeps/ieee754/flt-32/math_private.h: New file.
66727         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66728         math_private.h below SET_FLOAT_WORD.
66729         (__isnan, __isinf_ns, __finite): Remove.
66730         (__isnanf, __isinf_nsf, __finitef): Remove.
66732 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66736 2012-03-17  David S. Miller  <davem@davemloft.net>
66738         [BZ #6471]
66739         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66740         for 2.16.
66742 2012-03-16  David S. Miller  <davem@davemloft.net>
66744         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66745         warnings.
66747         [BZ #6471]
66748         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66749         properly.
66750         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66751         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66752         sysdep_routines when subdir is sysvipc.
66753         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66754         __getshmlba helper.
66756         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66758 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66760         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66761         [__LP64__].
66763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66765         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66766         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66767         (__lround): Renamed to ...
66768         (__llround): This.  Replace long int with long long int.
66769         Define lround functions as aliases of llround functions.
66770         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66772 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66774         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66775         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66776         adresses to uintptr_t.  Replace "long int" and "unsigned long
66777         int" with "greg_t" on va_arg.
66779 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66781         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66782         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66784         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66785         Move e_machine check before EI_CLASS check.  Handle x32
66786         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66787         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66788         SKIP_EM_IA_64 and include
66789         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66791         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66792         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66793         (add_system_dir): New macro.
66795         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66796         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66798 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66800         [BZ #2551]
66801         [BZ #2552]
66802         [BZ #2553]
66803         [BZ #2554]
66804         [BZ #2562]
66805         [BZ #2563]
66806         [BZ #2565]
66807         [BZ #2566]
66808         [BZ #2576]
66809         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66810         (y0): Likewise.
66811         * math/w_j0f.c (j0f): Likewise.
66812         (y0f): Likewise.
66813         * math/w_j0l.c (__j0l): Likewise.
66814         (__y0l): Likewise.
66815         * math/w_j1.c (j1): Likewise.
66816         (y1): Likewise.
66817         * math/w_j1f.c (j1f): Likewise.
66818         (y1f): Likewise.
66819         * math/w_j1l.c (__j1l): Likewise.
66820         (__y1l): Likewise.
66821         * math/w_jn.c (jn): Likewise.
66822         (yn): Likewise.
66823         * math/w_jnf.c (jnf): Likewise.
66824         (ynf): Likewise.
66825         * math/w_jnl.c (__jnl): Likewise.
66826         (__ynl): Likewise.
66827         * math/libm-test.inc (j0_test): Add more tests.
66828         (j1_test): Likewise.
66829         (jn_test): Likewise.  Add trailing semicolon to existing test.
66830         (y0_test): Likewise.
66831         (y1_test): Likewise.
66832         * sysdeps/i386/fpu/libm-test-ulps: Update.
66833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66835         [BZ #13851]
66836         [BZ #13854]
66837         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66838         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66839         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66840         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66841         (__tanl): Set errno for infinite argument.
66842         * sysdeps/i386/fpu/mptan.c: Remove.
66843         * sysdeps/i386/fpu/s_tan.S: Likewise.
66844         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66845         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66846         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66847         * math/libm-test.inc (tan_test): Add more tests and enable more
66848         tests for double and long double.
66849         * sysdeps/i386/fpu/libm-test-ulps: Update.
66850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66852 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66854         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66855         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66857 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66859         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66860         * configure.in: Use it for both main tree and add-ons.
66861         * configure: Regenerated.
66863 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66865         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66867 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66869         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66870         in comment.
66872         [BZ #13851]
66873         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66874         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66875         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66876         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66877         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66878         infinite argument.
66879         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66880         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66881         != 0 for prec == 2.
66882         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66883         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66884         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66885         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66886         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66887         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66888         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66889         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66890         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66891         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66892         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66893         * math/libm-test.inc (cos_test): Add more tests and enable more
66894         tests for long double.
66895         (sin_test): Likewise.
66896         (sincos_test): Likewise.
66897         * sysdeps/i386/fpu/libm-test-ulps: Update.
66898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66900 2012-03-16  David S. Miller  <davem@davemloft.net>
66902         * sysdeps/sparc/fpu/math_private.h: New file.
66904 2012-03-15  David S. Miller  <davem@davemloft.net>
66906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66907         file.
66908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66910         file.
66911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66914         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66916         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66917         sysdep routines.
66918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66920         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66921         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66923         * sysdeps/sparc/sparc-ifunc.h: New file.
66924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66925         sparc-ifunc.h
66926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66928         Likewise.
66929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66930         Likewise.
66931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66935         Likewise.
66936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66941         Likewise.
66942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66943         Likewise.
66944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66962         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66963         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66964         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66965         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66966         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66967         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66969 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66971         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66972         scaling.
66973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66975 2012-03-15  Andreas Jaeger  <aj@suse.de>
66977         [BZ #13852]
66978         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66979         ieee754/flt-32 implementation for sin, cos and sincos.
66980         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66981         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66982         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66983         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66984         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66985         ieee754/flt-32 implementation for tan.
66987         * math/libm-test.inc (cos_test): Enable some large input tests for
66988         float as well
66989         (sin_test): Likewise.
66990         (sincos_test): Likewise.
66991         (tan_test): Add tests for large input.
66993         * sysdeps/i386/fpu/libm-test-ulps: Update.
66995 2012-03-15  Andreas Jaeger  <aj@suse.de>
66997         [BZ #13658]
66998         * math/libm-test.inc (cos_test): Add more test cases.
66999         (sin_test): Likewise.
67000         (sincos_test): Likewise.
67002 2012-03-15  Andreas Jaeger  <aj@suse.de>
67004         [BZ #13837]
67005         * math/libm-test.inc (cos_test): Add a test case for large input
67006         value.
67007         (sin_test): Likewise.
67008         (sincos_test): Likewise.
67010 2012-03-15  Andreas Jaeger  <aj@suse.de>
67011             Joseph Myers  <joseph@codesourcery.com>
67013         [BZ #13658]
67014         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67015         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67016         * sysdeps/i386/fpu/branred.c: Likewise.
67017         * sysdeps/i386/fpu/dosincos.c: Likewise.
67018         * sysdeps/i386/fpu/mpa.c: Likewise.
67019         * sysdeps/i386/fpu/s_cos.S: Likewise.
67020         * sysdeps/i386/fpu/s_sin.S: Likewise.
67021         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67022         * sysdeps/i386/fpu/sincos32.c: Likewise.
67024         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67025         Define.
67026         (libc_feupdateenv_53bit): Define.
67027         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67028         Define.
67029         (libc_feupdateenv_53bit): Define.
67031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67032         53 bit (without extend i386 double precision).
67034         * math/libm-test.inc (sincos_test): Add tests for large input.
67035         (sin): Likewise.
67036         (cos): Likewise.
67038         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67040 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67044 2012-03-15  David S. Miller  <davem@davemloft.net>
67046         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67047         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67048         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67049         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67062         file.
67063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67065         file.
67066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67068         file.
67069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67071         file.
67072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67074         fmin/fmax sysdep routines.
67075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67077 2012-03-14  David S. Miller  <davem@davemloft.net>
67079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67082         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67084         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67085         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67086         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67099         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67100         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67101         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67102         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67103         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67104         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67105         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67106         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67107         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67108         routines.
67109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67110         file.
67111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67113         file.
67114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67116         file.
67117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67119         file.
67120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67122         file.
67123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67125         file.
67126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67127         file.
67128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67129         file.
67130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67131         file.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67133         New file.
67134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67135         file.
67136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67137         file.
67138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67140         file.
67141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67143         file.
67144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67146         file.
67147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67149         VIS3 routines.
67151         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67152         New file.
67154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67156         * sysdeps/sparc/configure.in: New file.
67157         * sysdeps/sparc/configure: Generate.
67158         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67159         * configure: Regenerate.
67160         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67161         * config.make.in (have-as-vis3): New.
67162         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67163         available use -Av9d instead of -Av9a.
67164         * sysdeps/sparc/sparc64/Makefile: Likewise.
67165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67167         New file.
67168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67169         file.
67170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67171         New file.
67172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67173         file.
67174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67175         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67176         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67177         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67178         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67180         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67181         fzeros/fnegs to load 0x80000000 into a float register instead of
67182         using the stack.
67183         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67185 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67188         bits/syscall.h.
67189         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67190         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67191         ($(inst_includedir)/bits/syscall.h): Remove rule.
67192         ($(objpfx)bits/syscall.d): Include instead of
67193         $(objpfx)syscall-list.d.
67194         (generated): Change syscall-list.h and syscall-list.d to
67195         bits/syscall.h and bits/syscall.d.
67197 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67199         [BZ #13846]
67200         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67202 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67204         [BZ #13841]
67205         * math/s_csqrt.c: Include <float.h>.
67206         (__csqrt): Scale large or subnormal inputs.
67207         * math/s_csqrtf.c: Likewise.
67208         * math/s_csqrtl.c: Likewise.
67209         * math/libm-test.inc (csqrt_test): Add more tests.
67210         * sysdeps/i386/fpu/libm-test-ulps: Update.
67211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67213         [BZ #13840]
67214         * math/libm-test.inc (hypot_test): Add more tests.
67216 2012-03-13  David S. Miller  <davem@davemloft.net>
67218         [BZ #13840]
67219         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67220         double-precision for the calculation instead of scaling.
67222 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67224         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67225         manipulate bits before adding and subtracting TWO52[sx].
67226         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67227         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67228         Likewise.
67229         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67231 2012-03-13  David S. Miller  <davem@davemloft.net>
67233         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67234         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67236         rtld-global-offsets.h
67237         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67239         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67240         large parameters.
67242         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67244         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67245         'err' in the ifdef scope in which it is actually used.
67247         * nss/nss_db/db-init.c: Include string.h
67249 2012-03-12  David S. Miller  <davem@davemloft.net>
67251         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67252         masking out of the most significant byte of random value used.
67253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67254         Fix coding style in previous change.
67256         * sysdeps/unix/sysv/linux/kernel-features.h
67257         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67258         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67259         expression.
67260         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67261         later.
67263 2012-03-11  David S. Miller  <davem@davemloft.net>
67265         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67266         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67267         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67268         for 'resultvar' otherwise things get truncated on 64-bit.
67270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67271         Fix masking out of the most significant byte of random value used.
67273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67275 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67279 2012-03-09  David S. Miller  <davem@davemloft.net>
67281         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67282         variables with appropriate CPP guards.
67283         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67284         from the frame pointer, not the stack pointer.  Correct layout
67285         comments.  Fix test on resulting framesize and the management of
67286         the outregs buffer for pltexit.  Preserve floating point return
67287         values across _dl_call_pltexit call.
67288         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67289         framesize and the management of the outregs buffer for pltexit.
67290         Preserve floating point return values across _dl_call_pltexit
67291         call.
67292         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67293         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67294         (la_sparc64_gnu_pltexit): New functions.
67295         (print_exit): Fix format string for return register value.
67297 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67299         * sunrpc/Makefile (others): Add rpcgen.
67300         ($(objpfx)rpcgen): Remove special build rule and dependency on
67301         libc.
67302         * sunrpc/rpcgen.c: New file.
67304 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67306         [BZ #13673]
67307         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67308         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67309         * sysdeps/i386/crti.S: Likewise.
67310         * sysdeps/i386/crtn.S: Likewise.
67311         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67312         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67313         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67314         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67315         * sysdeps/sh/crti.S: Likewise.
67316         * sysdeps/sh/crtn.S: Likewise.
67317         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67319         [BZ #13673]
67320         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67321         with URL.
67322         * locale/programs/locfile-kw.gperf: Likewise.
67323         * locale/programs/charmap-kw.h: Regenerated.
67324         * locale/programs/locfile-kw.h: Likewise.
67326         [BZ #13673]
67327         * intl/plural.y: Replace FSF snail mail address with URL.
67328         * intl/plural.c: Regenerated.
67330 2012-03-09  Richard Henderson  <rth@twiddle.net>
67332         * include/math_private.h: Remove file.
67333         * math/math_private.h: Move file ...
67334         * sysdeps/generic/math_private.h: ... here.
67336         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67337         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67338         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67340         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67341         and <math_private.h>.
67342         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67343         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67344         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67345         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67346         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67347         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67348         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67350         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67351         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67355         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67357         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67358         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67359         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67360         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67361         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67363         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67364         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67365         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67366         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67367         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67368         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67369         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67370         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67371         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67372         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67373         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67374         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67375         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67376         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67377         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67378         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67379         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67380         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67381         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67382         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67383         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67384         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67385         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67386         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67387         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67388         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67389         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67390         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67391         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67392         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67393         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67394         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67395         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67396         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67397         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67398         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67399         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67400         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67401         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67402         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67403         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67405         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67406         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67407         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67409         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67410         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67411         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67412         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67413         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67414         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67415         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67416         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67418         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67419         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67420         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67421         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67422         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67423         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67424         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67425         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67426         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67427         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67428         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67429         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67430         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67431         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67432         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67433         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67434         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67435         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67436         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67437         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67438         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67439         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67440         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67442         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67443         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67444         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67445         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67446         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67447         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67448         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67449         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67450         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67451         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67452         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67453         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67454         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67455         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67456         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67457         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67459         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67460         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67461         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67462         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67463         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67464         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67465         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67466         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67467         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67468         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67469         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67470         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67471         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67472         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67473         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67474         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67475         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67476         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67477         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67478         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67479         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67480         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67481         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67482         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67483         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67484         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67485         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67486         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67487         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67488         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67489         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67490         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67491         * sysdeps/ieee754/k_standard.c: Likewise.
67492         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67493         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67494         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67495         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67496         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67497         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67498         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67499         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67500         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67501         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67502         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67504         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67505         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67506         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67507         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67508         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67509         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67510         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67511         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67512         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67513         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67514         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67515         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67516         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67517         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67518         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67519         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67520         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67522         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67523         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67524         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67525         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67526         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67527         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67528         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67529         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67530         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67531         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67532         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67533         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67534         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67535         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67536         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67537         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67538         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67540         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67541         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67542         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67543         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67544         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67545         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67546         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67547         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67548         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67549         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67550         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67551         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67552         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67553         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67554         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67555         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67556         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67557         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67558         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67559         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67560         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67561         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67562         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67564         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67565         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67566         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67567         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67569         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67570         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67571         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67572         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67573         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67574         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67575         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67576         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67577         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67578         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67579         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67580         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67581         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67582         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67583         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67584         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67585         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67586         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67587         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67588         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67589         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67590         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67591         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67593         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67594         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67595         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67596         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67599         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67600         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67601         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67602         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67603         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67604         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67605         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67606         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67607         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67608         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67609         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67610         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67611         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67612         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67614         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67615         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67616         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67617         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67618         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67619         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67620         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67621         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67622         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67623         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67624         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67625         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67626         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67627         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67628         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67629         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67630         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67631         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67632         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67633         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67634         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67635         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67636         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67638         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67639         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67640         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67641         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67642         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67643         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67646         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67651         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67652         * sysdeps/ieee754/s_lib_version.c: Likewise.
67653         * sysdeps/ieee754/s_matherr.c: Likewise.
67654         * sysdeps/ieee754/s_signgam.c: Likewise.
67655         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67656         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67657         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67658         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67659         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67660         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67661         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67662         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67663         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67664         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67665         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67666         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67667         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67668         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67669         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67670         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67671         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67672         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67673         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67677 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67679         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67680         * sunrpc/rpc_main.c: Likewise.
67681         * sunrpc/rpc_svcout.c: Likewise.
67683 2012-03-09  David S. Miller  <davem@davemloft.net>
67685         * include/math_private.h: New file.
67687 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67689         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67690         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67691         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67692         from <bits/socket_type.h>.
67693         (enum __socket_type): Don't define here.
67694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67696         bits/socket_type.h.
67698         [BZ #13566]
67699         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67700         checking __USE_GNU.
67702         * Makerules ($(inst_includedir)/%.h): New rule.
67703         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67704         (install-others): Remove variable setting.
67705         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67707 2012-03-08  Richard Henderson  <rth@twiddle.net>
67709         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67710         from macro to inline function; merge with the
67711         !__LIBC_INTERNAL_MATH_INLINES version.
67712         (__ieee754_sqrtf): Likewise.
67714         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67715         to inline function.
67716         (__rintf, __floor, __floorf): Likewise.
67718         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67719         macro to inline function.
67720         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67722         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67723         not <math/math_private.h>.
67725 2012-03-08  David S. Miller  <davem@davemloft.net>
67727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67728         copyright year.
67729         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67731 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67733         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67734         normalization.
67735         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67736         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67738 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67740         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67741         be defined individually, they must be defined as a block.  Define
67742         S for printing a string instead of hidint the different by using a
67743         macro for adding the 'l'.
67744         * stdio-common/tst-fphex-wide.c: Adjust.
67746 2012-03-07  Marek Polacek  <polacek@redhat.com>
67748         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67750 2012-03-08  Marek Polacek  <polacek@redhat.com>
67752         [BZ #13806]
67753         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67754         * stdio-common/tst-fphex.c: Define a few macros to make the
67755         test reusable.  Use them.
67756         * stdio-common/tst-fphex-wide.c: New file.
67758 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67760         [BZ #6911]
67761         * manual/macros.texi (gnusystems): New macro.
67762         (nongnusystems): Likewise.
67763         (gnulinuxhurdsystems): Likewise.
67764         (gnuhurdsystems): Likewise..
67765         (gnulinuxsystems): Likewise.
67766         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67767         variants of the GNU system, not "GNU system".
67768         * manual/conf.texi: Likewise.
67769         * manual/errno.texi: Likewise.  Update example of errno macro
67770         expansion.
67771         * manual/filesys.texi: Likewise.
67772         (getumask): Document as specific to GNU/Hurd.
67773         * manual/install.texi: Likewise.  Reword some references to
67774         GNU/Linux.
67775         * manual/intro.texi: Likewise.
67776         * manual/io.texi: Likewise.
67777         (File Name Portability): Detail which constraints are inapplicable
67778         to all GNU systems and which are only inapplicable to GNU/Hurd.
67779         * manual/job.texi: Likewise.
67780         * manual/llio.texi: Likewise.
67781         (O_NOCTTY): Document as present on GNU/Linux.
67782         * manual/maint.texi: Likewise.
67783         * manual/memory.texi: Likewise.
67784         * manual/pattern.texi: Likewise.
67785         * manual/pipe.texi: Likewise.
67786         * manual/process.texi: Likewise.
67787         * manual/resource.texi: Likewise.
67788         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67789         child on GNU/Hurd.
67790         * manual/setjmp.texi: Likewise.
67791         * manual/signal.texi: Likewise.
67792         * manual/startup.texi: Likewise.
67793         * manual/stdio.texi: Likewise.
67794         * manual/terminal.texi: Likewise.
67795         (ONLCR): Document as POSIX.
67796         (OXTABS): Document availability on GNU/Linux as XTABS.
67797         (ONOEOT): Document availability separately from other bits.
67798         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67799         * manual/time.texi: Likewise.
67800         * manual/users.texi: Likewise.
67801         * INSTALL: Regenerated.
67802         * sysdeps/gnu/errlist.c: Regenerated.
67804         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67805         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67806         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67807         puts.
67808         * configure: Regenerated.
67810 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67812         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67813         default includes instead of AC_HEADER_CHECK.
67814         * sysdeps/i386/configure: Regenerated.
67816         [BZ #10716]
67817         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67818         * math/s_cacoshf.c (__cacoshf): Likewise.
67819         * math/s_cacoshl.c (__cacoshl): Likewise.
67820         * math/s_casinh.c (__casinh): Set signs of result from argument.
67821         * math/s_casinhf.c (__casinhf): Likewise.
67822         * math/s_casinhl.c (__casinhl): Likewise.
67823         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67824         (casinh_test): Add more tests.
67825         * sysdeps/i386/fpu/libm-test-ulps: Update.
67826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67828 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67830         * po/zh_TW.po: Update from translation team.
67832         * login/Makefile (distribute): Remove variable.
67833         * catgets/Makefile: Likewise.
67834         * mach/Makefile: Likewise.
67835         * malloc/Makefile: Likewise.
67836         * misc/Makefile: Likewise.
67837         * iconv/Makefile: Likewise.
67838         * nscd/Makefile: Likewise.
67839         * hurd/Makefile: Likewise.
67840         * manual/Makefile: Likewise.
67841         * locale/Makefile: Likewise.
67842         * intl/Makefile: Likewise.
67843         * conform/Makefile: Likewise.
67844         * nss/Makefile: Likewise.
67845         * time/Makefile: Likewise.
67846         * soft-fp/Makefile: Likewise.
67847         * dirent/Makefile: Likewise.
67848         * gmon/Makefile: Likewise.
67849         * po/Makefile: Likewise.
67850         * rt/Makefile: Likewise.
67851         * socket/Makefile: Likewise.
67852         * math/Makefile: Likewise.
67853         * signal/Makefile: Likewise.
67854         * debug/Makefile: Likewise.
67855         * elf/Makefile: Likewise.
67856         * timezone/Makefile: Likewise.
67857         * stdlib/Makefile: Likewise.
67858         * iconvdata/Makefile: Likewise.
67859         * sunrpc/Makefile: Likewise.
67860         * io/Makefile: Likewise.
67861         * argp/Makefile: Likewise.
67862         * inet/Makefile: Likewise.
67863         * hesiod/Makefile: Likewise.
67864         * grp/Makefile: Likewise.
67865         * csu/Makefile: Likewise.
67866         * wctype/Makefile: Likewise.
67867         * crypt/Makefile: Likewise.
67868         * libio/Makefile: Likewise.
67869         * string/Makefile: Likewise.
67870         * nis/Makefile: Likewise.
67871         * resolv/Makefile: Likewise.
67872         * stdio-common/Makefile: Likewise.
67873         * wcsmbs/Makefile: Likewise.
67874         * dlfcn/Makefile: Likewise.
67875         * posix/Makefile: Likewise.
67877         [BZ #6959]
67878         * timezone/Makefile: Don't install timezone files, just the programs
67879         and scripts.
67881 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67883         * nss/databases.def: Add missing gshadow entry.
67885         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67887 2012-03-06  Marek Polacek  <polacek@redhat.com>
67889         [BZ #13726]
67890         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67891         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67892         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67893         * stdio-common/tst-long-dbl-fphex.c: New file.
67895 2012-03-06  David S. Miller  <davem@davemloft.net>
67897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67898         (set_obp_int): New function.
67899         (get_obp_int): New function.
67900         (__get_clockfreq_via_dev_openprom): Likewise.
67901         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67902         Avoid unused variable warnings on 'val' and use builtin_expect.
67903         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67904         __builtin_expect.
67905         (INLINE_CLONE_SYSCALL): Likewise.
67907 2012-03-05  David S. Miller  <davem@davemloft.net>
67909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67911 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67915         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67916         only for |x| >= 40.
67917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67919 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67922         Replace gettimeofday with __vdso_gettimeofday.
67924         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67925         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67926         __vdso_clock_gettime and __vdso_getcpu.
67928         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67929         time with __vdso_time.
67931 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67933         * manual/lang.texi (size_t): Note types to which size_t may be
67934         equivalent with the GNU C Library, but do not describe when
67935         differences between them are significant.
67937 2012-03-05  Andreas Jaeger  <aj@suse.de>
67939         * sysdeps/i386/fpu/libm-test-ulps: Update.
67941 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67943         [BZ #3976]
67944         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67945         (__ieee754_pow): Save and restore rounding mode and use
67946         round-to-nearest for main computations.
67947         * math/libm-test.inc (pow_test_tonearest): New function.
67948         (pow_test_towardzero): Likewise.
67949         (pow_test_downward): Likewise.
67950         (pow_test_upward): Likewise.
67951         (main): Call the new functions.
67952         * sysdeps/i386/fpu/libm-test-ulps: Update.
67953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67955         [BZ #3976]
67956         * math/libm-test.inc (cosh_test_tonearest): New function.
67957         (cosh_test_towardzero): Likewise.
67958         (cosh_test_downward): Likewise.
67959         (cosh_test_upward): Likewise.
67960         (sinh_test_tonearest): Likewise.
67961         (sinh_test_towardzero): Likewise.
67962         (sinh_test_downward): Likewise.
67963         (sinh_test_upward): Likewise.
67964         (main): Call the new functions.
67965         * sysdeps/i386/fpu/libm-test-ulps: Update.
67966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67968 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67970         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67971         default stack guard is set in last bytes.
67972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67974 2012-03-05  Kees Cook  <keescook@chromium.org>
67976         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67978         [BZ #13656]
67979         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67980         possibly allocate from heap instead of stack.
67981         * stdio-common/bug-vfprintf-nargs.c: New file.
67982         * stdio-common/Makefile (tests): Add nargs overflow test.
67984 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67988 2012-03-03  Marek Polacek  <polacek@redhat.com>
67990         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67991         * math/math_private.h: Likewise.
67992         * stdlib/tst-strtod.c: Likewise.
67993         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67994         * sysdeps/x86_64/bits/atomic.h: Likewise.
67996 2012-03-02  David S. Miller  <davem@davemloft.net>
67998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68002         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68003         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68004         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68005         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68007 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68009         [BZ #13792]
68010         * manual/examples/README: New file, says the example source files
68011         can be used under GPL>=2.
68012         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68013         line containing just "*/".
68014         * manual/examples/add.c: Add copyright header (GPL>=2).
68015         * manual/examples/argp-ex1.c: Likewise.
68016         * manual/examples/argp-ex2.c: Likewise.
68017         * manual/examples/argp-ex3.c: Likewise.
68018         * manual/examples/argp-ex4.c: Likewise.
68019         * manual/examples/atexit.c: Likewise.
68020         * manual/examples/db.c: Likewise.
68021         * manual/examples/dir.c: Likewise.
68022         * manual/examples/dir2.c: Likewise.
68023         * manual/examples/execinfo.c: Likewise.
68024         * manual/examples/filecli.c: Likewise.
68025         * manual/examples/filesrv.c: Likewise.
68026         * manual/examples/fmtmsgexpl.c: Likewise.
68027         * manual/examples/genpass.c: Likewise.
68028         * manual/examples/inetcli.c: Likewise.
68029         * manual/examples/inetsrv.c: Likewise.
68030         * manual/examples/isockad.c: Likewise.
68031         * manual/examples/longopt.c: Likewise.
68032         * manual/examples/memopen.c: Likewise.
68033         * manual/examples/memstrm.c: Likewise.
68034         * manual/examples/mkfsock.c: Likewise.
68035         * manual/examples/mkisock.c: Likewise.
68036         * manual/examples/mygetpass.c: Likewise.
68037         * manual/examples/pipe.c: Likewise.
68038         * manual/examples/popen.c: Likewise.
68039         * manual/examples/rprintf.c: Likewise.
68040         * manual/examples/search.c: Likewise.
68041         * manual/examples/select.c: Likewise.
68042         * manual/examples/setjmp.c: Likewise.
68043         * manual/examples/sigh1.c: Likewise.
68044         * manual/examples/sigusr.c: Likewise.
68045         * manual/examples/stpcpy.c: Likewise.
68046         * manual/examples/strdupa.c: Likewise.
68047         * manual/examples/strftim.c: Likewise.
68048         * manual/examples/strncat.c: Likewise.
68049         * manual/examples/subopt.c: Likewise.
68050         * manual/examples/swapcontext.c: Likewise.
68051         * manual/examples/termios.c: Likewise.
68052         * manual/examples/testopt.c: Likewise.
68053         * manual/examples/testpass.c: Likewise.
68054         * manual/examples/timeval_subtract.c: Likewise.
68056         [BZ #13792]
68057         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68058         function to ...
68059         * manual/timeval_subtract.c.texi: ... here, new file.
68061 2012-03-02  David S. Miller  <davem@davemloft.net>
68063         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68065 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68067         [BZ #3976]
68068         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68069         (__sin): Save and restore rounding mode and use round-to-nearest
68070         for all computations.
68071         (__cos): Save and restore rounding mode and use round-to-nearest
68072         for all computations.
68073         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68074         <fenv.h>.
68075         (tan): Save and restore rounding mode and use round-to-nearest for
68076         all computations.
68077         * math/libm-test.inc (cos_test_tonearest): New function.
68078         (cos_test_towardzero): Likewise.
68079         (cos_test_downward): Likewise.
68080         (cos_test_upward): Likewise.
68081         (sin_test_tonearest): Likewise.
68082         (sin_test_towardzero): Likewise.
68083         (sin_test_downward): Likewise.
68084         (sin_test_upward): Likewise.
68085         (tan_test_tonearest): Likewise.
68086         (tan_test_towardzero): Likewise.
68087         (tan_test_downward): Likewise.
68088         (tan_test_upward): Likewise.
68089         (main): Call the new functions.
68090         * sysdeps/i386/fpu/libm-test-ulps: Update.
68091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68093         [BZ #10135]
68094         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68095         small n, then large n, before computing and testing k+n.
68096         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68097         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68098         Likewise.
68099         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68100         Likewise.
68101         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68102         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68103         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68104         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68105         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68106         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68108         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68109         * math/libm-test.inc (scalbn_test): Add more tests.
68110         (scalbln_test): Likewise.
68112         * manual/filesys.texi (mode_t): Describe constraints on size and
68113         signedness, not exact equivalence to a particular type.
68114         (ino_t): Likewise.
68115         (ino64_t): Likewise.
68116         (dev_t): Likewise.
68117         (nlink_t): Likewise.
68118         (blkcnt_t): Likewise.
68119         (blkcnt64_t): Likewise.
68120         * manual/llio.texi (off_t): Likewise.
68122         [BZ #3976]
68123         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68124         (__ieee754_exp): Save and restore rounding mode and use
68125         round-to-nearest for all computations.
68126         * math/libm-test.inc (exp_test_tonearest): New function.
68127         (exp_test_towardzero): Likewise.
68128         (exp_test_downward): Likewise.
68129         (exp_test_upward): Likewise.
68130         (main): Call the new functions.
68131         * sysdeps/i386/fpu/libm-test-ulps: Update.
68132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68134 2012-03-01  Chris Demetriou  <cgd@google.com>
68136         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68137         have predictable order.
68139 2012-03-01  David S. Miller  <davem@davemloft.net>
68141         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68143         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68144         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68145         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68146         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68148         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68149         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68150         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68152         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68153         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68154         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68155         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68156         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68160         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68161         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68162         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68164         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68165         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68166         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68167         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68168         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68169         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68170         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68171         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68172         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68173         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68174         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68175         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68177         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68178         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68180         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68181         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68182         * sysdeps/sparc/elf/configure: Regenerated.
68184 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68186         * configure.in (AS, LD): Require binutils 2.20 or later.
68187         * configure: Regenerated.
68188         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68189         as required minimum version.
68190         * INSTALL: Regenerated.
68192         [BZ #2541]
68193         [BZ #4108]
68194         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68195         before squaring exponent.
68196         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68197         bottom long double and 27 bits of top long double before squaring
68198         exponent.
68199         * math/libm-test.inc (erfc_test): Add more tests.
68200         * sysdeps/i386/fpu/libm-test-ulps: Update.
68201         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68204 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68206         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68207         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68208         containing bit-fields.
68209         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68210         * soft-fp/single.h (_FP_UNION_S): Likewise.
68211         * soft-fp/double.h (_FP_UNION_D): Likewise.
68213 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68215         [BZ #13786]
68216         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68217         not include ../strcmp.S.
68218         [USE_AS_STRNCASECMP_L]: Likewise.
68219         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68220         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68221         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68222         (__strncasecmp_l_ia32): Define as alias to
68223         __strncasecmp_l_nonascii.
68225         [BZ #5794]
68226         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68227         * sysdeps/i386/fpu/libm-test-ulps: Update.
68228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68230         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68233 2012-02-29  Jeff Law  <law@redhat.com>
68235         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68236         out of bounds read.
68238 2012-02-29  Marek Polacek  <polacek@redhat.com>
68240         [BZ #13706]
68241         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68242         * elf/Makefile: Add rules to run tst-unused-dep.out.
68244 2012-02-28  David S. Miller  <davem@davemloft.net>
68246         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68247         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68248         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68249         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68250         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68251         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68253 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68255         * math/libm-test.inc (llround_test): Move one test from
68256         lround_test.  Use TEST_f_L in moved test.
68257         (lround_test): Move misplaced test to llround_test.  Add testcase
68258         from bug 2561.
68260 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68262         * sysdeps/x86_64/fpu/e_expf.S: New file.
68263         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68265 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68267         [BZ #13637]
68268         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68269         of remain_len that may cause incomplete multi-byte character and
68270         false match.
68271         * posix/bug-regex33.c: New file.
68272         * posix/Makefile (tests): Add bug-regex33.
68274 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68276         * manual/macros.texi: New file.
68277         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68278         * manual/libc.texinfo: Include macros.texi.
68279         * manual/creatute.texi: Likewise.
68280         * manual/install.texi: Likewise.
68281         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68282         @glibcadj{} in references to the GNU C Library.
68283         * manual/charset.texi: Likewise.
68284         * manual/conf.texi: Likewise.
68285         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68286         when not using those macros.
68287         * manual/creature.texi: Likewise.
68288         * manual/crypt.texi: Likewise.
68289         * manual/errno.texi: Likewise.
68290         * manual/filesys.texi: Likewise.
68291         * manual/header.texi: Likewise.
68292         * manual/install.texi: Likewise.
68293         * manual/intro.texi: Likewise.
68294         * manual/io.texi: Likewise.
68295         * manual/job.texi: Likewise.
68296         * manual/lang.texi: Likewise.
68297         * manual/libc.texiinfo: Likewise.
68298         * manual/llio.texi: Likewise.
68299         * manual/locale.texi: Likewise.
68300         * manual/maint.texi: Likewise.
68301         * manual/math.texi: Likewise.
68302         * manual/memory.texi: Likewise.
68303         * manual/message.texi: Likewise.
68304         * manual/nss.texi: Likewise.
68305         * manual/pattern.texi: Likewise.
68306         * manual/process.texi: Likewise.
68307         * manual/resource.texi: Likewise.
68308         * manual/search.texi: Likewise.
68309         * manual/setjmp.texi: Likewise.
68310         * manual/signal.texi: Likewise.
68311         * manual/socket.texi: Likewise.
68312         * manual/startup.texi: Likewise.
68313         * manual/stdio.texi: Likewise.
68314         * manual/string.texi: Likewise.
68315         * manual/sysinfo.texi: Likewise.
68316         * manual/syslog.texi: Likewise.
68317         * manual/terminal.texi: Likewise.
68318         * manual/time.texi: Likewise.
68319         * manual/users.texi: Likewise.
68320         * INSTALL: Regenerated.
68321         * NOTES: Regenerated.
68322         * sysdeps/gnu/errlist.c: Regenerated.
68324 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68326         * include/dirent.h: Include <dirstream.h> before
68327         <dirent/dirent.h>.
68329 2012-02-28  David S. Miller  <davem@davemloft.net>
68331         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68332         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68333         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68334         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68336 2012-02-27  David S. Miller  <davem@davemloft.net>
68338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68340         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68341         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68344         frame pointer instead of stack pointer relative arg slot.
68345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68346         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68347         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68349 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68351         [BZ #3992]
68352         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68354 2012-02-27  David S. Miller  <davem@davemloft.net>
68356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68360         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68361         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68362         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68363         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68365 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68367         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68368         later.  Allow versions 5-9.
68369         * configure: Regenerated.
68370         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68371         required minimum version and 4.6 as recommended version.  Do not
68372         mention bugs in GCC 2.7 and 2.8.
68373         * INSTALL: Regenerated.
68375 2012-02-27  David S. Miller  <davem@davemloft.net>
68377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68381         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68382         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68383         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68384         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68386         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68387         manipulate bits before adding and subtracting TWO112[sx].
68388         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68390 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68392         [BZ #13775]
68393         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68394         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68395         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68396         being in POSIX, because they are in 1003.1-2008.
68398         * rt/tst-aio.c: Include <fcntl.h>.
68399         * rt/tst-aio7.c: Likewise.
68400         * rt/tst-aio64.c: Likewise.
68402         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68404 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68406         * manual/install.texi (--with-headers): Describe headers as
68407         interface headers, not private headers.
68408         (Specific advice for GNU/Linux systems): Describe use of headers
68409         from "make headers_install", not private headers from older
68410         kernels.
68411         * INSTALL: Regenerated.
68412         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68413         Change to 2.6.19.
68414         * sysdeps/unix/sysv/linux/configure: Regenerated.
68416         * manual/llio.texi (fclean): Remove documentation.
68418         * manual/Makefile (libc-texi-generated): New variable.  Include
68419         version.texi.
68420         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68421         $(libc-texi-generated), not duplicated list of files.
68422         (version.texi, stamp-version): New rules.
68423         (realclean): Remove $(libc-texi-generated), not individual files
68424         from that list.  Do not remove dir-add.texinfo.
68425         * manual/libc.texinfo: Comment out uses of edition numbers and
68426         references to printed manual.  Remove last-updated dates.
68427         (EDITION): Comment out.
68428         (ISBN): Likewise.
68429         (VERSION, UPDATED): Remove.
68430         (version.texi): Include.
68432 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68434         * sysdeps/posix/spawni.c: Include <signal.h>.
68435         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68436         * sysdeps/pthread/aio_fsync.c: Likewise.
68438 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68440         * conform/Makefile (tests): Run only when not cross-compiling and
68441         when fast-check is not defined.
68443         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68444         * conform/data/limits.h-data: Fixes for POSIX2008.
68445         * conform/run-conformtest.sh: Run all tests.
68446         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68447         headers.
68448         * include/bits/dlfcn.h: Likewise.
68449         * include/langinfo.h: Likewise.
68450         * include/monetary.h: Likewise.
68451         * include/sys/poll.h: Likewise.
68453         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68454         for __USE_GNU.
68455         * posix/spawn.h: Define __need_sigset_t.
68456         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68457         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68458         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68459         to get sigevent_t only.
68460         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68461         only for __USE_GNU.
68462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68463         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68464         process_vm_writev only for __USE_GNU.
68465         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68467         * conform/Makefile: For now ignore errors from run-conformtest.
68468         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68469         POSIX to avoid namespace pollution.  Don't prepend headers.
68470         * conform/data/aio.h-data: Fixes for POSIX testing.
68471         * conform/data/fcntl.h-data: Likewise.
68472         * conform/data/glob.h-data: Likewise.
68473         * conform/data/grp.h-data: Likewise.
68474         * conform/data/pthread.h-data: Likewise.
68475         * conform/data/pwd.h-data: Likewise.
68476         * conform/data/signal.h-data: Likewise.
68477         * conform/data/spawn.h-data: Likewise.
68478         * conform/data/stdio.h-data: Likewise.
68479         * conform/data/stdlib.h-data: Likewise.
68480         * conform/data/stropts.h-data: Likewise.
68481         * conform/data/sys/mman.h-data: Likewise.
68482         * conform/data/sys/stat.h-data: Likewise.
68483         * conform/data/sys/types.h-data: Likewise.
68484         * conform/data/sys/wait.h-data: Likewise.
68485         * conform/data/time.h-data: Likewise.
68486         * conform/data/unistd.h-data: Likewise.
68487         * conform/data/utime.h-data: Likewise.
68489         * io/sys/stat.h: fchmod was always in POSIX.
68490         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68491         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68492         * rt/aio.h: Define __need_timespec before including <time.h>.
68493         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68494         struct.  Add forward declaration of pthread_attr_t and use it in
68495         sigevent.
68496         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68498         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68499         always remove CLK_TCK definition.
68501 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68503         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68505 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68507         * conform/run-conformtest.sh: New file.
68508         * conform/Makefile: Run run-conformtest for tests.
68509         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68510         support.
68512         * conform/data/uchar.h-data: New file.
68513         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68514         * conform/data/arpa/inet.h-data: Likewise.
68515         * conform/data/assert.h-data: Likewise.
68516         * conform/data/complex.h-data: Likewise.
68517         * conform/data/cpio.h-data: Likewise.
68518         * conform/data/ctype.h-data: Likewise.
68519         * conform/data/dirent.h-data: Likewise.
68520         * conform/data/dlfcn.h-data: Likewise.
68521         * conform/data/errno.h-data: Likewise.
68522         * conform/data/fcntl.h-data: Likewise.
68523         * conform/data/float.h-data: Likewise.
68524         * conform/data/fmtmsg.h-data: Likewise.
68525         * conform/data/fnmatch.h-data: Likewise.
68526         * conform/data/ftw.h-data: Likewise.
68527         * conform/data/glob.h-data: Likewise.
68528         * conform/data/grp.h-data: Likewise.
68529         * conform/data/iconv.h-data: Likewise.
68530         * conform/data/inttypes.h-data: Likewise.
68531         * conform/data/langinfo.h-data: Likewise.
68532         * conform/data/libgen.h-data: Likewise.
68533         * conform/data/limits.h-data: Likewise.
68534         * conform/data/locale.h-data: Likewise.
68535         * conform/data/math.h-data: Likewise.
68536         * conform/data/monetary.h-data: Likewise.
68537         * conform/data/mqueue.h-data: Likewise.
68538         * conform/data/ndbm.h-data: Likewise.
68539         * conform/data/net/if.h-data: Likewise.
68540         * conform/data/netdb.h-data: Likewise.
68541         * conform/data/netinet/in.h-data: Likewise.
68542         * conform/data/nl_types.h-data: Likewise.
68543         * conform/data/poll.h-data: Likewise.
68544         * conform/data/pthread.h-data: Likewise.
68545         * conform/data/pwd.h-data: Likewise.
68546         * conform/data/regex.h-data: Likewise.
68547         * conform/data/sched.h-data: Likewise.
68548         * conform/data/search.h-data: Likewise.
68549         * conform/data/semaphore.h-data: Likewise.
68550         * conform/data/setjmp.h-data: Likewise.
68551         * conform/data/signal.h-data: Likewise.
68552         * conform/data/spawn.h-data: Likewise.
68553         * conform/data/stdarg.h-data: Likewise.
68554         * conform/data/stdio.h-data: Likewise.
68555         * conform/data/stdlib.h-data: Likewise.
68556         * conform/data/string.h-data: Likewise.
68557         * conform/data/strings.h-data: Likewise.
68558         * conform/data/stropts.h-data: Likewise.
68559         * conform/data/sys/ipc.h-data: Likewise.
68560         * conform/data/sys/mman.h-data: Likewise.
68561         * conform/data/sys/msg.h-data: Likewise.
68562         * conform/data/sys/resource.h-data: Likewise.
68563         * conform/data/sys/select.h-data: Likewise.
68564         * conform/data/sys/sem.h-data: Likewise.
68565         * conform/data/sys/shm.h-data: Likewise.
68566         * conform/data/sys/socket.h-data: Likewise.
68567         * conform/data/sys/stat.h-data: Likewise.
68568         * conform/data/sys/statvfs.h-data: Likewise.
68569         * conform/data/sys/time.h-data: Likewise.
68570         * conform/data/sys/timeb.h-data: Likewise.
68571         * conform/data/sys/times.h-data: Likewise.
68572         * conform/data/sys/types.h-data: Likewise.
68573         * conform/data/sys/uio.h-data: Likewise.
68574         * conform/data/sys/un.h-data: Likewise.
68575         * conform/data/sys/utsname.h-data: Likewise.
68576         * conform/data/sys/wait.h-data: Likewise.
68577         * conform/data/syslog.h-data: Likewise.
68578         * conform/data/tar.h-data: Likewise.
68579         * conform/data/termios.h-data: Likewise.
68580         * conform/data/utime.h-data: Likewise.
68581         * conform/data/utmpx.h-data: Likewise.
68582         * conform/data/varargs.h-data: Likewise.
68583         * conform/data/wchar.h-data: Likewise.
68584         * conform/data/wctype.h-data: Likewise.
68585         * conform/data/wordexp.h-data: Likewise.
68587         * include/stropts.h: New file.
68588         * include/uchar.h: New file.
68589         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68590         * include/assert.h: Likewise.
68591         * include/ctype.h: Likewise.
68592         * include/dirent.h: Likewise.
68593         * include/dlfcn.h: Likewise.
68594         * include/fcntl.h: Likewise.
68595         * include/fnmatch.h: Likewise.
68596         * include/glob.h: Likewise.
68597         * include/grp.h: Likewise.
68598         * include/libio.h: Likewise.
68599         * include/locale.h: Likewise.
68600         * include/math.h: Likewise.
68601         * include/net/if.h: Likewise.
68602         * include/netdb.h: Likewise.
68603         * include/netinet/in.h: Likewise.
68604         * include/pthread.h: Likewise.
68605         * include/pwd.h: Likewise.
68606         * include/regex.h: Likewise.
68607         * include/sched.h: Likewise.
68608         * include/search.h: Likewise.
68609         * include/setjmp.h: Likewise.
68610         * include/signal.h: Likewise.
68611         * include/stdio.h: Likewise.
68612         * include/stdlib.h: Likewise.
68613         * include/string.h: Likewise.
68614         * include/sys/cdefs.h: Likewise.
68615         * include/sys/mman.h: Likewise.
68616         * include/sys/msg.h: Likewise.
68617         * include/sys/resource.h: Likewise.
68618         * include/sys/select.h: Likewise.
68619         * include/sys/socket.h: Likewise.
68620         * include/sys/stat.h: Likewise.
68621         * include/sys/statvfs.h: Likewise.
68622         * include/sys/time.h: Likewise.
68623         * include/sys/times.h: Likewise.
68624         * include/sys/uio.h: Likewise.
68625         * include/sys/utsname.h: Likewise.
68626         * include/sys/wait.h: Likewise.
68627         * include/termios.h: Likewise.
68628         * include/time.h: Likewise.
68629         * include/ulimit.h: Likewise.
68630         * include/unistd.h: Likewise.
68631         * include/utime.h: Likewise.
68632         * include/wchar.h: Likewise.
68633         * include/wctype.h: Likewise.
68634         * include/wordexp.h: Likewise.
68636         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68638         * time/time.h: TIME_UTC must be a macro.
68639         Make timespec_get available for ISO C11 only as well.
68641 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68643         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68644         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68646 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68648         * configure.in: Use -o not -a in test for unsupported multi-arch.
68650 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68652         * manual/texinfo.tex: Update to version 2012-01-19.16.
68654 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68656         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68658 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68660         [BZ #13738]
68661         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68662         * manual/fdl-1.3.texi: New file.
68663         * manual/fdl-1.1.texi: File removed.
68665         [BZ #13738]
68666         * manual/libc.texinfo (FDL_VERSION): New @set.
68667         Use it for mention of FDL in cover text.
68668         (Documentation License): Use it in @include file name.
68670 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68671             Roland McGrath  <roland@hack.frob.com>
68673         [BZ #5461]
68674         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68675         (not LONG_LONG_MAX and LONG_LONG_MIN.
68676         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68677         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68678         name.
68679         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68683         [BZ #2547]
68684         [BZ #11365]
68685         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68686         manipulate bits before adding and subtracting TWO23[sx].
68687         * math/libm-test.inc (nearbyint_test): Add more tests.
68689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68691         [BZ #2548]
68692         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68693         bits before adding and subtracting TWO23[sx].
68694         * math/libm-test.inc (rint_test): Add more tests.
68695         (rint_test_tonearest): Likewise.
68696         (rint_test_towardzero): Likewise.
68697         (rint_test_downward): Likewise.
68698         (rint_test_upward: Likewise.
68700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68702         [BZ #10110]
68703         * include/stdc-predef.h: New file.  Extracted from features.h.
68704         * include/features.h: Include stdc-predef.h.
68705         * Makefile (headers): Add stdc-predef.h.
68706         * CONFORMANCE (Compiler limitations): Update.
68708 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68710         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68712 2012-02-21  David S. Miller  <davem@davemloft.net>
68714         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68715         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68717 2012-02-20  David S. Miller  <davem@davemloft.net>
68719         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68720         using a normal save/restore sequence, rather than allocating a
68721         dummy stack frame just to store a frame pointer and restore.
68722         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68726         * manual/install.texi: Fix stray word in line-wrapped comment.
68728 2012-02-20  David S. Miller  <davem@davemloft.net>
68730         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68731         both binutils and gcc support GOTDATA.
68733         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68734         "rd %pc" in the PIC register setup sequences.
68736         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68737         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68738         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68739         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68740         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68741         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68743         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68745         (SYSCALL_ERROR_HANDLER): Likewise.
68746         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68747         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68749         (SYSCALL_ERROR_HANDLER): Likewise.
68751         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68752         (HAVE_GCC_GOTDATA): New.
68753         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68754         relocation support in both binutils and gcc.
68755         * sysdeps/sparc/elf/configure: Regenerate.
68757         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68758         * sysdeps/sparc/sparc32/elf/configure: Delete.
68759         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68760         * sysdeps/sparc/sparc64/elf/configure: Delete.
68761         * sysdeps/sparc/elf/configure.in: New file.
68762         * sysdeps/sparc/elf/configure: Generate.
68764         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68765         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68766         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68767         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68768         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68770 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68772         * manual/install.texi: Do not mention specific glibc version
68773         numbers.
68774         * manual/libc.texinfo (VERSION, UPDATED): Update.
68775         (@copying): Use @copyright{} and range of years.
68777 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68779         [BZ #13695]
68780         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68781         [crti.S not in sysdirs] (generated): Do not append.
68782         [crti.S not in sysdirs] (omit-deps): Likewise.
68783         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68784         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68785         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68786         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68787         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68788         Likewise.
68789         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68790         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68791         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68792         * csu/defs.awk: Remove file.
68793         * sysdeps/generic/initfini.c: Likewise.
68794         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68795         variable.
68796         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68797         Likewise.
68799 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68801         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68802         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68803         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68804         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68805         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68806         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68807         <bits/epoll.h>.
68808         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68809         (__EPOLL_PACKED): Define to empty if not defined by
68810         <bits/epoll.h>.
68811         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68813         bits/epoll.h.
68815 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68817         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68818         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68819         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68820         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68821         <bits/timerfd.h>.
68822         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68823         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68824         bits/timerfd.h.
68826 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68828         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68829         in C locale.
68830         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68831         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68832         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68835 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68837         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68838         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68840 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68842         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68843         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68844         defined.
68845         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68846         Likewise.
68847         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68848         entry for 2.16.
68850 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68852         * math/w_acos.c: Use non-signaling floating-point comparisons.
68853         * math/w_acosf.c: Likewise.
68854         * math/w_acosh.c: Likewise.
68855         * math/w_acoshf.c: Likewise.
68856         * math/w_acoshl.c: Likewise.
68857         * math/w_acosl.c: Likewise.
68858         * math/w_asin.c: Likewise.
68859         * math/w_asinf.c: Likewise.
68860         * math/w_asinl.c: Likewise.
68861         * math/w_atanh.c: Likewise.
68862         * math/w_atanhf.c: Likewise.
68863         * math/w_atanhl.c: Likewise.
68864         * math/w_exp2.c: Likewise.
68865         * math/w_exp2f.c: Likewise.
68866         * math/w_exp2l.c: Likewise.
68867         * math/w_j0.c: Likewise.
68868         * math/w_j0f.c: Likewise.
68869         * math/w_j0l.c: Likewise.
68870         * math/w_j1.c: Likewise.
68871         * math/w_j1f.c: Likewise.
68872         * math/w_j1l.c: Likewise.
68873         * math/w_jn.c: Likewise.
68874         * math/w_jnf.c: Likewise.
68875         * math/w_log.c: Likewise.
68876         * math/w_log10.c: Likewise.
68877         * math/w_log10f.c: Likewise.
68878         * math/w_log10l.c: Likewise.
68879         * math/w_log2.c: Likewise.
68880         * math/w_log2f.c: Likewise.
68881         * math/w_log2l.c: Likewise.
68882         * math/w_logf.c: Likewise.
68883         * math/w_logl.c: Likewise.
68884         * math/w_sqrt.c: Likewise.
68885         * math/w_sqrtf.c: Likewise.
68886         * math/w_sqrtl.c: Likewise.
68887         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68888         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68889         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68890         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68891         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68893 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68895         [BZ #9739]
68896         * manual/string.texi (strnlen): Use correct parameter name in
68897         equivalent expression.
68899 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68901         [BZ #11174]
68902         * manual/users.texi (seteuid): Consistently use neweuid for
68903         argument name.
68905 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68907         [BZ #13704]
68908         * manual/nss.texi (Services in the NSS configuration): Correct
68909         list of services in example configuration file.
68911 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68913         [BZ #11322]
68914         * manual/arith.texi: Remove statements about negative zero
68915         behaving identically to zero.
68917 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68919         [BZ #5993]
68920         * manual/install.texi: Do not document upgrading from libc5.
68922 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68924         [BZ #4596]
68925         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68927 2012-02-18  David S. Miller  <davem@davemloft.net>
68929         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68930         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68931         %o7 across the call.
68932         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68933         instead.
68934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68935         SETUP_PIC_REG_LEAF.
68936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68937         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68938         * sysdeps/sparc/crtn.S: Likewise.
68940 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68942         * aout/Makefile: Remove.
68944 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68946         [BZ #13058]
68947         * manual/examples/argp-ex1.c (main): Format definition in GNU
68948         style.
68949         * manual/examples/argp-ex2.c (main): Likewise.
68950         * manual/examples/argp-ex3.c (main): Likewise.
68951         * manual/examples/argp-ex4.c (main): Likewise.
68952         * manual/examples/longopt.c (main): Use new-style prototype
68953         definition.
68954         * manual/examples/strncat.c (main): Specify return type and use
68955         (void) for arguments.
68956         * manual/examples/subopt.c (main): Use char **argv argument.
68958 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68960         [BZ #5077]
68961         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68962         rounding modes.
68964 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68966         [BZ #6907]
68967         * manual/string.texi (strchr): Change when strchrnul is
68968         recommended.
68970 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68972         [BZ #174]
68973         * manual/locale.texi (setlocale): Document LOCPATH.
68975 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68977         [BZ #10210]
68978         * manual/process.texi (execle): Move @dots{} before last argument.
68980 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68982         [BZ #12047]
68983         * manual/charset.texi (Generic Charset Conversion): Fix typo
68984         (LC_TYPE -> LC_CTYPE).
68986 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68988         [BZ #5805]
68989         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68990         (scalbnf): Likewise.
68991         (scalbnl): Likewise.
68992         (scalbln): Likewise.
68993         (scalblnf): Likewise.
68994         (scalblnl): Likewise.
68995         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68996         (vwarnx): Likewise.
68997         (verr): Likewise.
68998         (verrx): Likewise.
68999         * manual/filesys.texi (telldir): Use braces around return type.
69000         * manual/llio.texi (mmap): Add space after comma.
69001         (mmap64): Likewise.
69002         * manual/math.texi (jn): Use @var{} on parameter names.
69003         (jnf): Likewise.
69004         (jnl): Likewise.
69005         (yn): Likewise.
69006         (ynf): Likewise.
69007         (ynl): Likewise.
69008         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69009         line.
69010         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69011         "...".
69012         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69013         (sched_get_priority_max): Likewise.
69014         * manual/signal.texi (sigvec): Add space after comma.
69015         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69016         names.
69017         (if_indextoname): Likewise.
69018         (if_freenameindex): Likewise.
69019         (sendto): Use ',' instead of '.' in prototype.
69020         * manual/startup.texi (syscall): Use @dots{} instead of literal
69021         "...".
69022         * manual/stdio.texi (__fpending): Separate initial words of
69023         paragraph from @deftypefun line.
69024         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69025         "...".
69026         (vsyslog): Use @var{} on parameter names.
69027         * manual/terminal.texi (stty): Use @var{} on parameter names.
69028         * manual/users.texi (getutmp): Use @var{} on parameter names.
69029         (getutmpx): Likewise.
69031 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69033         [BZ #6884]
69034         * manual/stdio.texi (fopen): Fix typos in description of
69035         ",ccs=STRING".
69037 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69039         [BZ #4026]
69040         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69041         get clock_id definition.
69043 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69045         [BZ #4822]
69046         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69047         (madvise): Cast every argument to void on its own.
69049 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69051         [BZ #9902]
69052         * manual/startup.texi (Exit Status): Fix typo.
69054 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69056         [BZ #10140]
69057         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69058         * manual/examples/argp-ex2.c: Likewise.
69059         * manual/examples/argp-ex3.c: Likewise.
69061 2012-02-16  Richard Henderson  <rth@redhat.com>
69063         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69064         * sysdeps/s390/s390-32/initfini.c: Remove.
69065         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69066         * sysdeps/s390/s390-64/initfini.c: Remove.
69068 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69070         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69071         compiler output for sysdeps/generic/initfini.c.
69072         * sysdeps/sh/elf/initfini.c: Remove file.
69074 2012-02-16  David S. Miller  <davem@davemloft.net>
69076         [BZ #11494]
69077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69079         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69080         * sysdeps/sparc/crti.S: New file.
69081         * sysdeps/sparc/crtn.S: New file.
69082         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69083         * sysdeps/sparc/sparc64/Makefile: Likewise.
69085 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69087         [BZ #3335]
69088         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69090 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69092         [BZ #4822]
69093         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69095         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69096         (write, read, close): Likewise.
69097         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69099 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69101         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69102         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69103         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69104         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69105         <bits/signalfd.h>.
69106         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69108         bits/signalfd.h.
69110 2012-02-14  Marek Polacek  <polacek@redhat.com>
69112         * sysdeps/x86_64/crti.S: New file.
69113         * sysdeps/x86_64/crtn.S: New file.
69114         * sysdeps/x86_64/elf/initfini.c: Remove file.
69116 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69118         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69119         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69120         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69121         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69122         <bits/inotify.h>.
69123         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69125         bits/inotify.h.
69127 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69129         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69130         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69131         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69132         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69133         <bits/eventfd.h>.
69134         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69136         bits/eventfd.h.
69138 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69140         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69141         __feraiseexcept instead of feraiseexcept.
69143         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69144         nanosleep invocations.
69145         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69146         strings, and add error checking for a nanosleep invocations.
69148 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69150         Replace FSF snail mail address with URLs, as per GNU coding standards.
69151         Most of the snail mail addresses were wrong anyway, and omitting
69152         them makes the source code easier to maintain.  Almost all of the
69153         changes are to license notices and to locale LC_IDENTIFICATION
69154         addresses, except for this one:
69155         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69156         not its snail mail address.
69158 2012-02-09  Richard Henderson  <rth@twiddle.net>
69160         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69161         of kernel-features.h.
69163         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69165 2012-02-08  Marek Polacek  <polacek@redhat.com>
69167         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69168         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69169         * sysdeps/gnu/_G_config.h: Likewise.
69170         * sysdeps/generic/_G_config.h: Likewise.
69172 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69174         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69175         tests.
69176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69178         * sysdeps/powerpc/powerpc32/crti.S: New file.
69179         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69180         * sysdeps/powerpc/powerpc64/crti.S: New file.
69181         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69183         * Makeconfig (have-initfini): Don't set.
69184         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69185         * configure.in (nopic_initfini): Don't substitute.
69186         * config.h.in (HAVE_INITFINI): Don't #undef.
69187         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69188         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69190 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69192         Support crti.S and crtn.S provided directly by architectures.
69193         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69194         [crti.S in sysdirs] (omit-deps): Likewise.
69195         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69196         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69197         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69198         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69199         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69200         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69201         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69202         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69203         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69204         compiler output for sysdeps/generic/initfini.c.
69205         * sysdeps/i386/elf/Makefile: Remove file.
69206         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69208 2012-02-07  Marek Polacek  <polacek@redhat.com>
69210         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69211         * sysdeps/gnu/_G_config.h: Likewise.
69212         * sysdeps/mach/hurd/_G_config.h: Likewise.
69214 2012-02-07  Marek Polacek  <polacek@redhat.com>
69216         * math/Makefile (tests): Add tst-CMPLX2.
69217         * math/tst-CMPLX2.c: New file.
69219 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69221         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69223         * math/libm-test.inc (jn_test): Add missing L suffix.
69225 2012-02-06  Marek Polacek  <polacek@redhat.com>
69227         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69228         * sysdeps/i386/fpu/e_powf.S: Likewise.
69229         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69230         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69231         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69232         * sysdeps/i386/fpu/e_pow.S: Likewise.
69233         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69234         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69235         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69236         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69237         * sysdeps/i386/fpu/e_log2.S: Likewise.
69238         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69239         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69240         * sysdeps/i386/fpu/e_powl.S: Likewise.
69241         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69242         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69243         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69244         * sysdeps/i386/fpu/e_logl.S: Likewise.
69245         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69246         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69247         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69248         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69249         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69250         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69251         * sysdeps/i386/fpu/e_log.S: Likewise.
69252         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69253         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69254         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69255         * sysdeps/i386/fpu/e_logf.S: Likewise.
69256         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69257         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69258         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69259         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69260         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69261         * sysdeps/i386/fpu/e_log10.S: Likewise.
69262         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69263         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69264         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69265         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69266         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69267         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69268         * sysdeps/i386/asm-syntax.h: Likewise.
69269         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69270         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69271         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69272         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69273         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69274         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69275         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69276         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69277         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69278         * sysdeps/powerpc/sysdep.h: Likewise.
69279         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69280         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69282 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69284         [BZ #411]
69285         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69287 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69289         * sysdeps/i386/sysdep.h: Include <features.h>.
69290         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69291         version.
69293 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69295         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69296         Define.
69297         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69298         LOAD_PIC_REG_STR.
69300 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69302         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69303         (SETUP_PIC_REG): Use GET_PC_THUNK.
69304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69305         macro.
69307 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69309         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69310         for non-PIC compilation.
69311         (SETUP_PIC_REG): Add .p2align directive.
69312         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69313         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69314         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69315         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69316         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69317         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69318         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69319         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69320         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69321         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69322         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69323         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69324         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69325         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69326         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69327         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69328         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69329         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69330         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69331         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69332         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69333         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69334         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69335         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69336         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69337         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69338         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69339         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69340         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69341         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69342         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69343         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69344         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69345         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69346         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69347         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69348         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69349         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69350         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69351         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69352         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69354 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69356         * math/tst-CMPLX.c: Include <stdio.h>.
69358 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69360         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69361         float.
69362         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69363         * sysdeps/sparc/bits/mathdef.h: Likewise.
69365 2012-01-31  Marek Polacek  <polacek@redhat.com>
69367         * libio/libio.h: Don't define _PARAMS.
69368         * locale/programs/config.h: Don't define PARAMS.
69369         * stdlib/strtol_l.c: Likewise.
69370         (__strtol_l): Remove PARAMS from the prototype.
69372 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69374         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69375         names.  Just use the correct names.  Remove unnecessary wrapper
69376         functions.
69377         * malloc/arena.c: Likewise.
69378         * malloc/hooks.c: Likewise.
69380         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69381         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69382         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69384 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69386         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69387         into tail calls.
69388         (update_get_addr): New function.
69389         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69390         GET_ADDR_MODULE parameter.
69392 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69394         * crypt/cert.c: Remove __STDC__ conditionals.
69395         * crypt/crypt-entry.c: Likewise.
69396         * crypt/crypt_util.c: Likewise.
69397         * libio/filedoalloc.c: Likewise.
69398         * libio/fileops.c: Likewise.
69399         * libio/genops.c: Likewise.
69400         * libio/iofclose.c: Likewise.
69401         * libio/iofdopen.c: Likewise.
69402         * libio/iofopen.c: Likewise.
69403         * libio/iofopen64.c: Likewise.
69404         * libio/iogetdelim.c: Likewise.
69405         * libio/iopopen.c: Likewise.
69406         * libio/obprintf.c: Likewise.
69407         * libio/oldfileops.c: Likewise.
69408         * libio/oldiofclose.c: Likewise.
69409         * libio/oldiofdopen.c: Likewise.
69410         * libio/oldiofopen.c: Likewise.
69411         * libio/oldiopopen.c: Likewise.
69412         * libio/wfiledoalloc.c: Likewise.
69413         * libio/wgenops.c: Likewise.
69414         * locale/programs/xmalloc.c: Likewise.
69415         * misc/syslog.c: Likewise.
69416         * stdio-common/xbug.c: Likewise.
69417         * string/memchr.c: Likewise.
69418         * string/memcmp.c: Likewise.
69419         * string/memrchr.c: Likewise.
69420         * string/rawmemchr.c: Likewise.
69421         * sysdeps/posix/getcwd.c: Likewise.
69422         * time/strftime_l.c: Likewise.
69424 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69426         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69427         * config.make.in (config-cflags-sse2avx): Define.
69428         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69429         Fix typo.
69431 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69433         * scripts/config.guess: Update from upstream config git repository.
69434         * scripts/config.sub: Likewise.
69436 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69438         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69439         (EM_NUM): Update.
69440         (R_TILEPRO_*, R_TILEGX_*): New macros.
69442         * scripts/firstversions.awk: Fix bug in version range handling.
69444         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69446         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69448         * include/sys/epoll.h: New file.
69449         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69450         libc_hidden_def.
69452 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69454         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69455         Avoid unnecessary __WORDSIZE == 64 test.
69456         (fmaxf): Use VEX format if possible.
69457         (fmax): Likewise.
69458         (fminf): Likewise.
69459         (fmin): Likewise.
69461         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69462         * math/math_private.h: Remove libc_fegetround* and
69463         libc_fesetround*.
69464         * sysdeps/i386/configure.in: Check for -msse2avx.
69465         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69466         also if SSE2AVX is defined.
69467         Remove libc_fegetround* and libc_fesetround*.
69468         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69469         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69471         of HAS_YMM_USABLE.
69472         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69473         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69474         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69475         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69476         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69478         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69480 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69482         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69483         size is not set.
69484         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69486 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69488         [BZ #13618]
69489         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69490         relocation.
69491         * Makeconfig (libm): Define.
69492         * elf/Makefile: Add rules to build and run tst-relsort1.
69493         * elf/tst-relsort1.c: New file.
69494         * elf/tst-relsort1mod1.c: New file.
69495         * elf/tst-relsort1mod2.c: New file.
69497 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69499         * math/s_ldexp.c: Remove __STDC__ conditionals.
69500         * math/s_ldexpf.c: Likewise.
69501         * math/s_ldexpl.c: Likewise.
69502         * math/s_nextafter.c: Likewise.
69503         * math/s_nexttowardf.c: Likewise.
69504         * math/s_significand.c: Likewise.
69505         * math/s_significandf.c: Likewise.
69506         * math/s_significandl.c: Likewise.
69507         * math/w_jnl.c: Likewise.
69508         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69509         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69510         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69511         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69512         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69513         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69514         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69515         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69516         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69517         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69518         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69519         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69520         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69521         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69522         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69524         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69525         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69527         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69528         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69529         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69530         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69531         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69532         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69533         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69534         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69535         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69536         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69537         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69538         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69539         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69540         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69541         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69542         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69543         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69544         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69545         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69546         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69547         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69548         * sysdeps/ieee754/k_standard.c: Likewise.
69549         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69550         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69551         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69552         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69553         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69554         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69555         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69556         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69557         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69558         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69559         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69560         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69561         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69562         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69563         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69564         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69565         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69566         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69567         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69568         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69569         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69570         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69571         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69572         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69573         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69574         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69578         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69579         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69580         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69581         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69582         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69584         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69585         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69586         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69587         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69588         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69589         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69590         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69591         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69592         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69593         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69594         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69596         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69597         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69598         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69599         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69602         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69603         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69604         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69605         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69606         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69607         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69608         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69609         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69610         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69611         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69612         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69613         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69615         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69616         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69617         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69618         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69619         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69620         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69621         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69622         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69623         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69624         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69625         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69626         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69627         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69628         * sysdeps/ieee754/s_matherr.c: Likewise.
69629         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69630         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69632         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69634 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69636         * crypt/md5.h: Remove __STDC__ conditionals.
69637         * libio/libioP.h: Likewise.
69638         * locale/programs/config.h: Likewise.
69639         * sysdeps/generic/sysdep.h: Likewise.
69640         * sysdeps/i386/asm-syntax.h: Likewise.
69641         * sysdeps/s390/asm-syntax.h: Likewise.
69642         * sysdeps/unix/sysdep.h: Likewise.
69643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69646 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69648         * libio/libio.h: Remove __STDC__ conditionals.
69649         * malloc/obstack.h: Likewise.
69650         * math/complex.h: Likewise.
69651         * math/math.h: Likewise.
69652         * sysdeps/generic/_G_config.h: Likewise.
69653         * sysdeps/gnu/_G_config.h: Likewise.
69654         * sysdeps/mach/hurd/_G_config.h: Likewise.
69655         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69656         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69657         * sysdeps/sparc/bits/mathdef.h: Likewise.
69659 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69661         [BZ #13583]
69662         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69663         Clean up HAS_* macros.
69664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69665         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69666         possible.
69667         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69668         HAS_AVX.
69669         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69670         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69671         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69672         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69673         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69675 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69677         * elf/tst-unique3.cc (gets): Remove declaration.
69678         * elf/tst-unique3lib.cc (gets): Likewise.
69679         * elf/tst-unique3lib2.cc (gets): Likewise.
69680         * elf/tst-unique4.cc (gets): Likewise.
69682 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69684         * include/stdio.h: Add C++ protection.  Add gets declarations and
69685         definitions.
69686         * debug/tst-chk1.c: Don't declare gets here.
69687         * stdio-common/tst-gets.c: Likewise.
69689 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69691         * posix/glob: Remove directory.
69693 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69695         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69697 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69699         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69700         of the non-standard EPFNOSUPPORT.
69702 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69704         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69705         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69706         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69708 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69710         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69712 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69714         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69715         transient errors.
69716         * nscd/grpcache.c (cache_addgr): Likewise.
69717         * nscd/hstcache.c (cache_addhst): Likewise.
69718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69719         * nscd/pwdcache.c (cache_addpw): Likewise.
69720         * nscd/servicescache.c (cache_addserv): Likewise.
69722 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69724         * malloc/malloc.c: Various cleanups.
69725         * malloc/hooks.c: Likewise.
69727         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69728         * stdlib/bug-fmtmsg1.c: New file.
69730         * stdlib/fmtmsg.c (init): Add missing unlock.
69731         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69733 2012-01-12  Marek Polacek  <polacek@redhat.com>
69735         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69736         and _GNU_SOURCE.
69738 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69740         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69741         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69742         macro to ensure uniqueness of label name.
69743         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69744         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69746 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69748         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69750         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69751         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69753         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69755 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69757         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69759         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69760         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69761         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69763         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69765         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69766         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69767         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69770         * math/bits/math-finite.h: Add ldexp support.
69772 2012-01-10  Marek Polacek  <polacek@redhat.com>
69774         * locale/programs/localedef.h (show_archive_content): Add noreturn
69775         attribute.
69777 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69779         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69781 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69783         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69785         * io/Makefile (headers): Add bits/poll2.h.
69787 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69790         typo #include statement.
69792 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69794         * include/sys/cdefs.h: Define __attribute_alloc_size.
69795         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69796         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69797         * elf/pldd.c: Likewise.
69798         * iconv/iconv_charmap.c: Likewise.
69799         * iconv/iconvconfig.c: Likewise.
69800         * iconv/strtab.c: Likewise.
69801         * locale/programs/locale.c: Likewise.
69802         * locale/programs/localedef.h: Likewise.
69803         * locale/programs/simple-hash.c: Likewise.
69804         * nscd/nscd.h: Likewise.
69805         * nss/makedb.c: Likewise.
69806         * sysdeps/generic/ldconfig.h: Likewise.
69807         * locale/programs/localedef.c: Remove xmalloc prototype.
69808         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69810 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69812         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69813         appropriate.
69815 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69817         * math/Makefile (tests): Add tst-CMPLX.
69818         * math/tst-CMPLX.c: New file.
69820         * math/complex.h (CMPLXL): Fix typo.
69822         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69823         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69824         GLIBC_2.16.
69825         * debug/tst-chk1.c: Add poll and ppoll tests.
69826         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69827         * include/sys/poll.h: Add hidden proto for ppoll.
69828         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69829         * sysdeps/mach/hurd/ppoll.c: Likewise.
69830         * io/ppoll.c: Likewise.
69831         * debug/poll_chk.c: New file.
69832         * debug/ppoll_chk.c: New file.
69833         * include/bits/poll2.h: New file.
69834         * io/bits/poll2.h: New file.
69836         [BZ #1350]
69837         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69839         * configure.in: static is always set to yes.  Remove.
69840         * config.make.in: Don't set build-static.
69841         * Makeconfig: Remove use of build-static.
69842         * dlfcn/Makefile: Likewise.
69843         * elf/Makefile: Likewise.
69844         * math/Makefile: Likewise.
69845         * misc/Makefile: Likewise.
69846         * nptl/Makefile: Likewise.
69847         * sysdeps/mach/hurd/Makefile: Likewise.
69849         * configure.in: PWD_P is not used anymore.
69850         * config.make.in: Remove PWD_P entry.
69852         * configure.in: Remove last remnants of RANLIB.
69853         No need to check for signed size_t anymore.
69854         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69855         and IA-64.
69856         Remove __builtin_expect test because we require at least gcc 3.4.
69857         * aclocal.m4: Likewise.
69859         * wcsmbs/mbrtoc16.c: Implement using towc function.
69860         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69861         * wcsmbs/wcsmbsload.c: Likewise.
69862         * iconv/gconv_simple.c: Likewise.
69863         * iconv/gconv_int.h: Likewise.
69864         * iconv/gconv_builtin.h: Likewise.
69865         * iconv/iconv_prog.c: Remove CHAR16 handling.
69867         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69869         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69871         * configure.in: Remove --with-elf and --enable-bounded options.
69872         Dont set base_machine for ia64.  More non-ELF conditions removed.
69873         Remove testing and setting of leading underscore information.
69874         * config.make.in (build-bounded): Set to no.
69875         * config.h.in: Remove NO_UNDERSCORES entry.
69876         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69877         them.
69878         * csu/start.c: Remove !NO_UNDERSCORE code.
69879         * locale/localeinfo.h: Likewise.
69880         * sysdeps/generic/machine-gmon.h: Likewise.
69881         * sysdeps/generic/sysdep.h: Likewise.
69882         * sysdeps/i386/sysdep.h: Likewise.
69883         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69884         * sysdeps/mach/sysdep.h: Likewise.
69885         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69886         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69887         * sysdeps/sh/sysdep.h: Likewise.
69888         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69889         * sysdeps/unix/i386/sysdep.S: Likewise.
69890         * sysdeps/unix/sparc/start.c: Likewise.
69891         * sysdeps/unix/sparc/sysdep.S: Likewise.
69892         * sysdeps/unix/sparc/sysdep.h: Likewise.
69893         * sysdeps/unix/start.c: Likewise.
69894         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69895         * sysdeps/x86_64/sysdep.h: Likewise.
69897 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69899         [BZ #13553]
69900         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69901         for non-gcc.
69902         * argp/argp-fmtstream.h: Use const instead __const.
69903         * argp/argp.h: Likewise.
69904         * assert/assert.h: Likewise.
69905         * bits/fenv.h: Likewise.
69906         * bits/sched.h: Likewise.
69907         * bits/sigset.h: Likewise.
69908         * bits/sigthread.h: Likewise.
69909         * catgets/nl_types.h: Likewise.
69910         * conform/data/pthread.h-data: Likewise.
69911         * crypt/crypt-private.h: Likewise.
69912         * crypt/crypt.h: Likewise.
69913         * crypt/crypt_util.c: Likewise.
69914         * ctype/ctype.h: Likewise.
69915         * debug/execinfo.h: Likewise.
69916         * debug/mbsnrtowcs_chk.c: Likewise.
69917         * debug/mbsrtowcs_chk.c: Likewise.
69918         * debug/wcsnrtombs_chk.c: Likewise.
69919         * debug/wcsrtombs_chk.c: Likewise.
69920         * debug/wcstombs_chk.c: Likewise.
69921         * dirent/dirent.h: Likewise.
69922         * dlfcn/dlfcn.h: Likewise.
69923         * elf/neededtest4.c: Likewise.
69924         * grp/grp.h: Likewise.
69925         * gshadow/gshadow.h: Likewise.
69926         * iconv/gconv.h: Likewise.
69927         * iconv/gconv_int.h: Likewise.
69928         * iconv/gconv_simple.c: Likewise.
69929         * iconv/iconv.h: Likewise.
69930         * iconv/loop.c: Likewise.
69931         * iconv/skeleton.c: Likewise.
69932         * include/aio.h: Likewise.
69933         * include/aliases.h: Likewise.
69934         * include/argz.h: Likewise.
69935         * include/arpa/inet.h: Likewise.
69936         * include/assert.h: Likewise.
69937         * include/dirent.h: Likewise.
69938         * include/dlfcn.h: Likewise.
69939         * include/execinfo.h: Likewise.
69940         * include/fcntl.h: Likewise.
69941         * include/fenv.h: Likewise.
69942         * include/glob.h: Likewise.
69943         * include/grp.h: Likewise.
69944         * include/libintl.h: Likewise.
69945         * include/mntent.h: Likewise.
69946         * include/netdb.h: Likewise.
69947         * include/pwd.h: Likewise.
69948         * include/rpc/netdb.h: Likewise.
69949         * include/sched.h: Likewise.
69950         * include/search.h: Likewise.
69951         * include/shadow.h: Likewise.
69952         * include/signal.h: Likewise.
69953         * include/stdio.h: Likewise.
69954         * include/stdlib.h: Likewise.
69955         * include/string.h: Likewise.
69956         * include/sys/socket.h: Likewise.
69957         * include/sys/stat.h: Likewise.
69958         * include/sys/statfs.h: Likewise.
69959         * include/sys/statvfs.h: Likewise.
69960         * include/sys/syslog.h: Likewise.
69961         * include/sys/time.h: Likewise.
69962         * include/sys/uio.h: Likewise.
69963         * include/time.h: Likewise.
69964         * include/unistd.h: Likewise.
69965         * include/utmp.h: Likewise.
69966         * include/wchar.h: Likewise.
69967         * include/wctype.h: Likewise.
69968         * inet/aliases.h: Likewise.
69969         * inet/arpa/inet.h: Likewise.
69970         * inet/netinet/ether.h: Likewise.
69971         * inet/netinet/in.h: Likewise.
69972         * intl/libintl.h: Likewise.
69973         * io/bits/fcntl2.h: Likewise.
69974         * io/fcntl.h: Likewise.
69975         * io/ftw.h: Likewise.
69976         * io/sys/poll.h: Likewise.
69977         * io/sys/stat.h: Likewise.
69978         * io/sys/statfs.h: Likewise.
69979         * io/sys/statvfs.h: Likewise.
69980         * io/utime.h: Likewise.
69981         * libio/bits/stdio.h: Likewise.
69982         * libio/bits/stdio2.h: Likewise.
69983         * libio/libio.h: Likewise.
69984         * libio/libioP.h: Likewise.
69985         * libio/stdio.h: Likewise.
69986         * locale/lc-ctype.c: Likewise.
69987         * locale/locale.h: Likewise.
69988         * login/utmp.h: Likewise.
69989         * malloc/arena.c: Likewise.
69990         * malloc/malloc.c: Likewise.
69991         * malloc/malloc.h: Likewise.
69992         * malloc/mcheck.c: Likewise.
69993         * malloc/mtrace.c: Likewise.
69994         * math/bits/mathcalls.h: Likewise.
69995         * math/fenv.h: Likewise.
69996         * math/math_private.h: Likewise.
69997         * misc/bits/error.h: Likewise.
69998         * misc/bits/syslog.h: Likewise.
69999         * misc/err.h: Likewise.
70000         * misc/error.h: Likewise.
70001         * misc/fstab.h: Likewise.
70002         * misc/mntent.h: Likewise.
70003         * misc/regexp.h: Likewise.
70004         * misc/search.h: Likewise.
70005         * misc/sgtty.h: Likewise.
70006         * misc/sys/mman.h: Likewise.
70007         * misc/sys/syslog.h: Likewise.
70008         * misc/sys/uio.h: Likewise.
70009         * misc/sys/xattr.h: Likewise.
70010         * misc/ttyent.h: Likewise.
70011         * nis/rpcsvc/ypclnt.h: Likewise.
70012         * nss/nss.h: Likewise.
70013         * posix/bits/unistd.h: Likewise.
70014         * posix/fnmatch.h: Likewise.
70015         * posix/glob.h: Likewise.
70016         * posix/sched.h: Likewise.
70017         * posix/spawn.h: Likewise.
70018         * posix/sys/wait.h: Likewise.
70019         * posix/unistd.h: Likewise.
70020         * posix/wordexp.h: Likewise.
70021         * pwd/pwd.h: Likewise.
70022         * resolv/netdb.h: Likewise.
70023         * resource/sys/resource.h: Likewise.
70024         * rt/aio.h: Likewise.
70025         * rt/bits/mqueue2.h: Likewise.
70026         * rt/mqueue.h: Likewise.
70027         * shadow/shadow.h: Likewise.
70028         * signal/signal.h: Likewise.
70029         * socket/send.c: Likewise.
70030         * socket/sendto.c: Likewise.
70031         * socket/sys/socket.h: Likewise.
70032         * stdio-common/printf.h: Likewise.
70033         * stdlib/bits/stdlib.h: Likewise.
70034         * stdlib/fmtmsg.h: Likewise.
70035         * stdlib/monetary.h: Likewise.
70036         * stdlib/stdlib.h: Likewise.
70037         * stdlib/ucontext.h: Likewise.
70038         * streams/stropts.h: Likewise.
70039         * string/argz.h: Likewise.
70040         * string/bits/string2.h: Likewise.
70041         * string/string.h: Likewise.
70042         * string/strings.h: Likewise.
70043         * sunrpc/rpc/auth.h: Likewise.
70044         * sunrpc/rpc/auth_des.h: Likewise.
70045         * sunrpc/rpc/clnt.h: Likewise.
70046         * sunrpc/rpc/netdb.h: Likewise.
70047         * sunrpc/rpc/pmap_clnt.h: Likewise.
70048         * sunrpc/rpc/xdr.h: Likewise.
70049         * sysdeps/generic/inttypes.h: Likewise.
70050         * sysdeps/generic/net/if.h: Likewise.
70051         * sysdeps/generic/sys/swap.h: Likewise.
70052         * sysdeps/gnu/net/if.h: Likewise.
70053         * sysdeps/gnu/utmpx.h: Likewise.
70054         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70055         * sysdeps/i386/i486/bits/string.h: Likewise.
70056         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70057         * sysdeps/s390/bits/string.h: Likewise.
70058         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70059         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70060         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70061         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70062         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70063         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70064         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70065         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70066         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70067         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70068         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70069         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70070         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70071         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70072         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70073         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70074         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70075         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70076         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70078         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70079         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70080         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70081         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70082         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70083         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70084         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70085         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70086         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70087         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70088         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70089         * sysvipc/sys/ipc.h: Likewise.
70090         * sysvipc/sys/msg.h: Likewise.
70091         * sysvipc/sys/sem.h: Likewise.
70092         * sysvipc/sys/shm.h: Likewise.
70093         * termios/termios.h: Likewise.
70094         * time/sys/time.h: Likewise.
70095         * time/time.h: Likewise.
70096         * wcsmbs/bits/wchar2.h: Likewise.
70097         * wcsmbs/uchar.h: Likewise.
70098         * wcsmbs/wchar.h: Likewise.
70099         * wctype/wctype.h: Likewise.
70101         [BZ #13551]
70102         * Makeconfig: Remove all but ELF support including AIX support.
70103         * Makerules: Likewise.
70104         * config.h.in: Likewise.
70105         * config.make.in: Likewise.
70106         * configure: Likewise.
70107         * configure.in: Likewise.
70108         * csu/Makefile: Likewise.
70109         * csu/version.c: Likewise.
70110         * debug/Makefile: Likewise.
70111         * dlfcn/Makefile: Likewise.
70112         * elf/Makefile: Likewise.
70113         * extra-lib.mk: Likewise.
70114         * iconv/Makefile: Likewise.
70115         * include/libc-symbols.h: Likewise.
70116         * include/shlib-compat.h: Likewise.
70117         * resolv/Makefile: Likewise.
70118         * resolv/res_libc.c: Likewise.
70119         * rt/Makefile: Likewise.
70120         * sysdeps/i386/asm-syntax.h: Likewise.
70121         * sysdeps/i386/sysdep.h: Likewise.
70122         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70123         * sysdeps/mach/sysdep.h: Likewise.
70124         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70125         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70126         * sysdeps/s390/asm-syntax.h: Likewise.
70127         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70128         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70129         * sysdeps/sh/sysdep.h: Likewise.
70130         * sysdeps/unix/sparc/sysdep.h: Likewise.
70131         * sysdeps/wordsize-32/divdi3.c: Likewise.
70132         * sysdeps/x86_64/sysdep.h: Likewise.
70134         * argp/Versions: Remove _argp_unlock_xxx.
70136         [BZ #13559]
70137         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70138         * abilist/libBrokenLocale.abilist: Likewise.
70139         * abilist/libanl.abilist: Likewise.
70140         * abilist/libc.abilist: Likewise.
70141         * abilist/libcrypt.abilist: Likewise.
70142         * abilist/libdl.abilist: Likewise.
70143         * abilist/libm.abilist: Likewise.
70144         * abilist/libnsl.abilist: Likewise.
70145         * abilist/libpthread.abilist: Likewise.
70146         * abilist/libresolv.abilist: Likewise.
70147         * abilist/librt.abilist: Likewise.
70148         * abilist/libthread_db.abilist: Likewise.
70149         * abilist/libutil.abilist: Likewise.
70150         * abilist/libnss_db.abilist: New file.
70152         * scripts/abilist.awk: Add support for indirect functions.
70154         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70156         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70158         * shlib-versions: Remove entries for ports architectures.
70160         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70161         files in ports.
70162         * elf/stackguard-macros.h: Remove support for IA-64.
70163         * elf/tst-auditmod1.c: Likewise.
70164         * sysdeps/generic/ldsodefs.h: Likewise.
70166         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70167         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70168         configure files.
70170         [BZ #13552]
70171         * configure.in: Remove --enable-omitfp support.
70172         * FAQ.in: Adjust.
70173         * config.make.in: Likewise.
70174         * Makeconfig: Likewise.
70175         * manual/install.texi: Likewise.
70177         In case anyone cares, the IA-64 architecture could move to ports.
70178         * sysdeps/ia64/*: Removed.
70179         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70180         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70182         [BZ #13555]
70183         * configure.in: Remove entries for unsupported architectures.
70185         [BZ #13533]
70186         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70187         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70188         routines.
70189         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70190         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70191         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70192         fall back to using wcrtomb.
70193         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70194         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70195         renaming.
70196         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70197         * wcsmbs/tst-c16c32-1.c: New file.
70199         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70200         local variable.
70202         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70204         * elf/tst-unique3.cc: Add explicit declaration of gets.
70205         * elf/tst-unique3lib.cc: Likewise.
70206         * elf/tst-unique3lib2.cc: Likewise.
70207         * elf/tst-unique4.cc: Likewise.
70209         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70211 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70213         [BZ #13566]
70214         * assert/assert.h (static_assert): Don't define for C++.
70215         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70216         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70218 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70220         * iconv/loop.c (single loop): Fix assertion in storing of
70221         remaining bytes.
70223         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70225 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70227         * posix/getconf.c: Update copyright year.
70228         * nss/getent.c: Likewise.
70229         * nss/makedb.c: Likewise.
70230         * iconv/iconvconfig.c: Likewise.
70231         * iconv/iconv_prog.c: Likewise.
70232         * elf/ldconfig.c: Likewise.
70233         * elf/pldd.c: Likewise.
70234         * elf/sotruss.ksh: Likewise.
70235         * catgets/gencat.c: Likewise.
70236         * csu/version.c: Likewise.
70237         * elf/ldd.bash.in: Likewise.
70238         * elf/sprof.c (print_version): Likewise.
70239         * locale/programs/locale.c: Likewise.
70240         * locale/programs/localedef.c: Likewise.
70241         * login/programs/pt_chown.c: Likewise.
70242         * nscd/nscd.c (print_version): Likewise.
70243         * debug/xtrace.sh: Likewise.
70244         * malloc/memusage.sh: Likewise.
70245         * malloc/mtrace.pl: Likewise.
70246         * debug/catchsegv.sh: Likewise.
70248 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70250         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70251         pure attribute.
70253 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70255         [BZ #13533]
70256         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70257         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70258         transformations.
70259         * iconv/gconv_int.h: Likewise.
70260         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70261         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70262         from libc for GLIBC_2.16.
70263         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70264         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70265         * wcsmbs/uchar.h: Really define mbstate_t.
70266         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70267         * wcsmbs/c16rtomb.c: New file.
70268         * wcsmbs/mbrtoc16.c: New file.
70269         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70270         for C/POSIX locale.
70271         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70272         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70274         * wcsmbs/wchar.h: Add missing __restrict.
70276 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70278         [BZ #13532]
70279         * time/Makefile (routines): Add timespec_get.
70280         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70281         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70282         timespec for ISO C11.
70283         * time/timespec_get.c: New file.
70284         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70285         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70287         [BZ #13531]
70288         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70289         * stdlib/stdlib.h: Declare aligned_alloc.
70290         * Versions.def: Add GLIBC_2.16 for libc.
70291         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70293         [BZ 13527]
70294         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70295         ISO C11.
70297         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70298         code.
70300         [BZ #13528]
70301         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70303         [BZ #13529]
70304         * assert/assert.h (static_assert): Define.
70306         * version.h: Update for 2.16 development version.
70308         [BZ #13526]
70309         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70310         _ISOC11_SOURCE.
70312         * version.h (RELEASE): Bump for 2.15 release.
70313         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70315         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70316         Patch by Marek Polacek <mpolacek@redhat.com>.
70318         * bits/byteswap.h: Protect long long constants with __extension__.
70319         * sysdeps/i386/bits/byteswap.h: Likewise.
70320         * sysdeps/ia64/bits/byteswap.h: Likewise.
70321         * sysdeps/s390/bits/byteswap.h: Likewise.
70322         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70324 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70326         [BZ #13540]
70327         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70328         destination buffer.
70329         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70331 2011-12-23  Marek Polacek  <polacek@redhat.com>
70333         * elf/dl-addr.c (determine_info): Add inline keyword.
70334         * elf/tst-auditmod4b.c (check_avx): Likewise.
70335         * elf/tst-auditmod6b.c (check_avx): Likewise.
70336         * elf/tst-auditmod6c.c (check_avx): Likewise.
70337         * elf/tst-auditmod7b.c (check_avx): Likewise.
70339 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70341         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70342         !__SSE_MATH__.
70344 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70346         [BZ #13540]
70347         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70348         processing for last bytes.
70350 2011-08-06  Bruno Haible  <bruno@clisp.org>
70352         [BZ #13061]
70353         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70354         U+0385, not to U+1FEE.
70356         [BZ #13062]
70357         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70358         entry for U+00A5 U+0301.
70360 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70362         [BZ #13166]
70363         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70364         buffer for the output is too small.
70366         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70367         optimization.
70369         [BZ #13185]
70370         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70371         SSE flags if possible.
70373 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70375         [BZ #13540]
70376         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70377         processing for last bytes.
70379 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70381         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70382         (syscall-list-default-options, syscall-list-default-condition)
70383         (syscall-list-includes): Define.
70384         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70385         list of ABIs and options and #if conditions for each ABI.  Do not
70386         handle common syscalls between ABIs specially.
70387         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70388         Remove.
70389         (syscall-list-variants, syscall-list-32bit-options)
70390         (syscall-list-32bit-condition, syscall-list-64bit-options)
70391         (syscall-list-64bit-condition): Define.
70392         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70393         (syscall-list-variants, syscall-list-32bit-options)
70394         (syscall-list-32bit-condition, syscall-list-64bit-options)
70395         (syscall-list-64bit-condition): Define.
70396         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70397         Remove.
70398         (syscall-list-variants, syscall-list-32bit-options)
70399         (syscall-list-32bit-condition, syscall-list-64bit-options)
70400         (syscall-list-64bit-condition): Define.
70401         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70402         Remove.
70403         (syscall-list-variants, syscall-list-32bit-options)
70404         (syscall-list-32bit-condition, syscall-list-64bit-options)
70405         (syscall-list-64bit-condition): Define.
70407 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70409         * locale/iso-639.def: Add brx entry.
70411         [BZ #13328]
70412         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70413         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70415         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70416         __feraiseexcept_renamed.
70418 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70420         [BZ #13538]
70421         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70422         EPOLLET with unsigned values.
70423         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70424         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70426         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70427         to large cancellation.
70428         * math/s_cacoshf.c: Likewise.
70429         * math/s_cacoshl.c: Likewise.
70431 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70433         [BZ #13305]
70434         [BZ #12786]
70435         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70436         * math/s_cacoshf.c: Likewise.
70437         * math/s_cacoshl.c: Likewise.
70439 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70441         [BZ #13439]
70442         * iconv/gconv.h: Define __GCONV_SWAP.
70443         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70444         * iconvdata/utf-16.c: Likewise.
70445         * iconvdata/utf-32.c: Likewise.
70447 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70449         [BZ #13524]
70450         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70451         numerator after shifting it by one limb.
70453 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70455         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70456         under [__USE_EXTERN_INLINES].
70458 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70460         [BZ #13446]
70461         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70463 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70465         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70466         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70467         optimized code.
70468         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70469         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70470         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70471         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70472         for strncasecmp/strncasecmp_l compilation.
70473         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70474         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70476 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70478         [BZ #13484]
70479         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70480         of __asm__.
70482 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70484         [BZ #13506]
70485         * time/tzfile.c (__tzfile_read): Check values from file header.
70487 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70489         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70490         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70491         * powerpc/powerpc32/dl-start.S: Likewise.
70492         * powerpc/powerpc32/elf/start.S: Likewise.
70493         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70494         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70495         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70496         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70497         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70498         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70499         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70500         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70501         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70502         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70503         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70504         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70505         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70506         * powerpc/powerpc32/memset.S: Likewise.
70507         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70508         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70509         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70510         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70511         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70512         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70513         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70514         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70515         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70516         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70517         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70518         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70519         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70521 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70523         * math/libm-test.inc: Added more nearbyint tests.
70524         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70525         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70526         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70527         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70529 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70531         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70532         FD_CLOEXEC.
70534 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70536         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70537         Add wcscpy-ssse3 wcscpy-c.
70538         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70539         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70540         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70541         * sysdeps/x86_64/wcschr.S: New file.
70542         * sysdeps/x86_64/wcsrchr.S: New file.
70543         * string/test-strcmp.c: Remove checking of wcscmp function for
70544         wrong alignments.
70545         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70546         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70547         wcsrchr-sse2 wcsrchr-c.
70548         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70549         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70550         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70551         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70552         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70553         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70554         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70555         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70556         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70557         * wcsmbc/wcschr.c (WCSCHR): New macro.
70559 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70561         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70562         * wcsmbs/test-wcsrchr.c: New file.
70563         * string/test-strrchr.c: Add wcsrchr support.
70564         (WIDE): New macro.
70565         * wcsmbs/test-wcscpy.c: New file.
70566         * string/test-strcpy.c: Add wcscpy support.
70567         (WIDE): New macro.
70569 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70571         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70572         the inner loop.
70574 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70576         [BZ #13472]
70577         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70579 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70581         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70582         Minor optimizations.
70584         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70585         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70586         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70588 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70590         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70591         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70592         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70593         for gcc to avoid warnings.
70594         * inet/Makefile (tests): Add tst-checks.
70595         * inet/tst-checks.c: New file.
70597         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70598         warning.
70600         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70601         __wmemcmp_sse2.
70603         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70604         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70606         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70608 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70610         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70611         problem.
70613         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70615 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70617         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70618         conditional on GCC version.
70619         (__arch_compare_and_exchange_val_8_acq)
70620         (__arch_compare_and_exchange_val_16_acq)
70621         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70622         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70623         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70625 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70627         * sysdeps/sh/backtrace.c: New file.
70629 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70631         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70632         parenthesis.
70634 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70636         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70637         falling back to utime.
70639 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70641         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70642         expectations for float.
70644 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70646         * locale/weight.h (findidx): Add parameter len.
70647         * locale/weightwc.h (findidx): Likewise.
70648         * posix/fnmatch_loop.c (FCT): Adjust caller.
70649         * posix/regcomp.c (build_equiv_class): Likewise.
70650         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70651         * posix/regexec.c (check_node_accept_bytes): Likewise.
70652         * string/strcoll_l.c (STRCOLL): Likewise.
70653         * string/strxfrm_l.c (STRXFRM): Likewise.
70655 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70657         * Makefile.in: Remove CVSOPT handling.
70658         * configure.in: Remove use of AC_REVISION.
70659         * iconvdata/Makefile (distribute): No need to filter out CVS.
70660         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70661         handling.
70663 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70666         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70667         [USE_AS_STRNCASECMP_L]: Likewise.
70668         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70669         NO_TLS_DIRECT_SEG_REFS.
70670         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70671         Fix argument offsets for non-PIC.
70672         [USE_AS_STRNCASECMP_L]: Likewise.
70673         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70674         NO_TLS_DIRECT_SEG_REFS.
70676 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70678         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70679         O_CLOEXEC.
70680         * locale/loadlocale.c (_nl_load_locale): Likewise.
70682 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70684         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70685         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70686         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70687         (SYSCALL_GETTIME): Set errno on error.
70689         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70690         count references to noai6ai_cached.
70692 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70694         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70696         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70697         FD_CLOEXEC for /proc/self/maps.
70699         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70700         FD_CLOEXEC for /proc/meminfo.
70702         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70703         gai.conf.
70705         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70706         FD_CLOEXEC for given file.
70708         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70710         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70711         FD_CLOEXEC for /etc/hosts.
70712         (_gethtent): Likewise.
70714         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70716         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70717         cancellation and set FD_CLOEXEC for /etc/netgroup.
70719         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70720         reading /etc/publickey.
70722         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70723         allow cancellation when reading /etc/group.
70725         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70726         cancellation.
70727         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70729         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70730         when using data file.
70732         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70734         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70735         (write_nis_obj): Use "c" and "e" in fopen.
70737         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70739         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70741         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70743         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70745         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70746         locale.alias.
70748         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70750         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70752         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70754         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70755         file parsing and set FD_CLOEXEC.
70757 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70759         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70761 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70763         * malloc/arena.c (arena_get2): Don't call reused_arena when
70764         _int_new_arena failed.
70766 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70768         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70769         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70770         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70771         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70772         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70773         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70774         to compile strcasecmp and strncasecmp.
70775         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70776         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70780 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70782         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70783         locale-defines.sym to gen-as-const-headers.
70784         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70785         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70786         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70787         to compile strcasecmp and strncasecmp.
70788         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70789         strcasecmp_l and strncasecmp_l.
70790         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70791         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70792         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70793         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70794         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70795         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70796         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70797         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70798         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70799         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70800         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70802 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70804         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70805         result of SYSDEP_GETTIME_CPU to retval.
70806         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70807         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70809         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70810         variable.
70812         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70813         mantissa words.
70814         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70816         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70817         from unused variable.
70819         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70820         DWARF definitions.
70821         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70822         for assembling.
70824         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70825         over namespaces.
70827         * sunrpc/rpc_prot.c (rejected): Fix case value.
70829         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70830         unsigned long long int to avoid warnings in shift.
70832         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70833         of use of trans.
70834         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70835         variable tmp.
70837         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70838         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70839         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70841         * nis/nis_table.c (nis_list): Use variable of correct type for
70842         result of __follow_path call.
70844 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70846         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70847         of math functions ceil, trunc, floor, round, and sqrt, when
70848         avaliable on the platform.
70849         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70850         name clash.
70851         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70852         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70853         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70855 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70857         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70858         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70860 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70862         * include/unistd.h: Fix __readlink return type.
70863         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70865 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70867         * stdlib/ucontext.h: Undo last change for makecontext.
70869 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70871         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70873         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70874         * setjmp/setjmp.h: Mark functions as non-leaf.
70875         * setjmp/bits/setjmp2.h: Likewise.
70876         * stdlib/ucontext.h: Likewise.
70878 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70880         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70881         (reused_arena): Don't check arena limit.
70882         (arena_get2): Atomically check arena limit.
70884 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70886         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70887         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70890         instructions.
70892 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70894         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70895         handler when locking.
70897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70898         Fix size of allocated buffer.
70900 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70902         [BZ #10103]
70903         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70904         declarations for long double functions.
70905         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70907         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70909 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70911         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70912         installed.
70914         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70915         is disabled.
70917 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70919         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70921 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70923         * include/alloca.h (stackinfo_alloca_round): Define.
70924         (extend_alloca): Use it.
70925         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70926         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70927         here.
70929         * scripts/check-local-headers.sh: Ignore libaudit.h.
70931         * nscd/Makefile (extra-objs): Make recursively expanded.
70933 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70935         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70936         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70938         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70939         * posix/tst-rfc3484-2.c: Likewise.
70940         * posix/tst-rfc3484-3.c: Likewise.
70942         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70943         process_vm_writev.
70944         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70945         process_vm_writev.
70946         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70947         process_vm_writev from libc using GLIBC_2.15 version.
70949         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70951 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70953         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70954         stack usage.
70956 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70958         [BZ #13367]
70959         * nss/getent.c (initgroups_keys): Show error message in case no group
70960         names are given.
70962         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70963         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70964         __bump_nl_timestamp.
70965         * nscd/connections (nscd_init): When host database is served open
70966         netlink socket and request notification about configuration changes.
70967         (main_loop_poll): Track netlink file descriptor and bump timestamp
70968         in case data becomes available.
70969         (main_loop_epoll): Likewise.
70970         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70971         (database_pers_head): Add extra_data fileds.
70972         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70973         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70974         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70975         Adjust caller.
70976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70977         in6ai data, call __free_in6ai.
70978         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70979         Add -DHAVE_NETLINK.
70980         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70981         interface information.  Reuse previous data if netlink timestamp
70982         is not changed.
70983         (__bump_nl_timestamp): New function.
70984         (__free_in6ai): New function.
70986 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70988         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70989         close_not_cancel_no_status here.
70990         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70992 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70994         [BZ #13276]
70995         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70996         return value.
70998         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70999         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71000         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71002 2011-07-03  Andreas Jaeger  <aj@suse.de>
71004         [BZ #10709]
71005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71006         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71007         * math/libm-test.inc (sin_test): Add test case.
71009 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71011         [BZ #13337]
71012         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71013         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71015         * elf/chroot_canon.c (chroot_canon): Cleanups.
71017         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71019         [BZ #13335]
71020         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71021         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71023         * string/test-strchr.c: Make usable for strchrnul testing.
71024         * string/test-strchrnul.c: New file.
71025         * string/Makefile (strop-tests): Add strchrnul.
71027         * po/it.po: Update from translation team.
71028         * po/es.po: Likewise.
71030 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71032         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71033         the three constants needed as parameters.  Drop the others.
71034         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71035         __m128i_strloadu_tolower.
71036         Create and initialize variable zero and use it in all the places
71037         where _mm_setzero_si128 was used.
71039         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71040         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71041         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71042         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71043         anymore.
71044         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71045         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71046         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71047         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71048         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71049         __mpranred, __mptan.
71050         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71051         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71052         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71053         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71054         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71055         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71056         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71057         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71058         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71060 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71062         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71063         redefine if SHARED.
71064         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71067         wide char related routines to wcsmbs subdir.
71069 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71071         [BZ #13344]
71072         * misc/sys/cdefs.h (__THROWNL): Define.
71073         * posix/unistd.h: Use __THREADNL instead of __THREAD
71074         for memory synchronization functions.
71076 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71078         [BZ #13349]
71079         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71080         doesn't exist.
71081         * manual/stdio.texi (Obstack Streams): Node removed.
71083 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71085         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71086         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71087         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71089         * math/math_private.h (math_force_eval): Allow non-addressable
71090         arguments.
71091         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71093 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71095         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71096         file is not needed.
71098         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71099         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71100         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71101         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71102         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71103         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71104         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71105         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71106         Add AVX variants.
71107         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71108         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71109         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71110         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71111         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71112         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71113         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71114         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71115         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71116         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71117         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71118         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71119         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71120         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71121         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71122         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71123         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71124         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71125         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71127         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71128         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71130         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71131         place.  Use VEX encoding when compiling for AVX.
71133 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71135         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71136         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71138         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71140 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71142         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71143         useless if() expression.
71144         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71145         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71146         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71147         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71148         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71149         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71150         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71151         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71152         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71153         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71154         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71155         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71156         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71157         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71158         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71159         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71160         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71161         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71162         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71164         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71166 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71168         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71169         condition.
71170         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71172 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71174         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71175         .text section.  Avoid duplicate constants.
71176         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71177         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71178         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71180         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71184         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71185         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71186         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71187         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71188         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71189         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71190         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71191         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71192         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71193         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71194         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71196         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71197         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71198         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71199         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71200         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71201         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71202         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71203         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71204         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71205         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71206         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71207         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71208         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71209         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71210         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71211         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71212         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71213         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71214         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71215         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71216         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71217         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71218         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71219         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71220         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71222 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71224         * sysdeps/x86_64/dla.h: Move to ...
71225         * sysdeps/x86_64/fpu/dla.h: ...here.
71226         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71227         situations.  Use __builtin_fma only for gcc 4.6 and up.
71229         * config.make.in: Add have-mfma4 entry.
71230         * configure.in: Substitute libc_cv_cc_fma4.
71231         * math/Makefile (dbl-only-routines): Add sincostab.
71232         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71233         Use __sincostab not sincos.
71234         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71235         name is a macro.
71236         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71239         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71240         using __copysign.
71241         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71242         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71243         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71244         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71245         and __inv.
71246         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71247         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71248         __copysign.
71249         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71250         define aliases when function name is a macro.
71251         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71252         sysdeps/ieee754/dbl-64/sincos.tbl.
71253         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71254         fma4-enabled routines.
71255         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71256         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71257         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71258         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71259         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71260         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71262         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71263         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71264         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71265         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71266         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71267         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71268         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71269         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71270         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71271         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71272         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71273         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71274         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71275         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71276         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71278         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71279         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71280         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71281         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71282         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71283         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71284         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71286         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71287         rename.
71288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71289         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71291         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71293         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71294         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71297 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71299         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71301 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71303         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71305         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71306         prediction.
71307         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71309         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71310         Remove unused variable magic_bits.
71311         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71313         * string/strnlen.c: Define and use STRNLEN macro.
71314         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71315         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71316         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71317         * wcsmbs/wcslen.c: Define and use WCSLEN.
71318         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71319         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71320         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71321         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71322         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71323         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71324         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71326 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71329         strnlen-sse2-no-bsf.
71330         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71331         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71332         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71333         Add strnlen support.
71334         (USE_AS_STRNLEN): New macro.
71335         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71336         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71337         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71338         * sysdeps/x86_64/wcslen.S: New file.
71340 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71342         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71343         XMM-moves are used for copying on small sizes.
71345 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71347         * wcsmbs/Makefile (strop-tests): Add wcschr.
71348         * wcsmbs/test-wcschr.c: New file.
71349         * string/test-strchr.c: Update.
71350         Add wcschr support.
71351         (WIDE): New macro.
71353 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71355         * wcsmbs/Makefile (strop-tests): Add wcslen.
71356         * wcsmbs/test-wcslen.c: New file.
71357         * string/test-strlen.c: Update.
71358         Add wcslen support.
71359         (WIDE): New macro.
71361 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71363         * po/it.po: Update from translation team.
71365 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71367         * sysdeps/x86_64/wcscmp.S: Update.
71368         Fix wrong comparison semantics.
71369         wcscmp shall use signed comparison not unsigned.
71370         Don't use substraction to avoid overflow bug.
71371         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71372         * wcsmbc/wcscmp.c: Likewise.
71373         * string/test-strcmp.c: Likewise.
71374         Add new tests to check cases with negative values.
71376 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71378         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71379         * sysdeps/x86_64/dla.h: ...here.  New file.
71380         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71386         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71390 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71392         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71393         __ynl_finite aliases.
71395 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71399         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71400         define DLA_FMA.
71401         [DLA_FMA] (EMULV): Use DLA_FMA.
71402         [DLA_FMA] (MUL12): Use EMULV.
71403         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71404         that are not needed.
71405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71409         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71410         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71411         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71413 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71415         * math/s_nan.c: Undef __nan.
71416         * math/s_nanf.c: Undef __nanf.
71417         * math/s_nanl.c: Undef __nanl.
71418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71419         "math_private.h".
71421 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71423         * math/s_catan.c: Add branch predictions.
71424         * math/s_catanf.c: Likewise.
71425         * math/s_catanh.c: Likewise.
71426         * math/s_catanhf.c: Likewise.
71427         * math/s_catanhl.c: Likewise.
71428         * math/s_catanl.c: Likewise.
71429         * math/s_cexp.c: Likewise.
71430         * math/s_cexpf.c: Likewise.
71431         * math/s_cexpl.c: Likewise.
71432         * math/s_clog.c: Likewise.
71433         * math/s_clog10.c: Likewise.
71434         * math/s_clog10f.c: Likewise.
71435         * math/s_clog10l.c: Likewise.
71436         * math/s_clogf.c: Likewise.
71437         * math/s_clogl.c: Likewise.
71438         * math/s_csqrt.c: Likewise.
71439         * math/s_csqrtf.c: Likewise.
71440         * math/s_csqrtl.c: Likewise.
71441         * math/s_ctanf.c: Likewise.
71442         * math/s_ctanh.c: Likewise.
71443         * math/s_ctanhf.c: Likewise.
71444         * math/s_ctanhl.c: Likewise.
71445         * math/s_ctanl.c: Likewise.
71447         * math/math_private.h: Define __nan, __nanf, __nanl.
71448         * math/s_cacosh.c: Include <math_private.h>.
71449         * math/s_cacoshl.c: Likewise.
71450         * math/s_casinh.c: Likewise.
71451         * math/s_casinhf.c: Likewise.
71452         * math/s_casinhl.c: Likewise.
71453         * math/s_ccos.c: Rely entire on ccosh.
71454         * math/s_ccosf.c: Rely entire on ccoshf.
71455         * math/s_ccosl.c: Rely entirely on ccoshl.
71456         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71457         Remove tests for FE_INVALID.
71458         * math/s_ccoshf.c: Likewise.
71459         * math/s_ccoshl.c: Likewise.
71460         * math/s_csin.c: Likewise.
71461         * math/s_csinf.c: Likewise.
71462         * math/s_csinh.c Likewise.
71463         * math/s_csinhf.c: Likewise.
71464         * math/s_csinhl.c: Likewise.
71465         * math/s_csinl.c: Likewise.
71466         * math/s_ctan.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71468         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71469         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71471 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71474         compilation problems.
71476         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71477         __builtin_expect.
71479 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71481         * sysdeps/i386/configure.in: Test for -mfma4 option.
71482         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71483         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71484         COMMON_CPUID_INDEX_80000001.
71485         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71486         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71487         use it if FMA3 is not supported.
71488         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71490         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71491         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71493 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71495         [BZ #12892]
71496         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71497         it would create a cycle with a link time dependency.
71499 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71501         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71502         instruction.
71503         * string/Makefile (strop-tests): Add rawmemchr.
71504         * string/test-rawmemchr.c: New file.
71506         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71507         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71508         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71509         when compiling str{,n}casecmp and when AVX is available.  Hook up
71510         new optimized code in initializers.
71512 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71514         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71515         __feraiseexcept instead of feraiseexcept.
71517 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71519         * math/math_private.h: Define defaults for libc_fetestexcept and
71520         libc_feupdateenv.
71521         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71522         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71523         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71524         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71525         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71526         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71527         libc_fetestexcept and libc_feupdateenv.
71529         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71530         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71531         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71532         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71533         libc_feholdexcept_setround.
71535         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71536         Add s_nearbyint-c and s_nearbyintf-c.
71537         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71538         nearbyintf inlines.
71539         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71540         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71541         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71542         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71544         * math/math_private.h: Define defaults for libc_fegetround,
71545         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71546         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71547         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71548         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71549         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71550         standard functions.
71551         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71552         Remove comments and hacks for old compiler versions.
71553         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71554         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71555         libc_feholdexceptl.
71557 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71559         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71560         (__feraiseexcept_renamed): Add __NTH.
71561         (feraiseexcept): Add __NTH.  Rename local variables to fix
71562         namespace violations.
71564 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71566         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71568         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71570         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71571         recently added interfaces.
71572         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71574         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71575         about macro parameter expansion.
71577         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71578         __NO_MATH_INLINES is defined.  Cleanups.
71580         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71581         and __floorf is target has SSE4.1.
71582         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71583         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71584         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71585         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71587         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71588         name.
71589         (floorf): Likewise.
71591         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71593 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71595         * misc/sys/cdefs.h: Fix last change.
71597         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71598         database lookup.
71600 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71602         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71604         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71605         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71609         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71610         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71611         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71612         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71613         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71614         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71615         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71616         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71617         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71618         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71619         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71620         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71621         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71622         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71623         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71624         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71625         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71627         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71628         ceil, ceilf, floor, floorf.
71630         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71631         Perform IRELATIVE relocations last.
71633         * elf/do-rel.h: Add another parameter nrelative, replacing the
71634         local variable with the same name.  Change name of the function
71635         to end in Rel or Rela (uppercase).
71636         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71637         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71638         elf_dynamic_do_##reloc function.
71640 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71642         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71643         is sufficient, at least on modern CPUs.
71645         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71647         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71648         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71650         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71651         __expl_finite.
71652         * math/bits/math-finite.h: Add entries for exp.
71653         * math/e_expl.c: Add __*_finite alias.
71654         * sysdeps/i386/fpu/e_exp.S: Likewise.
71655         * sysdeps/i386/fpu/e_expf.S: Likewise.
71656         * sysdeps/i386/fpu/e_expl.c: Likewise.
71657         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71658         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71659         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71661         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71662         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71663         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71665         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71666         is sufficient, at least on modern CPUs.
71668         * ctype/ctype-info.c (__ctype_init): Define.
71669         * include/ctype.h (__ctype_init): Declare.
71670         (__ctype_b_loc): The variable is always initialized.
71671         (__ctype_toupper_loc): Likewise.
71672         (__ctype_tolower_loc): Likewise.
71673         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71674         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71676 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71678         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71680         * configure.in: Also look in $cxxmachine/include for C++ system
71681         headers.
71683 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71685         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71686         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71687         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71688         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71689         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71690         (USE_AS_WMEMCMP): New macro.
71691         Fixing indents.
71692         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71693         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71694         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71695         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71696         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71697         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71698         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71699         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71700         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71701         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71702         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71703         (USE_AS_WMEMCMP): New macro.
71704         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71705         * sysdeps/string/test-memcmp.c: Update.
71706         Fix simple_wmemcmp.
71707         Add new tests.
71708         * wcsmbs/wmemcmp.c: Update.
71709         (WMEMCMP): New macro.
71710         Fix overflow bug.
71712 2011-10-12  Andreas Jaeger  <aj@suse.de>
71714         [BZ #13268]
71715         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71717 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71719         * libio/iofwide.c (do_length): Avoid warning.
71721         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71723 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71725         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71727         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71728         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71729         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71730         * sysdeps/i386/i686/fpu/e_log.S: New file.
71731         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71732         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71734         * ctype/ctype.h: Add support for inlined isXXX functions when
71735         compiling C++ code.
71737 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71739         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71741         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71743 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71745         [BZ #13291]
71746         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71748 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71750         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71751         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71752         feraiseexcept.
71754         * sysdeps/x86_64/memrchr.S: Check for zero size.
71756         * string/stratcliff.c: Add memrchr tests.
71758 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71761         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71762         rawmemchr-sse2 rawmemchr-sse2-bsf.
71763         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71764         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71765         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71766         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71767         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71768         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71769         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71770         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71771         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71772         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71773         * string/memrchr.c (MEMRCHR): New macro.
71775 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71777         Add integration with gcc's -ffinite-math-only and optimize wrapper
71778         functions in libm.
71779         * Versions.def: Define GLIBC_2.15 version for libm.
71780         * math/Makefile (headers): Add bits/math-finite.h.
71781         * math/bits/math-finite.h: New file.
71782         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71783         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71784         * math/e_acoshl.c: Add __*_finite alias.
71785         * math/e_acosl.c: Likewise.
71786         * math/e_asinl.c: Likewise.
71787         * math/e_atan2l.c: Likewise.
71788         * math/e_atanhl.c: Likewise.
71789         * math/e_coshl.c: Likewise.
71790         * math/e_exp10.c: Likewise.
71791         * math/e_exp10f.c: Likewise.
71792         * math/e_exp10l.c: Likewise.
71793         * math/e_exp2l.c: Likewise.
71794         * math/e_fmodl.c: Likewise.
71795         * math/e_gammal_r.c: Likewise.
71796         * math/e_hypotl.c: Likewise.
71797         * math/e_j0l.c: Likewise.
71798         * math/e_j1l.c: Likewise.
71799         * math/e_jnl.c: Likewise.
71800         * math/e_lgammal_r.c: Likewise.
71801         * math/e_log10l.c: Likewise.
71802         * math/e_log2l.c: Likewise.
71803         * math/e_logl.c: Likewise.
71804         * math/e_powl.c: Likewise.
71805         * math/e_sinhl.c: Likewise.
71806         * math/e_sqrtl.c: Likewise.
71807         * math/e_scalb.c: Completely rewritten and optimized.
71808         * math/e_scalbf.c: Likewise.
71809         * math/e_scalbl.c: Likewise.
71810         * math/w_acos.c: Likewise.
71811         * math/w_acosf.c: Likewise.
71812         * math/w_acosl.c: Likewise.
71813         * math/w_acosh.c: Likewise.
71814         * math/w_acoshf.c: Likewise.
71815         * math/w_acoshl.c: Likewise.
71816         * math/w_asin.c: Likewise.
71817         * math/w_asinf.c: Likewise.
71818         * math/w_asinl.c: Likewise.
71819         * math/w_atan2.c: Likewise.
71820         * math/w_atan2f.c: Likewise.
71821         * math/w_atan2l.c: Likewise.
71822         * math/w_atanh.c: Likewise.
71823         * math/w_atanhf.c: Likewise.
71824         * math/w_atanhl.c: Likewise.
71825         * math/w_exp10.c: Likewise.
71826         * math/w_exp10f.c: Likewise.
71827         * math/w_exp10l.c: Likewise.
71828         * math/w_fmod.c: Likewise.
71829         * math/w_fmodf.c: Likewise.
71830         * math/w_fmodl.c: Likewise.
71831         * math/w_j0.c: Likewise.
71832         * math/w_j0f.c: Likewise.
71833         * math/w_j0l.c: Likewise.
71834         * math/w_j1.c: Likewise.
71835         * math/w_j1f.c: Likewise.
71836         * math/w_j1l.c: Likewise.
71837         * math/w_jn.c: Likewise.
71838         * math/w_jnf.c: Likewise.
71839         * math/w_log.c: Likewise.
71840         * math/w_logf.c: Likewise.
71841         * math/w_logl.c: Likewise.
71842         * math/w_log10.c: Likewise.
71843         * math/w_log10f.c: Likewise.
71844         * math/w_log10l.c: Likewise.
71845         * math/w_log2.c: Likewise.
71846         * math/w_log2f.c: Likewise.
71847         * math/w_log2l.c: Likewise.
71848         * math/w_pow.c: Likewise.
71849         * math/w_powf.c: Likewise.
71850         * math/w_powl.c: Likewise.
71851         * math/w_remainder.c: Likewise.
71852         * math/w_remainderf.c: Likewise.
71853         * math/w_remainderl.c: Likewise.
71854         * math/w_scalb.c: Likewise.
71855         * math/w_scalbf.c: Likewise.
71856         * math/w_scalbl.c: Likewise.
71857         * math/w_sqrt.c: Likewise.
71858         * math/w_sqrtf.c: Likewise.
71859         * math/w_sqrtl.c: Likewise.
71860         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71861         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71862         used.
71863         * math/math_private.h: Declare __kernel_standard_f.
71864         * math/w_cosh.c: Remove cruft and optimize a bit.
71865         * math/w_coshf.c: Likewise.
71866         * math/w_coshl.c: Likewise.
71867         * math/w_exp2.c: Likewise.
71868         * math/w_exp2f.c: Likewise.
71869         * math/w_exp2l.c: Likewise.
71870         * math/w_hypot.c: Likewise.
71871         * math/w_hypotf.c: Likewise.
71872         * math/w_hypotl.c: Likewise.
71873         * math/w_lgamma.c: Likewise.
71874         * math/w_lgamma_r.c: Likewise.
71875         * math/w_lgammaf.c: Likewise.
71876         * math/w_lgammaf_r.c: Likewise.
71877         * math/w_lgammal.c: Likewise.
71878         * math/w_lgammal_r.c: Likewise.
71879         * math/w_sinh.c: Likewise.
71880         * math/w_sinhf.c: Likewise.
71881         * math/w_sinhl.c: Likewise.
71882         * math/w_tgamma.c: Likewise.
71883         * math/w_tgammaf.c: Likewise.
71884         * math/w_tgammal.c: Likewise.
71885         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71886         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71887         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71888         Minor optimizations.  Pretty printing.  Remove cruft.
71889         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71890         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71891         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71892         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71893         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71894         * sysdeps/i386/fpu/e_asin.S: Likewise.
71895         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71896         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71897         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71898         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71899         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71900         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71901         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71902         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71903         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71904         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71905         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71906         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71907         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71908         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71909         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71910         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71911         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71912         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71913         * sysdeps/i386/fpu/e_log.S: Likewise.
71914         * sysdeps/i386/fpu/e_log10.S: Likewise.
71915         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71916         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71917         * sysdeps/i386/fpu/e_log2.S: Likewise.
71918         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71919         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71920         * sysdeps/i386/fpu/e_logf.S: Likewise.
71921         * sysdeps/i386/fpu/e_logl.S: Likewise.
71922         * sysdeps/i386/fpu/e_pow.S: Likewise.
71923         * sysdeps/i386/fpu/e_powf.S: Likewise.
71924         * sysdeps/i386/fpu/e_powl.S: Likewise.
71925         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71926         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71927         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71929         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71930         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71931         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71932         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71933         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71934         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71935         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71936         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71937         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71938         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71939         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71940         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71941         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71942         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71943         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71944         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71945         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71947         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71948         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71950         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71951         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71954         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71955         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71956         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71957         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71958         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71959         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71960         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71961         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71962         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71963         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71964         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71965         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71966         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71968         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71969         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71970         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71971         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71972         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71973         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71974         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71975         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71976         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71977         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71979         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71980         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71981         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71982         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71983         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71984         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71985         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71986         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71987         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71989         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71990         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71991         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71992         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71993         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71994         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71998         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72002         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72003         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72005         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72008         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72009         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72010         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72011         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72012         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72013         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72014         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72015         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72016         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72017         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72018         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72021         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72022         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72023         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72024         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72025         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72026         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72027         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72028         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72029         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72030         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72031         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72032         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72033         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72034         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72035         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72036         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72037         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72038         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72039         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72040         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72041         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72042         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72043         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72044         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72045         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72046         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72047         (__isnanf): Likewise.
72048         (__isinf_ns): Likewise.
72049         (__isinf_nsf): Likewise.
72050         (__finite): Likewise.
72051         (__finitef): Likewise.
72052         (__ieee754_sqrt): Define as macro.
72053         (__ieee754_sqrtf): Define as macro.
72054         (__ieee754_sqrtl): Define as macro.
72055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72056         inlined copy.
72057         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72058         __FINITE_MATH_ONLY__ consistent.
72059         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72061 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72063         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72064         of rawmemchr.
72066         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72068 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72070         * po/ja.po: Update from translation team.
72072 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72074         * locale/programs/locarchive.c (prepare_address_space): New function.
72075         (create_archive, enlarge_archive, open_archive): Use it.
72077         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72078         inside [SHARED], where it is used.
72080         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72082         * nss/getent.c (netgroup_keys): Remove unused variable.
72083         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72085 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72087         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72088         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72089         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72090         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72091         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72092         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72093         * math/Makefile (libm-calls): Add s_isinf_ns.
72094         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72095         * math/multc3.c: Likewise.
72096         * math/s_casin.c: Likewise.
72097         * math/s_casinf.c: Likewise.
72098         * math/s_casinl.c: Likewise.
72099         * math/s_ccos.c: Likewise.
72100         * math/s_ccosf.c: Likewise.
72101         * math/s_ccosl.c: Likewise.
72102         * math/s_ctan.c: Likewise.
72103         * math/s_ctanf.c: Likewise.
72104         * math/s_ctanh.c: Likewise.
72105         * math/s_ctanhf.c: Likewise.
72106         * math/s_ctanhl.c: Likewise.
72107         * math/s_ctanl.c: Likewise.
72108         * math/w_fmod.c: Likewise.
72109         * math/w_fmodf.c: Likewise.
72110         * math/w_fmodl.c: Likewise.
72111         * math/w_remainder.c: Likewise.
72112         * math/w_remainderf.c: Likewise.
72113         * math/w_remainderl.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72115         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72116         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72118         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72119         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72120         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72121         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72123         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72124         of the number.
72125         * stdio-common/printf_fphex.c: Likewise.
72126         * stdio-common/printf_size.c: Likewise.
72128         * math/e_exp10.c: Include math_private.h using <...> not "...".
72129         * math/e_exp10f.c: Likewise.
72130         * math/e_exp10l.c: Likewise.
72131         * math/e_exp2l.c: Likewise.
72132         * math/e_j0l.c: Likewise.
72133         * math/e_j1l.c: Likewise.
72134         * math/e_jnl.c: Likewise.
72135         * math/e_lgammal_r.c: Likewise.
72136         * math/e_rem_pio2l.c: Likewise.
72137         * math/e_scalb.c: Likewise.
72138         * math/e_scalbf.c: Likewise.
72139         * math/e_scalbl.c: Likewise.
72140         * math/k_cosl.c: Likewise.
72141         * math/k_sinl.c: Likewise.
72142         * math/k_tanl.c: Likewise.
72143         * math/s_cacoshf.c: Likewise.
72144         * math/s_catan.c: Likewise.
72145         * math/s_catanf.c: Likewise.
72146         * math/s_catanh.c: Likewise.
72147         * math/s_catanhf.c: Likewise.
72148         * math/s_catanhl.c: Likewise.
72149         * math/s_catanl.c: Likewise.
72150         * math/s_ccosh.c: Likewise.
72151         * math/s_ccoshf.c: Likewise.
72152         * math/s_ccoshl.c: Likewise.
72153         * math/s_cexp.c: Likewise.
72154         * math/s_cexpf.c: Likewise.
72155         * math/s_cexpl.c: Likewise.
72156         * math/s_clog.c: Likewise.
72157         * math/s_clog10.c: Likewise.
72158         * math/s_clog10f.c: Likewise.
72159         * math/s_clog10l.c: Likewise.
72160         * math/s_clogf.c: Likewise.
72161         * math/s_clogl.c: Likewise.
72162         * math/s_csin.c: Likewise.
72163         * math/s_csinf.c: Likewise.
72164         * math/s_csinh.c: Likewise.
72165         * math/s_csinhf.c: Likewise.
72166         * math/s_csinhl.c: Likewise.
72167         * math/s_csinl.c: Likewise.
72168         * math/s_csqrt.c: Likewise.
72169         * math/s_csqrtf.c: Likewise.
72170         * math/s_csqrtl.c: Likewise.
72171         * math/s_ctan.c: Likewise.
72172         * math/s_ctanf.c: Likewise.
72173         * math/s_ctanh.c: Likewise.
72174         * math/s_ctanhf.c: Likewise.
72175         * math/s_ctanhl.c: Likewise.
72176         * math/s_ctanl.c: Likewise.
72177         * math/s_ldexp.c: Likewise.
72178         * math/s_ldexpf.c: Likewise.
72179         * math/s_ldexpl.c: Likewise.
72180         * math/s_significand.c: Likewise.
72181         * math/s_significandf.c: Likewise.
72182         * math/s_significandl.c: Likewise.
72183         * math/w_acos.c: Likewise.
72184         * math/w_acosf.c: Likewise.
72185         * math/w_acosh.c: Likewise.
72186         * math/w_acoshf.c: Likewise.
72187         * math/w_acoshl.c: Likewise.
72188         * math/w_acosl.c: Likewise.
72189         * math/w_asin.c: Likewise.
72190         * math/w_asinf.c: Likewise.
72191         * math/w_asinl.c: Likewise.
72192         * math/w_atan2.c: Likewise.
72193         * math/w_atan2f.c: Likewise.
72194         * math/w_atan2l.c: Likewise.
72195         * math/w_atanh.c: Likewise.
72196         * math/w_atanhf.c: Likewise.
72197         * math/w_atanhl.c: Likewise.
72198         * math/w_cosh.c: Likewise.
72199         * math/w_coshf.c: Likewise.
72200         * math/w_coshl.c: Likewise.
72201         * math/w_dremf.c: Likewise.
72202         * math/w_exp10.c: Likewise.
72203         * math/w_exp10f.c: Likewise.
72204         * math/w_exp10l.c: Likewise.
72205         * math/w_exp2.c: Likewise.
72206         * math/w_exp2f.c: Likewise.
72207         * math/w_fmod.c: Likewise.
72208         * math/w_fmodf.c: Likewise.
72209         * math/w_fmodl.c: Likewise.
72210         * math/w_hypot.c: Likewise.
72211         * math/w_hypotf.c: Likewise.
72212         * math/w_hypotl.c: Likewise.
72213         * math/w_j0.c: Likewise.
72214         * math/w_j0f.c: Likewise.
72215         * math/w_j0l.c: Likewise.
72216         * math/w_j1.c: Likewise.
72217         * math/w_j1f.c: Likewise.
72218         * math/w_j1l.c: Likewise.
72219         * math/w_jn.c: Likewise.
72220         * math/w_jnf.c: Likewise.
72221         * math/w_jnl.c: Likewise.
72222         * math/w_lgamma.c: Likewise.
72223         * math/w_lgamma_r.c: Likewise.
72224         * math/w_lgammaf.c: Likewise.
72225         * math/w_lgammaf_r.c: Likewise.
72226         * math/w_lgammal.c: Likewise.
72227         * math/w_lgammal_r.c: Likewise.
72228         * math/w_log.c: Likewise.
72229         * math/w_log10.c: Likewise.
72230         * math/w_log10f.c: Likewise.
72231         * math/w_log10l.c: Likewise.
72232         * math/w_log2.c: Likewise.
72233         * math/w_log2f.c: Likewise.
72234         * math/w_log2l.c: Likewise.
72235         * math/w_logf.c: Likewise.
72236         * math/w_logl.c: Likewise.
72237         * math/w_pow.c: Likewise.
72238         * math/w_powf.c: Likewise.
72239         * math/w_powl.c: Likewise.
72240         * math/w_remainder.c: Likewise.
72241         * math/w_remainderf.c: Likewise.
72242         * math/w_remainderl.c: Likewise.
72243         * math/w_scalb.c: Likewise.
72244         * math/w_scalbf.c: Likewise.
72245         * math/w_scalbl.c: Likewise.
72246         * math/w_sinh.c: Likewise.
72247         * math/w_sinhf.c: Likewise.
72248         * math/w_sinhl.c: Likewise.
72249         * math/w_sqrt.c: Likewise.
72250         * math/w_sqrtf.c: Likewise.
72251         * math/w_sqrtl.c: Likewise.
72252         * math/w_tgamma.c: Likewise.
72253         * math/w_tgammaf.c: Likewise.
72254         * math/w_tgammal.c: Likewise.
72256         * po/ja.po: Update from translation team.
72258 2011-09-29  Andreas Jaeger  <aj@suse.de>
72260         [BZ #13179]
72261         * sunrpc/netname.c (netname2host): Fix logic.
72263         [BZ #6779]
72264         [BZ #6783]
72265         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72266         correctly.
72267         * math/w_remainder.c (__remainder): Likewise.
72268         * math/w_remainderf.c (__remainderf): Likewise.
72269         * math/libm-test.inc (remainder_test): Add test cases.
72271 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72273         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72274         sdiv_qrnnd.
72276 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72278         * string/test-memcmp.c: Avoid unncessary #defines.
72279         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72281 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72283         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72284         Use new sse2 version for core i3 - i7 as it's faster
72285         than sse42 version.
72286         (bit_Prefer_PMINUB_for_stringop): New.
72287         * sysdeps/x86_64/rawmemchr.S: Update.
72288         Replace with faster SSE2 version.
72289         * sysdeps/x86_64/memrchr.S: New file.
72290         * sysdeps/x86_64/memchr.S: Update.
72291         Replace with faster SSE2 version.
72293 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72295         * elf/dl-load.c (lose): Add cast to avoid warning.
72297 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72299         * po/ca.po: Update from translation team.
72301         * inet/getnetgrent_r.c: Hook up nscd.
72302         * nscd/Makefile (routines): Add nscd_netgroup.
72303         (nscd-modules): Add netgroupcache.
72304         (CFLAGS-netgroupcache.c): Define.
72305         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72306         (cache_search): Add const to second parameter.
72307         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72308         INNETGR.
72309         (dbs): Add netgrdb entry.
72310         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72311         (verify_persistent_db): Handle netgrdb.
72312         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72313         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72314         GETFDNETGR.
72315         (netgroup_response_header): Define.
72316         (innetgroup_response_header): Define.
72317         (datahead): Add netgroup_response_header and innetgroup_response_header
72318         elements.
72319         * nscd/nscd.conf: Add entries for netgroup cache.
72320         * nscd/nscd.h (dbtype): Add netgrdb.
72321         (_PATH_NSCD_NETGROUP_DB): Define.
72322         (netgroup_iov_disabled): Declare.
72323         (xmalloc, xcalloc, xrealloc): Move declarations here.
72324         (cache_search): Adjust prototype.
72325         Add netgroup-related prototypes.
72326         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72327         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72328         (__nscd_innetgr): Declare.
72329         * nscd/selinux.c (perms): Use access_vector_t as element type and
72330         add netgroup-related initializers.
72331         * nscd/netgroupcache.c: New file.
72332         * nscd/nscd_netgroup.c: New file.
72333         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72334         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72335         For four parameters use innetgr.
72336         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72337         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72338         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72339         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72341         * nscd/connections.c (register_traced_file): Don't register file
72342         for disabled databases.
72344 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72346         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72348         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72349         from tree and freeing node.
72351 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72353         * nss/nsswitch.c (__nss_database_lookup): Handle
72354         nss_parse_service_list out of memory case.
72356 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72358         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72359         out of memory case.
72361 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72363         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72364         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72365         pass it down.
72366         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72367         elf_machine_rela, elf_machine_lazy_rel.
72368         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72369         (ELF_DYNAMIC_DO_REL): Likewise.
72370         (ELF_DYNAMIC_DO_RELA): Likewise.
72371         (ELF_DYNAMIC_RELOCATE): Likewise.
72372         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72373         to ELF_DYNAMIC_DO_REL.
72374         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72375         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72376         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72377         elf_machine_rela.
72378         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72379         skip_ifunc, don't call ifunc function if non-zero.
72380         (elf_machine_rela): Likewise.
72381         (elf_machine_lazy_rel): Likewise.
72382         (elf_machine_lazy_rela): Likewise.
72383         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72384         (elf_machine_lazy_rel): Likewise.
72385         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72386         Likewise.
72387         (elf_machine_lazy_rel): Likewise.
72388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72389         Likewise.
72390         (elf_machine_lazy_rel): Likewise.
72391         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72392         (elf_machine_lazy_rel): Likewise.
72393         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72394         (elf_machine_lazy_rel): Likewise.
72395         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72396         (elf_machine_lazy_rel): Likewise.
72397         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72398         (elf_machine_lazy_rel): Likewise.
72399         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72400         (elf_machine_lazy_rel): Likewise.
72401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72402         (elf_machine_lazy_rel): Likewise.
72404 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72406         * nss/nss_files/files-init.c (_nss_files_init): Use static
72407         initialization for all the *_traced_file variables.
72409 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72411         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72413 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72415         [BZ #13226]
72416         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72418 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72420         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72421         Reread the line before reparsing it.
72423 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72425         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72427 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72428             Maxim Kuvyrkov  <maxim@codesourcery.com>
72429             Joseph Myers  <joseph@codesourcery.com>
72431         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72432         if needed for __stack_chk_guard.
72434 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72436         * sysdeps/posix/spawni.c (script_execute): Always define it.
72437         It will be optimized away if unused.
72438         (maybe_script_execute): New function.
72439         (__spawni): Call it.
72441         * Makerules: Don't include tls.make.
72442         (config-tls): Always set to thread.
72443         * tls.make.c: File removed.
72445 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72447         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72448         * config.make.in (CPPFLAGS-config): New substituted variable.
72450 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72452         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72454         [BZ #13192]
72455         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72456         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72458 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72460         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72461         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72462         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72463         (CALL_FAIL): Likewise.
72464         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72465         (CALL_FAIL): Macro removed.
72466         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72468 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72470         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72471         for __FINITE_MATH_ONLY__ == 1.
72473 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72475         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72476         __ieee754_sqrt instead of sqrt.
72477         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72478         __ieee754_sqrtf instead of sqrtf.
72479         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72480         __floorf instead of floorf.
72481         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72482         __floorf, __truncf instead of floorf, truncf.
72484 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72486         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72488         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72489         __extern_always_inline.
72490         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72491         32-bit.
72493 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72495         * elf/rtld.c (dl_main): Also relocate in dependency order when
72496         doing symbol dependency testing.
72498 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72500         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72501         Always define `refsym'.
72503 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72505         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72506         (__FD_ELT): Renamed from __FDELT.
72507         * misc/bits/select2.h (__FD_ELT): Likewise.
72508         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72509         __FD_MASK instead of __FDELT, __FDMASK.
72510         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72511         Likewise.
72512         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72513         Likewise.
72515         * elf/Makefile (gen-ldd): Fix pattern.
72517         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72518         (init_tls): Likewise.
72520 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72524 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72526         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72527         `struct cmsghdr *' instead of `void *'.
72528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72529         Likewise.
72531 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72533         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72534         if non-absolute.
72535         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72536         ldd_rewrite_script.
72538 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72540         * configure.in: Remove --with-tls option.
72541         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72542         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72543         out in case it is missing.
72544         * sysdeps/ia64/elf/configure.in: Likewise.
72545         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72546         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72547         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72548         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72549         * sysdeps/sh/elf/configure.in: Likewise.
72550         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72551         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72552         * sysdeps/x86_64/elf/configure.in: Likewise.
72553         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72554         * sysdeps/mach/hurd/tls.h: Likewise.
72556         [BZ #13067]
72557         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72559         [BZ #13090]
72560         * configure.in: Fix use of AC_INIT.
72562         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72564 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72566         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72567         __set_errno.
72568         * malloc/hooks.c: Likewise.
72570         [BZ #11929]
72571         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72572         variables statically.
72573         (narenas): Initialize.
72574         (list_lock): Initialize.
72575         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72576         initializtion of main_arena and list_lock.  Small cleanups.
72577         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72578         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72579         Add initializers to main_arena and mp_.
72580         (malloc_state): Remove pagesize member.  Change all users to use
72581         GLRO(dl_pagesize).
72583         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72584         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72585         is always initialized.
72587         * malloc/malloc.c: Removed unused configurations and dead code.
72588         * malloc/arena.c: Likewise.
72589         * malloc/hooks.c: Likewise.
72590         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72592         * include/tls.h: Removed.  USE___THREAD must always be defined.
72593         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72594         * elf/dl-libc.c: Likewise.
72595         * elf/dl-tsd.c: Likewise.
72596         * include/errno.h: Likewise.
72597         * include/netdb.h: Likewise.
72598         * include/resolv.h: Likewise.
72599         * inet/herrno-loc.c: Likewise.
72600         * inet/herrno.c: Likewise.
72601         * malloc/arena.c: Likewise.
72602         * malloc/hooks.c: Likewise.
72603         * malloc/malloc.c: Likewise.
72604         * resolv/res-state.c: Likewise.
72605         * resolv/res_libc.c: Likewise.
72606         * sysdeps/i386/dl-machine.h: Likewise.
72607         * sysdeps/ia64/dl-machine.h: Likewise.
72608         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72609         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72610         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72611         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72612         * sysdeps/sh/dl-machine.h: Likewise.
72613         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72614         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72615         * sysdeps/unix/i386/sysdep.S: Likewise.
72616         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72617         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72622         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72626         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72627         * sysdeps/x86_64/dl-machine.h: Likewise.
72628         * tls.make.c: Likewise.
72630         * configure.in: Remove --with-__thread option.  Make tests for
72631         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72632         tls_model attribute fail if no support is available.  Remove
72633         USE_IN_LIBIO.
72634         * Makeconfig: Adjust for dropped configure option.  All features are
72635         now mandatory.
72636         * Makerules: Likewise.
72637         * Versions.def: Likewise.
72638         * argp/argp-fmtstream.c: Likewise.
72639         * argp/argp-fmtstream.h: Likewise.
72640         * argp/argp-help.c: Likewise.
72641         * assert/assert.c: Likewise.
72642         * config.h.in: Likewise.
72643         * config.make.in: Likewise.
72644         * configure: Likewise.
72645         * configure.in: Likewise.
72646         * csu/Versions: Likewise.
72647         * csu/init.c: Likewise.
72648         * elf/tst-audit2.c: Likewise.
72649         * elf/tst-tls10.c: Likewise.
72650         * elf/tst-tls10.h: Likewise.
72651         * elf/tst-tls11.c: Likewise.
72652         * elf/tst-tls12.c: Likewise.
72653         * elf/tst-tls14.c: Likewise.
72654         * elf/tst-tlsmod11.c: Likewise.
72655         * elf/tst-tlsmod12.c: Likewise.
72656         * elf/tst-tlsmod13.c: Likewise.
72657         * elf/tst-tlsmod13a.c: Likewise.
72658         * elf/tst-tlsmod14a.c: Likewise.
72659         * elf/tst-tlsmod15b.c: Likewise.
72660         * elf/tst-tlsmod16a.c: Likewise.
72661         * elf/tst-tlsmod16b.c: Likewise.
72662         * elf/tst-tlsmod7.c: Likewise.
72663         * elf/tst-tlsmod8.c: Likewise.
72664         * elf/tst-tlsmod9.c: Likewise.
72665         * gmon/gmon.c: Likewise.
72666         * grp/fgetgrent_r.c: Likewise.
72667         * grp/putgrent.c: Likewise.
72668         * hurd/fopenport.c: Likewise.
72669         * include/libc-symbols.h: Likewise.
72670         * include/tls.h: Likewise.
72671         * intl/gettextP.h: Likewise.
72672         * intl/loadinfo.h: Likewise.
72673         * locale/global-locale.c: Likewise.
72674         * locale/localeinfo.h: Likewise.
72675         * mach/devstream.c: Likewise.
72676         * malloc/arena.c: Likewise.
72677         * malloc/set-freeres.c: Likewise.
72678         * misc/err.c: Likewise.
72679         * misc/getttyent.c: Likewise.
72680         * misc/mntent_r.c: Likewise.
72681         * posix/getopt.c: Likewise.
72682         * posix/wordexp.c: Likewise.
72683         * pwd/fgetpwent_r.c: Likewise.
72684         * resolv/Versions: Likewise.
72685         * resolv/res_hconf.c: Likewise.
72686         * shadow/fgetspent_r.c: Likewise.
72687         * shadow/putspent.c: Likewise.
72688         * stdio-common/printf_fphex.c: Likewise.
72689         * stdio-common/tmpfile.c: Likewise.
72690         * stdlib/abort.c: Likewise.
72691         * stdlib/fmtmsg.c: Likewise.
72692         * sunrpc/auth_unix.c: Likewise.
72693         * sunrpc/clnt_perr.c: Likewise.
72694         * sunrpc/clnt_tcp.c: Likewise.
72695         * sunrpc/clnt_udp.c: Likewise.
72696         * sunrpc/clnt_unix.c: Likewise.
72697         * sunrpc/openchild.c: Likewise.
72698         * sunrpc/svc_simple.c: Likewise.
72699         * sunrpc/svc_tcp.c: Likewise.
72700         * sunrpc/svc_udp.c: Likewise.
72701         * sunrpc/svc_unix.c: Likewise.
72702         * sunrpc/xdr.c: Likewise.
72703         * sunrpc/xdr_array.c: Likewise.
72704         * sunrpc/xdr_rec.c: Likewise.
72705         * sunrpc/xdr_ref.c: Likewise.
72706         * sunrpc/xdr_stdio.c: Likewise.
72708 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72710         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72712 2011-07-03  Andreas Jaeger  <aj@suse.de>
72714         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72715         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72716         regenerate with gen-libm-tests.pl.
72718 2010-05-12  Petr Baudis  <pasky@suse.cz>
72720         [BZ #11589]
72721         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72722         around j0() zero points by switching to j1().
72723         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72724         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72725         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72726         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72728 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72730         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72731         instead of 0.
72732         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72733         instead of 0.
72734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72735         Patch in part by Pavel Roskin <proski@gnu.org>.
72737         [BZ #13138]
72738         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72739         realloc.
72740         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72741         Free memory block if necessary.
72743         [BZ #12847]
72744         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72745         be NULL.  Don't lock in this case.
72747 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72749         * elf/elf.h (ELFOSABI_GNU): New macro.
72750         (ELFOSABI_LINUX): Define to that.
72752 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72754         * string/strncat.c (strncat): Undef the symbol in case it has been
72755         defined in bits/string.h.
72757 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72759         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72761         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72762         link map.
72764 2011-08-17  Andreas Jaeger  <aj@suse.de>
72766         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72768 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72769             Ian Lance Taylor  <iant@google.com>
72771         * math/libm-test.inc (lround_test): New testcase.
72772         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72774 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72776         * Makefile: Remove support for automatic cvs check-ins.
72777         * Makerules: Likewise.
72778         * config.make.in: Likewise.
72779         * configure.in: Likewise.
72780         * intl/Makefile: Likewise.
72781         * locale/Makefile: Likewise.
72782         * po/Makefile: Likewise.
72783         * posix/Makefile: Likewise.
72784         * sysdeps/gnu/Makefile: Likewise.
72785         * sysdeps/mach/hurd/Makefile: Likewise.
72786         * sysdeps/sparc/sparc32/Makefile: Likewise.
72788         [BZ #13118]
72789         * posix/Makefile (bug-regex32-ENV): Define.
72790         Patch by John Stanley <jpsinthemix@verizon.net>.
72792         * misc/Makefile (headers): Add bits/select2.h.
72793         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72794         * misc/bits/select2.h: New file.
72795         * include/bits/select2.h: New file.
72796         * debug/Makefile (routines): Add fdelt_chk.
72797         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72798         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72799         FD_ISSET.
72800         * debug/fdelt_chk.c: New file.
72802         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72803         * wcsmbs/test-wmemcmp.c: Likewise.
72804         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72805         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72807 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72809         * string/Makefile (strop-tests): Add memcmp.
72810         * string/test-wmemcmp.c: New file.
72811         * string/test-memcmp.c: Add wmemcmp support.
72813 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72815         [BZ #13153]
72816         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72817         2011-07-19 change.
72819         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72820         garbage value in a __mach_port_mod_refs call in the cases of the
72821         task-self and thread-self ports.
72823 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72825         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72827 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72829         * elf/dl-load.c (lose): Check for non-null L.
72831 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72833         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72835         * elf/dl-libc.c (dlerror_run): Pass back error code from
72836         dl_catch_error.
72838         [BZ #13123]
72839         * elf/dl-load.c (lose): Free l_origin if it is valid.
72841         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72842         names.
72843         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72844         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72845         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72846         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72847         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72848         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72850 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72852         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72853         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72854         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72855         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72856         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72857         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72858         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72859         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72860         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72861         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72863 2011-08-15  Alan Modra  <amodra@gmail.com>
72865         [BZ #13092]
72866         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72867         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72868         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72869         ppc_mcount to static-only-routines.
72870         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72871         __mcount_internal.
72872         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72873         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72875 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72877         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72878         for finite and infinity parameters.
72880 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72882         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72883         and add nop instructions for throughput optimization.
72884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72886 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72888         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72889         aligned copy for power7 with vector-scalar instructions.
72890         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72892 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72895         AVX check.
72897 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72899         [BZ #13144]
72900         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72901         last change.
72903 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72905         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72906         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72907         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72908         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72909         clock_gettime.
72911 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72913         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72914         Forgot to demangle the pointer.
72916         * sysdeps/i386/sysdep.h: Define atom_text_section.
72917         * sysdeps/x86_64/sysdep.h: Likewise.
72918         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72919         section with atom_text_section.
72920         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72921         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72923         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72924         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72926         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72927         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72928         already be defined.  Change to take two parameters and don't assign
72929         result to variable.  Adjust all users.
72930         Define INTERNAL_GETTIME if not already defined.
72931         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72932         call.
72933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72934         HAVE_CLOCK_GETTIME_VSYSCALL.
72935         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72937         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72938         gettimeofday vsyscall, just use time.
72940 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72943         <errno.h>.
72945 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72947         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72948         syscall on x86-64.
72949         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72950         syscall.
72951         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72952         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72953         syscall if possible.
72955 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72957         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72958         e_ident.  Don't pass to find_mapsXX.
72959         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72961 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72964         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72965         * sysdeps/x86_64/multiarch/strchr.S: Update.
72966         Check bit_slow_BSF bit.
72967         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72968         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72969         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72971 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72973         [BZ #13134]
72974         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72975         before glibc 2.15.
72976         (tryshell): Define.
72977         (__spawni): Change last parameter to be flag.  Test
72978         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72979         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72980         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72981         * posix/spawni.c: Likewise.
72982         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72983         * posix/spawnp.c: Likewise.  Change normal version to use
72984         SPAWN_XFLAGS_USE_PATH.
72985         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72986         SPAWN_XFLAGS_TRY_SHELL.
72988         [BZ #13150]
72989         * posix/glob.h: Remove gcc 1.x support.
72991         [BZ #13068]
72992         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72994 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72997         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72998         strrchr-sse2-bsf
72999         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73000         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73001         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73002         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73003         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73004         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73006 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73008         * sysdeps/x86_64/wcscmp.S: New file.
73010         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73011         wcscmp-c wcscmp-sse2
73012         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73013         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73014         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73015         * wcsmbs/wcscmp.c: Allow renaming.
73017 2011-09-05  David S. Miller  <davem@davemloft.net>
73019         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73020         stack slot, rather than the struct return pointer slot.
73021         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73022         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73024         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73026 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73028         * po/ja.po: Update from translation team.
73030         [BZ #13144]
73031         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73032         kernel in 64-bit binaries.
73034 2011-09-01  David S. Miller  <davem@davemloft.net>
73036         * elf/elf.h (HWCAP_SPARC_*): Move to..
73037         * sysdeps/sparc/sysdep.h: this new file and add new values.
73038         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73039         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73040         _DL_HWCAP_COUNT to 24.
73041         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73042         entries.
73043         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73044         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73045         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73046         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73047         instead of magic constants.
73048         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73050 2011-08-31  David S. Miller  <davem@davemloft.net>
73052         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73054         Reimplement to do errno handling inline.
73055         (SYSCALL_ERROR_HANDLER): New macro.
73056         (__SYSCALL_STRING): Do not do errno handling in asm.
73057         (__CLONE_SYSCALL_STRING): Delete.
73058         (__INTERNAL_SYSCALL_STRING): Delete.
73059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73060         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73061         (PSEUDO): Reimplement to do errno handling inline.
73062         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73063         (SYSCALL_ERROR_HANDLER): New macro.
73064         (__SYSCALL_STRING): Do not do errno handling in asm.
73065         (__CLONE_SYSCALL_STRING): Delete.
73066         (__INTERNAL_SYSCALL_STRING): Delete.
73067         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73068         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73069         i386.
73070         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73071         (inline_syscall*): Add 'err' argument.
73072         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73073         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73074         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73075         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73077         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73078         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73080 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73082         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73084 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73086         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73087         directive.
73089 2011-08-24  David S. Miller  <davem@davemloft.net>
73091         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73093 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73095         * elf/Makefile: Add rules to build and run unload8 test.
73096         * elf/unload8.c: New file.
73097         * elf/unload8mod1.c: New file.
73098         * elf/unload8mod1x.c: New file.
73099         * elf/unload8mod2.c: New file.
73100         * elf/unload8mod3.c: New file.
73102         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73103         it wasn't used.
73105 2011-08-23  David S. Miller  <davem@davemloft.net>
73107         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73108         subtract stack bias.
73109         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73110         %sp not %fp in calculations.
73111         (_JMPBUF_UNWINDS_ADJ): Likewise.
73113         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73114         (aio_suspend): Call it to force an exception region around the
73115         AIO_MISC_WAIT() invocation.
73117 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73119         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73120         backslash.
73122 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73124         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73125         protection macro.
73126         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73127         and <dl-machine.h>.
73128         (Elf64_FuncDesc): Remove.
73130 2011-08-22  David S. Miller  <davem@davemloft.net>
73132         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73133         sigaltstack check, add missing cfi directives.
73134         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73135         missing cfi directives, and sigaltstack handling.
73137 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73139         [BZ #11724]
73140         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73141         object is seen twice.
73142         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73144         * elf/Makefile (distribute): Add tst-initorder2.c.
73145         (tests): Add tst-initorder2.
73146         (modules-names): Add tst-initorder2a tst-initorder2b
73147         tst-initorder2c tst-initorder2d.  Add rules to build them.
73148         ($(objpfx)tst-initorder2.out): New rule.
73149         * elf/tst-initorder2.c: New file.
73150         * elf/tst-initorder2.exp: New file.
73152 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73154         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73156         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73157         dependencies back to end of function.
73159         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73160         $(elfobjdir)/ld.so.
73162 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73164         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73165         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73167         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73168         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73169         of __vdso_gettimeofday.
73170         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73171         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73172         attribute_hidden.
73173         (_libc_vdso_platform_setup): Remove initialization of
73174         __vdso_gettimeofday and __vdso_time.
73176 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73178         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73179         and fgetc_unlocked.
73180         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73181         getc_unlocked.
73183         * elf/dl-open.c (add_to_global): Report additions to the global scope
73184         for LD_DEBUG=scopes.
73185         (dl_open_worker): Also print scope of newly loaded dependencies.
73186         (_dl_show_scope): Indicate if there is no scope.
73188         [BZ #13114]
73189         * stdio-common/Makefile (tests): Add bug24.
73190         * stdio-common/bug24.c: New file.
73192 2011-08-19  Andreas Jaeger  <aj@suse.de>
73194         [BZ #13114]
73195         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73196         non-existant file when using close-on-exec mode.
73198 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73200         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73201         the very first instruction.
73203         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73204         the CFI state in the end.
73205         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73206         inclusion of dl-trampoline.h.
73207         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73209 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73211         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73212         expectations for long double.
73214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73215         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73217 2011-08-14  David S. Miller  <davem@davemloft.net>
73219         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73220         artificual limit depends upon the system page size.
73222 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73224         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73225         * resolv/Makefile: Define CFLAGS-libresolv.
73227 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73229         * nss/makedb.c (compute_tables): Make variables used in nested
73230         function static.
73232 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73234         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73235         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73236         if buffer was too small.
73238         * elf/pldd.c (main): Attach to all threads in the process.
73239         Rewrite /proc handling to use *at functions.
73241 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73243         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73244         specifies first scope to show.
73245         (dl_open_worker): Update callers.  Move printing scope of new
73246         object to before the relocation.
73247         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73248         * sysdeps/generic/ldsodefs.h: Update declaration.
73250         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73251         string for the scope number.
73253 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73255         * nscd/servicescache.c (cache_addserv): Make sure written is always
73256         initialized.
73258 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73260         * sysdeps/i386/i486/bits/atomic.h
73261         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73262         statement expression, so as to suppress "set but not used" warning.
73263         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73265         * string/strncat.c (STRNCAT): Use prototype definition.
73267         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73268         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73269         -Iprograms here.
73270         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73271         (localedef-modules): Add localedef.
73272         (locale-modules): Add locale.
73274         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73275         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73276         to avoid a warning.
73278 2011-08-14  David S. Miller  <davem@davemloft.net>
73280         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73281         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73283 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73285         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73286         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73287         * elf/rtld.c (dl_main): Set l_name of vDSO.
73288         Call _dl_show_scope when DL_DEBUG_SCOPES.
73289         (process_dl_debug): Recognize scopes flag and also set it for all.
73290         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73291         Declare _dl_show_scope.
73293         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73294         (do_dlopen): Pass caller_dlopen to dl_open.
73295         (__libc_dlopen_mode): Initialize caller_dlopen.
73297         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73298         of libc.  Make tolower call locale-independent.  Optimize a bit by
73299         using isdigit instead of isalnum.
73300         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73302 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73304         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73305         was a dependency or dynamically loaded.
73307 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73309         * intl/l10nflist.c: Allow architecture-specific pop function.
73310         * sysdeps/x86_64/l10nflist.c: New file.
73312         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73313         classification.
73315 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73317         * include/dirent.h: Add libc_hidden_proto for scandirat and
73318         scandirat64.  Don't declare __scandirat64.
73319         * dirent/scandirat.c: Add libc_hidden_def.
73320         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73321         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73323 2011-08-10  David S. Miller  <davem@davemloft.net>
73325         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73326         enum.
73327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73328         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73331 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73333         * Versions.def [libc]: Add GLIBC_2.15.
73334         * dirent/Makefile (routines): Add scandirat and scandirat64.
73335         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73336         GLIBC_2.15.
73337         * dirent/dirent.h: Declare scandirat and scandirat64.
73338         * dirent/scandirat.c: New file.
73339         * dirent/scandirat64.c: New file.
73340         * sysdeps/wordsize-64/scandirat.c: New file.
73341         * sysdeps/wordsize-64/scandirat64.c: New file.
73342         * dirent/opendir.c: Define opendirat.
73343         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73344         using scandirat.
73345         * dirent/scandir64.c: Adjust for scandir.c change.
73346         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73347         __scandirat64, and __scandir_cancel_handler.
73348         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73349         additional parameter and use openat instead of open (outside of ld.so).
73350         Add new __opendir as wrapper around __opendirat.
73351         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73352         here without requiring old scandirat implementation.
73354 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73356         * dirent/scandir.c (cancel_handler): Renamed to
73357         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73358         defined.  Adjust users.
73359         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73360         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73362 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73364         * string/test-string.h (IMPL): Use __STRING to expand name and then
73365         stringify it.
73367         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73368         of cleanups.
73370 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73372         * string/Makefile: Update.
73373         (strop-tests): Append strncat.
73374         * string/test-wcscmp.c: New file.
73375         New comprehensive test for wcscmp.
73376         * string/test-strcmp.c: Update.
73377         (WIDE): New define.
73379 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73381         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73382         line.
73384 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73387         encoding to ACE if AI_IDN.
73389 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73391         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73392         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73394 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73396         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73397         Fix overflow bug in strncat.
73398         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73400         * string/test-strncat.c: Update.
73401         Add new tests for checking overflow bugs.
73403 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73406         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73407         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73408         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73409         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73410         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73411         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73412         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73413         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73415         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73416         (USE_AS_STRCAT): Define.
73417         Add strcat and strncat support.
73418         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73420 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73422         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73423         __n bigger than INT_MAX+1.
73424         (__strncmp_g): Likewise.
73426 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73428         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73429         * libio/stido.h: Likewise.
73431         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73432         (AF_NFC): Define.
73433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73434         (AF_NFC): Define.
73436         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73437         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73438         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73439         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73440         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73442         [BZ #13021]
73443         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73444         installed.
73446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73447         typo.
73448         (_dl_x86_64_save_sse): Likewise.
73450 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73453         OSXSAVE.
73454         (_dl_x86_64_save_sse): Likewise.
73456         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73458         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73460 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73463         change.
73464         (_dl_x86_64_save_sse): Use correct AVX check.
73466 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73468         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73469         bug in strncpy/strncat.
73470         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73472 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73474         * string/tester.c (test_strcat): Add tests for different alignments
73475         of source and destination.
73476         (test_strncat): Likewise.
73478 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73480         [BZ #12852]
73481         * posix/glob.c (glob): Check passed in values before using them in
73482         expressions to avoid some overflows.
73483         (glob_in_dir): Likewise.
73485         [BZ #13007]
73486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73487         check for AVX enablement so that we don't crash with old kernels and
73488         new hardware.
73489         * elf/tst-audit4.c: Add same checks here.
73490         * elf/tst-audit6.c: Likewise.
73492         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73494 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73496         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73498 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73500         * po/cs.po: Update from translation team.
73501         * po/bg.po: Likewise.
73503 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73505         * misc/sys/cdefs.h: Add support for const attribute.
73506         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73507         to gnu_dev_{major,minor,makedev} functions.
73509 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73511         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73513 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73515         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73516         strlen results.
73518 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73520         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73521         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73522         register in order to avoid conflicts with the soft frame pointer
73523         being held in r11 when necessary.
73524         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73525         (INTERNAL_VSYSCALL_NCS): Likewise.
73527 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73529         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73530         * elf/dl-fini.c (_dl_fini): Adjust caller.
73531         * elf/dl-close.c (_dl_close_worker): Likewise.
73532         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73534 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73536         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73537         "aux_cache->nlibs < 0".
73539         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73540         in the reload-count case.
73542 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73545         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73546         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73547         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73548         * sysdeps/x86_64/multiarch/strcat.S: New file.
73549         * sysdeps/x86_64/multiarch/strncat.S: New file.
73550         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73551         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73552         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73553         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73554         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73555         (USE_AS_STRCAT): Define.
73556         Add strcat and strncat support.
73557         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73558         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73559         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73560         * string/strncat.c: Update.
73561         (USE_AS_STRNCAT): Define.
73562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73563         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73564         and i7.
73565         * sysdeps/x86_64/multiarch/init-arch.h
73566         (bit_Prefer_PMINUB_for_stringop): New.
73567         (index_Prefer_PMINUB_for_stringop): Likewise.
73568         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73569         bit_Prefer_PMINUB_for_stringop.
73571 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73573         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73574         buffer64.
73575         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73576         of casting of buffer.
73577         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73578         buffer32 and buffer64.
73579         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73580         writes instead of casting of buffer.
73581         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73582         buffer32.
73583         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73584         casting of buffer.
73586 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73588         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73590 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73592         * nscd/nscd.c (termination_handler): Don't do anything for a database
73593         if it has not yet been initialized.
73595 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73597         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73599 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73601         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73603 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73605         * po/nl.po: Update from translation team.
73606         * po/sv.po: Likewise.
73608 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73610         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73611         now disallowed by GCC.
73613         * configure.in (use-default-link): Default to yes if a test -shared
73614         link meets our qualifications.
73615         * configure: Regenerated.
73617         * config.make.in (output-format): New variable.
73618         * configure.in: Check for ld --print-output-format support.
73619         * configure: Regenerated.
73620         * Makerules ($(common-objpfx)format.lds)
73621         [$(output-format) != unknown]: Just use $(output-format),
73622         instead of the linker-script munging.
73624 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73626         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73627         of $(common-objpfx)shlib.lds.
73628         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73630         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73631         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73633         * configure.in (-z relro check): Adjust test code to add a large
73634         writable data section after it.
73635         * configure: Regenerated.
73637 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73639         * configure.in (-z relro check): Fix test code to make the variable
73640         truly const.
73641         * configure: Regenerated.
73643 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73645         * nscd/nscd.h (struct traced_file): Define.
73646         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73647         elements.  Add traced_files.
73648         (inotify_fd): Declare.
73649         (register_traced_file): Declare.
73650         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73651         (inotify_fd): Export.
73652         (resolv_conf_descr): Remove.
73653         (nscd_init): Move inotify descriptor creation to main.
73654         Don't register files for notification here.
73655         (register_traced_file): New function.
73656         (invalidate_cache): Don't use reset_res to determine whether to call
73657         res_init, go through the list of registered files.
73658         (main_loop_poll): The inotify descriptors are now stored in the
73659         structures for the traced files.
73660         (main_loop_epoll): Likewise.
73661         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73662         to __nss_disable_nscd.
73663         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73664         for a database anymore.  Check the records for all the registered
73665         files instead.
73666         * nss/Makefile (libnss_files-routines): Add files-init.
73667         (libnss_db-routines): Add db-init.
73668         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73669         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73670         * nss/nss_db/db-init.c: New file.
73671         * nss/nss_files/files-init.c: New file.
73672         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73673         __nss_lookup_function.
73674         (__nss_lookup_function): Call nss_load_library.
73675         (nss_load_all_libraries): New function.
73676         (__nss_disable_nscd): Take parameter with callback function for files
73677         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73678         used for the cached services.
73679         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73680         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73681         options for features to all the files in nscd.
73683         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73685 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73687         * csu/elf-init.c (__libc_csu_init): Comment typo.
73689 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73691         * po/pl.po: Update from translation team.
73692         * po/ja.po: Likewise.
73693         * po/ru.po: Likewise.
73694         * po/ko.po: Likewise.
73695         * po/fr.po: Likewise.
73697 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73699         * configure.in (.ctors/.dtors header and trailer check):
73700         Use an empirical test on a built program.
73701         * configure: Regenerated.
73703         * configure.in (-z relro check): Use an empirical test on a built DSO.
73704         Detect, but do not require, on ia64.
73705         * configure: Regenerated.
73707         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73708         Update tests that use readelf to use $READELF instead.
73709         * configure: Regenerated.
73711 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73713         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73714         if the result is not used.
73716 2011-07-05  Andreas Jaeger  <aj@suse.de>
73718         [BZ#9696]
73719         * stdlib/tst-strtod.c: Add testcase.
73721 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73723         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73724         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73725         The latter has a higher limit.  Take additional parameter to pass to
73726         the new function.
73727         (__pathconf): Pass file to __statfs_link_max.
73728         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73729         __statfs_link_max.
73730         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73731         __statfs_link_max.
73733         [BZ #12868]
73734         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73735         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73736         Handle Lustre.
73737         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73738         (__statfs_filesize_max): Likewise.
73739         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73741 2011-07-05  Andreas Jaeger  <aj@suse.de>
73743         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73745 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73747         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73748         `status' variable.
73749         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73750         Likewise.
73752 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73754         * Makefile (strop-tests): Add strncat.
73755         * string/test-strncat.c: New file.
73757 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73759         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73761 2011-06-21  Andreas Jaeger  <aj@suse.de>
73763         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73764         Copy rule from iconvdata/Makefile.
73766 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73768         [BZ #12922]
73769         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73770         but no long options are defined, just return 'W'.
73772 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73774         [BZ #9696]
73775         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73777 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73779         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73780         netgroups to read.
73781         (innetgr): Likewise.
73783 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73785         * config.make.in (install_root): Default to $(DESTDIR).
73787 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73789         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73791 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73793         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73795         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73796         containing directory rather than embedding absolute directory names.
73798         * scripts/check-local-headers.sh: Rewritten using awk.
73799         Match by word, not by line.  Print error messages for matches.
73800         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73802         * Makerules [shlib-lds-flags empty]:
73803         ($(common-objpfx)libc_pic.opts): New target.
73804         ($(common-objpfx)libc_pic.os.clean): New target.
73805         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73807         * config.make.in (OBJCOPY): New variable.
73808         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73809         * configure: Regenerated.
73811         * config.make.in (use-default-link): New variable.
73812         * configure.in (use_default_link): Grok --with-default-link to set it.
73813         * configure: Regenerated.
73814         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73815         (shlib-lds, shlib-lds-flags): Define to empty.
73817         * Makerules (shlib-lds): New variable.
73818         (shlib-lds-flags): New variable.
73819         (build-shlib, build-moduile, build-module-asneeded): Use it.
73820         ($(common-objpfx)libc.so): Use $(shlib-lds).
73821         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73822         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73824         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73825         DT_FLAGS/DT_FLAGS_1 with zero flags.
73827         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73828         linker script munging.
73830 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73832         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73833         as 128-bit value.
73834         * crypt/sha512.c (sha512_process_block): Perform total addition using
73835         128-bit if possible.
73836         (__sha512_finish_ctx): Likewise.
73837         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73838         as 64-bit value.
73839         * crypt/sha256.c (SWAP64): Define.
73840         (sha256_process_block): Perform total addition using 64-bit if
73841         possible.
73842         (__sha256_finish_ctx): Likewise.
73844 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73846         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73847         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73848         * nscd/hstcache.c (cache_addhst): Likewise.
73849         * nscd/grpcache.c (cache_addgr): Likewise.
73850         * nscd/aicache.c (addhstaiX): Likewise.
73851         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73853 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73855         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73856         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73857         * nscd/hstcache.c (cache_addhst): Likewise.
73858         * nscd/grpcache.c (cache_addgr): Likewise.
73859         * nscd/aicache.c (addhstaiX): Likewise.
73861 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73863         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73864         domain only when needed.
73866 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73869         is always restored.
73871 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73873         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73874         are re-adding the entry.
73875         * nscd/servicescache.c (cache_addserv): Likewise.
73877 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73879         * sysdeps/generic/dl-irel.h: fix protection against multiple
73880         inclusions.
73881         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73883 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73885         [BZ #12935]
73886         * malloc/memusage.sh: Fix quoting in message.
73887         * debug/xtrace.sh: Likewise.
73889         * configure.in: Remove support for --experimental-malloc option, make
73890         it the default.
73891         * config.make.in: Likewise.
73892         * malloc/Makefile: Likewise.
73894 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73896         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73897         two-byte characters.
73899 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73901         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73902         AC_CACHE_CHECK invocation.
73903         * configure: Regenerated.
73905         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73907 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73909         [BZ #12350]
73910         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73911         bit from old_res_options.
73913         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73915         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73916         value type for setfct.
73918 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73920         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73921         __gettimeofday instead of gettimeofday.
73923 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73925         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73927 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73929         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73931         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73932         info.
73934 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73937         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73938         strcpy-sse2-unaligned strncpy-sse2-unaligned
73939         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73940         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73941         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73942         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73943         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73944         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73945         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73946         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73947         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73948         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73949         (STRCPY): Support SSE2 and SSSE3 versions.
73951 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73953         [BZ #12874]
73954         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73955         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73956         kernels which artificially limit size of requests.
73958 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73961         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73962         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73963         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73964         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73965         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73966         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73967         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73968         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73969         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73970         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73971         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73972         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73973         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73974         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73976         Enable unaligned load optimization for Intel Core i3, i5 and i7
73977         processors.
73978         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73979         Define.
73980         (index_Fast_Unaligned_Load): Define.
73981         (HAS_FAST_UNALIGNED_LOAD): Define.
73983 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73985         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73987 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73989         [BZ #12907]
73990         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73991         until it is clear that the information is realy needed.
73992         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73994 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73998 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74001         /sys/devices/system/cpu/online if it is usable.
74003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74004         reading the information from the /proc filesystem to once a second.
74006 2011-06-21  Andreas Jaeger  <aj@suse.de>
74008         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74009         NULL after inclusion of kernel headers.
74011 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74013         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74014         calls to internal_setent.
74016         [BZ #12885]
74017         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74018         addresses using gethostbyname4_r ignore IPv4 addresses.
74020         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74021         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74023         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74025 2011-06-20  David S. Miller  <davem@davemloft.net>
74027         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74028         inclusions.
74029         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74031         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74032         (elf_irel): Use it.
74033         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74034         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74035         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74036         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74037         * sysdeps/x86_64/dl-irel.h: Likewise.
74039         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74040         * elf/dl-sym.c: Likewise.
74042 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74044         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74045         need to dereference resplen2.
74047 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74049         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74051 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74053         * Makeconfig: Define vardbdir and inst_vardbdir.
74054         * nss/Makefile: Add rules to install db-Makefile.
74056         * nss/nss_db/db-XXX.c: Cleanup.
74058         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74059         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74060         GLIBC_PRIVATE.
74061         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74062         * nss/makedb.c: Implement -g option to specify that value strings
74063         are generated and should not be added to table iterated over for
74064         get*ent calls.
74065         * nss/nss_db/db-initgroups.c: New file.
74067         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74068         interface.
74070         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74071         (internal_getgrouplist): Adjust to name change.
74072         Update use_initgroups_entry if this is not the first call.
74073         * nss/databases.def: Add initgroups entry.
74075         * nss/makedb.c (compute_tables): Check result of multiple hash table
74076         sizes to minimize maximum chain length.
74078 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74080         * Versions.def: Add entry for libnss_db.
74081         * shlib-versions: Likewise.
74082         * nss/Makefile: Add rules to build libnss_db.
74083         * nss/Versions: Add libnss_db information.  Organize libnss_files
74084         entries better.
74085         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74086         makedb progra.  Some minor improvements to generate smaller files.
74087         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74088         here from...
74089         * nss/makedb.c: ...here.
74090         Improve database format to be smaller and require less memory at
74091         runtime.
74092         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74093         db anymore.
74094         * nss/nss_db/db-netgrp.c: Likewise.
74095         * nss/nss_db/db-open.c: Likewise.
74096         * nss/nss_files/flies-XXX.x: Adjust comments.
74097         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74098         * nss/nss_files/files-grp.c: Likewise.
74099         * nss/nss_files/files-hosts.c: Likewise.
74100         * nss/nss_files/files-network.c: Likewise.
74101         * nss/nss_files/files-proto.c: Likewise.
74102         * nss/nss_files/files-pwd.c: Likewise.
74103         * nss/nss_files/files-rpc.c: Likewise.
74104         * nss/nss_files/files-service.c: Likewise.
74105         * nss/nss_files/files-sgrp.c: Likewise.
74106         * nss/nss_files/files-spwd.c: Likewise.
74107         * nss/nss_db/db-alias.c: Removed.
74108         * nss/nss_db/dummy-db.h: Removed.
74110 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74112         * nss/makedb.c: Rewritten to not use database library.
74113         * nss/Makefile: Update to build new makedb program.
74115 2011-06-14  Andreas Jaeger  <aj@suse.de>
74117         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74118         memset declaration.
74120 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74123         tmpbuf.
74125 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74127         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74128         * elf/Makefile ($(objpfx)ld.so): Likewise.
74130         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74131         Don't list ld.so twice in dependencies.
74133         * posix/bug-regex31.c: Include <stdlib.h>.
74135         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74137         * nis/nss_compat/compat-spwd.c
74138         (getspent_next_nss_netgr): Remove unused variable.
74139         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74141         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74142         nonmembers" output to use the right array.
74144         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74146         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74148         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74149         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74150         * catgets/gencat.c (read_input_file): Likewise.
74151         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74153         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74154         variable definition inside #if's controlling its use.
74156         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74158         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74160         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74162         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74163         unreachable code.
74165         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74167         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74168         * configure: Regenerated.
74170         * Makerules: Revert last change.
74171         * elf/Makefile: Likewise.
74173 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74175         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74176         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74177         (reloc-link): Likewise.
74179 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74181         * elf/Makefile: Add rules to build pldd.
74182         * elf/pldd.c: New file.
74183         * elf/pldd-xx.c: New file.
74185 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74187         * version.h: Update for 2.15 development version.
74189 2011-06-07  David S. Miller  <davem@davemloft.net>
74191         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74192         ifuncs.
74193         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74194         elf_machine_lazy_rel): Likewise.
74195         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74196         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74197         elf_machine_lazy_rel): Likewise.
74198         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74199         dl_hwcap via passed in argument.
74200         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74201         Likewise.
74203 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74205         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74207 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74209         [BZ #12849]
74210         * manual/fdl-1.1.texi: New file, verbatim from:
74211         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74212         * manual/lgpl-2.1.texi: New file, verbatim from:
74213         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74214         * manual/Makefile (licenses): New variable, list those new file names.
74215         (texis): Use it.
74216         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74218         * manual/fdl.texi: File removed.
74219         * manual/lesser.texi: File removed.
74220         * manual/libc.texinfo (Copying, Documentation License):
74221         Use new @include file names, put @appendix directive before @include.
74223 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74225         [BZ #12841]
74226         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74227         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74228         (mq_open): Add __NTH.
74230 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74233         Assume Intel Core i3/i5/i7 processor if AVX is available.
74235 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74237         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74238         typo.
74240 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74242         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74243         memory.  Use alloca_account.  Fix memory leak when retrying.
74245 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74247         * version.h (RELEASE): Bump for 2.14 release.
74248         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74250         * config.make.in (RANLIB): Remove entry.
74252 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74254         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74255         (libc.pot): Work around missing support for .ksh extension in xgettext.
74257         [BZ #12684]
74258         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74259         if both request failed.
74260         (send_dg): In case of server errors clear resplen or *resplen2.
74262         [BZ #12454]
74263         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74264         when there are multiple maps.
74265         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74266         (_dl_fini): Remove test here.
74268         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74270 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74272         [BZ #12350]
74273         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74274         bit from old_res_options.
74275         (gaih_inet): Likewise.
74277         [BZ #11099]
74278         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74279         as signed.
74281         * resolv/res_init.c (res_setoptions): Make the code more compact.
74283         [BZ #11558]
74284         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74285         set RES_USEVC.
74287         [BZ #11634]
74288         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74290         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74292         [BZ #11781]
74293         * malloc/malloc.h: Declare malloc hook variables as volatile.
74295         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74296         in last patch.
74298         [BZ #11799]
74299         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74300         raise in the comment.
74301         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74303         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74305 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74307         [BZ #12811]
74308         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74309         grow the buffers more if it already has to be sufficient.
74310         (build_wcs_upper_buffer): Likewise.
74311         * posix/regexec.c (check_matching): Likewise.
74312         (clean_state_log_if_needed): Likewise.
74313         (extend_buffers): Don't enlarge buffers beyond size of the input
74314         buffer.
74315         Patches mostly by Emil Wojak <emil@wojak.eu>.
74316         * posix/bug-regex32.c: New file.
74317         * posix/Makefile (tests): Add bug-regex32.
74319         * locale/findlocale.c (_nl_find_locale): Return right away if
74320         _nl_explode_name failed.
74321         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74323         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74325         * debug/xtrace.sh: Unify messages.
74326         * malloc/memusage.sh: Likewise.
74328         [BZ #12813]
74329         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74330         time symbol from vDSO.  Substitute with vsyscall if not available.
74331         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74332         __vdso_time.
74334         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74335         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74336         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74337         Add sendmmsg and internal_sendmmsg.
74338         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74339         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74340         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74342         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74343         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74346 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74348         [BZ #12813]
74349         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74350         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74351         available.
74352         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74353         __vdso_getcpu.
74355         [BZ #12814]
74356         * iconvdata/Makefile (tests): Add bug-iconv9.
74357         * iconvdata/bug-iconv9.c: New file.
74359 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74361         [BZ #12814]
74362         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74364 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74367         (struct user_regs_struct): Change intcs field back to cs.
74369 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74371         * po/ja.po: Update from translation team.
74373 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74375         [BZ #12795]
74376         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74377         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74379 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74381         * stdlib/longlong.h: Update from GCC.
74383 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74385         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74386         parameter name.
74387         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74388         Add parameter name.
74389         (__sysconf): Pass it down.
74391 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74393         [BZ #12671]
74394         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74395         some situations.
74396         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74397         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74398         add in in __libc_use_alloca calls.  Adjust callers.
74399         (glob): Use malloc in some situations.
74401         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74402         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74403         pltexit.
74405 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74407         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74408         and CLOCK_BOOTTIME_ALARM.
74410         [BZ #12782]
74411         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74412         is returned.
74414         * string/_strerror.c (__strerror_r): Print negative errors as signed
74415         numbers.
74417         [BZ #12777]
74418         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74419         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74420         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74422         * configure.in: Fix typo in redirection and correct removal of test
74423         files in two cases.
74425         [BZ #12788]
74426         * locale/setlocale.c (new_composite_name): Fix test to check for
74427         identical name of all categories.
74429         [BZ #12792]
74430         * libio/filedoalloc.c (local_isatty): New function.
74431         (_IO_file_doallocate): Use local_isatty.
74432         * stdio-common/perror.c (perror): In case a new stream is used
74433         forward the stream error.
74434         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74435         error flag.
74437 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74439         [BZ #11884]
74440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74441         alloca.
74442         * include/alloca.h (extend_alloca_account): Define.
74444         [BZ #11857]
74445         * posix/regex.h: Fix comments with documentation of user-accessible
74446         fields after compilation and describe correct free'ing of pattern
74447         after re_compile_pattern.
74448         Patch by Reuben Thomas <rrt@sc3d.org>.
74450 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74452         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74453         and -mno-altivec to prevent the compiler from using Altivec and/or
74454         VSX instructions when the corresponding registers are not available.
74456 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74458         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74460 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74462         * libio/freopen.c (freopen): Use __dup2, not dup2.
74463         * libio/freopen64.c (freopen64): Likewise.
74465 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74467         [BZ #12775]
74468         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74469         * math/Makefile (tests): Add test-powl.
74470         (CFLAGS-test-powl.c): Define.
74471         * math/test-powl.c: New file.
74473 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74475         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74477 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74479         [BZ #11837]
74480         * iconvdata/gb18030.c: Update to GB18020-2005.
74482 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74484         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74485         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74486         Patch by Aharon Robbins <arnold@skeeve.com>.
74488         [BZ #11892]
74489         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74490         on the stack.
74492         [BZ #11895]
74493         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74494         through underflows.
74496         [BZ #12766]
74497         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74498         point to strings before performing equality test for error_one_per_line
74499         mode.
74501         [BZ #11697]
74502         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74504         [BZ #11820]
74505         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74506         (struct user_fpregs_struct): Avoid __uint*_t types.
74508         [BZ #6420]
74509         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74510         symbol info.  Use it instead of calling _dl_addr locally.
74511         (lock_and_info): New function.
74512         (tr_freehook): Call lock_and_info and pass symbol info as additional
74513         parameter to tr_where.
74514         (tr_mallochook): Likewise.
74515         (tr_reallochook): Likewise.
74516         (tr_memalignhook): Likewise.
74518         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74519         used and couldn't be at all thread-safe.
74521 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74523         * libio/freopen.c (freopen): Don't close old file descriptor
74524         before the new one is opened.  Instead dup the new file descriptor
74525         to the old one after the new stream is created.
74526         * libio/freopen64.c (freopen64): Likewise.
74527         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74528         * libio/fileops.c (_IO_new_file_close_it): Handle new
74529         _IO_FLAGS2_NOCLOSE flag.
74530         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74531         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74532         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74533         _IO_FLAGS2_NOCLOSE flag.
74534         * include/unistd.h: Add hidden_proto for dup3.
74535         Define __have_dup3.
74536         * io/dup3.c: Define hidden symbol.
74537         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74539         [BZ #7101]
74540         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74541         when an incomplete long option is used.
74542         * posix/tst-getopt_long1.c: New file.
74543         * posix/Makefile (tests): Add tst-getopt_long1.
74545         [BZ #10138]
74546         * scripts/config.guess: Update from autoconf-2.68.
74547         * scripts/config.sub: Likewise.
74549         [BZ #10157]
74550         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74551         tests into ...
74552         (has_cpuclock): ...this.  New function.
74553         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74554         macro here based on has_cpuclock code.
74556         [BZ #10149]
74557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74558         First byte (not low byte) is now always NUL.
74559         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74561         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74562         Use non-cancelable interfaces.
74564         [BZ #9809]
74565         * locale/iso-639.def: Add entry for Sorani.
74567         [BZ #11901]
74568         * include/stdlib.h: Move include protection to the right place.
74569         Define abort_msg_s.  Declare __abort_msg with it.
74570         * stdlib/abort.c (__abort_msg): Adjust type.
74571         * assert/assert.c (__assert_fail_base): New function.  Majority
74572         of code from __assert_fail.  Allocate memory for __abort_msg with
74573         mmap.
74574         (__assert_fail): Now call __assert_fail_base.
74575         * assert/assert-perr.c: Remove bulk of implementation.  Use
74576         __assert_fail_base.
74577         * include/assert.hL Declare __assert_fail_base.
74578         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74579         mmap.
74580         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74582 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74584         [BZ #11952]
74585         [BZ #12453]
74586         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74587         until all modules are registered in the DTV.
74588         * elf/Makefile: Add rules to build and run tst-tls19.
74589         * elf/tst-tls19.c: New file.
74590         * elf/tst-tls19mod1.c: New file.
74591         * elf/tst-tls19mod2.c: New file.
74592         * elf/tst-tls19mod3.c: New file.
74593         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74595         [BZ #12083]
74596         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74597         correctly.
74599         [BZ #12601]
74600         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74601         two-byte sequence errors.
74602         * iconvdata/Makefile (tests): Add bug-iconv8.
74603         * iconvdata/bug-iconv8.c: New file.
74605         [BZ #12626]
74606         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74607         buf2 definition.
74609         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74611         [BZ #12432]
74612         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74613         (dummy_getcfa): New function.
74614         (init): Get _Unwind_GetCFA address, use dummy if not found.
74615         (backtrace_helper): In recursion check, also check whether CFA changes.
74616         (__backtrace): Completely initialize arg.
74618         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74619         storing incomplete byte sequence in state object.  Avoid testing for
74620         guaranteed too small input if we know there is enough data available.
74622 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74624         * Makeconfig (+link-pie): Indent.
74625         * Rules (binaries-pie): Define if $(have-fpie) and
74626         $(build-shared).
74627         (binaries-shared): Also filter out $(binaries-pie).
74628         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74629         * nscd/Makefile (others-pie): Add nscd.
74630         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74631         ($(objpfx)nscd): Remove command override.
74632         * login/Makefile (others-pie): Add pt_chown.
74633         ($(objpfx)pt_chown): Remove command override.
74634         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74635         remove command overrides.
74637 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74639         * libio/tst_putwc.c: Fix error messages.
74641         [BZ #12724]
74642         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74643         currently writing and seek to current position when not.
74644         * libio/Makefile (tests): Add bug-fclose1.
74645         * libio/bug-fclose1.c: New file.
74647 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74649         [BZ #12511]
74650         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74651         don't set DF_1_NODELETE here.
74652         (do_lookup_x): When entering new entry test for copy relocation
74653         and if necessary set DF_1_NODELETE flag.
74654         * elf/tst-unique4.cc: New file.
74655         * elf/tst-unique4.h: New file.
74656         * elf/tst-unique4lib.cc: New file.
74657         * elf/Makefile: Add rules to build and run tst-unique4.
74658         Patch by Piotr Bury <pbury@goahead.com>.
74660 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74662         [BZ #12052]
74663         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74665         [BZ #12625]
74666         * misc/mntent_r.c (addmntent): Flush the stream after the output
74668         [BZ #12393]
74669         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74670         (is_trusted_path_normalize): Skip initial colon.  Append slash
74671         to empty buffer.  Duplicate is_trusted_path code but allow
74672         constructed patch to be prefix.
74673         (is_dst): Allow $ORIGIN followed by /.
74674         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74675         Correct testing of result of is_trusted_path_normalize
74676         (decompose_rpath): Fix warning.
74678 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74680         [BZ #11257]
74681         * grp/initgroups.c (internal_getgrouplist): When we found the service
74682         list through the initgroups entry in nsswitch.conf do not always
74683         continue on a successful lookup.  Don't always use the
74684         __nss_group_database value if it is set.
74685         * nss/nsswitch.conf (initgroups): Change action for successful db
74686         lookup to continue for compatibility.
74688 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74690         [BZ #11532]
74691         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74692         and CP774 modules.
74693         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74694         and CP774 modules.
74695         * iconvdata/tst-tables.sh: Likewise.
74696         * iconvdata/cp770.c: New file.
74697         * iconvdata/cp771.c: New file.
74698         * iconvdata/cp772.c: New file.
74699         * iconvdata/cp773.c: New file.
74700         * iconvdata/cp774.c: New file.
74701         * iconvdata/testdata/CP770: New file.
74702         * iconvdata/testdata/CP770..UTF8: New file.
74703         * iconvdata/testdata/CP771: New file.
74704         * iconvdata/testdata/CP771..UTF8: New file.
74705         * iconvdata/testdata/CP772: New file.
74706         * iconvdata/testdata/CP772..UTF8: New file.
74707         * iconvdata/testdata/CP773: New file.
74708         * iconvdata/testdata/CP773..UTF8: New file.
74709         * iconvdata/testdata/CP774: New file.
74710         * iconvdata/testdata/CP774..UTF8: New file.
74712         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74713         END CHARMAP line.
74714         * iconvdata/gen-8bit-gap.sh: Likewise.
74715         * iconvdata/gen-8bit.sh: Likewise.
74717         * locale/iso-639.def: Add ary entry.
74719         [BZ #11258]
74720         * locale/C-translit.h.in: Add U20A1 transliteration.
74722         [BZ #12178]
74723         * locale/iso-639.def: Add wae entry.
74724         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74726         [BZ #12545]
74727         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74728         for n.
74730         [BZ #12711]
74731         * locale/C-translit.h.in: Add entry for U20B9.
74732         Patch by pravin.d.s@gmail.com.
74734 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74736         [BZ #12713]
74737         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74738         ENAMETOOLONG use generic getcwd.
74739         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74740         in rtld.  Use *stat64.
74741         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74742         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74743         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74744         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74745         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74746         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74747         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74748         __fstatat64 macros.
74749         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74750         * dirent/rewinddir.c: Add libc_hidden_def.
74751         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74752         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74754         * include/dirent.h (__alloc_dir): Add flags parameter.
74755         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74756         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74757         __alloc_dir.
74758         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74759         from fdopendir if O_CLOEXEC is already set.
74761 2011-03-15  Alan Modra  <amodra@gmail.com>
74763         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74764         l_tls_firstbyte_offset non-zero.  Save padding offset in
74765         l_tls_firstbyte_offset for later use.
74766         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74767         freeing static tls block.
74769 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74771         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74772         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74773         being defined by the kernel headers.
74775 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74777         [BZ #12734]
74778         * resolv/resolv.h: Define RES_NOTLDQUERY.
74779         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74780         no-tld-query and set RES_NOTLDQUERY.
74781         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74782         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74783         modern BIND to search name as TLD unless forbidden.
74785 2011-05-07  Petr Baudis  <pasky@suse.cz>
74786             Ulrich Drepper  <drepper@gmail.com>
74788         [BZ #12393]
74789         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74790         (is_trusted_path): ...to here.
74791         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74792         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74793         using is_trusted_path_normalize() in setuid scripts.
74795 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74797         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74798         __BEGIN/__END_DECLS.
74800 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74802         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74803         NSS_STATUS_NOTFOUND if no record was found.
74805 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74807         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74808         (headers-not-in-tirpc): Remove rpc/netdb.h
74809         * resolv/netdb.h: Revert last change.
74811 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74813         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74814         circular dependency between libgcc.a and libc.a.
74816 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74818         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74819         * nis/Makefile: Don't install rpcsvc/*.
74820         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74821         instead of <rpc/types.h>.
74822         (MAXHOSTNAMELEN): Define.
74824 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74826         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74828 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74830         [BZ #12714]
74831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74832         gethostbyname4_r when IPv6 results are possible.
74834 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74836         [BZ #12723]
74837         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74838         _PC_PIPE_BUF handling.
74840 2011-04-30  Bruno Haible  <bruno@clisp.org>
74842         [BZ #12717]
74843         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74844         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74845         to 'int'.
74846         * inet/getnameinfo.c (getnameinfo): Likewise.
74848 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74850         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74851         to groups setting in database lookup.
74852         * nss/nsswitch.conf: Add initgroups entry.
74854 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74856         [BZ #12685]
74857         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74858         mode string.
74859         Patch by Eric Blake <eblake@redhat.com>.
74861 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74863         * sunrpc/Makefile (need-export-routines): Add svc_run.
74864         (routines): Remove svc_run.
74865         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74866         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74867         * sunrpc/svc_run.c (svc_run): Likewise.
74868         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74870 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74872         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74873         problem in reallocation in last patch.
74875 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74877         * sunrpc/Makefile: Move inclusion of Rules.
74879 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74881         * nss/nss_files/files-initgroups.c: New file.
74882         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74883         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74884         _nss_files_initgroups_dyn.
74886 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74888         * elf/elf.h (R_ARM_IRELATIVE): Define.
74890 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74892         * po/ru.po: Update from translation team.
74894 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74896         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74897         dependencies.
74899 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74901         [BZ #12653]
74902         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74903         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74904         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74905         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74908 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74910         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74911         differing bytes.
74912         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74914         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74916 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74918         [BZ #12420]
74919         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74920         storing it.
74921         * stdlib/bug-getcontext.c: New file.
74922         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74924 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74926         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74927         instructions into .machine "z9-109".
74928         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74929         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74931 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74933         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74934         between environment variables and auxiliary vector.
74936 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74938         * Makefile: Add rules to build linkobj/libc.so.
74939         * include/libc-symbols.h: Define libc_hidden_nolink.
74940         * include/rpc/auth.h: Mark functions which are to be hidden.
74941         * include/rpc/auth_des.h: Likewise.
74942         * include/rpc/auth_unix.h: Likewise.
74943         * include/rpc/clnt.h: Likewise.
74944         * include/rpc/des_crypt.h: Likewise.
74945         * include/rpc/key_prot.h: Likewise.
74946         * include/rpc/pmap_clnt.h: Likewise.
74947         * include/rpc/pmap_prot.h: Likewise.
74948         * include/rpc/pmap_rmt.h: Likewise.
74949         * include/rpc/rpc_msg.h: Likewise.
74950         * include/rpc/svc.h: Likewise.
74951         * include/rpc/svc_auth.h: Likewise.
74952         * include/rpc/xdr.h: Likewise.
74953         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74954         * nss/Makefile: Likewise.
74955         * sunrpc/Makefile: Don't install headers.  Build library with normal
74956         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74957         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74958         for the compat linking library.  Remove use of INTDEF/INTUSE.
74959         * sunrpc/auth_none.c: Likewise.
74960         * sunrpc/auth_unix.c: Likewise.
74961         * sunrpc/authdes_prot.c: Likewise.
74962         * sunrpc/authuxprot.c: Likewise.
74963         * sunrpc/clnt_gen.c: Likewise.
74964         * sunrpc/clnt_perr.c: Likewise.
74965         * sunrpc/clnt_raw.c: Likewise.
74966         * sunrpc/clnt_simp.c: Likewise.
74967         * sunrpc/clnt_tcp.c: Likewise.
74968         * sunrpc/clnt_udp.c: Likewise.
74969         * sunrpc/clnt_unix.c: Likewise.
74970         * sunrpc/des_crypt.c: Likewise.
74971         * sunrpc/des_soft.c: Likewise.
74972         * sunrpc/get_myaddr.c: Likewise.
74973         * sunrpc/key_call.c: Likewise.
74974         * sunrpc/key_prot.c: Likewise.
74975         * sunrpc/netname.c: Likewise.
74976         * sunrpc/pm_getmaps.c: Likewise.
74977         * sunrpc/pm_getport.c: Likewise.
74978         * sunrpc/pmap_clnt.c: Likewise.
74979         * sunrpc/pmap_prot.c: Likewise.
74980         * sunrpc/pmap_prot2.c: Likewise.
74981         * sunrpc/pmap_rmt.c: Likewise.
74982         * sunrpc/publickey.c: Likewise.
74983         * sunrpc/rpc_cmsg.c: Likewise.
74984         * sunrpc/rpc_common.c: Likewise.
74985         * sunrpc/rpc_dtable.c: Likewise.
74986         * sunrpc/rpc_prot.c: Likewise.
74987         * sunrpc/rpc_thread.c: Likewise.
74988         * sunrpc/rtime.c: Likewise.
74989         * sunrpc/svc.c: Likewise.
74990         * sunrpc/svc_auth.c: Likewise.
74991         * sunrpc/svc_authux.c: Likewise.
74992         * sunrpc/svc_raw.c: Likewise.
74993         * sunrpc/svc_run.c: Likewise.
74994         * sunrpc/svc_simple.c: Likewise.
74995         * sunrpc/svc_tcp.c: Likewise.
74996         * sunrpc/svc_udp.c: Likewise.
74997         * sunrpc/svc_unix.c: Likewise.
74998         * sunrpc/svcauth_des.c: Likewise.
74999         * sunrpc/xcrypt.c: Likewise.
75000         * sunrpc/xdr.c: Likewise.
75001         * sunrpc/xdr_array.c: Likewise.
75002         * sunrpc/xdr_float.c: Likewise.
75003         * sunrpc/xdr_intXX_t.c: Likewise.
75004         * sunrpc/xdr_mem.c: Likewise.
75005         * sunrpc/xdr_rec.c: Likewise.
75006         * sunrpc/xdr_ref.c: Likewise.
75007         * sunrpc/xdr_sizeof.c: Likewise.
75008         * sunrpc/xdr_stdio.c: Likewise.
75010 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75012         [BZ #12650]
75013         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75014         * sysdeps/ia64/dl-tls.h: Likewise.
75015         * sysdeps/powerpc/dl-tls.h: Likewise.
75016         * sysdeps/s390/dl-tls.h: Likewise.
75017         * sysdeps/sh/dl-tls.h: Likewise.
75018         * sysdeps/sparc/dl-tls.h: Likewise.
75019         * sysdeps/x86_64/dl-tls.h: Likewise.
75020         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75022 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75024         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75025         rpath element also skip the following colon.
75026         (expand_dynamic_string_token): Add is_path parameter and pass
75027         down to DL_DST_REQUIRED and _dl_dst_substitute.
75028         (decompose_rpath): Call expand_dynamic_string_token with
75029         non-zero is_path.  Ignore empty rpaths.
75030         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75031         with zero is_path.
75033 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75036         Make cancelable.
75038 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75040         [BZ #12655]
75041         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75042         Patch by Filipe David Manana <fdmanana@apache.org>.
75044 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75046         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75047         Maintain aligned stack.
75048         (CHECK_RSP): Remove unused macro.
75050 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75052         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75053         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75055 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75057         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75059         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75061 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75063         [BZ #12518]
75064         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75065         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75066         * sysdeps/x86_64/memmove.c: New file.
75067         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75068         (memcpy): Renamed to ...
75069         (__new_memcpy): This.
75070         (memcpy): Provide GLIBC_2_14 memcpy.
75071         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75072         (memcpy): Provide GLIBC_2_2_5 memcpy.
75074 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75076         [BZ #12631]
75077         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75079 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75081         * misc/syncfs.c: New file.
75082         * misc/Makefile (routines): Add syncfs.
75083         * posix/unistd.h: Declare syncfs.
75084         * sysdeps/unix/syscalls.list: Add syncfs.
75086 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75088         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75089         open_by_handle_at.
75090         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75091         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75092         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75093         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75095         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75096         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75098 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75102         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75104         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75108         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75109         sync_file_range.c with -fexceptions.
75110         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75111         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75112         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75113         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75114         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75115         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75117         sync_file_range as cancellation point
75118         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75119         now a wrapper around __call_sync_file_range with cancellation handling.
75120         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75121         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75122         function name to __call_sync_file_range.
75123         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75124         Add call_sync_file_range.
75126 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75129         bits/timex.h.
75131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75133         * iconv/iconv.h: Fix typo in comment.
75134         * io/fcntl.h: Likewise.
75135         * libio/stdio.h: Likewise.
75136         * posix/spawn.h: Likewise.
75137         * posix/unistd.h: Likewise.
75138         * stdlib/stdlib.h: Likewise.
75139         * time/time.h: Likewise.
75140         * wcsmbs/wchar.h: Likewise.
75142         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75143         open_by_handle): Add.
75144         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75145         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75146         Augment a few comments.
75147         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75149         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75152         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75153         open_by_handle.
75155         * io/fcntl.h (AT_EMPTY_PATH): Define.
75157 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75159         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75160         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75161         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75162         to...
75163         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75164         * Versions.def: Add GLIBC_2.14.
75165         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75166         Export.
75168 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75170         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75171         round counter.
75172         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75174 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75176         [BZ #12597]
75177         * string/test-strncmp.c (do_page_test): New function.
75178         (check2): Likewise.
75179         (test_main): Call check2.
75180         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75182 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75184         [BZ #12587]
75185         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75186         Handle cache information in CPU leaf 4.
75187         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75189 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75191         [BZ #12583]
75192         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75193         character representation.
75194         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75196 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75198         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75199         END(__isnan) to END(__isnanf) to match function entry point/label
75200         EALIGN(__isnanf,...).
75202 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75204         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75206 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75208         [BZ #12510]
75209         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75210         copy from the symbol referenced in the relocation to initialize the
75211         used variable.
75212         Patch by Piotr Bury <pbury@goahead.com>.
75213         * elf/Makefile: Add rules to build and tst-unique3.
75214         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75215         * elf/tst-unique3.cc: New file.
75216         * elf/tst-unique3.h: New file.
75217         * elf/tst-unique3lib.cc: New file.
75218         * elf/tst-unique3lib2.cc: New file.
75220         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75222 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75224         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75225         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75226         to _start.
75228 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75230         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75231         to-be-loaded object along a path to loader is ld.so.
75233 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75234             Ulrich Drepper  <drepper@gmail.com>
75236         * sysdeps/x86_64/memset.S: After aligning destination, code
75237         branches to different locations depending on the value of
75238         misalignment, when multiarch is enabled. Fix this.
75240 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75242         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75243         Set _x86_64_preferred_memory_instruction for AMD processsors.
75244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75245         Set bit_Prefer_SSE_for_memop for AMD processors.
75247 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75249         * libio/fmemopen.c (fmemopen): Optimize a bit.
75251 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75253         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75255 2011-03-03  Roland McGrath  <roland@redhat.com>
75257         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75259 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75261         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75262         __bzero_ultra1 instead of __memset_ultra1.
75264 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75265             Ulrich Drepper  <drepper@gmail.com>
75267         [BZ #12509]
75268         * include/link.h (struct link_map): Add l_orig_initfini.
75269         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75270         returning unsuccessfully.
75271         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75272         close of a file loaded at startup, restore the original l_initfini
75273         list.
75274         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75275         list, store the pointer.
75276         * elf/Makefile ($(objpfx)noload-mem): New rule.
75277         (noload-ENV): Define.
75278         (tests): Add $(objpfx)noload-mem.
75279         * elf/noload.c: Include <memcheck.h>.
75280         (main): Call mtrace.  Close all opened handles.
75282 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75284         [BZ #12454]
75285         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75286         dependencies are missing.
75288 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75290         Fix __if_freereq crash: Unlike the generic version which uses free,
75291         Hurd needs munmap.
75292         * sysdeps/mach/hurd/ifreq.h: New file.
75294 2011-01-27  Petr Baudis  <pasky@suse.cz>
75295             Ulrich Drepper  <drepper@gmail.com>
75297         [BZ 12445]#
75298         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75299         to extend_alloca().
75300         * stdio-common/bug23.c: New file.
75301         * stdio-common/Makefile (tests): Add bug23.
75303 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75304             Ulrich Drepper  <drepper@gmail.com>
75306         [BZ #12489]
75307         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75308         before performing relro protection.  At old place add assertion
75309         to make sure nothing changed.
75311 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75312             Glauber de Oliveira Costa  <glommer@gmail.com>
75314         * elf/elf.h: Add new ARM TLS relocs.
75316 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75319         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75320         cast from r3.
75321         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75322         'tests' variable.
75323         * sysdeps/wordsize-64/tst-writev.c: New file.
75325 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75327         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75328         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75329         insns in _dl_start to prevent a TOC reference before relocs are
75330         resolved.
75332 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75334         [BZ #12469]
75335         * Makeconfig: Remove RANLIB definition.
75336         * Makerules: Don't use RANLIB.
75337         * aclocal.m4: Remove ranlib test.
75338         * configure.in: No need to check for ranlib.
75339         * elf/rtld-Rules: Don't use RANLIB.
75341 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75343         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75344         protection macro.
75345         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75346         inclusion protection macro.
75348         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75349         SIGRTMIN and SIGRTMAX and print information in that case only when
75350         SIGRTMIN is defined.
75352 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75354         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75355         arginfo fn returning -1.
75357         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75358         and thousands string is zero terminated.
75360 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75363         sysdeps/unix/sysv/linux/bits/socket.h.
75365 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75367         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75368         (__CPU_COUNT): Remove old macros.
75369         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75370         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75371         (__CPU_ALLOC, __CPU_FREE): Add macros.
75372         (__sched_cpualloc, __sched_cpufree): Add declarations.
75374 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75376         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75377         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75378         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75379         (readdhstai): Return value of addhstaiX call.
75380         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75381         (addgrbyX): Return value returned by cache_addgr.
75382         (readdgrbyname): Return value returned by addgrbyX.
75383         (readdgrbygid): Likewise.
75384         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75385         (addpwbyX): Return value returned by cache_addpw.
75386         (readdpwbyname): Return value returned by addhstbyX.
75387         (readdpwbyuid): Likewise.
75388         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75389         (addservbyX): Return value returned by cache_addserv.
75390         (readdservbyname): Return value returned by addservbyX:
75391         (readdservbyport): Likewise.
75392         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75393         (addhstbyX): Return value returned by cache_addhst.
75394         (readdhstbyname): Return value returned by addhstbyX.
75395         (readdhstbyaddr): Likewise.
75396         (readdhstbynamev6): Likewise.
75397         (readdhstbyaddrv6): Likewise.
75398         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75399         (readdinitgroups): Return value returned by addinitgroupsX.
75400         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75401         (prune_cache): Keep track of timeout value of re-added entries.
75402         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75403         * nscd/nscd.h: Adjust prototypes of readd* functions.
75405 2011-02-04  Roland McGrath  <roland@redhat.com>
75407         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75408         (nis_stats): Likewise.
75409         * nis/nis_modify.c (nis_modify): Likewise.
75410         * nis/nis_remove.c (nis_remove): Likewise.
75411         * nis/nis_add.c (nis_add): Likewise.
75413         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75415         * posix/fnmatch_loop.c: Add some consts.
75417         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75419 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75421         [BZ #12460]
75422         * config.make.in (config-cflags-novzeroupper): Define.
75423         * configure.in: Substitute libc_cv_cc_novzeroupper.
75424         * elf/Makefile (AVX-CFLAGS): Define.
75425         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75426         (CFLAGS-tst-auditmod4a.c): Likewise.
75427         (CFLAGS-tst-auditmod4b.c): Likewise.
75428         (CFLAGS-tst-auditmod6b.c): Likewise.
75429         (CFLAGS-tst-auditmod6c.c): Likewise.
75430         (CFLAGS-tst-auditmod7b.c): Likewise.
75431         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75433 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75435         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75436         function to the callback.
75437         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75439 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75441         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75442         of errno.
75444 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75446         [BZ #11724]
75447         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75448         of constructors.
75449         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75450         of destructors.
75451         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75453         [BZ #11724]
75454         * elf/Makefile: Add rules to build and run new test.
75455         * elf/tst-initorder.c: New file.
75456         * elf/tst-initorder.exp: New file.
75457         * elf/tst-initordera1.c: New file.
75458         * elf/tst-initordera2.c: New file.
75459         * elf/tst-initordera3.c: New file.
75460         * elf/tst-initordera4.c: New file.
75461         * elf/tst-initorderb1.c: New file.
75462         * elf/tst-initorderb2.c: New file.
75463         * elf/tst-order-a1.c: New file.
75464         * elf/tst-order-a2.c: New file.
75465         * elf/tst-order-a3.c: New file.
75466         * elf/tst-order-a4.c: New file.
75467         * elf/tst-order-b1.c: New file.
75468         * elf/tst-order-b2.c: New file.
75469         * elf/tst-order-main.c: New file.
75470         New test case by George Gensure <werkt0@gmail.com>.
75472 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75475         decoding ACE if AI_CANONIDN.
75477 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75479         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75481 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75483         * version.h (RELEASE): Bump for 2.13 release.
75484         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75486         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75488         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75489         MADV_NOHUGEPAGE.
75490         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75491         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75492         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75493         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75495         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75497         * posix/getconf.c: Update copyright year.
75498         * catgets/gencat.c: Likewise.
75499         * csu/version.c: Likewise.
75500         * debug/catchsegv.sh: Likewise.
75501         * debug/xtrace.sh: Likewise.
75502         * elf/ldconfig.c: Likewise.
75503         * elf/ldd.bash.in: Likewise.
75504         * elf/sprof.c (print_version): Likewise.
75505         * iconv/iconv_prog.c: Likewise.
75506         * iconv/iconvconfig.c: Likewise.
75507         * locale/programs/locale.c: Likewise.
75508         * locale/programs/localedef.c: Likewise.
75509         * malloc/memusage.sh: Likewise.
75510         * malloc/mtrace.pl: Likewise.
75511         * nscd/nscd.c (print_version): Likewise.
75512         * nss/getent.c: Likewise.
75514         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75515         PF_CAIF, and PF_ALG.
75516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75518 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75520         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75521         (modules-names): Use them.
75522         (ifunc-test-modules, ifunc-pie-tests): Define.
75523         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75524         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75525         (test-extras): Likewise.
75526         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75527         $(compile-command.c).
75528         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75529         (all-built-dso): Define.
75530         (check-textrel.out, check-execstack.out): Depend on it.
75532         * configure.in: Don't override --enable-multi-arch.
75534 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75536         [BZ #6812]
75537         * nscd/hstcache.c (tryagain): Define.
75538         (cache_addhst): Return tryagain not notfound for temporary errors.
75539         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75540         failed.
75542 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75544         [BZ #10563]
75545         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75546         to make the syscall.
75547         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75549         [BZ #12378]
75550         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75551         and fall back to matching as normal character if the string ends before
75552         the matching ']' is found.  This is what POSIX requires.
75553         * posix/testfnm.c: Adjust test result.
75554         * posix/globtest.sh: Adjust test result.  Add new test.
75555         * posix/tst-fnmatch.input: Likewise.
75556         * posix/tst-fnmatch2.c: Add new test.
75558 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75560         * elf/Makefile (check-execstack): Revert last change.  Depend on
75561         check-execstack.h.
75562         (check-execstack.h): New target.
75563         (generated): Add check-execstack.h.
75564         * elf/check-execstack.c: Include "check-execstack.h".
75565         (main): Revert last change.
75566         (handle_file): Return zero if GNU_STACK is absent and
75567         DEFAULT_STACK_PERMS doesn't include PF_X.
75569 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75571         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75572         in child fails because the descriptor is already closed.
75573         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75574         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75575         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75577         [BZ #12397]
75578         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75579         syscall.
75581         [BZ #10484]
75582         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75583         temporary buffer used to handle multi lookups locally.
75584         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75586 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75588         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75589         loader is ld.so.
75591 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75593         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75594         alignment for SSE2.
75596 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75598         [BZ #12394]
75599         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75600         characters.  When rounding increased number of integer digits recompute
75601         number of groups.
75602         * stdio-common/tst-grouping.c: New file.
75603         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75605 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75607         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75608         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75610         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75611         void.
75612         * bits/select.h: Likewise.
75614 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75616         * po/ja.po: Update from translation team.
75618 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75620         [BZ #11155]
75621         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75622         implementation just like for lxstat, fxstatat, et al.
75624 2010-12-27  Jim Meyering  <meyering@redhat.com>
75626         [BZ #12348]
75627         * posix/regexec.c (build_trtable): Return failure indication upon
75628         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75630 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75632         [BZ #12201]
75633         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75634         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75635         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75636         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75638         [BZ #12207]
75639         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75641         [BZ #12204]
75642         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75643         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75645 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75647         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75648         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75649         script has SORT_BY_INIT_PRIORITY.
75650         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75651         NO_CTORS_DTORS_SECTIONS is defined.
75652         * elf/soinit.c: Likewise.
75653         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75654         NO_CTORS_DTORS_SECTIONS is defined.
75655         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75656         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75657         * sysdeps/sh/init-first.c: Likewise.
75658         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75660 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75662         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75663         always use the slow path.
75665 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75667         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75668         similar rule which adds the sysdep directories to the header search in
75669         order to pick up the correct platform stackinfo.h.
75670         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75671         perform test if it is, otherwise return successfully without testing.
75672         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75673         DEFAULT_STACK_PERMS define in stackinfo.h.
75674         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75675         defined in stackinfo.h.
75676         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75677         DEFAULT_STACK_PERMS defined in stackinfo.h.
75678         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75679         * sysdeps/ia64/stackinfo.h: Likewise.
75680         * sysdeps/s390/stackinfo.h: Likewise.
75681         * sysdeps/sh/stackinfo.h: Likewise.
75682         * sysdeps/sparc/stackinfo.h: Likewise.
75683         * sysdeps/x86_64/stackinfo.h: Likewise.
75684         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75685         PF_X for powerpc64.  Retain PF_X for powerpc32.
75687 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75689         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75690         accurately.
75691         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75692         GETDENTS_64BIT_ALIGNED.
75694 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75696         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75698 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75700         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75701         _GNU_SOURCE.
75703         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75704         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75705         Remove __restrict.
75706         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75707         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75709 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75711         [BZ #11655]
75712         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75713         are initialized.
75715 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75717         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75719 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75721         * po/it.po: Update from translation team.
75723 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75726         unused codes.
75728 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75730         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75732 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75734         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75735         specially.
75736         (gaih_getanswer_slice): Likewise.
75738 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75742 2010-05-31  Petr Baudis  <pasky@suse.cz>
75744         [BZ #11149]
75745         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75746         silently even in the chroot mode.
75748 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75750         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75751         last patch a bit.  Pretty printing
75753 2010-05-31  Petr Baudis <pasky@suse.cz>
75755         [BZ #10085]
75756         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75757         initialization of skip_initgroups_dyn.
75759 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75761         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75762         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75764 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75766         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75768 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75770         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75771         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75772         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75773         ($(objpfx)tst-fnmatch-mem): New rule.
75774         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75775         * posix/tst-fnmatch.c (main): Call mtrace.
75777 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75780         Support Intel processor model 6 and model 0x2c.
75782 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75785           signed comparison.
75787 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75789         [BZ #12205]
75790         * string/test-strncasecmp.c (check_result): New function.
75791         (do_one_test): Use it.
75792         (check1): New function.
75793         (test_main): Use it.
75794         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75795         Support strcasecmp and strncasecmp.
75797 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75799         [BZ #12194]
75800         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75801         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75803 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75805         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75806         IFUNC support.
75807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75808         memset-x86-64.
75809         * sysdeps/x86_64/multiarch/bzero.S: New file.
75810         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75811         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75812         * sysdeps/x86_64/multiarch/memset.S: New file.
75813         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75815         Set bit_Prefer_SSE_for_memop for Intel processors.
75816         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75817         Define.
75818         (index_Prefer_SSE_for_memop): Define.
75819         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75821 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75823         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75824         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75826 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75828         [BZ #12191]
75829         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75830         (__x86_64_raw_data_cache_size_half): Likewise.
75831         (__x86_64_raw_shared_cache_size): Likewise.
75832         (__x86_64_raw_shared_cache_size_half): Likewise.
75834         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75835         (__x86_64_raw_data_cache_size_half): Likewise.
75836         (__x86_64_raw_shared_cache_size): Likewise.
75837         (__x86_64_raw_shared_cache_size_half): Likewise.
75838         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75839         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75840         and __x86_64_raw_shared_cache_size_half.  Round
75841         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75842         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75843         to multiple of 256 bytes.
75845 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75847         [BZ #12167]
75848         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75849         of inacessible symlinks.  Verify result of symlink before returning it.
75850         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75851         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75853 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75855         * math/math.h (isinf): Fix typo in comment.
75857 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75859         * po/da.po: Update from translation team.
75861 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75863         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75864         is added to the list.
75866 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75867             Ulrich Drepper  <drepper@gmail.com>
75869         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75870         the global list here.  Move code to...
75871         (_dl_add_to_namespace_list): ...here.  New function.
75872         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75873         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75874         * elf/dl-load.c (lose): Don't remove the element from the list.
75875         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75876         (_dl_map_object): Likewise.
75878 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75880         [BZ #12159]
75881         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75882         into all bytes of SSE register.
75883         Patch by Richard Li <richardpku@gmail.com>.
75885 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75887         [BZ #12140]
75888         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75889         perturbing.
75891 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75893         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75894         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75895         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75896         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75898         submachine.
75899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75901 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75903         * include/dlfcn.h (__RTLD_SECURE): Define.
75904         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75905         mode & __RTLD_SECURE instead.
75906         (open_path): Rename preloaded parameter to secure.
75907         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75908         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75909         * elf/dl-deps.c (openaux): Likewise.
75910         * elf/rtld.c (struct map_args): Remove is_preloaded.
75911         (map_doit): Don't use it.
75912         (dl_main): Likewise.
75913         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75914         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75916 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75918         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75919         (sysd-rules-targets): Remove duplicates.
75920         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75921         rtld-%.$o dependency.
75923 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75925         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75926         _dl_map_object do it.
75928 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75930         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75931         fast fma builtins, define the macros in the C99 standard.
75932         (FP_FAST_FMAF): Likewise.
75933         (FP_FAST_FMAL): Likewise.
75934         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75936         * bits/mathdef.h: Update copyright year.
75937         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75939 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75941         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75942         builtins, define the macros in the C99 standard.
75943         (FP_FAST_FMAF): Likewise.
75944         (FP_FAST_FMAL): Likewise.
75945         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75946         multiply/add.
75947         (FP_FAST_FMAF): Likewise.
75949 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75951         [BZ #3268]
75952         * math/libm-test.inc (fma_test): Some new testcases.
75953         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75954         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75955         y and infinite z.  Do multiplication by C already in long double.
75956         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75958         y and infinite z.  Do bitwise or of inexact bit into u.d.
75959         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75960         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75961         * sysdeps/i386/fpu/s_fma.S: Removed.
75962         * sysdeps/i386/fpu/s_fmal.S: Removed.
75964 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75966         [BZ #3268]
75967         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75969         computation is not scheduled after fetestexcept.  Fix value
75970         of minimum denormal long double.
75972 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75974         [BZ #3268]
75975         * math/libm-test.inc (fma_test): Add some more tests.
75976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75977         correctly.
75979 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75981         * scripts/data/localplt-s390-linux-gnu.data: New file.
75982         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75984 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75986         [BZ #3268]
75987         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75988         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75989         instead of dbl-64.
75990         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75991         inlines.
75992         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75994         if one of x and y is very large and the other is subnormal.
75995         * sysdeps/s390/fpu/s_fmaf.c: New file.
75996         * sysdeps/s390/fpu/s_fma.c: New file.
75997         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75998         * sysdeps/powerpc/fpu/s_fma.S: New file.
75999         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76000         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76001         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76003 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76005         [BZ #3268]
76006         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76007         fma tests.
76008         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76009         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76010         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76011         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76012         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76013         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76014         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76016 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76018         [BZ #12078]
76019         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76020         * posix/bug-regex31.input: Add test case.
76022 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76024         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76025         * posix/bug-regex31.input: New file.
76027         [BZ #12078]
76028         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76029         (parse_sub_exp): Fix last change, use postorder.
76031         * posix/bug-regex31.c: New file.
76032         * posix/Makefile: Add rules to build and run bug-regex31.
76034         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76036         [BZ #12078]
76037         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76039         [BZ #12108]
76040         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76041         to have entries in sys_siglist.
76043         [BZ #12093]
76044         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76045         be NULL.
76047 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76049         [BZ #3268]
76050         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76051         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76052         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76053         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76054         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76055         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76056         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76057         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76058         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76059         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76060         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76061         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76062         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76063         * math/ftestexcept.c (fetestexcept): Likewise.
76064         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76065         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76066         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76067         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76068         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76069         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76070         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76072 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76074         [BZ #12107]
76075         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76076         newline.
76078 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76080         * string/bug-strstr1.c: New file.
76081         * string/Makefile: Add rules to build and run bug-strstr1.
76083 2010-10-05  Eric Blake  <eblake@redhat.com>
76085         [BZ #12092]
76086         * string/str-two-way.h (two_way_long_needle): Always clear memory
76087         when skipping input due to the shift table.
76089 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76091         [BZ #12005]
76092         * malloc/mcheck.c: Handle large requests.
76094         [BZ #12077]
76095         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76096         for strncmp and strncasecmp.
76097         * string/stratcliff.c: Add tests for strcmp and strncmp.
76098         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76100 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76102         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76103         __set_fpscr.
76105 2010-09-30  Andreas Jaeger  <aj@suse.de>
76107         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76108         (CGROUP_SUPER_MAGIC): Define.
76109         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76110         Handle btrfs and cgroup file systems.
76111         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76112         Likewise.
76114 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76116         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76117         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76119 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76121         [BZ #12067]
76122         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76123         trying to locate the ELF header.
76125 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76127         [BZ #11611]
76128         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76129         Mask out sign-bit copies when constructing f_fsid.
76131 2010-09-24  Petr Baudis <pasky@suse.cz>
76133         * debug/stack_chk_fail_local.c: Add missing licence exception.
76134         * debug/warning-nop.c: Likewise.
76136 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76138         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76139         implementing getdents64 using getdents syscall, set d_type if
76140         __ASSUME_GETDENTS32_D_TYPE.
76142 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76144         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76145         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76147 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76149         [BZ #12037]
76150         * posix/unistd.h: Undo change of feature selection for ftruncate from
76151         2010-01-11.
76153 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76155         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76156         detection.
76158 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76161         fanotify_mark.
76162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76164 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76166         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76167         variables after CHECK_SP call.
76168         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76170 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76171             Ulrich Drepper  <drepper@redhat.com>
76173         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76174         re-relocationg ld.so.
76175         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76176         _dl_init_paths call.
76177         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76178         here anymore.
76180 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76182         * resolv/res_init.c (__res_vinit): Count the default server we added.
76184 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76185             Ulrich Drepper  <drepper@redhat.com>
76187         [BZ #11968]
76188         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76189         (____longjmp_chk): Use %ebx for saving value across system call.
76190         Add unwind info.
76192 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76194         * manual/Makefile: Don't mix pattern rules with normal rules.
76196 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76198         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76199         operation.
76200         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76201         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76202         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76203         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76205         Likewise.
76207 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76209         [BZ #11979]
76210         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76211         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76213 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76215         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76216         * sysdeps/x86_64/addmul_1.S: Likewise.
76217         * sysdeps/x86_64/lshift.S: Likewise.
76218         * sysdeps/x86_64/mul_1.S: Likewise.
76219         * sysdeps/x86_64/rshift.S: Likewise.
76220         * sysdeps/x86_64/sub_n.S: Likewise.
76221         * sysdeps/x86_64/submul_1.S: Likewise.
76223 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76225         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76226         Define __sched_param instead of SCHED_* and sched_param when
76227         <bits/sched.h> is included with __need_schedparam defined.
76228         * bits/sched.h [__need_schedparam]
76229         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76230         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76231         (__defined_schedparam): Define to 1.
76232         (__sched_param): New structure, identical to sched_param.
76233         (__need_schedparam): Undefine.
76235 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76237         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76238         (epoll_create1): Declare.
76240         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76242 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76244         [BZ #7066]
76245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76246         shifting retval into place.
76248 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76250         * nis/rpcsvc/nis.h: Update copyright notice.
76251         * nis/rpcsvc/nis.x: Likewise.
76252         * nis/rpcsvc/nis_callback.h: Likewise.
76253         * nis/rpcsvc/nis_callback.x: Likewise.
76254         * nis/rpcsvc/nis_object.x: Likewise.
76255         * nis/rpcsvc/nis_tags.h: Likewise.
76256         * nis/rpcsvc/yp.h: Likewise.
76257         * nis/rpcsvc/yp.x: Likewise.
76258         * nis/rpcsvc/ypupd.h: Likewise.
76259         * nis/yp_xdr.c: Likewise.
76260         * nis/ypupdate_xdr.c: Likewise.
76262         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76263         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76264         (pmap_getport): Use __libc_rpc_getport.
76265         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76266         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76267         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76269 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76272         fanotify_mark.
76274 2010-08-27  Roland McGrath  <roland@redhat.com>
76276         * sysdeps/i386/i686/multiarch/Makefile
76277         (CFLAGS-varshift.c): New variable.
76279 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76281         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76282         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76286         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76288 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76290         * sysdeps/x86_64/strlen.S: Unroll the loop.
76291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76292         strlen-sse2 strlen-sse2-bsf.
76293         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76294         __strlen_no_bsf if bit_Slow_BSF is set.
76295         (__strlen_sse42): Removed.
76296         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76297         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76299 2010-08-25  Roland McGrath  <roland@redhat.com>
76301         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76302         * sysdeps/x86_64/multiarch/varshift.c: New file.
76303         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76304         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76305         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76306         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76308 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76310         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76311         strlen-sse2 strlen-sse2-bsf.
76312         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76313         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76314         (__strlen_sse2): Removed.
76315         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76316         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76318         bit_Slow_BSF for Atom.
76319         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76320         (index_Slow_BSF): Define.
76321         (HAS_SLOW_BSF): Define.
76323 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76325         [BZ #10851]
76326         * resolv/res_init.c (__res_vinit): When no server address at all
76327         is given default to loopback.
76329 2010-08-24  Roland McGrath  <roland@redhat.com>
76331         * configure.in: Remove config-name.h generation.
76332         * configure: Regenerated.
76333         * config-name.in: File removed.
76334         * scripts/config-uname.sh: New file.
76335         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76336         ($(objdir)config-name.h): New target.
76338         * sunrpc/rpc_parse.h: Avoid nested comment.
76340 2010-08-24  Richard Henderson  <rth@redhat.com>
76341             Ulrich Drepper  <drepper@redhat.com>
76342             H.J. Lu  <hongjiu.lu@intel.com>
76344         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76346         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76347         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76348         _mm_alignr_epi8 with _mm_loadu_si128.
76349         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76350         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76351         (__m128i_shift_right): Removed.
76352         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76353         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76354         * sysdeps/x86_64/multiarch/varshift.h: New file.
76355         * sysdeps/x86_64/multiarch/varshift.S: New file.
76357 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76359         * configure.in: Move assembler checks to before sysdep dir checking.
76361 2010-08-20  Petr Baudis  <pasky@suse.cz>
76363         * LICENSES: Sync the sunrpc license.
76365 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76367         * sunrpc/auth_des.c: Update copyright notice once again.
76368         * sunrpc/auth_none.c: Likewise.
76369         * sunrpc/auth_unix.c: Likewise.
76370         * sunrpc/authdes_prot.c: Likewise.
76371         * sunrpc/authuxprot.c: Likewise.
76372         * sunrpc/bindrsvprt.c: Likewise.
76373         * sunrpc/clnt_gen.c: Likewise.
76374         * sunrpc/clnt_perr.c: Likewise.
76375         * sunrpc/clnt_raw.c: Likewise.
76376         * sunrpc/clnt_simp.c: Likewise.
76377         * sunrpc/clnt_tcp.c: Likewise.
76378         * sunrpc/clnt_udp.c: Likewise.
76379         * sunrpc/clnt_unix.c: Likewise.
76380         * sunrpc/des_crypt.c: Likewise.
76381         * sunrpc/des_soft.c: Likewise.
76382         * sunrpc/get_myaddr.c: Likewise.
76383         * sunrpc/getrpcport.c: Likewise.
76384         * sunrpc/key_call.c: Likewise.
76385         * sunrpc/key_prot.c: Likewise.
76386         * sunrpc/openchild.c: Likewise.
76387         * sunrpc/pm_getmaps.c: Likewise.
76388         * sunrpc/pm_getport.c: Likewise.
76389         * sunrpc/pmap_clnt.c: Likewise.
76390         * sunrpc/pmap_prot.c: Likewise.
76391         * sunrpc/pmap_prot2.c: Likewise.
76392         * sunrpc/pmap_rmt.c: Likewise.
76393         * sunrpc/rpc/auth.h: Likewise.
76394         * sunrpc/rpc/auth_unix.h: Likewise.
76395         * sunrpc/rpc/clnt.h: Likewise.
76396         * sunrpc/rpc/des_crypt.h: Likewise.
76397         * sunrpc/rpc/key_prot.h: Likewise.
76398         * sunrpc/rpc/netdb.h: Likewise.
76399         * sunrpc/rpc/pmap_clnt.h: Likewise.
76400         * sunrpc/rpc/pmap_prot.h: Likewise.
76401         * sunrpc/rpc/pmap_rmt.h: Likewise.
76402         * sunrpc/rpc/rpc.h: Likewise.
76403         * sunrpc/rpc/rpc_des.h: Likewise.
76404         * sunrpc/rpc/rpc_msg.h: Likewise.
76405         * sunrpc/rpc/svc.h: Likewise.
76406         * sunrpc/rpc/svc_auth.h: Likewise.
76407         * sunrpc/rpc/types.h: Likewise.
76408         * sunrpc/rpc/xdr.h: Likewise.
76409         * sunrpc/rpc_clntout.c: Likewise.
76410         * sunrpc/rpc_cmsg.c: Likewise.
76411         * sunrpc/rpc_common.c: Likewise.
76412         * sunrpc/rpc_cout.c: Likewise.
76413         * sunrpc/rpc_dtable.c: Likewise.
76414         * sunrpc/rpc_hout.c: Likewise.
76415         * sunrpc/rpc_main.c: Likewise.
76416         * sunrpc/rpc_parse.c: Likewise.
76417         * sunrpc/rpc_parse.h: Likewise.
76418         * sunrpc/rpc_prot.c: Likewise.
76419         * sunrpc/rpc_sample.c: Likewise.
76420         * sunrpc/rpc_scan.c: Likewise.
76421         * sunrpc/rpc_scan.h: Likewise.
76422         * sunrpc/rpc_svcout.c: Likewise.
76423         * sunrpc/rpc_tblout.c: Likewise.
76424         * sunrpc/rpc_util.c: Likewise.
76425         * sunrpc/rpc_util.h: Likewise.
76426         * sunrpc/rpcinfo.c: Likewise.
76427         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76428         * sunrpc/rpcsvc/key_prot.x: Likewise.
76429         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76430         * sunrpc/rpcsvc/mount.x: Likewise.
76431         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76432         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76433         * sunrpc/rpcsvc/rex.x: Likewise.
76434         * sunrpc/rpcsvc/rstat.x: Likewise.
76435         * sunrpc/rpcsvc/rusers.x: Likewise.
76436         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76437         * sunrpc/rpcsvc/spray.x: Likewise.
76438         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76439         * sunrpc/rtime.c: Likewise.
76440         * sunrpc/svc.c: Likewise.
76441         * sunrpc/svc_auth.c: Likewise.
76442         * sunrpc/svc_authux.c: Likewise.
76443         * sunrpc/svc_raw.c: Likewise.
76444         * sunrpc/svc_run.c: Likewise.
76445         * sunrpc/svc_simple.c: Likewise.
76446         * sunrpc/svc_tcp.c: Likewise.
76447         * sunrpc/svc_udp.c: Likewise.
76448         * sunrpc/svc_unix.c: Likewise.
76449         * sunrpc/svcauth_des.c: Likewise.
76450         * sunrpc/xcrypt.c: Likewise.
76451         * sunrpc/xdr.c: Likewise.
76452         * sunrpc/xdr_array.c: Likewise.
76453         * sunrpc/xdr_float.c: Likewise.
76454         * sunrpc/xdr_mem.c: Likewise.
76455         * sunrpc/xdr_rec.c: Likewise.
76456         * sunrpc/xdr_ref.c: Likewise.
76457         * sunrpc/xdr_sizeof.c: Likewise.
76458         * sunrpc/xdr_stdio.c: Likewise.
76460         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76461         handling.
76463 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76465         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76467 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76469         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76470         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76471         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76472         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76473         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76474         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76475         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76476         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76478         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76479         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76480         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76481         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76482         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76484 2010-07-26  Anton Blanchard  <anton@samba.org>
76486         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76487         * malloc/arena.c (heap_trim): Likewise.
76489 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76491         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76492         here.  Not...
76493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76494         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76496 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76498         * sysdeps/i386/elf/Makefile: New file.
76500 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76502         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76503         from fanotify_init.
76504         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76507 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76509         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76510         of strncasecmp_l.
76511         * sysdeps/multiarch/strcmp.S: Likewise.
76513 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76515         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76516         strncase_l-nonascii.
76517         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76518         Add strncase_l-ssse3.
76519         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76520         * sysdeps/x86_64/strcmp.S: Likewise.
76521         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76522         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76523         * sysdeps/x86_64/strncase.S: New file.
76524         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76525         * sysdeps/x86_64/strncase_l.S: New file.
76526         * string/Makefile (strop-tests): Add strncasecmp.
76527         * string/test-strncasecmp.c: New file.
76529         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76530         warning.
76532         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76533         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76535 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76537         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76539 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76541         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76542         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76543         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76545 2010-05-01  Alan Modra  <amodra@gmail.com>
76547         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76548         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76549         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76550         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76551         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76552         tidying.  Don't tail-call __sigjmp_save for static lib.
76553         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76554         save location.
76555         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76556         (CALL_MCOUNT): Add eh info, and nop after bl.
76557         (TAIL_CALL_SYSCALL_ERROR): New macro.
76558         (PSEUDO_RET): Use it.
76559         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76560         Correct save location of integer regs and cr.
76561         (_dl_profile_resolve): Correct cr save location.  Delete nops
76562         after bl when SHARED.  Reduce cfi size a little by better
76563         placement of cfi directives.
76564         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76565         make a stack frame.  Instead use parm save area as a temp.
76566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76567         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76569         Don't make a stack frame for parent, use parm save area.
76570         Increase child stack frame to 112 bytes.  Don't save unused reg,
76571         and adjust reg usage.  Set up cfi on error recovery and
76572         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76574         (__makecontext): Add dummy nop after jump to exit.
76575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76576         Use correct parm save area and cr save, reduce stack frame.
76577         Correct cfi for possible PSEUDO_RET frame setup.
76578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76579         Branch to local label emitted by PSEUDO_RET rather than
76580         __syscall_error.
76582 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76584         [BZ #11904]
76585         * locale/programs/locale.c (print_assignment): New function.
76586         (show_locale_vars): Use it.
76588 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76590         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76591         field.
76592         (struct statfs64): Likewise.
76593         (_STATFS_F_FLAGS): Define.
76594         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76595         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76596         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76597         (ST_VALID): Define locally.
76598         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76599         __statvfs_getflags, use the provided value.
76600         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76601         __ASSUME_STATFS_F_FLAGS.
76603         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76605         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76606         Add sys/fanotify.h.
76607         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76608         fanotify_mask for GLIBC_2.13.
76609         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76610         fanotify_init and fanotify_mark.
76611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76612         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76614         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76615         Add prlimit.
76616         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76617         prlimit64 for GLIBC_2.13.
76618         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76619         prlimit64.
76620         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76621         syscall.
76622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76624         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76625         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76627         add prlimit alias.
76628         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76630         [BZ #11903]
76631         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76632         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76634         * nss/Makefile: Add rules to build and run tst-nss-test1.
76635         * shlib-versions: Add entry for libnss_test1.
76636         * nss/nss_test1.c: New file.
76637         * nss/tst-nss-test1.c: New file.
76639         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76640         (__nss_configure_lookup): Set appropriate entry in
76641         __nss_configure_lookup to true.
76642         * nss/nsswitch.h: Define enum with indeces of databases in
76643         databases and __nss_database_custom arrays.  Declare
76644         __nss_database_custom.
76645         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76646         to avoid using nscd when custom rules are installed.
76647         * nss/getXXbyYY_r.c: Likewise.
76648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76650         * nss/nss_files/files-parse.c: Whitespace fixes.
76652 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76654         [BZ #11883]
76655         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76656         * posix/fnmatch_loop.c: Likewise.
76658 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76660         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76661         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76662         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76663         * Versions.def [GLIBC_2.13]: Add.
76665 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76667         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76668         Also fail if tpwd after pwuid call is NULL.
76670 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76672         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76673         when converting to ms.
76675 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76677         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76678         EOPNOTSUPP errors with ENOTTY.
76679         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76680         EOPNOTSUPP errors with ENOTTY.
76682 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76684         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76685         Add strcasecmp_l-ssse3.
76686         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76687         strcasecmp.
76688         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76689         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76690         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76692 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76694         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76696         * string/Makefile (strop-tests): Add strcasecmp.
76697         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76698         strcasecmp_l-nonascii.
76699         (gen-as-const-headers): Add locale-defines.sym.
76700         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76701         * sysdeps/x86_64/strcasecmp.S: New file.
76702         * sysdeps/x86_64/strcasecmp_l.S: New file.
76703         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76704         * sysdeps/x86_64/locale-defines.sym: New file.
76705         * string/test-strcasecmp.c: New file.
76707         * string/test-strcasestr.c: Test both ends of the range of characters.
76708         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76710 2010-07-29  Roland McGrath  <roland@redhat.com>
76712         [BZ #11856]
76713         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76715 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76717         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76718         for ld.so.
76720 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76722         * manual/memory.texi (Malloc Tunable Parameters): Document
76723         M_PERTURB.
76725 2010-07-26  Roland McGrath  <roland@redhat.com>
76727         [BZ #11840]
76728         * configure.in (-fgnu89-inline check): Set and substitute
76729         gnu89_inline, not libc_cv_gnu89_inline.
76730         * configure: Regenerated.
76731         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76733 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76735         * string/test-strnlen.c: New file.
76736         * string/Makefile (strop-tests): Add strnlen.
76737         * string/tester.c (test_strnlen): Add a few more test cases.
76738         * string/tst-strlen.c: Better error reporting.
76740         * sysdeps/x86_64/strnlen.S: New file.
76742 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76744         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76745         lower-latency instructions.
76747 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76749         * string/test-strcasestr.c: New file.
76750         * string/test-strstr.c: New file.
76751         * string/Makefile (strop-tests): Add strstr and strcasestr.
76752         * string/str-two-way.h: Don't undefine MAX.
76753         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76755 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76758         strcasestr-nonascii.
76759         (CFLAGS-strcasestr-nonascii.c): Define.
76760         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76762         Remove unused attribute.
76764 2010-07-20  Roland McGrath  <roland@redhat.com>
76766         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76767         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76768         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76769         like LD_HWCAP_MASK can disable hwcaps.
76771 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76773         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76775 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76777         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76778         call in strcasestr.
76779         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76780         __strcasestr_sse42_nonascii.
76781         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76782         strcasestr-nonascii.c.
76783         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76785 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76787         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76788         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76789         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76790         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76792 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76795         fcntl.
76797 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76799         [BZ #11577]
76800         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76801         dl_signal_cerror.
76803 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76805         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76806         _PC_PIPE_BUF using F_GETPIPE_SZ.
76808 2010-07-05  Roland McGrath  <roland@redhat.com>
76810         * manual/arith.texi (Rounding Functions): Fix rint description
76811         implicit in round description.
76813 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76815         * elf/Makefile: Fix linking for a few tests to make recent linker
76816         happy.
76818 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76820         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76821         $(common-objpfx)libc_nonshared.a.
76823 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76825         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76826         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76827         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76828         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76829         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76830         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76831         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76832         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76847         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76848         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76849         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76850         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76851         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76852         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76853         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76854         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76855         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76856         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76857         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76858         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76874 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76876         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76877         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76878         * string/memmove.c (memmove): Renamed to ...
76879         (MEMMOVE): ...this.  Default to memmove.
76880         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76881         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76882         (END_CHK): Define.
76883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76884         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76885         mempcpy-ssse3-back memmove-ssse3-back.
76886         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76887         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76888         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76889         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76890         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76891         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76892         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76893         * sysdeps/x86_64/multiarch/memmove.c: New file.
76894         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76895         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76896         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76897         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76898         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76899         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76900         Define.
76901         (index_Fast_Copy_Backward): Define.
76902         (HAS_ARCH_FEATURE): Define.
76903         (HAS_FAST_REP_STRING): Define.
76904         (HAS_FAST_COPY_BACKWARD): Define.
76906 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76908         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76909         Restore proper fallback handling.
76911 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76913         [BZ #11701]
76914         * posix/group_member.c (__group_member): Correct checking loop.
76916         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76917         OOM in getpwuid_r correctly.  Return error number when the caller
76918         should return, otherwise -1.
76919         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76920         call returning > 0 value.
76921         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76923 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76925         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76926         libc_nonshared.a from targets in modules-names.
76928 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76930         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76931         requires it.
76933 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76940 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76942         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76944 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76946         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76947         and F_GETPIPE_SZ.
76948         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76949         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76950         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76952         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76953         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76955 2010-06-14  Roland McGrath  <roland@redhat.com>
76957         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76959 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76961         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76962         __REDIRECT followed by __THROW.
76963         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76964         * posix/getopt.h (getopt): Likewise.
76966 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76968         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76969         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76970         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76971         in AT_FLAGS.
76972         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76973         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76975 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76977         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76979 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76981         [BZ #11640]
76982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76983         Properly check family and model.
76985 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76987         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76989 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76991         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76993 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76995         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76996         symbol reference.
76998 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77000         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77001         symbol reference.
77003 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77005         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77006         and internal_recvmmsg.
77007         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77008         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77009         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77010         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77012         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77013         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77014         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77016 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77018         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77020 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77022         POWER7 optimizations.
77023         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77024         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77026 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77028         * version.h: Update for 2.13 development version.
77030 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77032         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77033         exceptions.  Return 0.
77035 2010-05-07  Roland McGrath  <roland@redhat.com>
77037         * elf/ldconfig.c (main): Add a const.
77039 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77041         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77042         (args_options): Add no-idn option.
77043         (ahosts_keys_int): Add idn_flags to ai_flags.
77044         (parse_option): Handle 'i' option to clear idn_flags.
77046         * malloc/malloc.c (_int_free): Possible race in the most recently
77047         added check.  Only act on the data if no current modification
77048         happened.
77050 See ChangeLog.17 for earlier changes.